/* Styles */
:root{
    --brown: #493B24;
    --yellow:#EFC070;
    --light-brown:#B6702A;
    --black: #1D1D1D;
    --dark-grey:#403E46;
    --light-grey: #BCC0BF;
    --tan: #E1D9D2;
    --cream: #FFF7F0;
}

html{
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: #2E2821;
    -ms-overflow-style: none;  /* no scroll for IE and Edge */
    scrollbar-width: none;  /* no scroll for Firefox */
}

/* no scrollbar for chrome*/
::-webkit-scrollbar {
    display: none;
}

/* Navbar container */
body{
    width: 100%;
    margin: 0;
}

.navbar-container {
  background-color: var(--brown);
  font-family: "Open Sans";
  padding: 0 10%;
  height: 60px;
  position: fixed;
  width: 80%;
}

/* Links inside the navbar */
.navbar-items a {
  float: right;
  font-size: 18px;
  color: white;
  text-decoration: none;
  padding: 18px;
}

#navbar-logo{
    float: left;
    width: 104px;
    height: auto;
    padding: 21px;
}

/* The dropdown container */
.dropdown {
  float: right;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .drop-button {
  font-size: 18px;
  border: none;
  outline: none;
  color: white;
  padding: 18px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* Add a brown background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .drop-button {
  background-color: #0F0903;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--light-brown);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a brown background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #0F0903;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

h1{
    color: var(--brown);
    font-family: Libre Baskerville;
    font-size: 50px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
}

h2{
    color: var(--brown);
    font-family: Libre Baskerville;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

p{
    color: var(--brown);
    font-family: Open Sans;
    font-size: 18px;
    font-weight: 400;
    margin-top: 0px;
    margin-bottom: 20px;
}

/* Section 1 */
.section-1{
    background-color: var(--cream);
    padding: 10% 0%;
}

.content-container{
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0% 15%;
}

.section-1-features{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.section-1-left{
    width: 45%;
}

.section-1-left p{
    margin-bottom: 40px;
}

.section-1-right{
    width: 45%;   
}

/* Section 2 - solid surfaces*/
.section-2{
    background-color: white;
    text-align: center;
}

.section-2 > .content-container{
    text-align: center;
    padding: 10% 15%;
}

.section-2 > .content-container > h1{
    margin-bottom: 50px;
    margin-top: 0px;
} 

.square-item{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.square-item > img{
    width: 200px;
    height: 200px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 10px;
}

.square-item > h2{
    width: 200px;
}

.grid-content-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    text-align: center;
    row-gap: 50px;
}

/* Section 3*/
.section-3{
    background-color: white;
    text-align: center;
}

.section-3 > .content-container{
    text-align: center;
    padding: 10% 15%;
}

.section-3 > .content-container > h1{
    margin-bottom: 50px;
    margin-top: 0px;
} 

/* Section 4*/
.section-4{
    background-color: white;
    text-align: center;
}

.section-4 > .content-container{
    text-align: center;
    padding: 10% 15%;
}

.section-4 > .content-container > h1{
    margin-bottom: 50px;
    margin-top: 0px;
} 

/* Section 5*/
.section-5{
    background-color: white;
    text-align: center;
}

.section-5 > .content-container{
    text-align: center;
    padding: 10% 15%;
}

.section-5 > .content-container > h1{
    margin-bottom: 50px;
    margin-top: 0px;
} 

/* Section 6*/
.section-6{
    background-color: white;
    text-align: center;
}

.section-6 > .content-container{
    text-align: center;
    padding: 10% 15%;
}

.section-6 > .content-container > h1{
    margin-bottom: 50px;
    margin-top: 0px;
} 

.section-6 .square-item{
    align-items: center;
}

.section-6 .square-item > img{
    width: 400px;
    height: 200px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 10px;
}

.section-6 .grid-content-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    row-gap: 50px;
}

/* Section 7*/
#contact-us{
    background-color: var(--cream);
    margin: 0;
    padding: 10% 15%;
    text-align: center;
}

#contact-us > .content-container{
    flex-direction: row;
    padding: 0;
    justify-content: center;
}

#contact-us > p{
    text-decoration: none;
    color: var(--brown);
}

#contact-us > h1{
    text-align: center;
    margin-bottom: 5%;
}

.contact-us-left{
    max-width: 482px;
}

.left-content-container{
    display: flex;
    margin-bottom: 30px;
}

#office-container{
    display: flex;
    flex-direction: column;
}

#office-title{
    margin-bottom: 20px;
    display: inline-flex;
    float: left;
}

.left-title{
    display: inline-flex;
    float: left;
}

.left-title > h2{
    color: var(--brown);
    margin: 5px 15px;
}

#office-title > h2{
    color: var(--brown);
    margin: 5px 15px;
}

.left-p > p{
    color: var(--brown);
    margin: 5px 0;
}

.contact-us-icon{
    height: 40px;
    width: auto;
}

