.projet-presentation {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    height: auto;
    margin-top: 50px;
}

#video-projet {
    width: 600px;
    height: auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 15px;
    height: 400px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    font-family: 'Helvetica Black';
}

.item {
    background: linear-gradient(60deg, rgb(5,6,5), rgb(14,15,14));
    color: rgb(234, 234, 234);
    border-radius: 5px;
    padding: 20px;
    font-size: 150%;
    box-shadow: 0px 0px 3px rgb(54, 54, 54);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.item:hover {
    transform: scale(1.05);
    color: white;
    box-shadow: 0px 0px 3px rgb(87, 87, 87);
}

.item-0 {
    grid-column: 1 / 2;
    grid-row: 1 /  5;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(10, 1fr);
}

#Design {
    z-index: 2;
    grid-column: 3 / 6;
    grid-row: 7 / 10;
    font-size: 50px;
    margin: 0px;
}

#Design-desc {
    z-index: 1;
    grid-column: 3 / 11;
    grid-row: 8 / 10;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 15px;
    color: gray;
}

#Design-img {
    z-index: 0;
    grid-column: 1 / 10;
    grid-row: 1 / 10;
    width: 200px;
    height: auto;
    opacity: 0.8;
}

#Design-link {
    color: gray;
    font-size: 15px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    grid-column: 6 / 10;
    grid-row: 10;
}

.item-1 {
    grid-column: 2;
    grid-row: 1 /  3;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
}

#Conception {
    grid-column: 1 / 5;
    grid-row: 2;
    margin : 0px;
    height: 22px;
    z-index: 2;
}

#Conception-desc {
    z-index: 1;
    grid-column: 1 / 5;
    grid-row: 3 / 5;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 13px;
    color: gray;
    margin-top: -1px;
}

#Conception-img {
    z-index: 0;
    width: 150px;
    height: auto;
    grid-column: 4 / 6;
    grid-row: 1 /  6;
    opacity: 0.5;
}

#Conception-link {
    color: gray;
    font-size: 15px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    grid-column: 1 / 4;
    grid-row: 5;
    
}

.item-2 {
    grid-column: 2;
    grid-row: 3 /  5;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
}

#Illustration {
    z-index: 2;
    grid-column: 2 / 5;
    grid-row: 3 / 5;
    margin : 0px;
    text-align: center;
}

#Illustration-desc {
    z-index: 1;
    grid-column: 2 / 5;
    grid-row: 4 / 5;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 13px;
    color: gray;
    margin-top: -5px;
    text-align: center;
}

#Illustration-img {
    grid-column: 2 /5;
    grid-row: 1 / 5;
    z-index: 0;
    width: 200px;
    height: auto;
    opacity: 0.5;
}

#Illustration-link {
    color: gray;
    font-size: 15px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 0px;
    grid-column: 3 / 5;
    grid-row: 5;
}

.item-3 {
    grid-column: 3;
    grid-row: 1 /  3;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
}

#Logo {
    margin: 0px;
    grid-column: 4 / 6;
    grid-row: 2;
}

#Logo-desc {
    z-index: 1;
    grid-column: 4 / 6;
    grid-row: 3 / 5;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 13px;
    color: gray;
    margin: 0px;
}

#Logo-link {
    color: gray;
    font-size: 15px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 0px;
    grid-column: 4 / 6;
    grid-row: 5;
}

#Logo-img {
    width: 150px;
    height: auto;
    z-index: 0;
    opacity: 0.8;
    grid-column: 1 / 6;
    grid-row: 1 / 5;
    margin-left: 15px;
    opacity: 0.5;
}

.item-4 {
    grid-column: 3;
    grid-row: 3 /  5;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
}

#Photo {
    margin: 0px;
    z-index: 2;
    grid-column: 2 / 3;
    grid-row: 2;
    text-align: center;
}

#Photo-desc {
    z-index: 1;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 13px;
    color: gray;
    margin: 0px;
    grid-column: 1 / 3;
    grid-row: 1;
    text-align: center;
    margin-top: 10px;
}

#Photo-link {
    color: gray;
    font-size: 15px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 0px;
    grid-column: 2 / 5;
    grid-row: 5;
    align-items: center;
}

