@import url('https://fonts.googleapis.com/css?family=Rubik&display=swap');

header {
    text-align: center;
    padding: 10px 0 10px 0;
    background-color: rgb(46, 42, 42);
    height: 150px;
    padding-bottom: 20px;
}
a{
    color: rgb(255, 255, 255);
}

header div {
    width: 100px;
    display: block;
}



nav {
    width: 60%;
    display: flex;
    flex-direction: row;
    padding: 5px;
    height: 80px;
    font-size: 1rem;
    margin-bottom: 5px;
    align-items: center;
    justify-content: center;
    color: white;
}

h1{
    color: white;
}
div{
    background-color: white;
}

#container-flex {
    display: block;
    flex-direction: row;
    height: 90vh;
    flex-wrap: wrap;
    display: flex;
    justify-content:center;
}

body {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    background-color: white;
    font-family: 'Rubik', sans-serif;

}

#Sprint {
    background: url('images/un-zero-zero.jpg') center no-repeat;
    background-size: cover;
    width: 90%;
    margin-top: 30px;

}

#Longueur {
    background: url('images/saut-en-longueur.jpg') center no-repeat;
    background-size: cover;
    width: 90%;
    margin-top: 30px;
}
#hauteur{
    background: url('images/hauteur.jpg');
    background-size: cover;
    background-position: center;
    width: 90%;
    margin-top: 30px;
  
}

#hauteurun{
    display: flex;
    width: 90%;
}


#Javelot{
    background: url('images/javelot.jpg') center no-repeat;
    background-size: cover;
    width: 90%;
    margin-top: 30px;
    
}

article {
    width: 20%;
    height: 40vh;
}


h2 {
    background-color: rgba(0, 255, 136, 0.3);
    font-size: 1.2rem;
    padding: 5px;
    margin-right: 20px;
    margin-left: 20px;
    text-align: center;
}

p {
    padding: 1px;
    font-size: .9rem;
    background-color: rgba(0, 195, 255, 0.4);
    margin-right: 20px;
    margin-left: 20px;
}
h2:hover{
    height: 40px;
    padding-top: 20px;
}
@media screen and (min-width: 640px){
    body{
        background-color: aliceblue;
    }
    #Sprint {
        background: url('images/un-zero-zero.jpg') center no-repeat;
        background-size: cover;
        background-position: top;
        width: 90%;
        margin-top: 30px;
    
    }
    #Javelot{
        background: url('images/javelot.jpg') center no-repeat;
        background-size: cover;
        width: 90%;
        margin-top: 30px;
        background-position: top;
        
    }
}






