/* latin */
@font-face {
    font-family: 'ITC Avant Garde Gothic Std';
    src: url(webfont/ITCAvantGardeStd-Bold.woff2) format('woff2');
}




:root {
    --bleu-fonce: #475C81;
    --bleu: #87A8CA;
    --bleu-clair: #dae3fa;
    --brun: #847063;
    /* --orange-fonce:; */
    --orange: #FAD8C2;
    --rose: #F9D5D7;
    --blanc: #fff;
}

body {
    background-color: var(--bleu-clair);
    font-family: poppins;
    margin: 0 !important;
}

* {
    scrollbar-color: transparent;
    scrollbar-width: none;
}

h1 {
    font-family: 'ITC Avant Garde Gothic Std';
    font-size: 4em;
    line-height: 1em;
    color: var(--bleu-fonce);
    margin: .5em 0;
}

h2 {
    font-family: 'ITC Avant Garde Gothic Std';
    font-size: 2.3em;
    margin: 0 0 .7em;
    color: var(--bleu-fonce);
    line-height: 1.2em;
}

h3 {
    font-family: 'ITC Avant Garde Gothic Std';
    font-size: 1.4em;
    line-height: 1em;
    color: var(--bleu-fonce);
}

h4 {
    font-size: 1.2em;
    line-height: 1.4em;
    color: var(--brun);
    font-weight: 400;
    margin: 0;
    margin-bottom: 1em;
}

p {
    font-size: 13.5px;
    line-height: 1.3em;
    color: var(--brun);
}


.bold {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.cta1 {
    font-size: 1.2em;
    font-weight: bold;
}

.site-header {
    margin: 0 auto;
    width: 80vw;
    display: flex;
    justify-content: space-between;
    height: 10vh;
    position: fixed;
    text-align: center;
    left: 10vw;
    z-index: 999999999999999999;
}


.main-navigation {
    max-width: 40vw;
    padding-top: 1em;
}

.site-header .menu-menu-1-container ul {
    justify-content: space-between;
}

.menu-menu-1-container a,
.menu-toggle {
    padding: .6em 1.7em;
    background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/bouton.png');
    background-size: 100% 100%;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 0;
    font-size: 1em;
    font-weight: 600;
    color: var(--bleu-fonce);
    border: none;
}

.menu-menu-1-container a:hover,
.menu-toggle:hover,
.menu-menu-1-container a:active {
    background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/bouton_survol.png');
}

.site-branding img {
    max-height: 8vh;
    width: auto;
}

.cta2 a {
    font-size: .9em;
    font-weight: 600;
    color: var(--bleu-fonce);
    background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/bouton.png');
    background-size: 100% 100%;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 0;
}

.cta2 a:hover {
    background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/bouton_survol.png');
}

.cta3 {
    font-size: .9em;
}

.spacer {
    height: 7.5em;
}

/*
::-webkit-scrollbar {
    width: 0.5em;

    
}
 
::-webkit-scrollbar-track {
    background-color: transparent;
    
}
 
::-webkit-scrollbar-thumb {
  background-color: red;
  border-radius: 1em;
  right: 1em;
}
*/

.site-footer {
    background-color: var(--blanc);
}

.footer-flex {
    display: flex;
    width: 80vw;
    margin: 0 auto;
    justify-content: space-between;
    padding: 3em 0;
    flex-wrap: wrap;
    gap: 1em;
}

.site-footer ul {
    margin: 0;
    padding: 0;
}

.site-footer li {
    list-style-type: none;
}

.site-footer li p {
    margin: .7em;
}

.site-footer .bold {
    color: var(--bleu-fonce);
}

.single .site-footer {
    display: none;
}

/* design single -------------------------- */

.all {
    position: relative;
    width: 80vw;
    margin: 0 auto;
    background-color: var(--blanc);
    border-radius: 3em;
    z-index: 999999999;
}

.case {
    width: 100%;
    max-width: 80vw;
    margin: 0 auto;
    height: 80vh;
    overflow-x: hidden;
    /*overflow-y: scroll;*/
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    scroll-snap-align: center;
    /* background: white; */
    padding: 1em;
    position: relative;
}

.case .caseline {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    margin: 0 auto;
    height: 80vh;
}


.case figure {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80vh;
}

.case .wp-block-columns {
    position: relative;
}

.case .wp-block-columns .wp-block-group {
    margin: auto;
    height: 80vh;
    display: flex;
    align-items: center;
    padding: 0 3em;
}

.case .wp-block-columns .wp-block-group .wp-block-list {
    margin: 0;
}

.case li {
    padding-bottom: 2em;
    font-size: .8em;
    color: var(--brun);
}

.case p,
.case li {
    max-width: 500px;
    margin-bottom: 1em;
}

.case .wp-block-buttons {
    margin-top: 2em;
}

.top-button {
    position: absolute;
    bottom: 2em;
    left: 50%;
    z-index: 99999999999;
}

.top-button a {
    padding: .5em 2em;
}

.article-fin {
    width: 85%;
    margin: 0 0 3em 3%;
}

.article-fin ul {
    margin: 0;
}

.article-fin ul li {
    padding: 0;
    margin: .8em;
}

.sliding-list .wp-block-group__inner-container {
    width: 100%;
    overflow-x: scroll;
}

.sliding-list .wp-block-column {
    width: 400px !important;
}

.coming-soon {
    opacity: 30%;
    text-align: center;
}

.marges {
    max-width: 80vw;
    margin: 0 auto;
}

.marges2 {
    max-width: 70vw;
    margin: 0;
    max-height: 70vh;
}

.bg-home {
    background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/cercle1.svg'), url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/cercle2.svg');
    background-repeat: no-repeat;
    background-position: 10% 25%, 100%;
    display: flex;
    justify-content: flex-end;
    background-size: auto 70%, auto 100%;
}

