@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto');

header{
    font-size: 130%;
    padding-top: 5px;
    height:55px;
    background-color: #000027;
    color:#ffffff;
    width:100%;
}
header img{
    position: absolute;
    top: -15px;
    right: 20px;
    width: 80px;
}
header p{
    display: none;
}

#img_accueil{
    height: 394px;
}

#cont{
    width: 100%;
    height:100%;
    overflow: hidden;
}

#cont img{
    width: 100%;
}

nav ul li{
    display: inline-block;
    padding: 0% 9% 0% 4%;
}

nav ul li:last-child{
    padding: 0% 5% 0% 4%;
}
nav ul li:first-child{
    padding: 0% 9% 0% 1%;
}

nav ul li a{
    color: #ffffff;
    text-decoration: none;
}

div{
    margin:auto;
    width:100%;
}

nav{
    text-align:center;
    position:relative;
}

#current_page{
    font-weight:bold;
}

body{
    font-family:'Roboto Condensed';
    font-size: 15px;
    color:#333333;
    line-height: 100%;
    background-color: #ffffff;
    margin:0px;
}

h1{ 
    text-align: center;
    margin-top: 100px;
    font-size: 250%;
    margin-bottom: 50px;

}

hr{ 
    width: 100%;
}

.questions{
    text-align: center;
    font-weight: 300;
    font-size: 250%;
    padding-top: 30px;
    line-height: 120%;
    width: 75%;
}

.reponses{
    padding-top: 10px;
    text-align: center;
    font-size: 200%;
    line-height: 120%;
}

p{
    padding-left: 20%;
    padding-right: 20%;
    text-align: justify;
}


#Q{ 
    text-decoration: underline;
}

#foot{
    width: 60%;
    text-align: center;
}

footer{
    display: flex;
    color: #ffffff;
    text-align: center;
    height: 120px;
    margin-top: 55px;
    font-size:120%;
    background-color:#000027;
    padding:10px 0px 10px 0px;
    bottom: 0;
}

footer img{
    padding-left: 2%;
    width: 100px;
    height: 100px;
    margin-top: auto;
    margin-bottom: auto;
}

footer p{
    margin: auto;
}

footer #insta{
    margin-top: 10px;
    margin-right: 20px;
}

footer a{
    color: #999999;
}

@media only screen
and (max-device-width : 430px)
and (orientation : portrait) {
    h1{
        display: none;
    }
    .questions{
        max-width: 80%;
        font-size: 120%;
        padding-left: 5%;
        padding-right: 5%;
    }
    .reponses{
        font-size: 100%;
    }
    
    body{
        line-height: 20px;
    }
    #cont{
        height: 300px;
    }
    header{
        padding: 0;
        height: 50px;
    }
    #cont #img_accueil{
        height: 100%;
    }
    header img{
        position: absolute;
        top: 10px;
        right: 15px;
        width: 60px;
    }
    header p{
        position: absolute;
        display: block;
        top: 15px;
        margin: auto;
        color: #ffffff;
        width: 100%;
        text-align: center;
        padding: 0;
    }
    h2{
        line-height: 40px;
    }
    nav{
        height: 50px;
        line-height: 40px;
        text-align: left !important;
    }
    nav ul{
        padding: 0;
        margin: 0;
    }
    nav::before{
        content: "≡";
        color:#eeeeee;
        font-size: 50px;
        line-height: 50px;
        padding: 20px 0px 0px 25px;
    }
    nav ul li{
        display:none;
        border: 2px;
        border-top-style: solid;
        border-color:#000000;
        background-color: #000029;
        margin: 0;
        padding: 0px 0px 0px 25px;
    }
    nav ul li:first-child{
        margin: 0;
        padding: 0px 0px 0px 25px;
        margin: -10px 0px 0px 0px;
    }
    nav ul li:last-child{
        margin: 0;
        padding: 0px 0px 0px 25px;
    }
    nav:hover ul li{
        display:block;
    }
    header:hover + #cont{
        margin-top: 200px;
    }
    #img_accueil{
        height:640px;
    }
    #hr1{
        display: none;
    }
    footer{
        font-size: 12px;
        line-height: 15px;
    }
    footer img{
        width: 70px;
        height: 70px;
    }
    #foot p{
        padding: 0%;
        width: 210px;
    }
    hr{
        margin-top: 20px;
    }
    footer #insta{
        margin: 0;
        padding-left: 0;
        padding-right: 13px;
        padding-top: 23px;
    }
}