@media screen and  (max-width: 1350px){
    #listingPage {
        min-height: 40vh;
    }

}
@media screen and (max-width: 1250px) {
    .residence-text-description {
        right: 8%;
    }
    .residence-text {
        font-size: 18px;
        width: 80%;
    }

    .private-text {
        left: 30px;
        font-size: 14px;
    }




}

@media screen and (max-width: 1100px) {
    .present, .vacations {
        font-size: 30px;
        line-height: 35px;
    }

    #evenements {
        background-image: url("../img/CHB_SITE_2023_MOBILE4.jpg");
        height: 100vh;
        background-position: bottom center; /* Crop from the top */
    }

    .private-mobile {
        display: block;
    }
    .private-text {
        left: 30px;
        color: #ffff;
        font-size: 16px;
    }
    .mailtoPrivacy > a {
        color: #ffffff;
        border: #ffffff 1px solid;
    }

}
@media screen and (max-width: 1050px) {

    .event-bottom, .residence-text > p {
        line-height: 35px;
    }
}
@media screen and (max-width: 1050px) {

    .event-bottom, .residence-text > p {
        line-height: 35px;
    }
}
@media screen and (max-width: 978px) {
    .submenu {
        display: none;
    }
    .menu-toggle, .menu-toggle2 {
        display: block;
        position: fixed;
        top: 35px;
        right: 28px;
        z-index: 99999999999999999999;
        color: black;
        font-size: 25px;
    }

    .nav {
        display: none;
        position: fixed;
        background-color: #ffffff;
        color: black;
        padding-top: 30px;
        width: 100%;
        z-index: 99999999999;
    }

    .nav.active {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        text-align: center;
    }

    .nav ul li {
        margin: 1em 0;
        color: black;
    }
    a {
        /*color: black;*/
        text-decoration: none;
    }

    .residence-text {
        width: 80%;
    }
    .instagramContainer {
    width: 32%;
    }

    .shoot {
        padding: 5px 20px 5px 20px !important;
    }
    .divShoot {
        margin-left: unset !important;
    }
    .eventpart, .residence-text > p {
       display: block !important;
        letter-spacing: 1.5px;
        font-size: 18px;
        line-height: 24px;
    }
    .event-bottom {
       left: 54%;
         transform: translateX(-50%);
        width: 80%;
        top: 40%;
    }
    .eventpartimg {
        text-align: center;
        margin-bottom: 20px;
    }

}
@media screen and (max-width: 850px) {
    #logo-bottom img {
        width: 15%;
    }
    .present, .vacations {
        font-size: 23px;
        line-height: 30px;
    }
    .about {
        bottom: 15%;
    }


    .residence-text-description {
        right: 18%;
        font-size: 25px;
        line-height: 29px;
        top:35%;
    }

    #contact {
        height: 100vh;
        background-position: right; /* Crop from the top */
    }

     .text-listing {
         width: 49%;
    }
    .left-r {
        padding-left: 15px;
    }

    .ateliers-text-description {
    right: 9%;
    line-height: 20px;
    top: 34%;
    font-size: 16px !important;
    width: 70%;
}
.ateliers-text-description > p > a {
   font-size: 16px !important;
    }

    .residence-text {
        top: 5%;
    }
    .contact {
        display: none;
    }
