/* ### ONLY IN BIG DESKTOP SCREEN ### */
@media (max-width: 1725px){

    /* ### HEADER ### */
    header#header .header-navbar {
        padding-right: 0;
    }
    header#header .header-navbar #menu-menu-principal{
        justify-content: end;
        padding-right: 20px;
    } 
    .header-nabar-language .choose-language{
        display: none;
    }

    /* ### LE CHATEAU ### */
    .bg-element.branche-1-chateau{
        display: none;
    }
}

/* ### ONLY CASUAL DESKTOP SCREEN ### */
@media (max-width: 1400px){

    /* ### LAYOUT ### */
    .xl-display,
    .xl-display *{
        display: none !important;
    }
    .container{
        max-width: 1140px;
    }

    /* ### SINGLE HEBERGEMENT ### */

    .modal-content .inner-body-content {
        grid-template-columns: .5fr 2fr .5fr;
    }
    .modal-content .left-col {
        grid-template-columns: 1fr;
    }
    .modal-content .right-col {
        grid-template-columns: 1fr;
    }
    .modal-content .left-col .text-img:last-of-type {
        display: none;
    }
    .modal-content .middle-col h1 {
        margin-left: -50px;
    }
    .modal-content .right-col .text-img:first-of-type {
        display: none;
    }
    .modal-content .splide__slide img{
        height: 450px;
    }
    .bg-element.wave-1-single-hebergement{
        right: 460px;
    }
}

/* ### SPECIFIC MEDIA FOR THIS PROJECT ### */
@media (max-width: 1325px){
    header#header {
        backdrop-filter: none;
    }
    header#header.sticky {
        backdrop-filter: none;
        background:#fff;
    }

    /* ### HEADER ### */
    header#header .header-navbar {
        -webkit-clip-path : circle(100% at 50% 50%);
        clip-path: circle(100% at 50% 50%);
        position: fixed;
        top: 25px;
        right: 40px;
        width: 0;
        height: 0;
        transform-origin: center center;
        transition: height .5s ease-out, width .5s ease-out;
        z-index: 9999;
        padding: 0;
    }
    header#header.blurred .header-navbar{
        padding-top: 0;
    }
    header#header .header-navbar.active {
        width: 100vw;
        height: 100vh;
    }
    header#header .header-navbar #menu-menu-principal {
        position: fixed;
        background-color: var(--brown-color);
        top: 0;
        left: 0;
        flex-direction: column;
        height: 100vh;
        width: 100vw;
        padding: 0;
        justify-content: center;
    }
    header#header.blurred .header-navbar #menu-menu-principal > li a,
    header#header.sticky .header-navbar #menu-menu-principal > li a,
    header#header .header-navbar #menu-menu-principal > li a {
        color: #fff;
        font-size: 32px;
        padding: 20px 15px;
    }
    header#header .header-navbar-toggler{
        display: flex;
        padding-top: 0;
    }
    .header-nabar-language .link-container{
        display: none;
    }
    .bg-element.nuage-1-activites {
        left: -60px;
    }
    .bg-element.nuage-2-activites {
        left: 80px;
    }
    .bg-element.nuage-3-activites {
        left: 200px;
    }
}

