/* ------Adelaide Stone & Plaster v3------*/

/* ------Mobile-first responsive design by Websofa------*/

*,
*:before,
*:after {
   box-sizing: border-box;
   margin: 0;
   padding: 0;
}

body {
   font-family: "Montserrat";
   text-align: center;
   overflow-x: hidden;
}

.container {
   width: 100vw;
   display: grid;
   grid-template-columns: 1fr;
   grid-template-areas:
      "header"
      "header-contact"
      "main-img";
}

/* Animation */

.animate-left {
   position: relative;
   animation: animateleft 0.8s;
}

@keyframes animateleft {
   from {
      left: -300px;
      opacity: 0;
   }
   to {
      left: 0;
      opacity: 1;
   }
}

/* General font styling and formatting */

h1 {
   font-size: 24px;
}

h2 {
   font-size: 20px;
   margin-top: 5px;
}

h3 {
   font-size: 16px;
}

h4 {
   font-size: 15px;
}

p {
   font-size: 16px;
}

li {
   font-size: 13px;
   line-height: 1.8;
}

a {
   font-size: 16px;
   text-decoration: none;
   color: inherit;
}

span {
   font-family: "Montserrat";
}

blockquote {
   font-family: Georgia, serif;
   font-size: 14px;
   text-align: center;
   font-style: italic;
   width: 90%;
   margin: 10px auto;
   padding: 0.35em 30px;
   line-height: 1.45;
   position: relative;
   color: #383838;
}

blockquote:before {
   display: block;
   padding-left: 10px;
   content: "\201C";
   font-size: 80px;
   position: absolute;
   left: -20px;
   top: -20px;
   color: #7a7a7a;
}

blockquote cite {
   color: #999999;
   font-size: 14px;
   display: block;
   text-align: center;
   width: auto;
   margin: 15px auto;
}

blockquote cite:before {
   content: "\2014 \2009";
}

.avatar {
   width: 50%;
   height: auto;
   border-radius: 50%;
}

.blend .multiply {
   background-blend-mode: multiply;
}

.text-center {
   text-align: center;
}

.object-fit {
   object-fit: contain;
   object-position: center;
}

.border-bottom-white {
   border-bottom: 1px solid #ccc !important;
}

.border-top-white {
   border-top: 1px solid #ccc !important;
}

.border-bottom-orange {
   border-bottom: 3px solid #ef953b !important;
}

.border-top-orange {
   border-top: 3px solid #ef953b !important;
}

.fade {
   opacity: 1;
   transition: opacity 0.25s ease-in-out;
   -moz-transition: opacity 0.25s ease-in-out;
   -webkit-transition: opacity 0.25s ease-in-out;
}

.fade:hover {
   opacity: 0.5;
}

/* Styling of elements*/

header {
   grid-area: header;
}

.header-contact {
   grid-area: header-contact;
   background-color: #ccd1d1;
   height: 40px;
   padding: 0 15px;
   display: flex;
   align-items: center;
   justify-content: center;
}

.header-contact i {
   font-size: 14px;
}

.header-contact a {
   font-size: 14px;
}

.sidebar {
   display: none;
}

nav ul {
   list-style: none;
   display: flex;
   flex-direction: column;
   text-align: center;
   justify-content: start;
   line-height: 1.85;
}

nav ul li {
   letter-spacing: 2px;
}

.navcontainer {
   width: 90vw;
}

.navbar {
   overflow: hidden;
   height: 90px;
   margin: auto;
   background-color: #576a78;
}

.menu-icon {
   margin-top: 13px;
   margin-left: 10px;
}

.navbar a {
   float: left;
   display: block;
   color: #f2f2f2;
   text-align: center;
   padding: 14px 16px;
   text-decoration: none;
   font-size: 17px;
}

.navbar ul {
   margin: 8px 0 0 0;
   list-style: none;
}

.navbar a:hover {
   background-color: #eee;
   color: #000;
}

.small-logo {
   float: right;
   position: absolute;
   top: 10px;
   right: 10px;
   transform: scale(0.9, 0.9);
}

.side-nav {
   height: 100%;
   width: 0;
   position: fixed;
   z-index: 1;
   top: 0;
   left: 0;
   background-color: #111;
   opacity: 0.9;
   overflow-x: hidden;
   padding-top: 60px;
   transition: 0.5s;
}

.side-nav a {
   padding: 10px 10px 10px 30px;
   text-decoration: none;
   font-size: 22px;
   color: #ccc;
   display: block;
   transition: 0.3s;
}

.side-nav a:hover {
   color: #fff;
}

.side-nav .btn-close {
   position: absolute;
   top: 0;
   right: 22px;
   font-size: 36px;
   margin-left: 50px;
}

