/*header*/

body{
    margin: 0;
    font-family: "nasalization", sans-serif;
    font-weight: 400;
    font-style: normal;
    background: url(../images/espace2.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

header{
    background-color: black;
    color: white;
}

ul{
    margin: 0;
    display: flex;
    justify-content: right;
}

li{
    list-style: none;
    margin: 20px;
}

li a{
    text-decoration: none;
    color: white;
}

nav .current a{
    color: white
}

li a:hover{
    color: rgb(206, 205, 205);
}

/*main*/

main{
    display: grid;
}

main h1{
    justify-self: center;
    font-size: xxx-large;
    color: white;
}

main h2{
    color: white;
    justify-self: center;
}

main h3{
    color: rgb(188, 187, 187);
}

.container{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 500px;
    justify-content: center;
    justify-self: center;
    width: 800px;
}

.container h1{
    margin-bottom: 0px
}

/*listing*/

.liste{
    margin: 100px;
    margin-top: 35px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 70px;
}

.planete_case{
    background-color: grey;
    border-radius: 10px;
    padding: 10px;
}

.planete_case img{
    border-radius: 10px;
    max-width: 400px;
    max-height: 320px;
    width: -webkit-fill-available;
}

.planete_case p{
    width: auto;
}

/*form*/

.formulaire{
    justify-self: center;
    margin-bottom: 350px;
    margin-top: 50px;
}

.formulaire form{
    display: flex;
}

.formulaire input{
    padding: 10px;
    border-radius: 18px;
    height: 45px;
}

input#recherche{
    width: 350px;
    height: 20px;
}

.submit input{
    margin-left: 20px;
    background-image: url(/images/search.png);
    background-repeat: no-repeat;
    height: 30px;
    padding: 20px;
    background-position: center center;
}

.submit input:hover{
    background-color: rgb(184, 184, 184);
    cursor: pointer;
}

/*footer*/

footer{
    background-color: black;
    color: white;
    display: flex;
    justify-content: space-between;
    margin-top: 100px;
    padding: 10px;

}

/*mobile*/

@media screen and (max-width:480px){
    ul{
        display: block;
        padding: 4px;
        margin: 0px;
    }

    .container{
        width: 340px;
        align-items: baseline;
    }

    .planete_case{
        width: -webkit-fill-available;
    }

    footer{
        display: block;
    }

    footer p{
        margin: 0;
    }

    li{
        margin: 0px;
        margin-left: 10px;
    }

    .liste{
        grid-template-columns: 1fr;
        margin: 0;
        margin-top: 0px;
        padding: 40px;
    }

    main h1{
        width: 313px;
    }
}

/*admin*/

.tableau_admin{
    background-color: white;
    width: 1300px;
}

.tableau_admin img{
    max-width: 100px;
}

.tableau_admin a{
    color: blue;
}


a{
    color: white;
}