/* 
███╗░░██╗███████╗  ██████╗░░█████╗░░██████╗  ███╗░░░███╗░█████╗░██████╗░██╗███████╗██╗███████╗██████╗░
████╗░██║██╔════╝  ██╔══██╗██╔══██╗██╔════╝  ████╗░████║██╔══██╗██╔══██╗██║██╔════╝██║██╔════╝██╔══██╗
██╔██╗██║█████╗░░  ██████╔╝███████║╚█████╗░  ██╔████╔██║██║░░██║██║░░██║██║█████╗░░██║█████╗░░██████╔╝
██║╚████║██╔══╝░░  ██╔═══╝░██╔══██║░╚═══██╗  ██║╚██╔╝██║██║░░██║██║░░██║██║██╔══╝░░██║██╔══╝░░██╔══██╗
██║░╚███║███████╗  ██║░░░░░██║░░██║██████╔╝  ██║░╚═╝░██║╚█████╔╝██████╔╝██║██║░░░░░██║███████╗██║░░██║
╚═╝░░╚══╝╚══════╝  ╚═╝░░░░░╚═╝░░╚═╝╚═════╝░  ╚═╝░░░░░╚═╝░╚════╝░╚═════╝░╚═╝╚═╝░░░░░╚═╝╚══════╝╚═╝░░╚═╝ */



/* POUR TOUTES EVENTUELLES MODIFICATION MERCI DE LES 
FAIRE DANS LE HTML DANS LES BALISES STYLE, MERCI */





* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    display: flex;
    justify-content: center;
}

.background {
    z-index: -1;
    position: fixed;
    top: 0;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;
    height: 100vh;
}

.wrapper {
    margin-top: 100px;
    display: grid;
    grid-template-columns: 2;
    grid-template-rows: 5;
    gap: 50px;
    width: 80vw;
}

.signa {
    text-align: end;
    font-size: 1.1em;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: lighter
}

.header {
    grid-column: 1/3;
    grid-row: 1/2;
}

.header h1 {
    font-size: 4em;
    font-family: 'Montserrat';
}

.chap {
    margin-top: 25px;
    width: 60%;
    font-size: 1.6em;
    font-family: 'Montserrat';
}

.image {
    grid-column: 2/3;
    grid-row: 2/4;
}

.image img {
    width: 100%;
    border-radius: 5px;
}

.texte {
    grid-column: 1/2;
    grid-row: 2/4;
    text-align: justify;
}

.texte p {
    font-size: 1.1em;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: lighter
}

.loop {
    margin-top: 100px;
    grid-column: 1/3;
    grid-row: 4/5;
    width: 100%;
    padding: 0 20% 0 20%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.loop a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 50px;
    background-color: rgba(194, 7, 7, 0.87);
    border-radius: 5px;
    text-decoration: none;
    color: white;
}

.autre {
    grid-column: 1/3;
    grid-row: 5/6;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60vh;
}
.card-list {
    display: block;
    margin: 1rem auto;
    padding: 0;
    font-size: 0;
    text-align: center;
    list-style: none;
}

.card {
    display: inline-block;
    width: 90%;
    max-width: 20rem;
    margin: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 0 3rem -1rem rgba(0, 0, 0, 0.5);
    transition: transform 0.1s ease-in-out, box-shadow 0.1s;
}

.card:hover {
    transform: translateY(-0.5rem) scale(1.0125);
    box-shadow: 0 0.5em 3rem -1rem rgba(0, 0, 0, 0.5);
}

.card-description {
    display: block;
    padding: 1em 0.5em;
    color: #515151;
    text-decoration: none;
    min-height: 200px;

}

.card-description>h2 {
    margin: 0 0 0.5em;
}

.card-description>p {
    margin: 0;
}

.card-image>img {
    display: block;
    width: 100%;
    height: 213.33px;
    object-fit: cover;

}

.card-image>img {
    display: block;
    width: 100%;
}

.card-image.is-loaded {
    filter: none;
    transition: filter 1s;
}




@media only screen and (max-width : 800px) {
 
    .header h1 {
        font-size: 3em;
        font-family: 'Montserrat';
    }

    .chap {
        margin-top: 25px;
        width: 100%;
        font-size: 1.5em;
        font-family: 'Montserrat';
    }

    .image {
        grid-column: 1/3;
        grid-row: 3/4;
        width: 100%;
        height: 400px;
    }

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

    .texte {
        grid-column: 1/3;
        grid-row: 2/3;
        text-align: justify;
    }

    .texte p {
        font-size: 1em;
    }

    .loop {
        margin-top: 75px;
        grid-column: 1/3;
        grid-row: 4/5;
        width: 100%;
        padding: 0 0% 0 0%;
        display: flex;
        align-items: center;
    }

    .loop a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 150px;
        height: 50px;
        border-radius: 5px;
        text-decoration: none;
        color: white;
        margin-bottom: 75px;
    }

    .autre {
        display: none;
    }
}