/* ### ONLY SMALL DESKTOP SCREEN ### */
@media (max-width: 1200px){

    /* ### LAYOUT ### */
    .lg-display,
    .lg-display *{
        display: none !important;
    }

    /* ### LOADER ### */
    .loader-inner .logo{
        width: 750px;
    }

    /* ### LE CHATEAU ### */
    #section-chateau .chateau-right .images img:nth-child(2),
    #section-chateau .chateau-left .images img:nth-child(2){
        display: none;
    }
    #section-chateau .section-title {
        margin-left: 37%;
        margin-bottom: 40px;
    }
    #section-chateau .images {
        justify-content: end;
    }
    #section-chateau .row {
        grid-template-columns: 32% 68%;
        padding-left: 0;
    }
    #section-chateau .bg-element.top-chateau {
        top: -210px;
        left: 280px;
    }
    #section-chateau > .section-inner .chateau-left .bg-element{
        left: 5%;
    }
    #section-chateau .chateau-right .text-line {
        left: 34%;
    }
    #section-chateau .chateau-right .section-text {
        width: 60%;
    }
    #section-chateau .images{
        margin-left: 0;
    }
    #section-chateau .bloc-2 .section-right,
    #section-chateau .bloc-1 .section-left {
        justify-content: center;
    }
    #section-chateau .bloc-2 .section-right .bloc-text,
    #section-chateau .bloc-1 .section-left .bloc-text {
        margin: 0;
    }
    #section-chateau .chateau-left .images img:nth-child(1) {
        width: 47%;
    }
    #section-chateau .chateau-right .images img:nth-child(1) {
        width: 52%;
    }
    .bg-element.castle-1 {
        left: 50%;
        transform: translate3d(-50%, 0, 0);
        top: -330px;
        width: 750px;
    }
    .bg-element.wave-1-chateau {
        right: 260px;
    }
    .bg-element.feuille-3-chateau {
        top: 160px;
        right: 110px;
    }
    .bg-element.feuille-2-chateau {
        top: 340px;
        right: 70px;
    }
    .bg-element.feuille-1-chateau {
        right: -260px;
    }

    /* ### HEBERGEMENTS ### */
    #section-hebergements .section-inner:first-child {
        padding: 170px 0 130px 0;
    }

    /* ### ACTIVITES & SERVICES ### */
    #section-activites-services .activites-services-right .images img:nth-child(2),
    #section-activites-services .activites-services-left .images img:nth-child(2){
        display: none;
    }
    #section-activites-services .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #section-activites-services .section-title {
        margin-left: 0;
        width: fit-content;
    }
    #section-activites-services .images {
        justify-content: end;
    }
    #section-activites-services .row {
        grid-template-columns: 32% 68%;
        padding-left: 0;
    }
    #section-activites-services .bg-element.top-activites-services {
        top: -210px;
        left: 280px;
    }
    #section-activites-services > .section-inner .activites-services-left .bg-element{
        left: 5%;
    }
    #section-activites-services .activites-services-right .text-line {
        left: 34%;
    }
    #section-activites-services .activites-services-right .section-text {
        width: 60%;
    }
    #section-activites-services .images{
        margin-left: 0;
    }
    #section-activites-services .bloc-2 .section-right,
    #section-activites-services .bloc-1 .section-left {
        justify-content: center;
    }
    #section-activites-services .bloc-2 .section-right .bloc-text,
    #section-activites-services .bloc-1 .section-left .bloc-text {
        margin: 0;
    }
    #section-activites-services .section-inner {
        padding: 105px 0;
    }
    #section-activites-services .activites-services-left .images img:nth-child(1) {
        width: 64%;
    }
    #section-activites-services .activites-services-right .images img:nth-child(1) {
        width: 60%;
    }
    #section-activites-services .row.row-bottom {
        margin-top: 40px;
    }
    .bg-element.feuille-3-activites {
        left: 130px;
    }
    .bg-element.petale-1-activites {
        right: 140px;
    }
    .bg-element.petale-2-activites {
        right: 130px;
    }
    .bg-element.petale-3-activites {
        right: 130px;
    }
    .bg-element.petale-4-activites {
        right: 160px;
    }

    /* ### SINGLE HEBERGEMENT ### */

    .inner-body-content {
        grid-template-columns: .5fr 2fr .5fr;
    }
    .left-col {
        grid-template-columns: 1fr;
    }
    .right-col {
        grid-template-columns: 1fr;
    }
    .left-col .text-img:last-of-type {
        display: none;
    }
    .middle-col h1 {
        margin-left: -50px;
    }
    .right-col .text-img:first-of-type {
        display: none;
    }
    .splide__slide img{
        height: 350px;
    }

    .modal-content .text-img {
        display: none;
    }
    .modal-content .bg-element.feuille-5-single-hebergement {
        top: -125px;
        left: -90px;
    }
    .modal-content .bg-element.feuille-1-single-hebergement {
        right: -160px;
      }
    .modal-content .inner-body-content {
        grid-template-columns: 1fr;
    }
    .modal-content .splide__slide img{
        height: 400px;
    }
}

