@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Square+Peg&display=swap');

/*
 Code Couleurs:
- Beige en fond de Menu : rgb(237, 229, 218)
- Dorée : rgb(164, 136, 75)
- Gris (écriture sur menu) : rgb(112, 112, 112)
-Noir
*/


body{
    width: 100%;
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
    font-style: normal;
}
.text-gray{
    color: #707070FF;
}
.background{
    background-image: url("../images/ecureuil_header-09f5bb648b693493daae0a51e7a9864a.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    top: -100px;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    -webkit-transform: translateZ(0);
    pointer-events: none;
}

.font-square-peg{
    font-family: "Square Peg", cursive;
}

.header{
    width: 100%;
    background: #fffbf5;
    left: 0;
    right: 0;
    top: 0;
    position: fixed;
    z-index: 999;
}

.content{
    padding-top: 100px;
    box-sizing: border-box;
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 100px;
}
.nav-menu{
    list-style: none;
    gap: 10px;
}
.nav-item{
    text-align: center;
    font-weight: bold;
    padding: 5px;
    margin: 5px;
    font-size: 20px;
    color: #707070FF;
    text-transform: uppercase;
}
.nav-link.active{
    color: rgb(164, 136, 75);
}
.nav-logo{
    z-index: 999;
    display: block;
    width: auto;
    height: 100%;
}
.nav-img{
    width: auto;
    height: 100%;
}
.nav-menu{
    display: flex;
    flex-flow: row nowrap;
}

.bar {
    display: block;
    width: 40px;
    height: 6px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #101010;
}
.hamburger {
    display: none;
}

.hero{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-logo-container{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25vw;
    height: 25vw;
    background-color: rgb(254, 252, 246);
    border-radius: 50%;

}
.hero-logo{
    width: 90%;
    height: auto;
}

.parallax-background{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.fade{
    opacity: 0;
}
.fade.fade-in {
    animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.img-concept{
    width: 100px;
    height: auto;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.menu-card{
    display: flex;
    flex-flow: column nowrap;
    width: 90%;
    background: #eae6e0;
    min-height: 550px;
}
.menu-card > .menu-card-header{
    text-transform: uppercase;
    font-weight: bold;
    padding: 20px 0;
    box-sizing: border-box;
}
.menu-card > .menu-card-img{
    width: 100%;
    height: 300px;
    box-sizing: border-box;
    object-fit: cover;
}

.menu-card > .menu-card-description{
    font-size: 15px;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}
.menu-card-body{
    height: 100%;
    padding: 20px;
    flex: 1 1 auto;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: center;
}
.menu-btn{
    background-color: #414141;
    padding: 5px 20px;
    border-radius: 15px;
    color: white;
    text-decoration: none;
    font-size: 20px;
}

.main{
    background: #fefefe;
    min-height: 100vh;
}

.event-img{
    object-fit: cover;
    height: 75vh;
}

.gallery{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 38vw 25vw;
    gap: 40px;
}
.photo{
    box-sizing: border-box;
    object-fit: cover;
    /*background-image: url("../images/ecureuil_logo.png");*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease-in-out;
}
.photo:hover{
    transform: scale(1.1);
    cursor: pointer;
}
.announcement-container {
    min-height: 500px;
    max-height: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.announcement-container img {
    width: 50%;
    height: auto;
}

.contact-container {
    /*height: 90vh;*/
    box-sizing: border-box;
    padding-top: 75px;
    background-color: #d2d2d2;
}
.contact-information{
    font-size: 25px;
    font-weight: bold;
}
.contact-icon{
    border: 2px solid #A08549FF;
    color: #A08549FF;
    border-radius: 50%;
    box-sizing: border-box;
    padding: 5px;
    font-size: 20px;
}
.no-border{
    border: none;
}
.contact-social{
    padding-top: 35px;
    text-align: center;
}

.mobi-footer{
    width: 100%;
}
.mobi-footer--fixed{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
}
.footer-reservation{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fffbf5;
    height: 75px;
    text-decoration: none;
}

@media only screen and (min-width: 768px){
    .photo:nth-child(6n-1){
        grid-column: span 2;
    }
    .photo:nth-child(6n){
        grid-column: span 2;
    }
}

@media only screen and (max-width: 768px) {
    .announcement-container img {
        width: 90vw;
    }

    body{
        background-position: center;
        background-size: cover;
    }
    .hero-logo-container{
        width: 75vw;
        height: 75vw;
    }

    .nav-menu{
        flex-direction: column;
    }

    .nav-container{
        position: fixed;
        left: 100%;
        width: 100%;
        height: 100%;
        bottom: 0;
        transition: 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fffbf5;
        gap: 0;
    }

    .nav-container.active{
        left: 0;
    }
    .hamburger {
        display: block;
        cursor: pointer;
        width: 40px;
        margin-right: 10px;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .menu-card > .menu-card-img{
        height: 250px;
    }

    .menu-btn{
        font-size: 15px;
    }

    .gallery{
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 73vw 50vw;
    }
    .photo:nth-child(3n){
        grid-column: span 2;
    }
}


.stop-scrolling {
    height: 100%;
    overflow: hidden;
}