@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 ;
}

.arrowup{
    width: 50px;
    height: 50px;
    background: green;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 300;
    cursor: pointer;
}

.arrowup i{
    color: white;
}

.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("serv.jpg");
    background-size: cover;
    background-position: right;
}

.blockser{
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    position: relative;
    flex-flow: wrap;
    gap: 100px;
    padding: 150px 150px;
}


.container .boxser{
    background: #282828;
    border: 2px solid rgb(7, 151, 45);
    cursor: pointer;
    padding: 50px 50px;
    width: 450px;
}

.container .boxser:hover{
    transform: scale(1.05);
    box-shadow: white 0px 0px 34px;
}

.container .boxser i{
    font-size: xx-large;
    color: rgb(8, 176, 53);
    display: flex;
    justify-content: center;
}

.container .boxser h3{
    text-shadow: rgb(7, 151, 45) 2px 2px 2px ;
    color: white;
    display: flex;
    justify-content: center;
    margin-top: 50px;
    font-family: sans-serif;
    font-size: 25px;
}

.container .boxser p{
    display: flex;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 50px;
} 

@media(max-width:650px){
    .blockser{
        padding: 150px 75px;
    }
}

@media(max-width:500px){
    .blockser{
        padding: 150px 40px;
    }
}

.contact{
    background-color: #282828;
    width: 100%;
    height: 350px;
    border-top: 2px solid green;
    border-bottom: 2px solid green;
    position: relative;
}

.contact .baton1{
    background-color: green;
    height: 455px;
    width: 5px;
    margin-top: -55px;
    position: absolute;
    margin-left: 145px;
    transform: rotate(-40deg);
    border-bottom-left-radius: 70%;
    border-top-right-radius: 5px;

}

.contact .baton2{
    background-color: green;
    height: 463px;
    width: 5px;
    margin-top: -59px;
    position: absolute;
    right: 152px;
    transform: rotate(41deg);
    border-bottom-right-radius: 70%;
    border-top-left-radius: 5px;
}

.contact .baton3{
    background-color: green;
    height: 228px;
    margin-top: 148px;
    width: 5px;
    position: absolute;
    transform: rotate(41deg);
    margin-left: 73px;
}

.contact .baton4{
    background-color: green;
    height: 230px;
    margin-top: 145px;
    width: 5px;
    position: absolute;
    transform: rotate(-40deg);
    right: 75px;
}

.contact h2{
    font-size: 30px;
    text-shadow: rgb(7, 151, 45) 2px 2px 2px ;
    color: white;
    margin: 60px auto;
    display: flex;
    justify-content: center;
}

.contact button{
    cursor: pointer;
    background-color: rgb(7, 151, 45);
    border-radius: 15px;
    border: none;
    position: absolute;
    font-size: 20px;
    padding: 17px 27px;
    margin-top: 20px;
    border: 2px solid white;
    left: 50%;
    transform: translateX(-50%);
}

.contact button:hover{
    scale: 1.05;
}

.contact button a{
    text-decoration: none;
    color: white;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.1em;
    font-weight: 500;
}

@media (max-width:850px){
    .contact .baton3{
        transform: rotate(-41deg);
        margin-left: 115px;
        border-bottom-left-radius: 15px;
        border-top-left-radius: 8px;
    }
    .contact .baton4{
        transform: rotate(41deg);
        border-bottom-right-radius: 15px;
        right: 115px;
        border-top-right-radius: 12px;
    }

    .contact .baton1,
    .contact .baton2{
        transform: rotate(0deg);
        height: 100%;
        margin-top: 0;
        border-bottom-right-radius: 0;
        border-top-left-radius: 0;   
        border-bottom-left-radius: 0;
        border-top-right-radius: 0;
    }

    .contact .baton1{
        margin-left: 5%;
    }

    .contact .baton2{
        right: 5%;
    }
}

@media (max-width:790px){
    .contact .baton3,
    .contact .baton4{
        display: none;
    }
}

@media (max-width:690px){
    .contact h2{
        font-size: 25px;
    }
}

@media (max-width:575px){
    .contact h2{
        font-size: 20px;
    }
}

@media (max-width:480px){
    .contact h2{
        font-size: 20px;
        text-align: center;
        width: 85%;
    }

    .contact .baton1,
    .contact .baton2{
        display: none;
    }

    .contact button{
        font-size: 15px;
        padding: 12px 22px;
    }
}

.info{
    background-image: url("camerav.jpg");
    background-size: cover;
    background-position: center;
}

.info .blockinfo{
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    position: relative;
    flex-flow: wrap;
    gap: 100px;
    padding: 150px 150px;
}

.info .boxinfo{
    width: 300px;
    background: #282828;
    border: 3px solid green;
    cursor: pointer;  
    padding: 50px 50px;
}

.info .boxinfo:hover{
    transform: scale(1.05);
    box-shadow: white 0px 0px 24px;
}


.info .boxinfo i{
    color: rgb(7, 151, 45);
    font-size: xx-large;
    display: flex;
    justify-content: center;
}

.info .boxinfo h1{
    display: flex;
    justify-content: center;
    color: white;
    margin-top: 30px;
    text-align: center;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 25px;
}

.info .boxinfo p{
    display: flex;
    justify-content: center;
    color: white;
    margin-top: 30px;
    text-align: center;
}

@media(max-width:650px){
    .info .boxinfo{
        padding: 50px 30px;
    }

    .info .blockinfo{
        padding: 150px 75px;
    }
}

@media(max-width:500px){
    .info .blockinfo{
        padding: 150px 40px;
    }
}

.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;
    }
}