/* ### ONLY TABLET SCREEN ### */
@media (max-width: 992px){

    /* ### LAYOUT ### */
    .md-display,
    .md-display *{
        display: none !important;
    }

    /* ### LOADER ### */
    .loader-inner .logo{
        width: 620px;
    }

    header#header.sticky .header-navbar-brand .title {
        padding-top: 15px;
    }

    /* ### chateau ### */
    #section-chateau .chateau-right .section-text {
        width: 62%;
        padding-left: 0;
    }
    #section-chateau .section-bottom .stroke-container{
        width: calc(100% + 20px);
    }
    #section-chateau .chateau-right .images img:nth-child(1),
    #section-chateau .chateau-left .images img:nth-child(1) {
        display: none;
    }
    #section-chateau .chateau-left .images img:nth-child(3) {
        width: 91%;
    }
    #section-chateau .chateau-right .images img:nth-child(2) {
        height: 345px;
        margin-top: -45px;
        width: 61%;
        margin-left: 30px;
        object-position: -222px;
    }
    #section-chateau .section-title {
        margin-left: 26.5%;
    }
    #section-chateau .images {
        justify-content: start;
    }
    #section-chateau .row {
        grid-template-columns: 22% 78%;
    }
    #section-chateau .bg-element.top-chateau {
        top: -135px;
        left: 530px;
    }
    #section-chateau .chateau-right .text-line{
        display: none;
    }
    .bg-element.castle-1 {
        left: 50%;
        top: -260px;
        transform: translate3d(-50%, 0, 0);
        width: 750px;
    }
    .bg-element.feuille-6-chateau {
        top: -10px;
        left: -130px;
    }
    #section-chateau .img-bloc{
        height: 320px;
    }

    /* ### HEBERGEMENTS ### */
    #section-hebergements .philosophie-surtexte {
        width: 60%;
        margin: 0 auto;
    }
    #section-hebergements .hebergements-content-header {
        margin-bottom: 20px;
        flex-direction: column;
    }
    #section-hebergements .hebergements-content-header .title-bloc-container {
        justify-content: center;
        width: 100%;
        padding: 0;
    }
    #section-hebergements .hebergements-content-header h3::before {
        display: none;
    }
    #section-hebergements .hebergements-content-header p {
        width: 100%;
        margin-top: 20px;
    }
    #section-hebergements .hebergements-content-main .hebergement-item:nth-of-type(even) {
        padding-left: 15px;
    }
    #section-hebergements .hebergements-content-main .hebergement-item:nth-of-type(odd) {
        padding-right: 15px;
    }
    #section-hebergements .hebergements-content.bloc-chambres .hebergements-content-main {
        width: 100%;
    }
    #section-hebergements .hebergements-content.bloc-chambres .hebergement-item {
        margin-bottom: 25px;
    }
    #section-hebergements .hebergements-content-header p{
        padding: 0;
    }

    /* ### ACTIVITES & SERVICES ### */
    #section-activites-services .activites-services-right {
        justify-content: center;
    }
    #section-activites-services .row-bottom .section-text {
        width: 70%;
    }
    #section-activites-services .row-bottom .section-text .stroke-container {
        position: absolute;
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 6px;
        display: flex;
        align-items: initial;
        justify-content: center;
        flex-direction: row;
    }
    #section-activites-services .row-bottom .section-text .line {
        width: 35%;
        height: 3px;
        background-color: var(--pink-color);
        margin-left: 0;
        margin-right: 5px;
        margin-bottom: 0;
    }
    #section-activites-services .row-bottom .section-text .dote {
        width: 65%;
        height: 0;
        border-bottom: 4px dotted var(--pink-color);
    }

    #section-activites-services .row {
        grid-template-columns: 1fr;
        width: 100%;
    }
    #section-activites-services .activites-services-right .section-text {
        width: 70%;
        padding: 0;
    }
    #section-activites-services .row > div {
        margin-top: 20px;
    }
    .bg-element.feuille-3-activites {
        top: 80px;
    }

    /* ### CONTACTS ### */
    #section-contact .contacts {
        flex-direction: column;
    }
    #section-contact .section-inner {
        padding: 100px 0 40px 0;
    }
    #section-contact .contact,
    #section-contact .tarif,
    #section-contact .reseau {
        width: 100%;
    }
    #section-contact .contacts > div {
        margin-bottom: 40px;
    }
    #section-contact .contacts > div:last-of-type {
        margin-bottom: 0;
    }

    /* ### SINGLE HEBERGEMENT ### */
    .text-img {
        display: none;
    }
    .bg-element.feuille-5-single-hebergement {
        top: -125px;
        left: -90px;
    }
    .bg-element.feuille-1-single-hebergement {
        right: -160px;
      }
    .inner-body-content {
        grid-template-columns: 1fr;
    }
    .modal-content .splide__slide img{
        height: 350px;
    }
}

