@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');




:root {
    --first-color: #272727;
    --second-color: rgb(146, 115, 101);
    --third-color: #EFD09E;
    --font-family: 'Roboto', sans-serif;


}

* {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
}



header {
    height: 70vh;
    background-image: url(/images/contact.png);
    background-size: cover;
    background-position: top;
    width: auto;

}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #272727;
    font-family: var(--font-family);
    position: fixed;
    top: 0;
    width: 100vw;
    transition: all 1s ease;
    height: 5rem;
    z-index: 5;
}
.nav-bar.scroll {
    background-color: var(--second-color);
}
img.logo {
    height: 7rem;
    width: 7rem;
    justify-self: flex-start;
    margin-left: 2rem;
}
ul li {
    list-style: none;
    padding: 1.7rem 0;
    align-items: center;
    justify-content: center;
}
ul li a {
    text-decoration: none;
    margin: 2rem;
    color: var(--first-color);
    font-weight: bold;
    letter-spacing: 10px;
}
.hamburger {
    cursor: pointer;
    top: 20rem;
}
.bar {
    display: block;
    width: 35px;
    height: 4px;
    margin: 5px 40px;
    transition: all 0.5s ease;
    background-color: var(--first-color);
}
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
.hamburger {
    display: block;
}
.nav-menu {
    position: fixed;
    left: 100%;
    top: 9rem;
    height: 14rem;
    gap: 0;
    flex-direction: column;
    width: 100vw;
    text-align: center;
    background-color: rgb(146, 115, 101);
    transition: 1s;
}
.nav-menu.active {
    left: 0;
}
.home-head {
    display: flex;
    flex-direction: column;
    font-family: var(--font-family);
    text-align: center;
    color: var(--first-color);
    width: 98vw;
    position: absolute;
    margin: 15rem auto 0 auto;
}
.home-head h1 {
    font-weight: bold;
    font-size: 3.5rem;
    padding: 1rem;
    margin: auto;
    letter-spacing: 0.2rem;
    color: var(--first-color);
    background-color: rgba(239, 208, 158,0.2);
}

.home-head.scroll {
    display: none;
}
.home-head.active {
    display: none;
}

/* Contact  */



.contact {
    background-color: var(--first-color);
}



.contact-head {

    font-family: var(--font-family);
    text-align: center;
    color: var(--first-color);
    margin: auto;
    margin-top: 10rem;
    background-color: rgb(230, 230, 230, 0.05);
    width: 50vw;

}

.contact-head h1 {
    font-weight: bold;
    font-size: 2.5rem;
    padding: 1rem;
    margin: auto;
}

.contact-head p {
    font-style: italic;
    font-size: 1rem;
    font-weight: bold;
}

/*Contact Form */

.contact-bloc {
    background-color: var(--first-color);
}

.contact-intro {
    text-align: justify;
    width: 50vw;
    margin: auto;
    padding: 2.5rem;
    color: var(--second-color);

}

.contact-intro h2 {
    font-size: 2rem;
}


.contactForm {
    display: flex;
    flex-direction: column;
    align-items: center;

}

input[type="text"],
input[type="email"],
textarea {
    width: 50vw;
    padding: 0.8rem;
    margin: 0.8rem;
    background-color: transparent;
    border: 0.1rem solid var(--third-color);
    border-radius: 0.25rem;
    color: #EFD09E;
}

input[type="submit"] {
    background-color: var(--second-color);
    border: 0.1rem solid var(--third-color);
    border-radius: 3px;
    width: 9rem;
    padding: 0.5rem;
    margin-bottom: 2rem;
    border-radius: 0.25rem;
    font-weight: bold;

}


/* Footer */

footer {
    background-color: var(--second-color);
    color: #fff;
    height: 4.3rem;
}

.textfooter {
    margin-left: 1rem;
    background-color: var(--second-color);
    color: var(--first-color);
}

.logofooter {
    height: 4rem;
    width: 4rem;
    background-color: var(--second-color);
}


.rsimage {
    height: 2rem;
    width: 2rem;
    background-color: var(--second-color);
    margin: 0 1rem;
    transition: transform 0.3s;
}

.rsimage:hover {
    transform: scale(1.5);
}

.containerrs {
    display: flex;
    justify-content: space-between;
    margin: 0 0.7rem;
}

.container-footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
}


@media screen and (min-width: 768px) {

    header {
        height: 90vh;
    }


    .nav-menu {
        position: fixed;
        height: 5rem;
        top: 0;
        left: 0;
        flex-direction: row;
        display: flex;
        width: 100vw;
        background-color: transparent;
        justify-content: flex-end;
        align-items: center;
        z-index: -1;
    }

    img.logo {
        z-index: 3;
    }

    .hamburger {
        display: none;
    }


    .button:hover {
        background-color: var(--third-color);
        border: 0.1rem solid var(--second-color);
        cursor: pointer;
    }

    a {
        position: relative;
    }
    ul li a:after {
        content: "";
        position: absolute;
        background-color: var(--third-color);
        height: 3px;
        width: 0%;
        left: 0;
        bottom: -10px;
        transition: 0.5s;
    }
    ul li a:hover:after {
        content: "";
        position: absolute;
        background-color: var(--third-color);
        height: 3px;
        width: 95%;
        left: 0;
        bottom: -10px;
        transition: 0.5s;
    }


}