@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;400;700&display=swap');

body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    min-width: 400px;
}

header {
    padding: 15px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
nav ul li {
    display: inline-block;
    padding-left: 10px;
}
nav ul li a {
    color: white;
    font-weight: 100;
}
nav ul li a:hover {
    font-weight: 700;
}

a {
    text-decoration: none;
}

h2 {
    padding-top: 50px;
    margin-bottom: 0;
    text-align: center;
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
}

footer {
    margin-top: 50px;
    border-top: 3px solid black;
    padding: 30px 15px;
}

#bienvenue {
    background: black;
    color: white;
    height: 100vh;
}

#flex_header {
    display: flex;
    justify-content: space-between;
}

#flex_presentation {
    display: flex;
    height: calc(100% - 50px);
    align-items: center;
}

#gauche_presentation {
    width: 50%;
}
#gauche_presentation h1 {
    font-size: 3em;
}

#droite_presentation {
    width: 50%;
}
#droite_presentation img {
    width: 80%;
    float: right;
}

#grille_projet {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: minmax(70px, auto);
    gap: 15px;
}

#jump_start {
    background: center url("./images/jump-start.png");
    background-size: cover;
}

#rodeo_pump {
    background: center url("./images/rodeo-pump.jpg");
    background-size: cover;
}

#pac_man {
    background: center url("./images/pac-man.jpg");
    background-size: cover;
}

#mega_pop {
    background: center url("./images/mega-pop.jpg");
    background-size: cover;
}

#contact {
    margin-top: 30px;
    text-align: center;
}

#projet_jump_start {
    background: url("./images/points.png"), center url("./images/jump-start.png");
    background-size: cover;
    height: 100%;
}

.container {
    width: 1100px;
    margin: 0 auto;
}

.texte_presentation, .texte_contact {
    text-align: center;
}

.projet {
    background: black;
    padding: 30px 25px;
    border-radius: 10px;
    color: white;
    transition: .3s;
}
.projet:hover {
    opacity: .7;
}

.bouton {
    background: black;
    color: white;
    padding: 15px 30px;
}

@media all and (max-width: 1150px) {
    .container {
        width: 700px;
    }
    #grille_projet {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 30px;
    }
    #gauche_presentation, .texte_presentation {
        padding-left: 15px;
    }
}

@media all and (max-width: 750px) {
    .container {
        width: 100%;
    }
    #gauche_presentation {
        width: 100%;
    }
}