@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;
}

#cont{
    width: 100%;
    height:100%;
    overflow: hidden;
}

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;
}


h2{
    color: #FFFFFF;
}

body{
    font-family:'Roboto Condensed';
    position: relative;
    font-size: 15px;
    color:#333333;
    line-height: 100%;
    background-color: #ffffff;
    margin:0px;
}

p {
    font-family: 'Roboto';
}

#img_accueil{
    width:100%;
    height:920px;
    position: relative;
    transform: scale(1.05);
    transition: transform 0.3s;
    z-index: -1;
}
#Logo:hover + #img_accueil{
    transform: scale(1);
    transition: transform 0.3s;
}

#Logo{
    height: 920px;
    display: block;
    position: absolute;
    z-index: 1;
    text-align:center;
}

#Logo div{
    position: relative;
    top:20%;
    font-size: 26px;
}

#Logo div img{
    height: 320px;
    width: 320px;
}

input{
    width: 222px;
    height: 39px;
    background-color: #000000;
    color: #ffffff;
    font-size: 20px;
    border: none;
}

#Logo div input:focus{
    background-color: #333333;
}

.passer1{
    margin-top: -10px;
    display: inline-block;
    height:104px;
    background-color: #000027;
    width:100%;
}

.passer2{
    margin-top:55px;
    display: inline-block;
    height:104px;
    background-color: #000029;
    width:100%;
}

article{
    text-align: left;
    width: 70%;
    margin: auto;
}

article h1{
    font-size: 35px;
    padding-top: 55px;
    font-weight: normal;
    margin: 0;
}

article div{
    display: flex;
}

article div #text{
    display: inline;
}

article div p{
    padding-top: 34px;
    font-size: 21px;
    margin: 0;
    max-width: 519px;
    line-height: normal;
}

article div img{
    padding-top: 55px;
    margin-left: auto;
    width: 398px;
    height: 570px;
}

.article2{
    padding-top: 55px;
    width: 90%;
    text-align: center;
    font-size: 21px;
}

.article2 img{
    width: 90%;
}

#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{
    padding-left: 0;
    padding-right: 20px;
    padding-top: 10px;
}

footer a{
    color: #999999;
}

@media only screen
and (min-device-width: 300px)
and (max-device-width: 430px)
and (orientation: portrait){
    body{
        line-height: 20px;
    }
    #cont{
        height: 640px;
    }
    header{
        padding: 0;
        height: 50px;
    }
    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;
    }
    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;
    }
    #Logo{
        height: 500px;
    }
    #Logo div img{
        width: 200px;
        height: 200px;
    }
    #Logo div{
        font-size: 20px;
        width: 340px;
    }
    article{
        margin:0;
    }
    article div p{
        margin-left: 15px;
        width: 115%;
    }
    article div{
        display: inline-block;
        margin-left: 35px;
    }
    article div img{
        width: 95%;
        height: 80%;
        padding-top: 20px;
        margin-left: 30px;
    }
    article div #text{
        margin: 0;
    }
    .passer1{
        height: 52px;
    }
    .passer2{
        height: 52px;
    }
    footer{
        font-size: 12px;
        line-height: 15px;
    }
    footer img{
        width: 70px;
        height: 70px;
    }
    footer #insta{
        padding-left: 0;
        padding-right: 10px;
        padding-top: 23px;
    }
    #foot p{
        width: 210px;
    }
    .article2{
        padding-top: 35px;
    }
}