* {
    margin: 0;
    padding: 0;
    font-family: Manrope, Arial, sans-serif;
    color: #1b1b1b;
    letter-spacing: 0.02em;

}

body {
    background-color: #f7f7f7;
}

a {
    text-decoration: none;
}

/***** HEADER *****/
header {
    text-align: center;
    margin: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid #DADADA;
}

h1 {
    margin-bottom: 8px;
    font-weight: 800;
    font-size: 40px;
    transition: 0.4s ease;
}

h1:hover a{
    animation: 4s ease-in infinite rainbow;
}

h2 {
    font-weight: 400;
    font-size: 24px;
}

/***** MAIN *****/
main {
    margin: 22px 20px;
}

.projets {
    display: flex;
    width: 100%;
    gap: 20px;

}

.projet {
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
}

.miniature {
    display: block;
    width: 100%;
}

.resume {
    border: 1px solid #B9B9B9;
    padding: 16px;
    box-sizing: border-box;
    font-size: 18px;
}

.title-projet {
    font-weight: 600;
    font-size: 22px;
    letter-spacing: 0.02em;
}


/***** Footer ***/

footer {
    margin: 20px;
    border-top: 1px solid #DADADA;
    text-align: center;
    padding-top:  24px;
}

.mail {
    font-weight: 400;
    font-size: 24px;
    color: #303030;
    display: inline-block;
    margin-bottom: 8px;
    transition: .4s ease;
}

.mail:hover {
    animation: 4s ease-in infinite rainbow;
    font-weight: 500;
}   

/***** PROJETS *****/

/* GABI*/
.titre {
    font-weight: 700;
    font-size: 96px;
    text-align: center;
}

.description {
    width: 60%;
    margin: auto;
    background-color: #060f2a;
    padding: 40px 0px;
    box-sizing: border-box;
    border-radius: 4px;
}

.description div {
    width: 50%;
    color: #F9F9F9;
    margin: auto;
    font-size: 18px;
}

.gabi-screen {
    width: 60.5%;
    margin: 24px auto;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;

}

.gabi-screen img {
    width: 50%;
    display: block;
}

video {
    width: 60%;
    margin: auto;
    display: block;
    border-radius: 4px;
}

.touch-screen {
    width: 60.5%;
    margin: 24px auto;
    display: flex;
    flex-wrap: nowrap;
    box-sizing: border-box;
    gap: 20px;

}

.touch-screen video {
    display: block;
    width: 33%;
}

.wilmotte-img {
    width: 60%;
    margin: 20px auto;
    display: block;
}

.andraste-video {
    width: 25%;
    margin-top: 24px;
}

.affiche {
    width: 60%;
    margin: 20px auto;
    display: block;
    
}

@keyframes rainbow {
    0% {
        color: #a98400;
    }

    20% {
        color: #299900;
    }

    40% {
        color: #00a080;
    }

    60% {
        color: #021593;
    }

    80% {
        color: #7c0097;
    }

    100% {
        color: #9f7d00;
    }
}


/*** Responnsive ***/
@media screen and (max-width : 992px) {
    .projets {
    display: flex;
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
    }

    .projet {
        width: 33%;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .description {
        width: 80%;
    }
    .description div {
        width: 80%;
    }

    .gabi-screen {
        width: 80%;
    }

    video {
        width: 80%;
    }

    .wilmotte-img {
        width: 80%;
    }

    .andraste-video {
        width: 50%;
    }

    .touch-screen {
        width: 80%; 
    }

    .affiche {
        width: 80%;
    }
}

@media screen and (max-width : 768px) {
    .projets {
    display: flex;
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
    }

    .projet {
        width: calc(50% - 20px );
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .titre {
        font-size: 50px;
    }

    .description {
        width: 90%;
    }
    .description div {
        width: 90%;
    }

    .gabi-screen {
        width: 90%;
        flex-direction: column;
    }

    .gabi-screen img {
        width: 100%;
    }

    video {
        width: 90%;
    }

    .wilmotte-img {
        width: 90%;
    }

    .andraste-video {
        width: 50%;
    }

    .touch-screen {
        width: 90%; 
        flex-direction: column;
    }

    .touch-screen video {
        width: 75%;
    }

    .affiche {
        width: 90%;
    }
}

@media screen and (max-width : 552px) {
    .projets {
    display: flex;
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
    }
    .projet {
        width: 100%;
    }

    .description, .gabi-screen, video, .wilmotte-img, .touch-screen, .affiche {
        width: 95%;
    }

    .andraste-video {
        width: 95%;
    }

    .touch-screen video {
        width: 90%;
    }
}