body{
    margin-bottom: 0;
}
h1 ,h2{
    color: var(--RedColor);
    font-size: calc(1em + 1vw);
    margin-top: 0;

    text-shadow: black 0 5px 10px;
}
nav{
    margin-bottom: 30px;
}
.title2{
    text-shadow: var(--RedColor) 0 5px 10px;
}
.mainSection a{
    width: auto;
    max-width: 500px;
}

.nous{
    font-size: calc(1.5em + 1vw);
    margin: 0;
}
.mainSection{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;
    margin: 0;
    overflow: hidden;
    padding-bottom: 50px;
    transform: translateY(20%);
    transition: 0.5s;
}
.BubbleSection{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}
#Bubble{
    background-color: var(--RedColor);
    border-radius: 1000px 1000px 0 0;
    z-index: -1;

    position: absolute;
    right: 0;
    bottom: -18px;
    width: 50%;
    height: 120%;
}
.mainSection:hover{
    transform: translateY(0%);
    transition: 0.5s;
    transition-delay: 0.1s;
}
.mainSection:hover > .centerSectionElement{
    transform: translateY(0%);
    transition: 0.5s;
}
.centerSectionElement{
    transform: translateY(120%);
    transition: 0.5s;
}
.mainSection:hover > .mainSectionArrow{
    transform: translateY(500px);
    transition: 0.5s;
}
.mainSectionArrow{
    border-radius: 50px;
    margin-left: calc(50% - 30px);
    position: absolute;
    transform: translateY(0px);
    transition: 0.5s;
    padding: 1px;
    box-shadow: black 0 5px 10px;
}
.FirstSection > .mainSectionArrow{
    background-color: var(--RedColor);
}
.FirstSection > .mainSectionArrow > img{
    filter: invert(11%) sepia(0%) saturate(295%) hue-rotate(165deg) brightness(91%) contrast(80%);
    display: flex;
}
.SecSection > .mainSectionArrow{
    background-color: var(--BlackColor);
}
.SecSection > .mainSectionArrow > img{
    filter: invert(41%) sepia(83%) saturate(4905%) hue-rotate(344deg) brightness(102%) contrast(87%);
    display: flex;
}

.flex{
    overflow: hidden;
}
@media screen and (max-width: 1400px) {
    .BubbleSection{
        position: inherit;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }
    .mainSection a button:hover{
        transform: none;
        transition: 0.2s;
    }
    .FirstSection{
        margin-bottom: 25vw;
    }
    .SecSection{
        margin-bottom: 25vw;
    }
    #Bubble{
        background-color: var(--RedColor);
        border-radius: 1000px 1000px 0 0;
        z-index: -1;

        position: absolute;
        right: 0;
        left: 0;;
        bottom: -30px;
        width: 100%;
        height: 60%;
    }
    .centerSectionElement , .mainSection{
        transform: translateY(0%);
        transition: 0.5s;
    }
    .mainSectionArrow{
        visibility: hidden;
    }
    .nous{
        font-size: calc(1.5em + 1vw);
        margin-top: 100px;
        margin-bottom: 100px;
    }

}

#carousel{
    width: 100%;
    max-width: 600px;  /*size of the carousel*/
    aspect-ratio : 16 / 9;
    position: relative;
    overflow: hidden;
    margin: auto;
}
#carrousel-container{
    height: 100%;
    display: flex;
}
.photo{
    aspect-ratio : 16 / 9;
    height: 100%;
    display: inline-block;
    background-size: cover;
    background-position: center;
}
.carousel-button{
    position: absolute;
    width: 70px;
    cursor: pointer;
    top: 37%;
}
#l{
    left:0;
    opacity: 0.4;
    transform: rotate(0deg);
}
#r{
    right:0;
    opacity: 0.4;
    transform: rotate(180deg);
}
#l:hover, #r:hover{
    opacity: 1;
    transition: 0.2s;

}