body {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

/* ------------------ HEADER ------------------ */

.header .header_projects {
    background-image: url(../IMG/Shapes/forme\ 0\ bleu_rotated.png);
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
}






/* ------------------ SHAPES ------------------ */






.shape1 {
    background-image: url("../IMG/Shapes/forme\ 15\ magenta.png");
    left: 2%;
    top: 60%;
    transform: rotate(10deg);
    z-index: 1;
    animation: 1s ease-out 0s 1 shape1Animation;
}

.shape2 {
    background-image: url("../IMG/Shapes/forme\ 9\ bleu.png");
    top: 65%;
    left: 71%;
    transform: rotate(180deg) scale(0.9);
    z-index: 1;
}

.shape3 {
    background-image: url("../IMG/Shapes/forme\ 24\ mandarine.png");

    left: 45%;
    bottom: 25%;

    transform: rotate(90deg);
    animation: 2s ease-out 1s 1 shape2Animation;
    z-index: 1;
}

.shape1:hover {
    background-image: url("../IMG/Shapes/forme\ 15\ mandarine.png");
    transform: scale(1.1) rotate(10deg);
    transition: all 600ms linear;
}

.shape2:hover {
    background-image: url("../IMG/Shapes/forme\ 9\ magenta.png");
    transform: rotate(176deg);
    transition: all 1000ms linear;
}

.shape3:hover {
    background-image: url("../IMG/Shapes/forme\ 24\ jaune.png");
    transform: scale(0.95) rotate(90deg);
    transition: all 600ms linear;
}











/* ------------------ PROJECTS ------------------ */


.projects {
    grid-row: 1;
    grid-column: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 100vh;

    align-items: center;
    transition: all 600ms linear;



}

.project1,
.project2,
.project3 {
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    /* to make it smaller to be able to hover */
}

h1 {
    margin-bottom: -4vh;
}

.images {

    height: 100%;
    width: 100%;
    transform: scale(0.9);
    border-radius: 10% 15% 20% 25%;
    object-fit: cover;
    max-height: 50vh;
}

.project1,
.project2,
.project3 {
    position: relative;
    transition: all 300ms linear;
}


.images {
    /* cursor: pointer; */
    transition: .5s ease;
}

.overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    border-radius: 10% 15% 20% 25%;
    margin-top: 5%;
}

.project1:hover .overlay,
.project2:hover .overlay,
.project3:hover .overlay {
    opacity: 0.75;
}

.project1:hover .images,
.project2:hover .images,
.project3:hover .images {
    filter: blur(4px);
}

.text {
    color: white;
    font-size: 2.7vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: inherit;
    width: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: justify;
}



.social_logo1,
.social_logo2,
.social_logo3,
.social_logo4 {
    height: 4vh;
    width: 4vh;
    opacity: 1;
}

.social_logo2 {
    margin: 0 0.5vw;
}

.social_logo4 {
    margin-left: 0.5vw;
}