.contact-us-right{
    max-width: 434px;
    padding-left: 50px;
}

.contact-us-right > img{
    max-width: 434px;
}


.footer{
    height: 185px;
    width: 100%;
    display: flex;
    justify-content: center; 
    align-items: center;
    background-color: #2E2821;
    flex-direction: column;
}  

.footer > img{
    height: 59px;
    width: auto;
    margin-bottom: 15px;
}

.footer > p{
    font-size: 12px;
    margin: 0;
    color: white;
}

/* Upcoming */
.upcoming-section{
    background-color: white;
    text-align: center;
}

.upcoming-section > .content-container{
    text-align: center;
    padding: 10% 15%;
}

.upcoming-section > .content-container > h1{
    margin-bottom: 120px;
    margin-top: 50px;
} 

.upcoming-section .square-item{
    align-items: center;
}

.upcoming-section .square-item > img{
    width: 300px;
    height: 300px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 10px;
}

.upcoming-section .grid-content-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    row-gap: 50px;
}

@media screen and (max-width: 1180px){
    .section-1{
        padding-top: 150px;
    }
    .grid-content-container{
        grid-template-columns: 1fr 1fr 1fr;
    }
    .section-6 .square-item > img{
        width: 200px;
        height: 200px;
        object-fit: cover;
    }
    .section-6 .grid-content-container{
        grid-template-columns: 1fr 1fr 1fr;
    }
    .contact-us-icon {
        height: 30px;
        width: auto;
    }
    .left-title > h2 {
        font-size: 1em;
        margin: 3px;
    }
    .left-p > p {
        font-size: 1em;
        margin-top: 3px;
    }
    #office-title > h2 {
        font-size: 1em;
        margin: 3px;
    }
    #office-title {
        margin-bottom: 10px;
    }
    .contact-us-right {
        max-width: 350px;
    }
    .contact-us-right > img {
        max-width: 350px;
    }
}

@media screen and (max-width: 900px){
    .upcoming-section > .content-container > h1{
        margin-bottom: 80px;
        margin-top: 50px;
    } 
    .grid-content-container{
        grid-template-columns: 1fr 1fr;
    }
    .section-6 .grid-content-container{
        grid-template-columns: 1fr 1fr;
    }
    .contact-us-right {
        max-width: 300px;
    }
    .contact-us-right > img {
        max-width: 300px;
    }
    .upcoming-section .square-item > img{
        width: 200px;
        height: 200px;
    }
}

@media screen and (max-width: 800px){
    .upcoming-section > .content-container > h1{
        margin-top: 80px;
    } 
    .navbar-items a{
        font-size: 12px;
        padding: 21px 10px;
    }
    .dropdown .drop-button {
        font-size: 12px;
        padding: 21px 10px;
    }
    #navbar-logo {
        width: 70px;
        padding: 24px;
    }
    .left-title > h2 {
        font-size: 14px;
        margin: 3px 5px;
    }
    .left-p > p {
        font-size: 14px;
        margin-top: 3px 5px;
    }
    #office-title > h2 {
        font-size: 14px;
        margin: 3px 5px;
    }
    .contact-us-right {
        padding-left: 30px;
    }
    .contact-us-right {
        display: none;
    }
    #contact-us {
        padding: 50px 10% 80px 10%;
    }
}

@media screen and (max-width: 600px){
    .upcoming-section > .content-container > h1{
        margin-bottom: 60px;
        margin-top: 80px;
    } 
    #navbar-logo{
        display: none;
    }
    .navbar-no-need{
        display: none;
    }
    h1{
        font-size: 30px;
    }
    h2{
        font-size: 14px;
    }
    p{
        font-size: 12px;
    }
    .section-1{
        padding-top: 100px;
    }
    .upcoming-section .square-item > img{
        width: 150px;
        height: 150px;
    }
    .square-item > img{
        width: 150px;
        height: 150px;
    }
    .square-item > h2{
        width: 150px;
    }
    .section-6 .square-item > img{
        width: 150px;
        height: 150px;
    }
    .section-6 .square-item > h2{
        width: 150px;
    }
}

@media screen and (max-width: 450px){
    .square-item > img{
        width: 100px;
        height: 100px;
    }
    .square-item > h2{
        width: 100px;
    }
    .section-6 .square-item > img{
        width: 100px;
        height: 100px;
    }
    .section-6 .square-item > h2{
        width: 100px;
    }
    .upcoming-section .square-item > img{
        width: 100px;
        height: 100px;
    }
    .left-title > h2 {
        font-size: 10px;
        margin: 3px 5px;
    }
    .left-p > p {
        font-size: 10px;
        margin-top: 3px 5px;
    }
    #office-title > h2 {
        font-size: 10px;
        margin: 3px 5px;
    }
    .contact-us-icon{
        height: 20px;
    }
    #contact-us .content-container {
        padding: 0 10%;
    }
}