.main-img {
   grid-area: main-img;
   background: url("../img/showcase.jpg");
   background-position: center;
   background-size: cover;
   background-repeat: no-repeat;
   height: 50vh;
   width: 100%;
   filter: opacity(93%);
}

button {
   text-align: center;
   padding: 10px;
   border-radius: 5px;
   font-size: 1em;
}

button:hover {
   cursor: pointer;
   font-size: 1.05em;
}

.img-text {
   padding: 10px 15px;
}

.hero-text {
   position: relative;
   top: 20%;
   text-align: center;
   color: white;
   text-shadow: 2px 2px 4px #000000;
   padding: 25px 0;
   background-color: rgba(97, 116, 130, 0.3);
}

.hero-text h1 {
   font-size: 20px;
   text-shadow: 2px 2px #000;
}

.herobtn {
   display: inline-block;
   margin-top: 20px;
   padding: 10px 20px;
   font-size: 15px;
   text-shadow: 2px 2px #000;
   text-transform: uppercase;
   line-height: 1.4;
   color: #fff;
   border: 2px solid #fff;
   border-radius: 5px;
   -webkit-border-radius: 5px;
   -moz-border-radius: 5px;
   text-align: center;
   outline: none;
   text-decoration: none;
   background-color: rgba(255, 255, 255, 0);
   transition: background-color 300ms ease;
   -webkit-transition: background-color 300ms ease;
   -moz-transition: background-color 300ms ease;
   cursor: pointer;
}

.herobtn:hover {
   font-size: 15px;
}

.sales {
   display: grid;
   grid-template-columns: 1fr;
   justify-items: center;
}

.sales-text {
   text-align: center;
   margin: 0 10px;
   padding: 10px 0;
}

.sales-image {
   display: block;
   margin: auto;
   max-width: 380px;
   padding-bottom: 15px;
}

.services-container {
   width: 100%;
   padding: 20px 0px;
}

.services {
   width: 100%;
   padding: 15px 0;
}

.feature-product {
   position: relative;
   width: 100%;
}

.feature-product-name {
   position: absolute;
   bottom: 2%;
   background: rgb(0, 0, 0);
   /* Fallback color */
   background: rgba(0, 0, 0, 0.5);
   /* Black background with 0.5 opacity */
   color: #f1f1f1;
   width: 94%;
   height: 30%;
   left: 3%;
   display: flex;
   justify-content: center;
   flex-direction: column;
   text-align: center;
}

.feature-product-name h3 {
   font-size: 14px;
}

.feature-product-name p {
   font-size: 12px;
   display: flex;
   justify-content: center;
   flex-direction: column;
   text-align: center;
}

.services-container h1 {
   margin: 10px 0;
   font-size: 22px;
   color: #444444;
}

.feature-image {
   margin: auto;
   width: 95%;
   border: 3px solid grey;
}

.other-product1 {
   position: relative;
}

.other-product2 {
   position: relative;
}

.other-product3 {
   position: relative;
}

.other-product4 {
   position: relative;
}

.other-product-name {
   position: absolute;
   height: 20%;
   bottom: 2.5%;
   background: rgb(0, 0, 0);
   /* Fallback color */
   background: rgba(0, 0, 0, 0.5);
   /* Black background with 0.5 opacity */
   color: #f1f1f1;
   width: 94%;
   left: 3%;
   display: flex;
   justify-content: center;
   flex-direction: column;
   text-align: center;
}

.other-product-image {
   position: relative;
   width: 95%;
   border: 3px solid grey;
}

.other-product-name h3 {
   color: #fff;
   font-size: 14px;
}

footer {
   color: #ffffff;
   height: auto;
   padding: 10px;
   background: rgb(87, 106, 120);
   background: -moz-linear-gradient(
      top,
      rgba(87, 106, 120, 0.7),
      rgba(87, 106, 120, 1)
   );
   background: -webkit-linear-gradient(
      top,
      rgba(87, 106, 120, 0.7),
      rgba(87, 106, 120, 1)
   );
   background: linear-gradient(
      to bottom,
      rgba(87, 106, 120, 0.7),
      rgba(87, 106, 120, 1)
   );
}

footer p {
   font-size: 14px;
   color: #ffffff;
   line-height: 1.6;
}

footer span a {
   color: #ffffff;
   text-decoration: none;
   font-size: 14px;
}

.footerLhs,
.footerRhs {
   margin: 20px auto;
   text-align: center;
}

.footerLhs h3,
.footerRhs h3 {
   font-size: 16px;
   color: #ffffff;
   letter-spacing: 3px;
   padding-bottom: 10px;
   font-stretch: expanded;
}

.footerLhs a {
   font-size: 14px;
   line-height: 1.8;
}

.footerLhs span {
   font-size: 14px;
   line-height: 1.8;
   margin-left: 15px;
}

