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

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;
}

.content-container{
    padding: 0 15%;
    display: flex;
    justify-content: center; 
    align-items: center;
}

/* section 1 */
#hero{
    background-image: url("/static/img/section-1-bg.1f07e4d92579.png");
    height: 600px;
    padding-top: 250px;
}

#hero > .content-container{
    flex-direction: column;
    align-items: unset;
}

#hero-p{
    margin-top: 30px;
}

#hero-h2{
    margin-bottom: 30px;
}
#hero-h1{
    margin: 0;
}

h2{
    color: white;
    font-family: Open Sans;
    font-size: 20px;
    font-weight: bold;
}

h1{
    color: white;
    font-family: Libre Baskerville;
    font-size: 50px;
    font-weight: bold;
}

p{
    color: white;
    font-family: Open Sans;
    font-size: 20px;
    font-weight: 400;
}

.button-1{
    background-color: var(--black);
    font-size: 18px;
    font-family: Open Sans;
    font-weight: 400;
    border-width: 3px;
    border-color: var(--yellow);
    border-radius: 10px;
    color: white;
    margin-top: 30px;
    cursor: pointer;
}

.button-1-text{
    padding: 8px 32px;
    margin: 0;
}

/* section 2*/
#about{
    background-color: var(--tan);
    padding-bottom: 10%;
}

.section-2-left{
    max-width: 475px;
    margin-right: 5%;
    margin-top: 10%;
}

.h1-brown{
    color:var(--brown);
    margin:20px 0px;
}

.p-black{
    color:var(--black);
    font-size: 1em;
}

.white-rectangle{
    display: flex;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    justify-content: center;
    margin-top: 50px;
    max-width: 400px;
}


.rectangle-content > h3{
    font-family: Open Sans;
    font-weight: bold;
    font-size: 2em;
    margin:0;
}

.rectangle-content > p{
    font-family: Open Sans;
    font-size: 0.8em;   
    color: var(--black);
    margin:0;
}

.rectangle-content{
    max-width: fit-content;
    margin: 0 5%;
    text-align: center;
    margin: 5%;
}

.section-2-right{
    max-width: 465px;
    margin-top: 10%;
}

.section-2-right > img{
    max-width: 465px;
    height: auto;
}

/* Section 3 */
.section-3{
    background-image: url("/static/img/section-3-bg.df95d716956c.png");
    background-size: cover;
    padding-top: 10%;
    padding-bottom: 15%;
}

.section-3 > h1{
    margin-top: 0;
    margin-bottom: 50px;
    padding: 0 15%;
}

.section-3 > h2{
    font-size: 30px;
    margin: 35px 0 15px 0;
    padding: 0 15%;
}

.product-card-row{
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    padding: 0 15%;
    margin:0;
    row-gap: 10%;
}

.product-card{
    max-width: 287px;
    background-color: white;
    border-radius: 6px;
}

.product-card > img {
    border-radius: 6px 6px 0 0;
    width: 287px;
    height: 218px;
}

.card-content > h2 {
    color: var(--black);
    font-size: 1.2em;
    margin:0;
}

.card-content > p {
    color: var(--black);
    font-size: 0.8em;
    margin:0;
}

#orc{
    letter-spacing: -0.6px;
}

.card-content{
    padding: 3% 5% 5% 5%;
}

/* Section 4 */
#services{
    text-align: center;
    padding: 15%;
    background-color: white;
}

.service-row{
    margin-top: 5%;
    display: flex;
    justify-content: center; 
    align-items: center;
}

#services > h1{
    margin: 0 0 65px 0;
    color: var(--brown);
}

.service-card{
    max-width: 263px;
    display: flex;
    justify-content: center; 
    align-items: center;
    flex-direction: column;
    margin:0 5%;
}

.service-card > img{
    height: 55px;
    width: auto;
}

.service-card > h2{
    color: var(--black);
    font-size: 1.2em;
    margin: 5px 0 5px 0;
}

.service-card > p{
    color: var(--black);
    font-size: 0.8em;
    margin: 0;
}

