@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital@0;1&family=Oswald:wght@200..700&display=swap');


*,
::before,
::after {
    box-sizing: border-box; 
    margin: 0;
    padding: 0; 
    text-decoration: none;
    list-style-type: none; 
}


:root {
    --first-clr: #2E323F; 
    --second-clr: #3B4050; 
    --thrid-clr: #e7e7e7; 
    --fourth-clr: #fff; 
    --fifth-clr: #A59678; 
}


body {
    background-color: var(--second-clr);
    color: var(--fourth-clr);
    font-family: 'oswald', serif; 
}

section {
    padding: 1rem; 
}

.section-first, .section-third  {
    min-height: 100vh; 
}

.section-second {
    min-height: 40vh;
}

footer {
    min-height: 50vh; 
}

.container {
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 5rem 0 5rem 0; 
    display: flex; 
    flex-flow: column; 
    align-items: center; 
}




/* HEADER STYLE */

.header {
    background-color: var(--first-clr);
    display: flex;
    flex-flow: row wrap; 
    justify-content: center; 
    align-items: center; 
    gap: 1rem; 
    padding: 2rem 1rem 2rem 1rem; 
}

.logo {
  max-width: 350px;   
}

.logo img {
  width: 100%; 
}


.nav__list {
    display: flex; 
    gap: 1.5rem; 
    flex-flow: row wrap; 
    justify-content: space-evenly; 
    align-items: center; 
}

.nav__link {
    font-size: 1.1rem; 
    font-weight: bold;
    text-transform: uppercase;
    color: var(--fourth-clr);
    padding: 0.25em 1em; 
}


.signup--button {
    background-color: var(--fifth-clr); 
    border-radius: 30px; 
    text-shadow: 2px 2px 2px #000;
}

.nav__item:hover,
.nav__item:focus {
    opacity: .75;
    transform: scale(1.2);  
    transition: transform 0.3s ease-in-out;
}


/* SECTION-FIRST STYLE  */

.section-first {
    display: flex; 
    align-items: center; 
}

.intro {
    display: flex; 
    flex-flow: column nowrap; 
    justify-content: center; 
    gap: 2rem; 
}

.intro__title {
    max-width: 500px; 
}

.intro__title h1 {
    font-size: 3rem;
    text-align: center; 
}

span {
    color: var(--fifth-clr);
}

.intro__cta {
    max-width: 500px; 
}

.intro__cta p {
    font-family: 'montserrat', serif; 
    font-size: 1rem; 
    text-align: center; 
}

.btn {
    display: block; 
    margin: 1em auto 0 auto; 
    padding: .25em 1em; 
    background-color: var(--fifth-clr);
    color: var(--fourth-clr);
    font-size: 1.1rem; 
    font-weight: bold; 
    text-transform: uppercase;
    text-shadow: 2px 2px 2px #000;
    border-color: var(--fifth-clr);
    border-radius: 30px;  
}

.btn:hover, 
.btn:focus {
    opacity: .65;
    cursor: pointer; 
}


/* SECTION-SECOND STYLE  */


.section-second {
    background-color: var(--thrid-clr);
    color: var(--first-clr);
}

.section-second h3 {
    color: var(--fifth-clr);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;  
}

.section-second p {
    font-family: 'montserrat', serif; 
    text-align: center; 
}

.section__second__box {
    display: flex; 
    flex-flow: column nowrap; 
    gap: 2rem; 
}

.section__second__boxtext {
    max-width: 350px; 
}




/* SECTION-THIRD STYLE */

.section-third {
    background-color: var(--fourth-clr);
    color: var(--first-clr);
}

.main__text img {
    width: 100%; 
}

.main__text h2 {
    color: var(--fifth-clr);
    font-size: 1.8rem; 
}

.main__text p {
    margin-block: 1rem;
    font-family: 'montserrat', serif; 
}

.section__third__box {
    display: flex; 
    flex-flow: column nowrap;
    gap: 2rem; 
}


.section__third__sidebar {
    display: flex; 
    flex-flow: column; 
    justify-content: center; 
    align-items: center; 
    gap: 2rem; 
}

.section__third__sidebarbox {
    max-width: 350px; 
}

.section__third__sidebarbox {
    background-color: var(--first-clr);
    color: var(--fourth-clr);
    padding: 2rem; 
    text-align: center; 
}

.section__third__sidebarbox h3 {
    font-size: 1.4rem; 
    margin-bottom: 1rem; 
}

.section__third__sidebarbox p {
    font-family: 'montserrat', serif; 
}

/* FOOTER */

footer {
    padding: 1rem;
    display: flex;
    flex-flow: column nowrap; 
    align-items: center;  
}

footer h1 {
    margin: 1rem auto 2rem auto; 
    font-size: 2.5rem;  
    text-align: center; 
}

.footer__info {
    display: flex; 
    flex-flow: row wrap; 
    gap: 2rem; 
    margin: 0 auto; 
}

.footer__info h3 {
    color: var(--fifth-clr);
    font-size: 1.5rem;
    margin-bottom: 1rem; 
}

.footer__info p,
.footer__info li {
    font-family: 'montserrat', serif; 
}

.footer__info__box {
    max-width: 300px; 
}


/* MEDIA QUERIES */



@media (min-width: 700px) {

    .header {
        justify-content: space-between; 
    }

    .intro__title h1 {
        text-align: left; 
    }

    .intro__cta p {
        text-align: left; 
    }

    .btn {
        margin-inline: 0; 
    }


}

@media (min-width: 900px) {

    section {
        padding-inline: 5rem; 
    }

    .intro {
        flex-flow: row nowrap; 
        gap: 1.5rem; 
        justify-content: center; 
        align-items: center; 
    }

    .intro__title {
        max-width: 600px; 
    }

    .intro__title h1 {
        font-size: 3.5rem; 
    }

    .intro__cta {
        max-width: 450px; 
    }

    

    .section__second__box {
        flex-flow: row nowrap; 
    }

    .section__third__sidebar {
        flex-flow: row nowrap; 
    }

    footer h1 {
        font-size: 3rem; 
    }

}

@media (min-width: 1000px) {

    .intro__title h1 {
        font-size: 3.8rem; 
    }

    .section__third__box {
        flex-flow: row nowrap; 
    }

    .section__third__sidebar {
        flex-flow: column nowrap; 
    }

    .main__text {
        width: 100%; 
    }

    .section__third__sidebarbox {
        max-width: 450px; 
    }
}

@media (min-width: 1200px) {
    .intro__title h1 {
        font-size: 3.8rem; 
    }
}