#Photo-img {
    width: 150px;
    height: auto;
    z-index: 0;
    grid-column: 4 / 6;
    grid-row: 1 / 5;
    opacity: 0.5;
}

.grid a {
    color: white; /* Couleur par défaut */
    text-decoration: none; /* Supprime le soulignement */
}

.grid a:visited {
    color: white; /* Empêche le changement de couleur après le clic */
}


/* Écrans Full HD (1920x1080) */
@media screen and (min-width: 1909px) and (max-width : 2549px) {

    #video-projet {
        width: 1200px;
        height: auto;
    }

    .grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(10, 1fr);
        gap: 15px;
        height: 600px;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 50px;
        font-family: 'Helvetica Black';
    }

    .item-0 {
        grid-column: 1 / 3;
        grid-row: 1 /  11;
        display: grid;
        grid-template-columns: repeat(10, 1fr);
        grid-template-rows: repeat(10, 1fr);
    }
    
    #Design {
        z-index: 2;
        grid-column: 3 / 6;
        grid-row: 7 / 10;
        font-size: 70px;
        margin: 0px;
    }
    
    #Design-desc {
        z-index: 1;
        grid-column: 3 / 11;
        grid-row: 8 / 10;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-size: 20px;
        color: gray;
    }
    
    #Design-img {
        z-index: 0;
        grid-column: 1 / 10;
        grid-row: 1 / 10;
        width: 300px;
        height: auto;
        opacity: 0.8;
    }
    
    #Design-link {
        color: gray;
        font-size: 25px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        grid-column: 6 / 10;
        grid-row: 10;
    }
    
    .item-1 {
        grid-column: 3 / 5;
        grid-row: 1 /  6;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(5, 1fr);
    }
    
    #Conception {
        grid-column: 1 / 5;
        grid-row: 2;
        margin : 0px;
        height: 22px;
        z-index: 2;
        font-size: 50px;
    }
    
    #Conception-desc {
        z-index: 1;
        grid-column: 1 / 5;
        grid-row: 3 / 5;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-size: 17px;
        color: gray;
        margin-top: -1px;
    }
    
    #Conception-img {
        z-index: 0;
        width: 250px;
        height: auto;
        grid-column: 4 / 6;
        grid-row: 1 /  6;
        opacity: 0.5;
    }
    
    #Conception-link {
        color: gray;
        font-size: 25px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        grid-column: 1 / 4;
        grid-row: 5;
        margin: 0px;
    }
    
    .item-2 {
        grid-column: 3 / 5;
        grid-row: 6 /  11;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(5, 1fr);
    }
    
    #Illustration {
        z-index: 2;
        grid-column: 1 / 6;
        grid-row: 3 / 5;
        margin : 0px;
        text-align: center;
        font-size: 50px;
    }
    
    #Illustration-desc {
        z-index: 1;
        grid-column: 2 / 5;
        grid-row: 4 / 5;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-size: 19px;
        color: gray;
        margin-top: -5px;
        text-align: center;
    }
    
    #Illustration-img {
        grid-column: 2 /5;
        grid-row: 1 / 5;
        z-index: 0;
        width: 300px;
        height: auto;
        opacity: 0.5;
    }
    
    #Illustration-link {
        color: gray;
        font-size: 25px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        margin: 0px;
        grid-column: 3 / 5;
        grid-row: 5;
    }
    
    .item-3 {
        grid-column: 5 / 7;
        grid-row: 1 /  6;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(5, 1fr);
    }
    
    #Logo {
        margin: 0px;
        grid-column: 4 / 6;
        grid-row: 2;
        font-size: 50px;
    }
    
    #Logo-desc {
        z-index: 1;
        grid-column: 4 / 6;
        grid-row: 3 / 5;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-size: 19px;
        color: gray;
        margin: 0px;
    }
    
    #Logo-link {
        color: gray;
        font-size: 25px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        margin: 0px;
        grid-column: 4 / 6;
        grid-row: 5;
    }
    
    #Logo-img {
        width: 250px;
        height: auto;
        z-index: 0;
        opacity: 0.8;
        grid-column: 1 / 6;
        grid-row: 1 / 5;
        margin-left: 15px;
        opacity: 0.5;
    }
    
    .item-4 {
        grid-column: 5 / 7;
        grid-row: 6 /  11;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(5, 1fr);
    }
    
    #Photo {
        margin: 0px;
        z-index: 2;
        grid-column: 2 / 3;
        grid-row: 2;
        text-align: center;
        font-size: 50px;
    }
    
    #Photo-desc {
        z-index: 1;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-size: 22px;
        color: gray;
        margin: 0px;
        grid-column: 1 / 3;
        grid-row: 1;
        text-align: center;
        margin-top: 10px;
    }
    
    #Photo-link {
        color: gray;
        font-size: 25px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        margin: 0px;
        grid-column: 2 / 5;
        grid-row: 5;
        align-items: center;
    }
    
    #Photo-img {
        width: 250px;
        height: auto;
        z-index: 0;
        grid-column: 4 / 6;
        grid-row: 1 / 5;
        opacity: 0.5;
    }

}

