@import url('https://fonts.googleapis.com/css2?family=Poppins:ital@1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
body{
    background: #282828;
}

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif ;
} 

.menu{
    background: #282828;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 70px;
    box-shadow: 0 25px 20px -20px rgba(0, 0, 0, 0.4);
}

li {
    list-style: none;
    padding: 17px 17px;
}

.menu .links li a{
    color: white;
    font-size: 17px;
    text-decoration: none;
}

.menu .links{
    display: flex;
    gap: 2rem;
}

.menu .menu-ham{
    cursor: pointer;
    font-size: 32px;
    color: white;
    display: none;
}

.menu-mobile{
    display: none;
    position: absolute;
    right: 50px;
    top: 100px;
    width: 300px;
    height: 0;
    background-color: grey;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
    transition: height 1s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.menu-mobile.open{
    height: 310px;
}

.menu-mobile li{
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-mobile li a{
    text-decoration: none;
    color: white;
}

.menu-mobile li a:hover{
    color: rgb(0, 255, 51);
    font-size: large;
    text-shadow: rgb(7, 151, 45) 3px 3px 8px;
}

.menu-mobile .contact-btn:hover{
    color: white;
    text-shadow: none;
}

.menu-mobile .contact-btn{
    width: 100%;
    display: flex;
    justify-content: center;
}

.contact-btn{
    background-color: rgb(7, 151, 45);
    color: white;
    padding: 10px 15px;
    border: none;
    outline: none;
    border-radius: 15px;
    font-size: 16px;
    cursor: pointer;
    transition: scale 0.2 ease;
    text-decoration: none;
}

.contact-btn:hover{
    scale: 1.05;
    color: white;
}

.menu .links li a:hover{
    color: rgb(0, 255, 51);
    font-size: large;
    text-shadow: rgb(7, 151, 45) 3px 3px 8px;
}


@media (max-width: 1100px){
    .menu .links,
    .menu .contact-btn{
        display: none;
    }

    .menu .menu-ham{
        display: block;
    }

    .menu-mobile{
        display: block;
    }
}

@media (max-width: 600px){
    .menu-mobile{
        left: 50px;
        width: unset;
    }

    .menu{
        padding: 30px 25px;
    }

    .menu .logo img{
        width: 257px;
        padding: 0;
        height: 50px;
    }
}

@media (max-width: 365px){
    .menu .logo img{
        width: 217px;
        padding: 0;
        height: 45px;
    }
}

@media (max-width: 305px){
    .menu .logo img{
        width: 187px;
        padding: 0;
        height: 40px;
    }
}

.titre{
    background-image: url("contback.jpg");
    background-size: cover;
    border-bottom: 2px solid green;
    border-top: 2px solid black ;
}

.filter{
    display: flex;
    justify-content: center;
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.8);
}

.titre h1{
    font-size: clamp(25px, 7vw, 60px);
    color: white;  
    text-shadow: green 6px 6px 10px;
    text-align: center;
}

.container{
    background-image: url("stock.jpg");
    background-size: cover;
    background-position: center;
}

.image{
    background: rgba(0, 0, 0, 0.8);
    padding: 150px 150px;
}

.image img{
    width: 240px;
    height: 170px;
    border: 3px solid green;
}

.image .top,
.image .bottom{
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 100px;
}

.image .bottom{
    margin-top: 300px;
}

@media(max-width:1219px){
    .image .bottom{
        margin-top: 100px;
    }
}

@media(max-width:650px){
    .image{
        padding: 150px 75px;
    }
}

@media(max-width:500px){
    .image{
        padding: 150px 40px;
    }

    .image img{
        width: 200px;
        height: 141px;
    }
}

.boxmail{
    background-color: #282828;
    width: 100%;
    height: 90px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 2px solid green;
}

.boxmail a{
    color: rgb(7, 151, 45);
}

@media (max-width:360px){
    .boxmail a{
        font-size: 13px;
    }
}