.services-buttons{
    display: flex;
    justify-content: center;
    align-items: center;
}

.button-2{
    background-color: white;
    font-size: 15px;
    font-family: Open Sans;
    border-width: 2px;
    border-color: var(--yellow);
    border-radius: 10px;
    color: --black;
    margin-top: 65px;
    margin-left: 20px;
    margin-right: 20px;
    cursor: pointer;
    width: fit-content;
}

.button-2-text{
    padding: 8px 16px;
    margin: 0;
    font-weight: normal;
    text-decoration: none;
    color: var(--black);
}

/* Section 5*/
#contact-us{
    background-color: var(--tan);
    margin: 0;
    padding: 100px 15%;
}

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

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

.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;
}

@media screen and (max-width: 1280px){
    .navbar-container{
        padding: 0 10%;
    }
    .content-container{
        padding: 0 10%;
    }
    .section-3 > h1{
        padding: 0 10%;
    }
    .section-3 > h2 {
        padding: 0 10%;
    }
    .product-card-row{
        padding: 0 10%;
    }
    #services{
        padding: 10%;
    }
    #contact-us{
        padding: 100px 10%;
    }
    
}

@media screen and (max-width: 1080px){
    .navbar-items a{
        font-size: 14px;
        padding: 20px;
    }
    .dropdown .drop-button {
        font-size: 14px;
        padding: 20px;
    }
    #navbar-logo {
        width: 80px;
        padding: 23px;
    }
    .section-2-right {
        max-width: 350px;
    }
    .section-2-right > img {
        max-width: 350px;
    }
    .p-black {
        font-size: 0.8em;
    }
    .product-card {
        max-width: 250px;
    }
    .product-card >img {
        height: 218px;
        width: 250px;
        object-fit: cover;
    }
    .card-content > h2 {
        font-size: 0.8em;
    }
    .card-content > p {
        font-size: 0.7em;
    }

    .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: 960px){
    .navbar-items a{
        font-size: 12px;
        padding: 21px 10px;
    }
    .dropdown .drop-button {
        font-size: 12px;
        padding: 21px 10px;
    }
    #navbar-logo {
        width: 70px;
        padding: 24px;
    }
    .product-card {
        max-width: 200px;
    }
    .product-card >img {
        height: 218px;
        width: 200px;
        object-fit: cover;
    }
}

@media screen and (max-width: 900px){
    #hero {
        height: 500px;
        padding-top: 150px;
    }
    .section-2-right {
        max-width: 300px;
    }
    .section-2-right > img {
        max-width: 300px;
    }
    .contact-us-right {
        max-width: 300px;
    }
    .contact-us-right > img {
        max-width: 300px;
    }
}

@media screen and (max-width: 800px){
    h1{
        font-size: 40px;
    }
    h2{
        font-size: 20px;
    }
    p{
        font-size: 20px;
    }
    .button-1 {
        font-size: 12px;
        font-weight: 300;
        border-width: 2px;
        margin-top: 15px;
    }
    .p-black {
        font-size: 12px;
    }
    .white-rectangle {
        margin-top: 30px;
    }
    .section-3 > h1 {
        font-size: 40px;
    }
    .section-3 > h2 {
        font-size: 20px;
    }
    .product-card-row {
        display: grid;
        grid-template-columns: 1fr auto;
        padding: 0 10%;
        margin: 0 0 15% 0;
        row-gap: 10%;
    }
    .product-card {
        max-width: 287px;
    }
    .product-card >img {
        height: 218px;
        width: 287px;
        object-fit: cover;
    }
    .card-content > h2 {
        font-size: 14px;
    }
    .card-content > p {
        font-size: 12px;
    }
    .service-card > h2 {
        font-size: 20px;
    }
    .service-card > p {
        font-size: 12px;
    }
    .button-2 {
        font-size: 12px;
    }
    #contact-us {
        padding: 50px 10%;
    }
    .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;
    }
}

