*,
::before,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.activi {
    margin-top: 5%;
    margin-left: 13%;
    font-size: 3em;

}


.container {
    transform-style: preserve-3d;
}

.train {
    font-size: 2rem;
}
.region h4{
margin-left: 12%;

}
p {
    margin: 0 auto;
   width: 76%;
   text-align: justify;
    font-size: 0.8rem;
}

.container .box {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 2% 3%;
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer
}

.container .box .body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: 0.9s ease
}

.container .box .body .imgContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.container .box .body .imgContainer img {
    border-radius: 6%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* object-fit: cover */
}

.container .box .body .content {
    position: absolute;
    top: 0;
    left: 50px;
    width: 70%;
    height: 100%;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transform: rotateY(180deg);
    background-size: 100% contain;
}

.container .box:hover .body {
    transform: rotateY(180deg);
}

.container .box .body.back {
    margin-top: 30%;
    background: url("../images/miramar.png") no-repeat;
}

.container .box .body .content div {
    transform-style: preserve-3d;
    padding: 5px;
    margin-top: 10%;
    border-radius: 5%;
    background: linear-gradient(45deg, #FE0061, #FFEB3B);
    transform: translateZ(100px)
}

.container .box .body .content div h3 {
    letter-spacing: 1px
}

.decouv {
    margin-top: -1%;
    height: 360px;
    background: url("../images/plage.jpeg") no-repeat;
    background-size: 100%;
    background-position-y: 60%;
}

/* $$$$$$ media-querie $$$$$$$ */

@media (min-width: 1920px) and (max-width: 2560px) {
    .activi {

        font-size: 5rem;
        margin-left: 15%;

    }

    .port {
        font-size: 2.5rem;
    }
}

@media (min-width: 1025px) and (max-width: 1920px) {

    .port {
        font-size: 1.5rem;
    }

}

@media (max-width: 1024px) {
    .activi {

        font-size: 2rem;
        margin-left: 15%;

    }

    .port {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {

    .navMenu {

        margin-left: 3%;
    }
    .activi {

        font-size: 1.8rem;
        margin-left: 8%;

    }

    .port {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {

    .navMenu a{
       
        
        width: 35%;
        border-radius: 10%;
        border: 1px solid #f1f1f1;
        text-align: center;
        
    }
    .navMenu ul {

        margin-left: 6%;
    }

    .navMenu span {
        /* margin-left: -150%; */
    }
    
}

@media (max-width: 320px) {

}