.home-col1 {
    display: flex;
    align-items: center;
}

.logo-home-col1 {
    width: 60%;
}

.home-img {
    min-width: 40vw;
}

/* .page-id-7 .col2 .wp-block-column{
    background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/third3.png');
    width: 100%;
    z-index: 999999999;
} 
*/

.page-id-7 .col2 .wp-block-column {
    background-color: var(--blanc);
    border-radius: 1.5em;
    padding: 0;
    margin: 0;
    z-index: auto;
    position: relative;
}

.page-id-7 .col2 .wp-block-column figure {
    margin: 0;
}

.page-id-7 .col2 .wp-block-column div {
    padding: 0 1.2em 1.2em;
}

.page-id-7 .col2 .wp-block-column:hover {
    padding: 1em 0;
    transition: .1s;
}

.home-center {
    justify-content: center;
}

.cadre {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    background-size: 100% 100%;
}

.cadre a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 0;
}

.full1 {
    background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/full1.png');
    pointer-events: none;
    z-index: 9999999;
}

.full2 {
    background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/full2.png');
    pointer-events: none;
    z-index: 9999999;
}

.third1 {
    background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/third1.png');
}

.third2 {
    background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/third2.png');
}

.third3 {
    background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/third3.png');
}

.fourth1 {
    background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/fourth1.png');
}

.fourth2 {
    background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/fourth2.png');
}

.fourth3 {
    background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/fourth3.png');
}

.fourth4 {
    background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/fourth4.png');
}

.wp-block-cb-slide {
    background-color: var(--blanc);
    margin-right: 1em;
    border-radius: 1.5em;
    position: relative;
}

.wp-block-cb-slide div {
    padding: 0 .6em;
}

.entry-title {
    display: none;
}

/* p.linkDia {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;

}

.linkDia a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 0;
} */

.slick-slider .slick-track {
    display: flex;
}

.slick-slider .slick-track .slick-slide {
    float: initial;
    height: inherit;
}

.slick-slider .slick-track .slick-hover:hover {
    padding: 1em 0;
    transition: .1s;
}


/* À propos ----------------------- */

.page-id-16 .wp-block-columns,
.page-id-10 .wp-block-columns {
    background-color: var(--blanc);
    border-radius: 1.5em;
    padding: 0 3em;
    margin: 0 0 5em 0;
    z-index: auto;
    position: relative;
    height: 70vh;
}

.page-id-16 .wp-block-columns .wp-block-column,
.page-id-10 .wp-block-columns .wp-block-column {
    padding: 0 3em;
    margin: auto 0;
}

.page-id-16 p,
.page-id-16 h4,
.page-id-10 p,
.page-id-10 h4 {
    max-width: 500px;
}