/* ### ONLY BIG PHONE SCREEN && TABKET SCREEN ### */
@media (max-width: 768px){

    /* ### LAYOUT ### */
    .sm-display,
    .sm-display *{
        display: none !important;
    }
    #wrapper .scrollbar-track{
        display: none !important;
    }
    .section .section-title{
        font-size: 2em;
    }

    /* ### LOADER ### */
    .loader-wrapper {
        display: flex;
        justify-content: center;
    }
    .loader-inner .logo {
        width: 500px;
    }

    /* ### HEADER ### */
    header#header,
    header#header.sticky,
    header#header.blurred{
        height: 60px;
    }
    body.admin-bar header#header{
        top: 46px;
    }
    header#header .header-navbar-brand {
        padding-left: 20px;
    }
    header#header .header-navbar-brand .title {
        font-size: 18px;
        padding-left: 0;
    }
    header#header .header-navbar-brand .header-logo-container {
        display: none;
    }
    header#header.sticky .header-navbar-brand .title,
    header#header.blurred .header-navbar-brand .title{
        display: none;
    }
    header#header .header-navbar-brand img {
        top: -5px;
        left: -10px;
        width: 140px;
    }
    header#header.sticky .header-navbar-brand img{
        display: none;
    }
    header#header .header-navbar-toggler{
        padding-top: 0;
    }
    header#header,
    header#header.sticky{
        background-color: transparent;
        backdrop-filter : none;
    }
    header#header.sticky .header-navbar-toggler span {
        backdrop-filter: blur(12px);
        background-color: rgba(255,255,255,0.3);
    }
    header#header.sticky .header-navbar #menu-menu-principal > li a,
    header#header .header-navbar #menu-menu-principal > li a{
        font-size: 20px;
    }

    /* ### CHATEAU ### */
    #section-chateau .section-inner {
        padding: 115px 0 190px 0px;
    }
    #section-chateau .section-title {
        margin: 0 auto;
        width: 100%;
        margin-bottom: 35px;
    }
    #section-chateau .row {
        grid-template-columns: 90%;
    }
    #section-chateau .chateau-right{
        margin-left: 18%;
    }
    #section-chateau .chateau-right .section-text{
        padding: 0;
    }
    #section-chateau .chateau-right .section-text:before {
        top: 6px;
        height: 65px;
    }
    #section-chateau .chateau-right .section-text {
        width: 70%;
    }
    #section-chateau .bg-element.top-chateau {
        top: -105px;
        left: 0px;
    }
    #section-chateau .section-title:before, #section-chateau .section-title:after {
        width: 60%;
    }
    #section-chateau .chateau-right .text-line,
    #section-chateau > .section-inner .chateau-left .bg-element{
        display: none;
    }
    #section-chateau .chateau-right {
        padding: 0;
    }
    .bg-element.feuille-1-chateau {
        right: -270px;
    }
    .bg-element.feuille-5-chateau {
        top: -205px;
        left: -120px;
    }
    .bg-element.feuille-1-chateau {
        top: -70px;
    }
    .bg-element.castle-1 {
        top: -210px;
        width: 80vw;
    }

    #section-chateau .section-bottom .row {
        height: 100%;
        padding: 0;
    }
    #section-chateau .img-bloc{
        height: 300px;
    }
    #section-chateau .section-bottom .row > div {
        width: 100%;
        justify-content: initial;
    }
    #section-chateau .section-bottom .bloc-1 > .section-left,
    #section-chateau .section-bottom .bloc-2 > .section-right{
        padding: 60px 0;
    }
    #section-chateau .bloc-1 .section-left .bloc-text,
    #section-chateau .bloc-2 .section-right .bloc-text{
        width: 100%;
    }

    /* ### HEBERGEMENT ### */
    #section-hebergements .section-title .bg-element{
        width: 300px;
    }
    #section-hebergements .section-inner:first-child {
        padding: 150px 0 80px;
    }
    #section-hebergements .philosophie-surtexte{
        margin: 0;
        width: 100%;
    }
    #section-hebergements .hebergements-content-header h3{
        font-size: 24px;
    }

    /* ### ACTIVITES & SERVICES ### */
    #section-activites-services .row-bottom .section-text,
    #section-activites-services .activites-services-right .section-text {
        width: 100%;
    }
    .bg-element.feuille-3-activites {
        left: -20px;
    }
    .bg-element.petale-1-activites {
        right: 20px;
        top: 45px;
    }
    .bg-element.petale-2-activites {
        right: 10px;
        top: 20px;
    }
    .bg-element.petale-3-activites {
        right: 10px;
        top: 0px;
    }
    .bg-element.petale-4-activites {
        right: 30px;
        top: 56px;
    }
    #section-activites-services .row-bottom .section-text .stroke-container {
        top: -40px;
    }
    .bg-element.feuille-3-activites {
        top: -10px;
    }
    .bg-element.feuille-1-activites {
        bottom: 90px;
        right: -20px;
    }
    .bg-element.feuille-2-activites {
        bottom: -40px;
    }

    #section-contact .contacts{
        width: 100%;
    }

    .middle-col {
        padding: 0 40px;
    }
    .col-texts:before {
        display: none;
    }
    .modal-content .inner-body-content {
        padding: 60px 10px;
    }
    .modal-content .middle-col h1 {
        margin-left: 0;
        width: 100%;
    }
    .modal-dialog{
        transform: none;
        max-width: 100%;
        margin: 0;
    }

    .modal-content .splide__slide img{
        height: 250px;
    }

    .modal-dialog .modal-content .close-modal {
        position: fixed;
        top: initial;
        left: initial;
        bottom: -100px;
        right: 0;
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--brown-color);
        padding: 15px 0;
        cursor: pointer;
        transition: .2s !important;
        animation: .5s close-modal .5s forwards !important;
    }
    @keyframes close-modal {
        0%{
            bottom : -50px
        }
        100%{
            bottom: 0;
        }
    }
    .close-modal img {
        width: 20px;
    }
    .close-modal span{
        display : block
    }
}