@media screen and (max-width: 720px){
    .section-2-left {
        max-width: none;
        margin-top: 10%;
        margin-right: 0%;
    }
    .section-2-right {
        display: none;
    }
    .product-card {
        max-width: 250px;
    }
    .product-card >img {
        height: 218px;
        width: 250px;
        object-fit: cover;
    }
    .section-3 {
        padding-bottom: 30%;
    }
    .contact-us-right {
        display: none;
    }
    #contact-us {
        padding: 50px 10% 80px 10%;
    }
}

@media screen and (max-width: 680px){
    .navbar-no-need{
        display: none;
    }
}

@media screen and (max-width: 640px){

    #hero{
        height: 400px;
    }
    h1{
        font-size: 30px;
    }
    h2{
        font-size: 14px;
    }
    p{
        font-size: 14px;
    }
    .button-1 {
        font-size: 10px;
        font-weight: 200;
    }
    .white-rectangle {
        margin-top: 30px;
        max-width: 300px;
    }
    .rectangle-content > h3 {
        font-size: 30px;
    }
    .rectangle-content > p {
        font-size: 12px;
    }
    .section-3 > h1 {
        font-size: 30px;
        margin-bottom: 0;
    }
    .section-3 > h2 {
        font-size: 20px;
    }
    .product-card {
        max-width: 230px;
    }
    .product-card >img {
        height: 218px;
        width: 230px;
        object-fit: cover;
    }
    .service-card > h2 {
        font-size: 14px;
    }
    .button-2 {
        font-size: 10px;
    }
}

@media screen and (max-width: 590px){
    #hero{
        height: 320px;
        padding-top: 100px;
    }
    .product-card {
        max-width: 200px;
    }
    .product-card >img {
        height: 218px;
        width: 200px;
        object-fit: cover;
    }
    .product-card-row{
        row-gap: 5%;
    }
    .service-row {
        flex-direction: column;
    }
    .service-card {
        margin-bottom: 20%;
    }
    .service-card > h2 {
        font-size: 14px;
    }
    .service-card > p {
        font-size: 12px;
    }
    .button-2 {
        margin-top: 10px;
    }
    
}

@media screen and (max-width: 520px){
    #hero{
        height: 320px;
        padding-top: 100px;
        background-size: cover;
    }
    #about{
        padding-bottom: 80px;
    }
    .section-3 {
        background-color: var(--black);
        padding-bottom: 10%;
        background-image: none;
        padding-top: 90px;
    }
    .section-3 > h1 {
        text-align: center;
    }
    .section-3 > h2 {
        text-align: center;
    }
    .product-card-row{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .product-card {
        max-width: 287px;
        margin: 10% 0;
    }
    .product-card >img {
        height: 218px;
        width: 287px;
        object-fit: cover;
    }
    #services{
        padding-top: 90px;
        padding-bottom: 90px;
    }
}

@media screen and (max-width: 440px){
    h2{
        font-size: 12px;
    }
    p{
        font-size: 12px;
    }
}

@media screen and (max-width: 400px){
    #navbar-logo{
        display: none;
    }
    #hero{
        height: 300px;
        padding-top: 100px;
    }
    h1{
        font-size: 24px;
    }
    h2{
        font-size: 10px;
    }
    p{
        font-size: 10px;
    }
    .button-1 {
        font-size: 8px;
        font-weight: 200;
        border-width: 2px;
        margin-top: 15px;
    }
    .p-black {
        font-size: 10px;
    }
    .white-rectangle{
        width: 250px;
    }
    .rectangle-content > h3 {
        font-size: 24px;
    }
    .rectangle-content > p {
        font-size: 10px;
    }
    .section-3{
        padding-top: 60px;
    }
    .section-3 > h1 {
        font-size: 24px;
    }
    .section-3 > h2 {
        font-size: 20px;
    }
    .product-card {
        max-width: 230px;
    }
    .product-card >img {
        height: 218px;
        width: 230px;
        object-fit: cover;
    }
    .button-2 {
        font-size: 12px;
    }
    .contact-us-icon{
        height: 20px;
    }
    .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;
    }
    .footer > p {
        font-size: 10px;
    }
}