




/* ------------------------------------------------------------- Général --------------------------------------------------------------------- */

@font-face {
    font-family: 'Agrandir';
    src: url('src/font/Agrandir-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'Agrandir';
    src: url('src/font/Agrandir-TextBold.otf') format('opentype');
    font-weight: bold;
}

body{
    font-family: Agrandir, sans-serif;
    overflow-x: hidden;
}

header h1{
    margin: 10px;
    font-weight: normal;
}

header a{
    text-decoration: none;
    color: black;
    display: flex;
}

#grandHR{
    max-width: 500px;
    text-align: left;
    margin-left: -10px;
    margin-right: -10px;
    color: #175b3d;
}



footer hr{
    color: #7e7f7e;
    max-width: 500px;
    text-align: left;
    margin-left: -10px;
    margin-right: -10px;
}

footer p{
    font-size: 12px;
    color: #7e7f7e;
}









/* ----------------------------------------------------------  Index ---------------------------------------------------------------- */

#presentation{
    margin-top: 50px;
    display: grid;
    gap: 15px;
    grid-template-columns: 30% 70%;
    margin-bottom: 70px;
}

#presentation div{
    flex: 1 1;
}

#presentation div img{
    max-width: auto;
    align-self: center;
    margin-left: 100px;
    max-width: 100%;
}

#infos{
    text-align: center;
    margin-bottom: 60px;
    align-self: center;
}

#infos p{
    margin: 0px;
}

#infos h2{
    margin-bottom: 8px;
    font-size: 45px;
    font-weight: bold;
}

#date{
    font-size: 34px;
}

#lieu{
    font-size: 29px;
}

#heure{
    font-size: 25px;
}

.description{
    margin-top: 60px;
}

.titre{
    font-weight: bold;
    font-size: 30px;
    text-align: center;
    margin-bottom: 0px;
}

.separation{
    color: #175b3d;
    width: 10%;
    margin: 10px auto 30px auto;
}

.description p{
    font-size: 20px;
    text-align: justify;
    margin: 0px 20%;
    width: 60%;
}

#contact{
    font-size: 18px;
}

.createur img{
    width: auto;
    max-width: 100%;
    border: 0px solid;
    border-radius: 8px;
}

.createur{
    margin-top: 50px;
    display: grid;
    grid-template-columns: 30% 70%;
    text-align: center;
    margin : 0px 20% 20px 20%;
    width: 60%;
}

.createur p{
    text-align: justify;
    font-size: 20px;
    width: 92%;
    margin-left: 40px;
    color: #565656;
}

#instagram{
    color: #565656;
    display: flex;
    justify-content: left;
    align-items: center;
    text-align: left;
    text-decoration: none;
    margin: 0px 0px 10px 0px;
    width: 10%;
    font-size: 18px;
}

#instagram img{
    width: 30px;
    margin-right: 10px;
}

.Carrousel-container {
    position: relative;
    padding: 0 20vw;
    overflow-x: hidden;
}

.Carrousel {
    display: flex;
    gap: 3px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0;
}

.Carrousel::-webkit-scrollbar {
    display: none;
}

.image {
    flex: 0 0 auto;
    scroll-snap-align: start;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto 2px;
}

.image img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.scroll {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    opacity: 1;
    border: none;
    font-size: 90px;
    cursor: pointer;
    z-index: 10;
    padding: 5rem 2rem;
    margin: 0px 15px;
    color: #175b3d;
}

.scroll.gauche {
    left: 12%;
}

.scroll.droite {
    right: 12%;
}

#ancienneEdition{
    font-size: 20px;
    text-align: center;
    margin: 0px;
    color: #565656;
}





/* ----------------------------------------------------------  CSS Mobile ---------------------------------------------------------------- */

@media screen and (max-width: 800px) {
    #presentation{
        margin: 50px 10px auto 10px;
        grid-template-columns: 35% 65%;
    }

    #presentation div img{
        margin: auto 0px;
        max-width: 150%;
        width: 125%;
    }

    #infos{
        margin: auto 5px 30px 0px;
    }

    #infos h2{
        font-size: 35px;
    }

    #date{
        font-size: 24px;
    }

    #lieu{
        font-size: 19px;
    }

    #heure{
        font-size: 15px;
    }

    .separation{
        color: #175b3d;
        width: 30%;
        margin: 20px auto 30px auto;
    }

    .description p{
        font-size: 18px;
        text-align: justify;
        margin: 0px 5%;
        width: 90%;
    }

    #contact{
        font-size: 16px;
        text-align: left;
    }

    .createur img{
        width: auto;
        max-width: 100%;
    }

    .createur{
        margin-top: 50px;
        display: grid;
        grid-template-columns: 30% 70%;
        text-align: center;
        margin : 0px 5% 20px 5%;
        width: 90%;
    }

    .createur p{
        text-align: left;
        font-size: 16px;
        width: 92%;
        margin: 0px 0px auto 15px;
        color: #565656;
    }

    .Carrousel-container {
        padding: 0 11vw;
    }

    .image {
        height: 220px;
    }

    .image img {
        max-width: 100%;
        max-height: 100%;
        border-radius: 8px;
        object-fit: cover;
    }

    .scroll {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        border: none;
        cursor: pointer;
        z-index: 10;
        padding: 9vh 0px;
        margin: 0px 15px;
        color: #175b3d;
        font-size: 65px;
        touch-action: manipulation;
    }

    .scroll.gauche {
        left: -1.8vh;
    }

    .scroll.droite {
        right: -1.8vh;
    }

    #ancienneEdition{
        font-size: 16px;
    }

    #instagram{
        color: #565656;
        display: flex;
        justify-content: left;
        align-items: center;
        text-align: left;
        text-decoration: none;
        margin: 0px 0px 10px 0px;
        width: 10%;
        font-size: 14px;
    }
}