.rotate {
    font-size: 54px !important;
}
    .residence-title > img {
        width: 50px;
    }

    .ateliers-title > img {
        width: 30px;
    }

    .contact-mobile > div{
        margin-bottom: 10px;
    }
    .instagramContent {
        width: 32%;
    }

    .instagramContainer {
    width: 49%;
    }
    h3 {
        font-size: 20px;
    }

    .shoot {
        padding: 5px 40px 5px 38px !important;
    }
    .divShoot {
        margin-left: unset !important;
        display: block !important;
    }
    .mailtoPrivacy {
        text-align: unset !important;
    }
    .shootPdf {
        padding: 5px 60px 5px 60px !important;
    }
    .evenementPdf {
        padding: 5px 48px 5px 48px !important;
    }
}
@media screen and (max-width: 750px) {
    #restauration {
        background-image: url("../img/CHB_SITE_2023_MOBILE2.jpg");
        height: 100vh;
        background-position:  center; /* Crop from the top */
    }
    .present {
        bottom: 20%;
        transform: translateY(20%);
    }
    .mailtoPrivacy > a {
        font-size: unset;
    }

    .contact-mobile {
        display: block;
        position: absolute;
        text-align: left;
        bottom: 50%;
        left: 35px;
        color: #000000;

        transform: translateY(50%);
        font-family: "Alte Haas Grotesk", sans-serif;
        font-size: 16px;
        line-height: 22px;
    }
    .vacations {
        bottom: 50%;
        transform: translateY(50%);
    }
    .logoo img {
        width: 4em;
    }
    #logo-bottom img {
        width: 25%;
    }
    .description {
        position: absolute;
        right: 6%;
        top: 15%;
        width: 80%;
    }

    #logo-bottom > a {
        float: left;
        padding-top: 37px;
    }
    .linkInsta {
        padding-left: 25px;
        padding-right: 10px !important;
    }
    .blockbr {
    display: block !important;
    }
    .event-bottom {
        left: 60%;
    }
    .contact-mobile {
        display: block !important;
        top: 4%;
        left: 25px;
        bottom: unset;
    }
    #contact {
        height: 100vh;
        background-position: right; /* Crop from the top */
    }
    .mailtoEvent > a {
        padding: 6px 30px 6px 30px !important;
    }
    .tl2 {
        border-right: 1px solid #000000 !important;
    }
    .about {
        font-size: 20px;
    }
    .residence-text-description {
        right: 10%;
    }
    .residence-title > img {
        width: 40px;
    }
    .instagramContent {
        width: 49%;
    }
    .pdf{
        font-size: 14px !important;
        margin-bottom: 10px;
    }
    .mailtoresidency {
        left: 20%;
        transform: translateX(-20%);
        width: fit-content;

    }
    .instagramContainer {
    width: 100%;
    }

    .bedroom-text p {
        font-size: 15px;
    }
    .mailto {
        text-align: unset !important;
    }
    .private-text {
        font-size: 15px;
        left: 4%;
        top: 20%;
    }
    #evenements {
        /*background-image: url("../img/CHB_SITE_2023_MOBILE2.jpg");*/
        height: 100vh;
        background-position: bottom center; /* Crop from the top */
    }
    .bedroom-text {
        top: 35%;
    }
    /*.shoot {*/
    /*    padding: 5px 40px 5px 38px !important;*/
    /*}*/
    .divShoot {
        margin-left: unset !important;
        margin-top: 41px !important;
    }
    .mailtoPrivacy a{
        padding: 6px 20px 6px 20px !important;
    }
    .mailtoEvent a {
        padding: 6px 12px 6px 12px !important;
    }

}
@media screen and (max-width: 500px) {


    #acceuil {
        background-image: url("../img/CHB_SITE_2023_MOBILE.jpg");
        height: 100vh;
        background-position: center; /* Crop from the top */
    }
    .hometext  {
        display: none !important;
    }
    .hometextMob {
        display: block !important;
        position: absolute;
        top: 15%;
        right: 30px;
        text-align: right;
        line-height: 22px;
    }


    #chambres {
        background-image: url("../img/CHB_SITE_2023_MOBILE3.jpg");
        height: 100vh;
        background-position: center; /* Crop from the top */
    }
    .bedroom-text {
        display: none;
    }
    .bedroom-text-mob {
        display: block !important;
        position: absolute;
        top: 15%;
        left: 25px;
        line-height: 23px;
    }
    .bedroom-text-mob > h6 {
       padding-bottom: 20px;
    }

    .ateliers-text-description {
        right: 9%;
        line-height: 16px;
        top: 30%;
        font-size: 16px !important;
        left: 17%;
    }

    .residence-text {
        left: 37%;
    }

    .residence-text-description {
        right: 6%;
        font-size: 15px;
        line-height: 12px;
        top: 30%;
        left: 24%;
        text-align: right;
    }

    .residence-text {
        top: 5%;
    }

    .present, .description-text, .bedroom-text p, .residence-text,.vacations, .residence-text-description, .about {
        font-size: 15px;
        line-height: 17px;
    }

    .title-bedroom {
        font-size: 30px !important;
    }

    .mailtoresidency .mailto a {
        font-size: 17px !important;
    }

    .bedroom-text {
        top: 37%;
    }

    .private-text {
        font-size: 15px;
        left: 25px;
        line-height: 15px;
        top: 20%
    }

    .rotate {
        top: 35%;
        left: 24px;
        font-size: 36px !important;
    }

    .about {
        left: 4%;
    }

    .mailtoPrivacy {
        margin-top: 37px;
        text-align: center;
    }
    #contact {
        height: 100vh;
        background-image: url("../img/CHB_SITE_2023_MOBILE6.jpg");
        background-position: right; /* Crop from the top */
    }

    .shootPdf {
        padding: 5px 54px 5px 56px !important;
    }
    .evenementPdf {
        padding: 5px 40px 5px 40px !important;    }

    #logo-bottom > a {
        float: left;
        padding-top: 11px;
        font-size: 14px;
    }
    .linkFb {
        padding-left: 10px;
        padding-right: 0px !important;
    }

    .buttonResto {
        position: absolute;
        top: 33%;
        right: 35px;


    }
}
