/* Defaults */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p{
    font-size: 22px;
}

a{
    text-decoration: none;
    color: #e1dad1;
    color: rgb(240, 231, 223);
}

body{
    background-color: rgb(199, 182, 169);
}

section{
    width: 100%;
    height: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-gap: 40px;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    padding: 40px;
    overflow-x: hidden;
}

/* header */

header{
    position: absolute;
    top: 0;
    width: 100%;
    height: 60px;
    color: white;
    display: grid;
    grid-template-columns: 1fr 11fr 1fr;
    place-items: center;
    font-size: 20px;
    background-color: rgb(199, 182, 169);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo img{
    height: 55px;
    color: white;
    margin-top: 5px;
}

.nav{
    display: flex;
    gap: 40px;
}

.nav a{
    transition: .5s;
}

.nav a:hover{
    color: rgb(99, 99, 99);
}

/* Hamberuger */

.hamburger{
    display: none;
    z-index: 1000;
}

.hamburger-icon{
    font-size: 40px;
}

.hamburger-icon:hover{
    cursor: pointer;
}

.hamburger-nav{
    position: absolute;
    right: 0;
    top: 60px;
    display: flex;
    flex-direction: column;
    height: auto;
    text-align: right;
    padding: 20px 20px 30px 20px;
    background-color: rgb(199, 182, 169);
    border-radius: 0 0 0 40px;
    gap: 30px;
}

.hamburger-nav a{
    color: white;
    font-size: 30px;
}

.hide{
    display: none;
}

.socials{
    display: flex;
    gap: 20px;
    padding-right: 10px;
}

.socials a{
    transition: .5s;
}

.socials a:hover{
    color: rgb(99, 99, 99);
}

/* Hero Section */

.hero{
    display: grid;
    place-items: center;
    grid-template-columns: 1fr;
    height: 440px;
    margin-top: 60px;
    overflow: hidden;
    background-image: url(images/hero-background.png);
    background-size: 1500px 1800px;
    background-position: center 25%;
    background-repeat: no-repeat;
    text-align: center;
}

.hero h1{
    font-size:56px;
    color: rgba(99,99,99);
    opacity: 0;
    transform: translateY(5px);
    animation: heroText 1.4s ease-out forwards;
}

/* Company Description Section */

.company-description{
    background-color: #e1dad1;
}

.description-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: rgb(99, 99, 99);
    padding-left: 100px;
}

.description-text h1{
    margin-bottom: 20px;
}

.description-image{
    height: 300px;
    width: 100%;
    background-image: url(images/company-logo-2.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* Brands Section */

.brands{
    color: rgb(99, 99, 99);
    grid-template-columns: 1fr 1fr 1fr;
    background-color: rgb(229, 224, 216);
    padding: 0;
    padding-right: 40px;
    box-shadow: none;
}

.brands-image{
    height: 100%;
    width: 300px;
    background-image: url(images/model-2.png);
    background-size: cover;
    background-position: center 10%;
    background-repeat: no-repeat;
    box-shadow: -5px 5px 5px rgba(0,0,0,0.3);
    margin-right: 80px;
}

.brands-brands{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;

}

.brands-brands div{
    letter-spacing: 5px;
    text-align: center;
}

.brands-text{
    height: 100%;
    text-align: center;
    font-size: 20px;
    place-content: center;
    text-align: center;
}

.sell-btn{
    display: inline-block;
    margin-top: 30px;
    padding: 10px;
    background-color: rgba(77, 37, 15,.3);
    border-radius: 10px;
    transition: .5s;
}

.sell-btn:hover{
    background-color: #adb782;
}

/* Locations Section */

.locations{
    place-content: center;
    place-items: center;
    text-align: center;
    background-color: #e1dad1;
}

.locations-text{
    /* color: rgb(99, 99, 99); */
    /* color: #e1dad1; */
    color: rgb(99, 99, 99);
}

.locations-text h1{
    margin-bottom: 20px;
}

.hours{
    display: flex;
    gap: 20px;
}

iframe{
    height: 300px;
    width: 600px;
    border-radius: 20px;
    box-shadow: -5px 5px 5px rgba(0,0,0,0.3);
}

/* Social Media Section */

.social-media{
    height: auto;
    color: #e1dad1;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    /* background-color: #2d2019; */
    background-color: rgba(77, 37, 15,.3);
    padding: 20px;
    padding-bottom: 0;
    box-shadow: none;
}

.social-media a{
  font-size: 36px;
  color: #e1dad1;
  letter-spacing: 20px;
  transition: .5s;
}

.social-media a:hover{
    color: rgb(99, 99, 99);
}

/* Footer */

footer{
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: #2d2019; */
    background-color: rgba(77, 37, 15,.3);
    color: #e1dad1;
    padding: 20px;
}


/* Media Queries */

@media screen and (max-width: 768px){
    
    header{
        display: flex;
        justify-content: space-between;
        padding-left: 7px;
        padding-right: 20px;
    }
    
    .hamburger{
        display: block;
    }

    .nav, .socials{
        display: none;
    }
    
    .hero h1{
        margin-bottom: 70px;
    }
    
    .company-description{
        grid-template-columns: 1fr;
    }

    .description-text{
        padding-left: 0;
    }

    .brands{
        grid-template-columns: 1fr;
        padding-right: 0;
        padding: 40px;
    }

    .brands-image{
        display: none;
        margin-right: 0;
    }

    .brands-brands{
        padding-top: 0;
        padding-bottom: 0;
    }

    .brands-text{
        padding-right: 0px;
    }

    .brand{
        font-size: 16px;
    }

    .locations{
        grid-template-columns: 1fr;
    }

    iframe{
        width: 300px;
    }

    .social-media{
        font-size: 10px;
        padding-bottom: 10px;
    }

    .social-media a{
        font-size: 20px;
    }

    footer{
        font-size: 10px;
        padding: 10px;
    }
}

@keyframes heroText{
    to{
        opacity: 1;
        transform: translatey(0);
    }
}









/* ABOUT PAGE*/

.owners{
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    place-content: center;
    box-shadow: none;
    padding: 60px 40px;
    margin-top: 60px;
    background-color: rgb(229, 224, 216);
}

.owners-image{
    height: 600px;
    width: 500px;
    background-image: url(images/family-photo.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center -130px;
    /* box-shadow: -5px 5px 5px rgba(0,0,0,0.3); */
    border-radius: 30px;
}

.owners-text{
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

/* Media Queries */

@media screen and (max-width: 1000px){
    .owners{
        grid-template-columns: 1fr;
    }

    .owners-image{
        height: 400px;
        width: 300px;
        background-position: center -40px;
    }
}









/* SELL PAGE */

.how-to-sell{
    display: flex;
    flex-direction: column;
    margin-top: 60px;
    justify-content: baseline;
    align-items: baseline;
    color: rgb(99, 99, 99);
    background-color: rgb(229, 224, 216);
}

.sell-header-1{
    height: auto;
    width: 100%;
    text-align: left;
}

.sell-header-2{
    height: auto;
    width: 100%;
    text-align: right;
}

.brands-we-love{
    display: grid;
    max-width: 700px;
    margin-left: auto;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: end;
    text-align: right;
    letter-spacing: 5px;
    grid-gap: 10px;
}

.brands-we-love p{
    padding: 5px 0 5px 0;
}

/* Media Queries */

@media screen and (max-width: 768px){
    .brands-we-love{
        grid-template-columns: 1fr;
    }
}