body{
   margin:0 ; 
   font-family: Arial, Helvetica, sans-serif;
   min-width: 400px;
}
header{
    padding: 15px;
}
nav ul li a{
    text-decoration: none;
    color: white;
    
}
nav ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
nav ul li{
    display: inline-block;
    margin-left: 10px;
}
nav ul li a:hover{
    font-weight: bold;

}
h2{
    text-align: center;
    margin-top: 50px;
    margin-bottom: 10px;
    font-size: 2em;



}
a{
    text-decoration: none;
    color: rgb(128, 67, 228);
}
h3{
    font-size: 1.5em;
}
footer{
    border-top: 3px solid black;
    margin-top: 50px;
    padding: 30px;
}
#bienvenue{
    background-color: black;
    height: 100vh;
    color: white;
    overflow: hidden;
    
    
}


#flex-header{
    display: flex;
    justify-content: space-between;
    
    
}
#flex-presentation{
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: calc(100vh - 50px)
    
}


#projet-grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px; 
    gap: 15px;
    padding: 0; 
}

#contact{
    margin-top: 30px;
    text-align: center;
}
#jump-start{
   background: url(images/points.png), center url(images/projet1.png);
   background-size: cover;
   height: 100vh;
   color: white;
   overflow: hidden;
}

#projet-2{
    background: url(images/points.png), center url(images/projet2.png);
   background-size: cover;
   height: 100vh;
   color: white;
   overflow: hidden;

}

#ocoffee {
    background: url(images/points.png), center url(images/ocoffee.png);
    background-size: cover;
    height: 100vh;
    color: white;
    overflow: hidden;
}

#cine-delices {
    background: url(images/points.png), center url(images/cinedelice.png);
    background-size: cover;
    height: 100vh;
    color: white;
    overflow: hidden;
}
#projet-grille a {
    display: block;
    height: 100%;
    text-decoration: none;
}


.container{
    width: 1100px;
    margin: 0 auto;
}
.gauche-presentation{
    width: 50%;
}
.gauche-presentation h1{
    font-size: 3em;
    margin: 0;
}
.droite-presentation{
    width: 50%;
}
.droite-presentation img{
    width: 70%;
}
.projet {
    background-color: black;
    border-radius: 5px;
    color: white;
    padding: 30px 25px;
    transition: all .3s;
    text-shadow: 0 0 15px black;
    
    /* Nouvelles propriétés pour uniformiser */
    height: 100%; /* Prend toute la hauteur de la cellule grid */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}
.projet:hover{
    opacity: .7;
}
.projet-a{
    background-image: url(images/projet1.png);
    background-size: cover;
}
.projet-b{
    background-image: url(images/projet2.png);
    background-size: cover;
}
.projet-c{
    background-image: url(images/pac-man.jpg);
    background-size: cover;
}
.projet-d{
    background-image: url(images/mega-pop.jpg);
    background-size: cover;
}

.projet-e {
    background-image: url(images/ocoffee.png);
    background-size: cover;
    background-position: center;
}
.projet-f {
    background-image: url(images/cinedelice.png);
    background-size: cover;
    background-position: center;
}
.bouton{
    background: black;
    color: white;
    padding: 15px 30px;
    margin-top: 15px;
}

.code-style{
    background-color: #f4f4f4;
    padding: 5px 10px;
    border-radius: 5px;
    font-family: monospace;
}

.titre-projet {
    font-size: 2.5em;
    margin: 0;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5);
}

.projet h3 {
    margin: 0;
    font-size: 2em;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

@media all and (max-width: 1130px) {
    .container {
        width: 700px;
    }
    
    #flex-presentation {
        padding: 15px;
        color: white;
    }

    .texte-presentation {
        padding: 15px;
        color: black;
    }
    
    #projet-grille {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        padding: 30px;
        gap: 15px;
    }
    
    .projet h3 {
        font-size: 1.8em;
    }
}

@media all and (max-width: 730px) {
    .container {
        width: 100%;
    }
    
    .gauche-presentation {
        width: 100%;
    }
    
    #projet-grille {
        padding: 15px;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
        gap: 10px;
    }
    
    .projet {
        padding: 15px 10px;
    }
    
    .projet h3 {
        font-size: 1.5em;
    }
}

@media all and (max-width: 480px) {
    #projet-grille {
        grid-template-columns: 1fr;
        grid-auto-rows: 120px;
        gap: 15px;
        padding: 20px;
    }
    
    .projet h3 {
        font-size: 1.3em;
    }
}