@keyframes scale {
    from {
        transform: translate(-50%, 0) scale(1) ; /* Départ : centré horizontalement */
    }
    to {
        transform: translate(-50%, -25%) scale(0.45) ; /* Fin : centré horizontalement et décalé vers le haut */
    }
}

body {
    background-color: white;
    margin: 0;
    padding: 0;
}

nav {
    width: 100%;
    background: #D14836;
    border-bottom: 3px solid #000;
    height: 145px;
    position: fixed;
    top: 0;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible;
    z-index: 100;
    padding: 15px;
    box-sizing: border-box;
}
.nav_left-panel{
    display: flex;
    flex: 2;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
}
.nav_center-panel{
    display: flex;
    flex: 1;
    position: relative;
    top: 0;
    height: 100%;
    min-width: 220px;
}
.nav_right-panel{
    display: flex;
    flex: 2;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
}
.nav_link{
    font-family: "Bebas Neue", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.4em;
    cursor: pointer;
}
.nav_link:hover{
    color: #000;
}
.nav_link-categories{
    position: relative;
}
.categories-content{
    position: absolute;
    background-color: #D14836;
    padding: 30px 40px 0 5px;
    visibility: hidden;
}
.categories-content:hover{
    color: #fff;
}
.categories-content p:hover{
    color: #000;
}
.nav_link-categories::after{
    content: '\0023F7';
}
.nav_link-validation{
    position: relative;
}
.validation-content{
    position: absolute;
    background-color: #D14836;
    padding: 30px 40px 0 5px;
    visibility: hidden;
}
.nav_link-validation::after{
    content: '\0023F7';
}


.nav_link-button{
    padding: 20px;
    box-sizing: border-box;
    background: #FFF;
    color: #D14836;
    border-radius: 20px;
}
.nav_link-button:hover{
    padding: 20px;
    box-sizing: border-box;
    background: #000;
    color: #FFF;
    border-radius: 20px;
}

#logo {
    height: 220px;
    width: 220px;
    background-image: url("circle-blanc.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0; /* Positionné en haut */
    left: 50%; /* Centré horizontalement */
    transform: translate(-50%, 0); /* Centré horizontalement et aligné en haut */
    animation: scale linear forwards;
    animation-timeline: scroll(root);
    animation-range: 0 10%; /* Ajustez la durée selon vos besoins */
}
.head{
    width: 100%;
    margin-top: 110px;
    height: 400px;
    background-image: url("acceuil2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: #000 2px solid;
    box-sizing: border-box;
}
#red-filter{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #D14836;
    opacity: 0.6;
}
.text-header{
    color: #FFF;
    position: relative;
    z-index: 50;
    font-family: "Bebas Neue", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 75px;
}
.secondary_nav{
    min-height: 70px;
    width: 100%;
    background-color: #D14836;
    display: flex;
    justify-content: space-between;
    align-items: center;
}