*, *::before, ::after{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
    font-family: sans-serif;
}
@media screen and (max-width: 480px){
    body {
        margin: 0;
        font-family: 'Roboto', sans-serif;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        margin: 0 auto;
        font-family: 'Roboto', sans-serif;

    }
    header{
        background-color: black;
    }
    li .dropdown{
        display: flex;
        align-items: center;
    }
    nav{
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        padding: 5px 0;
        margin-top: 30px;
        position: sticky;
    }
    nav ul{
        display: flex;
        justify-content: flex-end;
        flex: 1;
        padding-right: 35px;
        text-align: right;
        list-style-type: none;
        align-items: center;
    }
    ul li{
        margin-right: 10px;
    }
    ul li a{
        position: relative;
        padding: 10px 20px;
        text-decoration: none;
        color: #fff;
        font-size: 16px;
    }
    ul li a::after{
        content: '';
        background: red;
        position: absolute;
        bottom: 0;
        right: 0;
        width: 0;
        height: 3px;
        transform: translate(-50%, -5px);
        transition: 0.3s;
    }
    ul li a:hover::after{
        width: 50%;
    }
    .container {
        position: relative;
        height: 400px;
        width: 100%;
        background-size: cover;
        background-position: center;
        color: #fff;
    }
    .container h1{
        font-size: 50px;
    }
    .container img{
        width: 100%;
    }
    .main_catalogue{
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }
    .main_catalogue img{
        width: 98%;
        height: 200px;
        object-fit: cover;
        margin: 2%;
        transition: transform 0.3s ease;
    }
    .main_catalogue img:hover {
        transform: scale(1.03);
    }
    #nom_voit{
        font-size: 20px;
        text-align: center;
    }
    .vente{
        width: 50%;
    }
    .site_container{
        position: absolute;
        color: #fff;
        height: 2px;
        top: 2%;
    }
    .site_container img{
        width: 50%;
    }
    h1{
        font-size: 0px;
        text-align: center;
    }
    
    .site_container p{
        margin-top: 170px;
    }
    .site_container .row{
        display: flex;
        flex-wrap: wrap;
        margin-top: 15px;
    }
    .row a{
        align-items: center;
        padding: 5px 20px;
        text-decoration: none;
        color: #fff;
        border: 1px solid #fff;
        font-size: 18px;
        transition: 0.3s;
        margin-right: 20px;
    }
    .row a:hover{
        background-color: #fff;
        color: black;
    }
    .row span{
        display: flex;
        align-items: center;
        font-size: 19px;
    }
    .site_container #welcome-message{
        font-size: 100px;
    }
    .mmidiv{
        color: white;
    }
    footer {
        display: flex;
        justify-content: flex-end;
        flex-direction: row;
        justify-content: space-around;
        color: rgb(255, 255, 255);
        background-color: black;
        margin: 0 auto;
        text-decoration: none;
        margin-top: 50px;
    }
    .mmidiv{
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        justify-content: flex-start;
        gap: 10px;
        color: rgb(255, 255, 255);
    }
}
@media screen and (min-width: 960px){
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
}
header{
    background-color: black;
    height: 50px;
}
li .dropdown{
    display: flex;
    align-items: center;
}
.container {
    position: relative;
    height: 935px;
    width: 100%;
    background-size: cover;
    background-position: center;
    color: #fff;
}
.container img{
    width: 100%;
}

nav{
    padding: 5px 0;
    margin-top: 15px;
    position: sticky;
}
nav ul{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
    padding-right: 40px;
    list-style-type: none;
    align-items: cenetr;
}
ul li{
    margin-right: 10px;
    margin-bottom: 20px;
}
ul li a{
    position: relative;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
}
ul li a::after{
    content: '';
    background: red;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    transform: translate(-50%, -5px);
    transition: 0.3s;
}
ul li a:hover::after{
    width: 50%;
}
.site_container{
    position: absolute;
    bottom: 15%;
    color: #fff;
    margin-left: 60px;
}
.site_container h1{
    font-size: 100px;
    line-height: 120px;
}

.site_container p{
    margin-top: 30px;
}
.site_container .row{
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
}
.row a{
    align-items: center;
    padding: 5px 20px;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    font-size: 18px;
    transition: 0.3s;
    margin-right: 20px;
}
.row a:hover{
    background-color: #fff;
    color: black;
}
.row span{
    display: flex;
    align-items: center;
    font-size: 19px;
}
.welcome-message{
    font-size: 30px;
}
.main_catalogue{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 1080px;
    flex-wrap: wrap;
    margin: 0 auto;
}
#nom_voit{
    font-size: 30px;
    text-align: center;
}
.main_catalogue p{
    margin-left: 23px;
    margin-bottom: 23px;
    font-size: 20px;
    
}
#gestion_h1{
    position: absolute;
    left: 33%;
    color: white;
    bottom: 80%;
    text-align: center;
    font-size: 50px;
    margin-bottom: 10px;
    z-index: 1;
}
.main_catalogue img{
    height: 350px;
    width: 500px;
    object-fit: cover;
    margin: 25px;
    flex-wrap: wrap;
    
    transition: transform 0.3s ease;
}
.main_catalogue img:hover {
    transform: scale(1.03);
}
.vente{
    border: solid;
    margin: 5px;
}
footer {
    display: flex;
    justify-content: flex-end;
    flex-direction: row;
    justify-content: space-around;
    background-color: black;
    text-decoration: none;
    height: 50px;
}
.mmidiv{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    justify-content: flex-start;
    gap: 10px;
    color: rgb(255, 255, 255);
}
/* Style pour le tableau */
table {
    border-collapse: collapse;
    width: 100%;
    background-color: white;
}

table, th, td {
    border: 1px solid black;
    color: black;
}

th, td {
    padding: 8px;
    text-align: left;
}

th {
    background-color: black;
}

/* Style pour les liens */
a {
    text-decoration: none;

}

a:hover {
    color: red;
}
.gestion_container{
    position: absolute;
    top: 20%;
    left: 25%;
}
#lien{
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    text-decoration: none;
    color: black;
}
#catalogue_h1{
   text-align: center;
   font-size: 50px;
}
#gestion2_h1{
    text-align: center;
}
}