@media screen and (min-width : 2550px) and (max-width : 2800px) {
    .projet-presentation {
        margin-top: 100px;
    }
    
    #video-projet {
        width: 1208px;
    }
    
    .grid {
        gap: 30px;
        height: 805px;
        margin-bottom: 101px;
    }
    
    .item {
        border-radius: 10px;
        padding: 40px;
        font-size: 302%;
        box-shadow: 0px 0px 6px rgb(54, 54, 54);
    }
    
    .item:hover {
        box-shadow: 0px 0px 6px rgb(87, 87, 87);
    }
    
    #Design {
        font-size: 101px;
    }
    
    #Design-desc {
        font-size: 30px;
    }
    
    #Design-img {
        width: 403px;
    }
    
    #Design-link {
        font-size: 30px;
    }
    
    #Conception {
        height: 44px;
    }
    
    #Conception-desc {
        font-size: 26px;
        margin-top: -2px;
    }
    
    #Conception-img {
        width: 302px;
    }
    
    #Conception-link {
        font-size: 30px;
    }
    
    #Illustration-desc {
        font-size: 26px;
        margin-top: -10px;
    }
    
    #Illustration-img {
        width: 403px;
    }
    
    #Illustration-link {
        font-size: 30px;
    }
    
    #Logo-desc {
        font-size: 26px;
    }
    
    #Logo-link {
        font-size: 30px;
    }
    
    #Logo-img {
        width: 302px;
        margin-left: 30px;
    }
    
    #Photo-desc {
        font-size: 26px;
        margin-top: 20px;
    }
    
    #Photo-link {
        font-size: 30px;
    }
    
    #Photo-img {
        width: 302px;
    }
    
}

@media screen and (min-width: 1526px) and (max-width: 1909px) {
    #video-projet { width: 960px; height: auto; }
    .grid { height: 480px; }
    #Design { font-size: 56px; }
    #Design-desc { font-size: 16px; }
    #Design-link { font-size: 20px; }
    #Design-img { width: 240px; height: auto; }
    #Conception { font-size: 40px; }
    #Conception-desc { font-size: 14px; margin-top : 10px}
    #Conception-link { font-size: 20px; }
    #Conception-img { width: 200px; height: auto; }
    #Illustration { font-size: 40px; grid-row: 2; grid-column: 1 / 6;}
    #Illustration-desc { font-size: 15px; }
    #Illustration-link { font-size: 20px; }
    #Illustration-img { width: 240px; height: auto; }
    #Logo { font-size: 40px; }
    #Logo-desc { font-size: 15px; }
    #Logo-link { font-size: 20px; }
    #Logo-img { width: 200px; height: auto; }
    #Photo { font-size: 40px; }
    #Photo-desc { font-size: 18px; }
    #Photo-link { font-size: 20px; }
    #Photo-img { width: 200px; height: auto; }
}