.page-id-16 .wp-block-columns:nth-child(2),
.page-id-10 .wp-block-columns:nth-child(2) {
    flex-direction: row-reverse;
}


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

    .full1 {
        background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/half1.png');
        pointer-events: none;
        z-index: 9999999;
    }

    .full2 {
        background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/half2.png');
        pointer-events: none;
        z-index: 9999999;
    }

    .third1 {
        background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/fourth1.png');
    }

    .third2 {
        background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/fourth2.png');
    }

    .third3 {
        background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/fourth3.png');
    }

}

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

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.8em;
    }

    p {
        font-size: 15px;
    }

    .site-header {
        width: 95vw;
    }

    .footer-flex {
        width: 95vw;
    }

    .all {
        width: 95vw;
    }

    .case {
        width: 95vw;
        padding: 0;
    }

    .marges {
        max-width: 95vw;
    }

    /* ----------------------accueil */
    .wp-block-group-is-layout-constrained {
        margin: 0 auto;
    }

    .col2 .size-full {
        max-width: 30vh;
    }

    .page-id-7 .col2 .wp-block-column figure {
        margin: 0 auto;
    }

    /*  -----------------------------------guide  */
    .case .wp-block-columns .wp-block-group {
        margin: auto;
        height: auto;
        display: flex;
        align-items: center;
        padding: 0;
    }

    .case figure {
        height: 60vh;
    }

    .case .wp-block-column {
        margin-top: 10vh;
    }

    .article-fin .wp-block-column {
        flex-wrap: wrap;
    }

    .top-button {
        left: 40%;
    }


    /* .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    }
     */


    .full1 {
        background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/fourth1.png');
        pointer-events: none;
        z-index: 9999999;
    }

    .full2 {
        background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/fourth1.png');
        pointer-events: none;
        z-index: 9999999;
    }


    /* ----------------------------- à propos- */
    .page-id-16 .wp-block-columns,
    .page-id-10 .wp-block-columns {
        padding: 0;
        margin: 0 0 5em 0 !important;
        z-index: auto;
        position: relative;
        height: auto;
    }

    .page-id-16 .cadre .wp-block-column:nth-child(1),
    .page-id-10 .wp-block-columns .wp-block-column:nth-child(1) {
        padding: 0;
        margin: auto 0;
    }

    .page-id-16 .cadre .wp-block-column:nth-child(2),
    .page-id-10 .wp-block-columns .wp-block-column:nth-child(2) {
        padding: 0 8% 2.5em;
        margin: auto 0;
    }

    .page-id-16 .wp-block-columns .wp-block-column figure,
    .page-id-10 .wp-block-columns .wp-block-column figure {
        margin: 0;
    }

    .page-id-16 .wp-block-columns,
    .page-id-10 .wp-block-columns {
        flex-direction: column;
        margin: 0 auto;
    }

    .page-id-16 .wp-block-columns:nth-child(2),
    .page-id-10 .wp-block-columns:nth-child(2) {
        flex-direction: column;
    }

    .site-header {
        position: static;
        margin: 0 auto;
    }

    .main-navigation button {
        position: absolute;
        z-index: 9999999999999999999999999999999;
        right: 2.5vw;
    }

    .menu {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: var(--rose);
        z-index: 9999999999999999999;
        padding-top: 3em;
    }

    .menu li {
        margin-top: 3em;
    }

    .main-navigation a {
        display: inline;
    }


    /* Small menu. */
    .menu-toggle,
    .main-navigation.toggled ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .main-navigation ul {
        display: none;
        list-style: none;
        margin: 0;
        padding-left: 0;
    }

    #site-navigation.toggled {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        max-width: inherit;
        z-index: 999999;
    }

}

@media screen and (max-width: 782px) {
    .bg-home {
        background-repeat: no-repeat;
        background-position: 10% 0%, 75% 100%;
        justify-content: flex-end;
        background-size: 70% auto, 100% auto;
    }

    .marges2 {
        max-height: fit-content;
    }

    .third1 {
        background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/half1.png');
    }

    .third2 {
        background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/half2.png');
    }

    .third3 {
        background-image: url('https://howto.malka-tutt.ch/wp-content/uploads/2024/11/half1.png');
    }

    .spacer {
        height: 0;
    }
}