html {
    scroll-behavior: smooth;
}

body  {
    margin: 0;
    color: white;
    font-family: "Questrial", sans-serif;
    background-color: black;
}

header {
    font-size: 1.1em;
    position: fixed;
    width: 100%;
    width: -moz-available;
    width: -webkit-fill-available;
    width: fill-available;
    z-index: 1;

}

nav {
    background-color : black;
    padding: 15px 50px 15px 50px ;
    display: flex;
    justify-content: space-between;
    
}

ul  {
    display: flex;
    gap: 20px;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: white;
}

li a:hover {
    color: #ff7c24;
}

#logo img{
    width: 100px;
}

.nav-button  {
    display: none;
}

main {
    font-size: 2em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    padding-top: 63.3px;

}

#accueil  {
    background-image: url('images/home-image.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 600px;
    padding-left: 100px;
}

#huge-title {
    margin: 0;
    margin-top: 160px;
    font-size: 4em;
}

#huge-subtitle {
    margin: 0;
    font-size: 1.5em;
    margin-left: 8px;
    margin-bottom: 45px;
}

#discover {
    margin-left: 8px;
    width: 250px;
    border-radius: 30px;
    padding: 12px 32px;
    font-size: 0.55em;
    font-family: "Questrial", sans-serif;
    font-weight: bold;
    background-color: #ff7c24;
    color: black;
    border: none;

}

#discover:hover {
    background-color:#a14000;
    color: white;
}

#presentation  {
    margin-top: -40px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 140px;
    width: 75%;
    display: flex;
    justify-content: space-between;
}

#container {
    position: relative;
    overflow: hidden;
    width: 50%;
    padding-top: 28.125%;
    z-index: 0;
    border-radius: 15px;
}

#container iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

iframe {
    width: 40%;
    height: 315px;
    border: none
}

#text-presentation {
    width: 45%;
}

h1 {
    font-size: 1.5em;
    margin: 0;
}

p {
    font-size: 0.7em;
    text-align: justify;
    font-family: "Questrial", sans-serif;
    font-weight: 100;
}


#planetes {
    margin-top: 135px;
    margin-left: auto;
    margin-right: auto;
    width: 75%;
}

#titre-section {
    margin-bottom: 95px;
    font-size: 1.9em;
}

#planetes article{
    display: flex;
    gap: 55px;
    justify-content: space-between;
    padding-top: 115px;
    margin-top: -115px;
    margin-bottom: 110px;
}

.image-right {
    flex-direction: row-reverse;
}

.image-right h1 {
    text-align: right;
} 

article img {
    width: auto;
    max-width: 50%;
    border-radius: 15px;
}

.bloc-texte {
    width: 45%;
}

.bloc-texte h1 {
    color: #ff7c24;
}

footer {
	background-color : black;
	display : flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 50px;;
}

footer nav  {
    column-gap: 125px;
    row-gap: 50px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

footer ul {
    flex-direction: column;
    padding-left: 0;
}

footer h2 {
    color: #ff7c24;
}

.icons {
    display: flex;
    gap: 10px;
}

.icons img {
    width: 25px;
}

#hdp {
    margin-top: 20px;
    height: fit-content;
    height: 42px;
    background-color: #ff7c24;
    border-radius: 18px;
    padding-top: 7px;
    padding-left: 7px;
    padding-right: 7px;
}


#hdp img {
    width: 30px;
}



@media screen and (max-width:1202px){
    h1 {
        font-size: 1.2em;
    }
    
    p {
        font-size: 0.6em;
    }
}

@media screen and (max-width:980px){
    header nav {
        flex-direction: column;
    }
    
    #jsp {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center ;
    }
    
    .nav-button  {
        display: block;
        width: fit-content;
    }

    .nav-button img {
        width: 32px;
    }
    header nav ul {
        display: none;
        margin-top:45px;
        width: 100%;
        flex-direction: column;
        gap: 30px;
    }

    #huge-title {
        font-size: 3em;
    }
    
    #huge-subtitle {
        margin: 0;
        font-size: 1em;
        margin-left: 8px;
        margin-bottom: 45px;
    }

    #presentation {
        flex-direction: column-reverse;
        gap: 30px;
    }

    #container {
        width: 100%;
        padding-top: 56.25%;
    }

    #text-presentation {
        width: 100%;
    }

    #planetes article {
        flex-direction: column;
    }

    article img {
        max-width: 100%;
    }

    .bloc-texte {
        width: 100%;
    }

    .image-right h1 {
        text-align: left;
    } 

}