@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: 1172px){
    .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;
    }
}

.container{
    background-image: url("cameraacceuil.jpg");
    background-size: cover;
    background-position: center;
}

.contposition{
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 70px 70px;
    gap: 70px;
}

.containertxt{
    width: 60%;
}

.contposition p{
    color: white;
    font-size: 20px;
}

.containerlogo img{
    width: 343px;
    height: 300px;
}

@media (max-width:1172px){
    .contposition{
        padding: 0;
    }
    .containertxt{
        width: 70%;
        margin-top: 120px;
    }
    .contposition p{
        text-align: center;
    }
}

@media (max-width:450px){
    .containerlogo img{
        width: 285px;
        height: 250px;
    }
}

@media (max-width:330px){
    .containerlogo img{
        width: 237px;
        height: 208px;
    }
}

.contact{
    background-color: #282828;
    width: 100%;
    border-top: 2px solid green;
    border-bottom: 2px solid green;
    position: relative;
    padding: 60px 60px;
}

.contact .txt h1{
    display: flex;
    justify-content: center;
    font-size: 50px;
    color: white;
    text-shadow: rgb(7, 151, 45) 2px 2px 2px ;
    text-align: center;
}

.contact .blocksect{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    position: relative;
    flex-flow: wrap;
    gap: 50px;
    margin-top: 70px;
}

.contact .boxsect{
    position: relative;
    border: 3px solid green;
    border-radius: 25px;
    cursor: pointer;
}

.contact .boxsect:hover{
    transform: scale(1.05);
    box-shadow: white 0px 0px 24px;
}

.contact .boxsect img{
    border-radius: 25px;
    width: 270px;
    height: 270px;
}

@media (max-width:442px){
    .contact .txt h1{
        font-size: 40px;
    }
}

@media (max-width:350px){
    .contact .txt h1{
        font-size: 30px;
    }
    .contact .boxsect img{
        width: 235px;
        height: 235px;
    }
}

.info{
    background-image:url("cielinfo.jpg");
    background-size: cover;
    width: 100%;
    height: 300px;
    position: relative;
}


.info .infotxt{
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: absolute;
}

.info .infotxt .infotxtone{
    color: white;
    position: absolute;
    top: 65px;
    right: 650px;
}

.info .infotxt .infotxtone h4{
    font-size: 20px;
}

.info .infotxt .infotxtone p{
    font-size: 18px;
}

.info .infotxt .infotxttwo{
    color: white;
    position: absolute;
    right: 290px;
    top: 65px;
    text-decoration: none;
}

.info .infotxt .infotxttwo h4{
    font-size: 20px;
}

.info .infotxt .infotxttwo p{
    font-size: 18px;
    text-decoration: none;
    color: white;
}

.info .separation{
    background-color: white;
    height: 75%;
    width: 3px;
    position: absolute;
    top: 42px;
    right: 555px;
}

.info .infologo img{
    position: absolute;
    left: 160px;
    top: 70px;
    border: 2px solid white;
    border-radius: 15px;
}

@media(max-width:1300px){
    .info .infologo img{
        left: 90px;
    }
}

@media (max-width:1220px){
    .info{
        height: 550px;
    }

    .info .separation{
        left: 50%;
        transform: translateX(-50%);
        height: 40%;
        top: 280px;
    }

    .info .infotxt .infotxtone,
    .info .infotxt .infotxttwo{
        top: 300px;
        text-decoration: none;
    }

    .info .infotxt .infotxtone{
        left: 17%;
        transform: translateX(-17%);
    }

    .info .infotxt .infotxttwo{
        right: 17%;
        transform: translateX(-17%);
    }


    .info .infologo img{
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width:970px){
    .info{
        height: 775px;
    }

    .info .separation{
        transform: rotate(90deg);
        margin-top: 100px;
    }

    .info .infotxt .infotxtone{
        position: absolute;
        right: 0;
        left: 25%;
        text-align: center;
    }

    .info .infotxt .infotxttwo{
        position: absolute;
        left: 34%;
        margin-top: 250px;
        text-align: center;
    }
}

@media (max-width:375px){
    .info .infotxt .infotxtone h4{
        font-size: 17px;
    }
    
    .info .infotxt .infotxtone p{
        font-size: 15px;
    }

    .info .infotxt .infotxttwo h4{
        font-size: 17px;
    }
    
    .info .infotxt .infotxttwo p{
        font-size: 15px;
        text-decoration: none;
    }

    .info .separation{
        height: 35%;
        position: absolute;
        margin-top: 95px;
    }
}

@media (max-width:300px){
    .info .infotxt .infotxtone h4{
        font-size: 15px;
    }
    
    .info .infotxt .infotxtone p{
        font-size: 13px
    }

    .info .infotxt .infotxttwo h4{
        font-size: 15px;
    }
    
    .info .infotxt .infotxttwo p{
        font-size: 13px;
        text-decoration: none;
    }

    .info .separation{
        height: 25%;
        position: absolute;
        margin-top: 120px;
    }
}

.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;
    }
} 