/* ### 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;
    }

    /* ### SAVOIR FAIRE ### */
    #section-savoir-faire .galerie-savoir-faire{
        width: 90%;
    }
    #section-savoir-faire .section-inner:first-child .bg-element:nth-of-type(1) {
        right: 8%;
    }
    #section-savoir-faire .section-inner:first-child .bg-element:nth-of-type(2) {
        right: 0;
    }
}

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

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

    /* ### PHILOSOPHIE ### */
    .bg-element-cloud img {
        display: none;
    }

    /* ### SAVOIR FAIRE ### */
    #section-savoir-faire .galerie-savoir-faire{
        width: 100%;
        padding-left: 20px;
        padding-right: calc(20px - 1%);
    }

    /* ### LA FAMILLE ### */
    #section-famille .bg-element.wave-famille-1 {
        left: -47%;
    }
    #section-famille .bg-element.leaf-famille-1 {
        left: 16%;
    }
    #section-famille .bg-element.leaf-famille-2 {
        left: 20%;
    }
    #section-famille .bg-element.leaf-famille-3 {
        top: 6.5%;
        left: 27%;
    }
    #section-famille .bg-element.right-famille {
        right: -38%;
    }
}

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

    /* ### 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(--dark-bordeaux-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;
    }
    header#header .navbar-active-menu-indicator svg:nth-of-type(1){
        display: none;
    }
    header#header .navbar-active-menu-indicator svg:nth-of-type(2){
        display: block;
    }

    /* ### PHILOSOPHIE ### */
    #section-philosophie .image-fond{
        object-position: initial;
    }

    /* ### SAVOIR FAIRE ### */
    #section-savoir-faire .section-inner:first-child .bg-element{
        display: none;
    }

    /* ### FAMILLE ### */
    #section-famille .famille-content {
        margin-left: 0;
        margin: 0 auto;
    }
    #section-famille .membres .membre.membre1 .descriptif,
    #section-famille .membres .membre.membre2 .descriptif,
    #section-famille .membres .membre.membre3 .descriptif {
        top: 50%;
        left: 50%;
        text-align: start;
        transform: translate(-50%, -50%);
        background-color: rgba(140, 41, 74, .9);
        backdrop-filter: blur(3px);
        padding: 10px 15px;
        z-index: 100;
        color: #fff;
    }
    #section-famille .membres .membre.membre1 .descriptif{
        left: 45%;
    }
    #section-famille .membres .membre.membre2 .descriptif:before,
    #section-famille .membres .membre.membre3 .descriptif:before,
    #section-famille .membres .membre.membre1 .descriptif:before {
        display: none;
        /* width: 70%;
        height: 1px;
        top: -10px;
        left: 50%;
        transform: translate(-50%, 0);
        background-color: #fff; */
    }
}

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

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

    /* ### ACCUEIL ### */
    #section-accueil .logo-container h1 {
        font-size: 34px;
    }
    #section-accueil .logo-container .logo {
        width: 330px;
    }
    #section-accueil .citations{
        top: 100%;
    }

    /* ### DOMAINE ### */
    #section-domaine .domaine-left .images img:nth-child(2){
        display: none;
    }
    #section-domaine .section-title {
        margin-left: 37%;
        margin-bottom: 40px;
    }
    #section-domaine .images {
        justify-content: end;
    }
    #section-domaine .row {
        grid-template-columns: 32% 68%;
        padding-left: 0;
    }
    #section-domaine .bg-element.top-domaine {
        top: -210px;
        left: 280px;
    }
    #section-domaine > .section-inner .domaine-left .bg-element{
        left: 5%;
    }
    #section-domaine .domaine-right .text-line {
        left: 34%;
    }
    #section-domaine .domaine-right .section-text {
        width: 60%;
    }
    #section-domaine .domaine-left .images img:nth-child(1) {
        width: 42.5%;
    }
    #section-domaine .domaine-left .images img:nth-child(3) {
        width: 47%;
    }
    #section-domaine .images{
        margin-left: 0;
    }

    /* ### PHILOSOPHIE ### */
    #section-philosophie .philosophie-content-wrapper .philosophie-content {
        width: 40%;
    }
    #section-philosophie .philosophie-content-wrapper .images img {
        display: none;
    }
    #section-philosophie .philosophie-content-wrapper .images img:nth-child(2n) {
        top: 20px;
        left: 25px;
        width: 85%;
    }
    #section-philosophie .philosophie-content-wrapper .images .bg-element {
        top: -45px;
        left: -90px;
        width: 350px;
        max-width: 1000px;
    }
    #section-philosophie .philosophie-content-wrapper video {
        width: 50%;
        padding-right: 20px;
    }
    #section-philosophie .philosophie-content-separator {
        height: 160px;
        margin-left: 0px;
        top: -30px;
    }

    /* ### SAVOIR FAIRE ### */
    #section-savoir-faire .section-inner:first-child .bg-element{
        right: -115px;
    }
    #section-savoir-faire .textes-savoir-faire .intitule{
        margin-left: 0;
    }
    #section-savoir-faire .section-inner:nth-child(2) .bg-element{
        display: none;
    }

    /* ### FAMILLE ### */
    #section-famille .bg-element.wave-famille-1 {
        left: -60%;
    }
    #section-famille .bg-element.leaf-famille-1 {
        left: 8%;
    }
    #section-famille .bg-element.leaf-famille-2 {
        left: 14%;
    }
    #section-famille .bg-element.leaf-famille-3 {
        left: unset;
        right: 9%;
    }
    #section-famille .bg-element.right-famille {
        right: -50%;
    }

    /* ### VINS ### */
    #section-vins .bulles-vins{
        margin-left: -10%;
    }
    #section-vins .vins .vin.prev, #section-vins .vins .vin.next {
        width: 11%;
        /* margin: 0 13%; */
    }
    #section-vins .vins .vin.active {
        width: 16%;
    }

    /* ### CARTE ### */
    #section-carte-climats .bg-element.top-carte{
        display: none;
    }
    #section-carte-climats .section-title {
        width: 35%;
    }
    #section-carte-climats .section-title:before{
        display: none;
    }
    #section-carte-climats .section-inner .container {
        margin: 0 auto;
        margin-bottom: 30px;
        width: 100%;
        justify-content: center;
    }
    #section-carte-climats .carte-content {
        width: 65%;
        max-width: 470px;
    }
}

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

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

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

    /* ### ACCUEIL ### */
    #section-accueil .section-inner{
        padding-top: 22vh;
    }
    #section-accueil .logo-container .logo {
        width: 340px;
    }
    #section-accueil .logo-container h1 {
        font-size: 28px;
        width: 400px;
    }
    #section-accueil .citations {
        display: none;
        top: calc(100% + 50px);
        left: 50%;
        transform: translate(-50%, 0);
        right: unset;
    }
    #section-accueil .citations .citation{
        font-size: 16px;
    }
    #section-accueil .citations .citation-auteur {
        padding-left: 20px;
    }

    /* ### DOMAINE ### */
    #section-domaine .domaine-right .section-text {
        width: 62%;
    }
    #section-domaine .domaine-right .images img:nth-child(1),
    #section-domaine .domaine-left .images img:nth-child(1) {
        display: none;
    }
    #section-domaine .domaine-left .images img:nth-child(3) {
        width: 91%;
    }
    #section-domaine .domaine-right .images img:nth-child(2) {
        height: 345px;
        margin-top: -45px;
        width: 61%;
        margin-left: 30px;
        object-position: -222px;
    }
    #section-domaine .section-title {
        margin-left: 26.5%;
    }
    #section-domaine .images {
        justify-content: start;
    }
    #section-domaine .row {
        grid-template-columns: 22% 78%;
    }
    #section-domaine .bg-element.top-domaine {
        top: -135px;
        left: 530px;
    }
    #section-domaine .domaine-right .text-line{
        display: none;
    }

    /* ### PHILOSOPHIE ### */
    #section-philosophie .philosophie-content-wrapper .images .bg-element{
        left: 0;
    }
    #section-philosophie .philosophie-surtexte {
        width: 60%;
        margin: 0 auto;
    }
    #section-philosophie .section-inner:nth-child(2) {
        padding-top: 100px;
    }
    #section-philosophie .philosophie-content-separator {
        height: 180px;
        top: -10px;
    }

    /* ### SAVOIR FAIRE ### */
    #section-savoir-faire .section-inner{
        padding: 60px 0;
    }
    #section-savoir-faire .textes-savoir-faire {
        grid-template-columns: 1fr;
    }
    #section-savoir-faire .texte-savoir-faire {
        padding: 20px 10px;
        margin: 0 auto;
        width: 60%;
    }
    #section-savoir-faire .textes-savoir-faire .intitule{
        margin-left: 0;
    }
    #section-savoir-faire .galerie-savoir-faire {
        display: none;
    }
    #section-savoir-faire .savoir-faire-content-wrapper {
        max-width: none;
        width: calc(60% - 20px);
        transform: translate(-50%, 0);
        left: 50%;
    }

    /* ### FAMILLE ### */
    #section-famille .section-inner .bg-element:nth-of-type(2){
        display: none;
    }

    /* ### VINS ### */
    #section-vins .section-inner .container-full-screen .col-md-6:nth-of-type(1){
        width: 30%;
    }
    #section-vins .section-inner .container-full-screen .col-md-6:nth-of-type(2){
        width: 70%;
    }
    #section-vins .section-inner .container-full-screen .col-md-6:nth-of-type(2) p:first-of-type{
        max-width: 400px;
    }
    #section-vins .vins .vin.active{
        width: 25%;
        margin: 0 auto;
    }
    #section-vins .vins .vin .description-courte{
        position: unset;
        margin-top: 25px;
        text-align: center;
    }
    #section-vins .vins .vin .description-courte::before{
        display: none;
    }

    /* ### CARTE ### */
    #section-carte-climats .section-title {
        width: 100%;
    }
    #section-carte-climats .section-inner .container {
        align-items: center;
        margin: 0 20px;
        margin-bottom: 30px;
    }
    #section-carte-climats .carte-content {
        display: none;
    }

    /* ### CONTACT ### */
    #section-contact .bg-element.top-contact {
        display: none;
    }
}

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

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

    /* ### LOADER ### */
    .loader-inner h1 {
        top: 115px;
        font-size: 32px;
    }
    .loader-inner .logo {
        width: 320px;
    }

    /* ### HEADER ### */
    header#header,
    header#header.sticky,
    header#header.blurred{
        height: 60px;
    }
    body.admin-bar header#header{
        top: 46px;
    }
    header#header .header-navbar-brand .title {
        font-size: 18px;
        padding-left: 80px;
        padding-top: 15px;
    }
    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.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 .header-navbar #menu-menu-principal > li a{
        font-size: 20px;
    }

    /* ### ACCUEIL ### */
    #section-accueil .logo-container .logo {
        width: 280px;
    }
    #section-accueil .logo-container h1 {
        font-size: 24px;
        width: 300px;
    }
    #section-accueil .citations{
        display: none;
    }

    /* ### DOMAINE ### */
    #section-domaine .section-title {
        margin: 0 auto;
        width: 100%;
        margin-bottom: 35px;
    }
    #section-domaine .row {
        grid-template-columns: 90%;
    }
    #section-domaine .domaine-right{
        margin-left: 18%;
    }
    #section-domaine .domaine-right .section-text{
        padding: 0;
    }
    #section-domaine .domaine-right .section-text:before {
        top: 6px;
        height: 65px;
    }
    #section-domaine .domaine-right .section-text {
        width: 70%;
    }
    #section-domaine .bg-element.top-domaine {
        top: -105px;
        left: 0px;
    }
    #section-domaine .section-title:before, #section-domaine .section-title:after {
        width: 60%;
    }
    #section-domaine .domaine-right .text-line,
    #section-domaine > .section-inner .domaine-left .bg-element{
        display: none;
    }
    #section-domaine .domaine-right {
        padding: 0;
    }

    /* ### PHILOSOPHIE ### */
    #section-philosophie .section-inner:first-child{
        padding: 130px 0;
    }
    #section-philosophie .section-inner:nth-child(2) {
        padding: 50px 0;
    }
    #section-philosophie .philosophie-content-separator {
        height: 75px;
        margin-left: 0px;
        top: 2px;
    }
    #section-philosophie .philosophie-content-wrapper{
        margin: 0 auto;
        width: 70%;
    }
    #section-philosophie .philosophie-content-wrapper .philosophie-content .bg-element {
        bottom: 0px;
        left: 0px;
    }
    #section-philosophie .philosophie-content-wrapper .philosophie-content {
        width: 100%;
        margin: 0;
        padding: 0 20px;
    }
    #section-philosophie .philosophie-surtexte{
        margin: 0;
        width: 100%;
    }
    #section-philosophie .philosophie-content-wrapper .philosophie-content .bg-element:nth-of-type(1) {
        left: 100px;
    }
    #section-philosophie .philosophie-content-wrapper .philosophie-content .bg-element:nth-of-type(2) {
        left: 130px;
    }
    #section-philosophie .philosophie-content-wrapper .philosophie-content .bg-element:nth-of-type(3) {
        left: 80px;
    }
    #section-philosophie .philosophie-content-wrapper .philosophie-content .bg-element:nth-of-type(4) {
        left: 230px;
    }
    #section-philosophie .philosophie-content-wrapper .philosophie-content .bg-element:nth-of-type(5) {
        left: 55px;
    }

    /* ### SAVOIR FAIRE ### */
    #section-savoir-faire .savoir-faire-content-wrapper{
        width: calc(100% - 20px);
        transform: none;
        left: unset;
    }
    #section-savoir-faire .texte-savoir-faire{
        width: 100%;
        margin: 0;
    }

    /* ### FAMILLE ### */
    #section-famille .famille-content {
        font-size: 14px;
        width: 100%;
        padding: 0 1%;
    }
    #section-famille .membres {
        margin-top: 50px;
    }
    #section-famille .membres .membre.membre1 .descriptif{
        left: 100%;
    }
    #section-famille .membres .membre.membre1 .descriptif::before{
        left: 0;
        transform: none;
    }
    #section-famille .membres .membre.membre3 .descriptif{
        left: 0%;
    }
    #section-famille .membres .membre.membre3 .descriptif::before{
        right: 0;
        left: unset;
        transform: none;
    }
    #section-famille .galerie-famille img{
        height: 60px;
    }
    #section-famille .bg-element.leaf-famille-2 {
        left: 2%;
    }
    #section-famille .bg-element.leaf-famille-3 {
        right: -10%;
    }

    /* ### VINS ### */
    #section-vins .section-title{
        font-size: 42px;
    }
    #section-vins .section-inner .container-full-screen .col-md-6:nth-of-type(2){
        width: 100%;
        min-height: 70vh;
        padding: 50px 25px;
    }
    #section-vins .bg-elements {
        margin-left: 0;
        margin-top: 30px;
    }
    #section-vins .bulles-vins {
        margin-left: -30px;
    }

    #section-vins .active-vin-bg{
        width: 60%;
    }
    #section-vins .section-inner:nth-of-type(2) {
        padding-top: 70px;
    }
    #section-vins .section-inner:nth-of-type(2) h4:before {
        height: 55px;
    }
    #section-vins .vins-wrapper .btn-prev, 
    #section-vins .vins-wrapper .btn-next{
        width: 65px;
        top: 100px;
    }

    /* ### CONTACT ### */
    #section-contact .contacts {
        flex-direction: column;
        row-gap: 30px;
    }
    #section-contact .contacts-footer {
        flex-direction: column;
        row-gap: 40px;
    }
    #section-contact .nous-suivre {
        width: 100%;
    }


    #section-contact .section-title::before {
        display: none;
    }
    #section-contact .section-title {
        text-align: center;
    }
    #section-contact .texte-intro-contacts {
        text-align: start;
        justify-content: flex-start;
        margin-right: 0;
        margin-left: 20px;
    }
    #section-contact .texte-intro-contacts:before {
        left: -20px;
        right: unset;
    }
    #section-contact .texte-intro-contacts:after {
        left: -19px;
        right: unset;
    }
    #section-contact .demande-tarif {
        width: 100%;
    }
}

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

    /* ### LOADER ### */
    .loader-inner h1 {
        top: 95px;
        font-size: 24px;
    }
    .loader-inner .logo {
        width: 260px;
    }

    /* ### HEADER ### */
    header#header.blurred .header-navbar-brand img,
    header#header .header-navbar-brand img {
        display: none;
    }
    header#header .header-navbar-brand .title{
        padding-left: 15px;
    }

    /* ### DOMAINE ### */
    #section-domaine .row{
        grid-template-columns: 100%;
        padding: 0 15px;
    }
    #section-domaine .domaine-right {
        margin-left: 0%;
        padding: 0;
        width: 100%;
    }
    #section-domaine .section-title {
        margin-left: 2%;
    }
    #section-domaine .domaine-right .section-text {
        width: 100%;
    }
    #section-domaine .bg-element.top-domaine {
        top: -145px;
        left: 0px;
    }
    #section-domaine .section-title:before, #section-domaine .section-title:after {
        width: 70%;
    }
    #section-domaine .section-title {
        margin-left: 0;
    }

    /* ### PHILOSOPHIE ### */
    #section-philosophie .philosophie-content-wrapper {
        margin: 0 3%;
        width: calc(100% - 40px);
    }
    #section-philosophie .philosophie-content-wrapper .philosophie-content {
        padding: 0 20px;
    }
    #section-philosophie .philosophie-content-wrapper .philosophie-content .bg-element:nth-of-type(1) {
        left: 50px;
    }
    #section-philosophie .philosophie-content-wrapper .philosophie-content .bg-element:nth-of-type(2) {
        left: 80px;
    }
    #section-philosophie .philosophie-content-wrapper .philosophie-content .bg-element:nth-of-type(3) {
        left: 30px;
    }
    #section-philosophie .philosophie-content-wrapper .philosophie-content .bg-element:nth-of-type(4) {
        left: 180px;
    }
    #section-philosophie .philosophie-content-wrapper .philosophie-content .bg-element:nth-of-type(5) {
        left: 5px;
    }

    /* ### VINS ### */
    #section-vins .section-inner .container-full-screen .col-md-6:nth-of-type(2){
        min-height: 80vh;
    }
}