.footerLhs span a,
.footerLhs span i {
   line-height: 1.8;
   color: #ffffff;
   font-size: 14px;
}

.footerLhs .desktop span {
   line-height: 1.8;
   color: #ffffff;
   font-size: 14px;
}

.footerLhs .mobile span {
   line-height: 1.8;
   color: #ffffff;
   font-size: 14px;
}

.footerRhs p:nth-child(1) {
   margin-top: 15px;
}

.footerRhs p:nth-child(4) {
   margin-bottom: 15px;
}

.footer-copyright {
   margin-bottom: 15px;
}

.footer-copyright p {
   font-size: 14px;
   line-height: 1.8;
   text-align: center;
}

.desktop span {
   display: none;
}

.desktop i {
   display: none;
}

.mobile span {
   display: inline;
}

.mobile i {
   display: inline;
}

/* Screen Sizes 568px and Up */

@media screen and (min-width: 568px) {
   .container {
      width: 100vw;
      border-bottom: 3px #ef953b;
      display: grid;
      grid-template-columns: 1fr 3fr;
      grid-template-areas: "sidebar main-img";
   }
   .side-nav {
      display: none;
   }
   header {
      display: none;
   }

   .header-contact {
      display: none;
   }

   .sidebar {
      grid-area: sidebar;
      display: flex;
      height: 100vh;
      flex-direction: column;
      background-color: #617482;
      color: white;
   }
   .sidebar-menu {
      flex-direction: column;
      flex: 1;
      text-align: center;
      font-size: 2rem;
      line-height: 1.3;
   }
   .sidebar-img {
      height: 40vh;
   }

   .phone-sidebar {
      align-items: center;
      height: 50px;
      font-size: 14px;
   }

   .phone-sidebar i {
      margin: 20px 10px 20px 0;
   }

   .phone-sidebar span {
      margin: 20px 10px 20px 0;
   }

   .sidebar-menu ul {
      padding-top: 30px;
      margin-bottom: 50px;
   }
   .sidebar-menu a {
      font-size: 18px;
      flex-direction: column;
      color: white;
      text-decoration: none;
      line-height: 36px;
   }
   .sidebar-menu a:hover {
      font-size: 19px;
   }
   .sidebar-img img {
      width: 100%;
   }
   .main {
      height: 100vh;
   }
   .main-img {
      height: 100vh;
   }
   .hero-text {
      position: relative;
      top: 30%;
   }
   .hero-text h1 {
      font-family: "Lato";
      font-size: 35px;
   }
   .sales {
      grid-template-columns: 1fr;
   }
   .sales-text {
      padding: 50px;
      margin: 0 auto;
   }
   blockquote {
      font-family: Georgia, serif;
      font-size: 18px;
      font-style: italic;
      width: 500px;
      margin: 0.25em 0;
      padding: 0.35em 30px;
      line-height: 1.45;
      position: relative;
      color: #383838;
   }
   .sales-text p {
      font-size: 15px;
      text-align: center;
   }
   .sales-image {
      margin-right: 150px;
      width: 100%;
   }
   .services-container h1 {
      font-size: 26px;
   }
   .services {
      width: 100%;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      grid-gap: 2px;
      padding: 15px 0;
   }
   .feature-product {
      display: flex;
      grid-column: 1 / 2;
      grid-row: 1 / 3;
   }
   .feature-product-name {
      bottom: 2.5%;
      padding: 50px 20px;
   }
   .feature-product-name h3 {
      font-size: 18px;
   }
   .feature-product-name p {
      font-size: 16px;
   }
   .other-product-name {
      height: 20%;
      bottom: 2.5%;
      padding: 15px;
   }
   .other-product-name h3 {
      font-size: 15px;
   }
   .other-product1 {
      display: flex;
      grid-column: 2 / 3;
      grid-row: 1 / 2;
   }
   .other-product2 {
      display: flex;
      grid-column: 3 / 4;
      grid-row: 1 / 2;
   }
   .other-product3 {
      display: flex;
      grid-column: 2 / 3;
      grid-row: 2 / 3;
   }
   .other-product4 {
      display: flex;
      grid-column: 3 / 4;
      grid-row: 2 / 3;
   }
   footer {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
   }
   .footerLhs,
   .footerRhs {
      text-align: left;
      margin-left: 50px;
   }
   .footerLhs h3,
   .footerRhs h3 {
      font-size: 18px;
      margin: 10px auto;
      border-bottom: 1px solid white;
      letter-spacing: 2px;
   }
   .footer-copyright {
      margin: 50px auto;
      line-spacing: 2;
      text-align: center;
   }
   .mobile span {
      display: none;
   }
   .mobile i {
      display: none;
   }
   .desktop span {
      display: inline;
   }
   .desktop i {
      display: inline;
   }
}