@media screen and (min-width: 1440px) and (max-width: 1525px) {
    #video-projet { width: 900px; height: auto; }
    .grid { height: 450px; }
    #Design { font-size: 52px; }
    #Design-desc { font-size: 15px; }
    #Design-link { font-size: 19px; }
    #Design-img { width: 225px; height: auto; }
    #Conception { font-size: 38px; }
    #Conception-desc { font-size: 13px; margin-top:10px}
    #Conception-link { font-size: 19px; }
    #Conception-img { width: 188px; height: auto; }
    #Illustration { font-size: 38px; grid-row: 2; grid-column: 1 / 6; }
    #Illustration-desc { font-size: 14px; }
    #Illustration-link { font-size: 19px; }
    #Illustration-img { width: 225px; height: auto; }
    #Logo { font-size: 38px; }
    #Logo-desc { font-size: 14px; }
    #Logo-link { font-size: 19px; }
    #Logo-img { width: 188px; height: auto; }
    #Photo { font-size: 38px; }
    #Photo-desc { font-size: 16px; }
    #Photo-link { font-size: 19px; }
    #Photo-img { width: 188px; height: auto; }
}

@media screen and (min-width: 1356px) and (max-width: 1439px) {
    #video-projet { width: 840px; height: auto; }
    .grid { height: 420px; }
    #Design { font-size: 49px; }
    #Design-desc { font-size: 14px; }
    #Design-link { font-size: 18px; }
    #Design-img { width: 210px; height: auto; }
    #Conception { font-size: 35px; }
    #Conception-desc { font-size: 12px; margin-top: 10px}
    #Conception-link { font-size: 18px; }
    #Conception-img { width: 175px; height: auto; }
    #Illustration { font-size: 35px; grid-row: 2; grid-column: 1 / 6;}
    #Illustration-desc { font-size: 13px; }
    #Illustration-link { font-size: 18px; }
    #Illustration-img { width: 210px; height: auto; }
    #Logo { font-size: 35px; }
    #Logo-desc { font-size: 13px; }
    #Logo-link { font-size: 18px; }
    #Logo-img { width: 175px; height: auto; }
    #Photo { font-size: 35px; }
    #Photo-desc { font-size: 15px; }
    #Photo-link { font-size: 18px; }
    #Photo-img { width: 175px; height: auto; }
}

@media screen and (min-width: 1014px) and (max-width: 1100px) {
    #video-projet { width: 660px; height: auto; }
    .grid { height: 330px; }
    #Design { font-size: 38px; }
    #Design-desc { font-size: 11px; }
    #Design-link { font-size: 14px; }
    #Design-img { width: 165px; height: auto; }
    #Conception { font-size: 28px; }
    #Conception-desc { font-size: 9px; margin-top :10px}
    #Conception-link { font-size: 14px; }
    #Conception-img { width: 138px; height: auto; margin-top : -10px}
    #Illustration { font-size: 28px;grid-row: 2; grid-column: 1 / 6; }
    #Illustration-desc { font-size: 10px; }
    #Illustration-link { font-size: 14px; }
    #Illustration-img { width: 165px; height: auto; }
    #Logo { font-size: 28px; }
    #Logo-desc { font-size: 10px; }
    #Logo-link { font-size: 14px; }
    #Logo-img { width: 138px; height: auto; margin-top : -10px}
    #Photo { font-size: 28px; }
    #Photo-desc { font-size: 12px; }
    #Photo-link { font-size: 14px; }
    #Photo-img { width: 138px; height: auto; }
}

@media screen and (min-width: 758px) and (max-width: 1013px) {
    #video-projet { width: 480px; height: auto; }
    .grid { height: 240px; }
    #Design { font-size: 28px; }
    #Design-desc { font-size: 8px; }
    #Design-link { font-size: 10px; }
    #Design-img { width: 120px; height: auto; }
    #Conception { font-size: 20px; }
    #Conception-desc { font-size: 7px; }
    #Conception-link { font-size: 10px; margin-top: 30px; }
    #Conception-img { width: 100px; height: auto;margin-top: -10px; }
    #Illustration { font-size: 20px; grid-row: 2; grid-column: 1 / 6; }
    #Illustration-desc { font-size: 8px; }
    #Illustration-link { font-size: 10px; }
    #Illustration-img { width: 120px; height: auto; }
    #Logo { font-size: 20px; }
    #Logo-desc { font-size: 8px; }
    #Logo-link { font-size: 10px; }
    #Logo-img { width: 100px; height: auto; margin-top: -15px;}
    #Photo { font-size: 20px; }
    #Photo-desc { font-size: 9px; }
    #Photo-link { font-size: 10px; }
    #Photo-img { width: 100px; height: auto; margin-top: -10px; }
}