/* ### ONLY PHONE SCREEN ### */
@media (max-width: 576px){

    /* ### LOADER ### */
    .loader-inner .logo {
        width: 90%;
    }

    /* ### HEADER ### */
    header#header.blurred .header-navbar-brand img,
    header#header .header-navbar-brand img {
        display: none;
    }
    
    /* ### chateau ### */
    #section-chateau .row{
        grid-template-columns: 100%;
        padding: 0 15px;
    }
    #section-chateau .chateau-right {
        margin-left: 0%;
        padding: 0;
        width: 100%;
    }
    #section-chateau .section-title {
        margin-left: 2%;
    }
    #section-chateau .chateau-right .section-text {
        width: 100%;
    }
    #section-chateau .bg-element.top-chateau {
        top: -145px;
        left: 0px;
    }
    #section-chateau .section-title:before, #section-chateau .section-title:after {
        width: 70%;
    }
    #section-chateau .section-title {
        margin-left: 0;
    }

    /* ### PHILOSOPHIE ### */
    #section-hebergements .inner-hebergements-surtexte {
        width: 100%;
    }
    #section-hebergements .hebergements-content-main {
        grid-template-columns: 1fr;
    }
    #section-hebergements .hebergements-content-main .hebergement-item:nth-of-type(even) {
        padding-left: 0;
    }
    #section-hebergements .hebergements-content-main .hebergement-item:nth-of-type(odd) {
        padding-right: 0;
        margin-bottom: 25px;
    }
}