*{
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
body{
    margin: auto;
}
main{
    padding: 20px;
}
/* HEADER */
#dheader{
    display: flex;
    justify-content: center;
}
#titre {
    display: inline-block;
    margin: auto;
}
header h1,h2{
    font-family: "fino-sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
}
header h1{
    font-size: 118px;
    text-align: center;
}
header h2{
    font-size: 30px;
    text-align: right;
    position: relative;
    top: -25px;
}
nav{
    background-color: black;
    height: 80px;
}
nav ul{
    height: 100%;
    list-style: none;
    display: flex;
    justify-content:space-around;
    align-items: center;
    margin: 0;
}
li a{
    text-decoration: none;
    color: white;
}
nav ul a:hover{
    border-radius: 2%;
    background-color: white;
    color: black;
}
/* FOOTER */
footer{
    height: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: small;
    background-color: black;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
}
body{
    margin-bottom: 30px;
}
/* ACCUEIL */
#menu{
    display: flex;
    flex-direction: column;
    align-items: center;
}
#menu a{
    text-decoration: none;
    text-transform: uppercase;
    color: rgb(128 81 81);;
    height: 100px;
    width: 200px;
    background-color: rgb(234, 234, 234);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 8px;
}

/* CATALOGUE */
.vignette{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(234, 234, 234);
    padding: 10px;
    width: 90%;
    margin: 0 auto;
}
.photo{
    width: 180px;
    height: 260px;
    margin: auto;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.notitre{
    display: grid;
    grid-template-rows: 1fr 1fr;
}
.info{
    padding: 15px;
}
.info p{
    font-size: small;
}
/* RECHERCHE */
#buttons{
    display: flex;
    justify-content: space-evenly;
}
#buttons a{
    text-decoration: none;
    text-transform: uppercase;
    color: rgb(128 81 81);;
    height: 55px;
    width: 220px;
    background-color: rgb(234, 234, 234);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 8px;
}

/* ADMIN */
.tablo{
    width: 70%;
    margin: auto;
}
.d-flex{
    display: flex;
    align-items: center;
}
/* TEL */
@media screen and (max-width: 480px){
    #catalog{
        display:flex;
        flex-direction: column;
        align-items: center;
    }
    .vignette{
        margin-top: 5%;
    }
    nav{
        height: 150px;
    }
    nav ul{
        margin: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        padding: 0;
    }
    header h1{
        font-size: 24vw;
    }
    header h2{
        font-size: 6vw;
    }

}

/* TABLET */
@media screen and (min-width:481px) and (max-width: 960px){
    #catalog{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 2%;
        margin-bottom: 70px;
    }
}

/* DESKTOP */
@media screen and (min-width: 960px){
    #catalog{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 2%;
        margin-bottom: 5vh;
        margin-bottom: 20px;
    }
}
