@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: "Open Sans", sans-serif;
}

:root {
    --bleu_noir: #092d44;
    --bleu_cerulean: #27708c;
    --bleu_claire: #309fb8;
    --bleu_ciel: #2597cb;
    --jaune_orange: #f2bb18;
    --blanc: #ffffff;
    --gris: #e6e6e6;
    --noir: #000000;

}

li {
    list-style: none;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--bleu_cerulean)
}

a:hover {
    color: var(--jaune_orange);
    transition: 0.3s;
}

h2 {
    color: var(--bleu_cerulean);
    font-size: 30px;
}

h3 {
    color: var(--bleu_cerulean);
}


.bnt_jaune {
    min-width: 48px;
    min-height: 48px;
    width: fit-content;
    height: fit-content;
    background-color: var(--jaune_orange);
    padding: 10px;
    border-radius: 8px;

}

.bnt_jaune:hover {
    color: var(--noir);
    background-color: var(--bleu_claire);
    cursor: pointer;

}

.bnt_bleu {
    min-width: 48px;
    min-height: 48px;
    color: var(--noir);
    width: fit-content;
    height: fit-content;
    background-color: var(--bleu_claire);
    padding: 10px;
    border-radius: 8px;

}

.bnt_bleu:hover {
    color: var(--bleu_cerulean);
    background-color: var(--jaune_orange);
    cursor: pointer;

}

select {
    width: fit-content;
    height: fit-content;
    padding: 10px;
    border-radius: 8px;
}

/*-------------------------------------------------------------------------HEADER IMAGE----------------------------------------------------------------------------------*/

.img_header {
    width: 100%;
    max-height: 160vh;
    overflow: hidden;
}

.img_header>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}


main {
    padding: 5vw 0vw;
}

.texte_atelier {
    padding: 0vh 20vh 0vh;

}


/* ---------------------------------------------------------------------ACTUALITE------------------------------------------------------------------*/

.actualite {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 15vh 20vh 0vh;
}

.actualite>h2 {
    padding: 25px;
}

.toute_actu {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
}

.toute_actu>a {
    font-size: 30px;
}

.box_actu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 20px 0;
}

.actu {
    background-color: var(--gris);
    border-radius: 10px;
    width: 800px;
    height: 300px;
    display: flex;
}

.date_actu {
    color: var(--bleu_noir);
    font-size: 40px;
    background-color: var(--jaune_orange);
    border-radius: 10px;
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    overflow: hidden;
}

.type_actu {
    color: var(--bleu_noir);
    font-size: 30px;
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 30px;
    overflow: hidden;
}

.type_actu>h3 {
    color: var(--bleu_noir);
}

.atelier-card {
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: block;
}

.atelier-card:hover {
    transform: translateY(-4px);
}

.atelier-description {
    display: none;
    width: 800px;
    height: fit-content;
    padding: 20px;
    font-size: 25px;
    background-color: var(--gris);
    border-radius: 10px;
    box-sizing: border-box;
    overflow: auto;
}




/* -----------------------------------------------RESPONSIVE-------------------------------------------------- */


@media(max-width: 2068px) {

    /*----------------Actualite----------------*/

    .actualite>h2 {
        font-size: 40px;
    }

    .toute_actu>a {
        font-size: 25px;
    }

    .actu {
        width: 500px;
        height: 200px;
    }

    .date_actu {
        font-size: 30px;
    }

    .type_actu {
        font-size: 25px;
    }

    .atelier-description {
        font-size: 20px;
        width: 500px;
    }

}


@media(max-width: 1315px) {

    .texte_atelier {
        padding: 0vh 5vh 0vh;
    }

    /*----------------Actualite----------------*/

    .actualite {
        padding: 15vh 5vh 0vh;
    }

    .toute_actu>a {
        font-size: 20px;
    }

    .actu {
        width: 400px;
        height: 150px;
    }

    .date_actu {
        font-size: 20px;
    }

    .type_actu {
        font-size: 20px;
    }

    .atelier-description {
        font-size: 15px;
        width: 400px;
    }


}


@media(max-width: 863px) {

    .texte_atelier {
        padding: 0vh 5vh 0vh;
    }

    /*----------------Actualite----------------*/

    .actualite {
        padding: 5vh 5vh 0vh;
    }

    .actualite>h2 {
        font-size: 35px;
    }

    .toute_actu>a {
        font-size: 25px;
    }

    .actu {
        width: 500px;
        height: 200px;
    }

    .date_actu {
        font-size: 25px;
    }

    .type_actu {
        font-size: 25px;
    }

    .atelier-description {
        font-size: 20px;
        width: 500px;
    }


}

@media(max-width: 640px) {

    .texte_atelier {
        padding: 0vh 5vh 0vh;
    }

    /*----------------Actualite----------------*/

    .actualite {
        padding: 5vh 5vh 0vh;
    }

    .actualite>h2 {
        font-size: 30px;
    }

    .toute_actu>a {
        font-size: 20px;
    }

    .actu {
        width: 300px;
        height: 150px;
    }

    .date_actu {
        font-size: 15px;
    }

    .type_actu {
        font-size: 18px;
    }

    .derniere_actu {
        margin: 0;
    }

    .atelier-description {
        font-size: 20px;
        width: 300px;
    }

}

@media(max-width: 430px) {

    h2 {
        font-size: 20px;
    }

    h1 {
        font-size: 20px;
    }

    p {
        font-size: 15px;
    }

    /*----------------Actualite----------------*/

    .actualite>h2 {
        font-size: 25px;
    }

    .toute_actu>a {
        font-size: 18px;
    }

    .actu {
        width: 250px;
        height: 100px;
    }

    .date_actu {
        font-size: 13px;
    }

    .type_actu {
        font-size: 13px;
    }

    .atelier-description {
        font-size: 10px;
        width: 250px;
    }

}


@media(max-width: 340px) {

    /*----------------Actualite----------------*/

    .actu {
        width: 250px;
        height: 100px;
    }

    .date_actu {
        font-size: 15px;
    }

    .type_actu {
        font-size: 15px;
    }

    .atelier-description {
        width: 250px;
    }
}