
@font-face {
    font-family: "Montserrat";
    src: url("../fonts/montserrat-regular-webfont.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/montserrat-bold-webfont.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Monoton";
    src: url("../fonts/Monoton-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: "Quentin";
    src: url("../fonts/Quentin.eot?#iefix") format("embedded-opentype"), url("../fonts/Quentin.otf") format("opentype"), url("../fonts/Quentin.woff") format("woff"), url("../fonts/Quentin.ttf") format("truetype"), url("../fonts/Quentin.svg#Quentin") format("svg");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "icomoon";
    src: url("../fonts/icomoon.eot?1hyfhv");
    src: url("../fonts/icomoon.eot?1hyfhv#iefix") format("embedded-opentype"), url("../fonts/icomoon.ttf?1hyfhv") format("truetype"), url("../fonts/icomoon.woff?1hyfhv") format("woff"), url("../fonts/icomoon.svg?1hyfhv#icomoon") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: "icomoon" !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1; /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-instagram:before {
    content: "\ea92";
}

.icon-clock:before {
    content: "\e94e";
}

.icon-facebook:before {
    content: "\ea90";
}

.icon-heart:before {
    content: "\e900";
}

body {
    margin: 0px;
    font-size: 1.0em;
}

html {
    font-family: Montserrat;
}

h1 {
    letter-spacing: 5px;
    text-transform: uppercase;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 15px;
}

h2 {
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0 0 25px;
}

h3 {
    margin: 0 0 22px;
    text-transform: uppercase;
}

h4 {
    text-transform: uppercase;
    line-height: 1.3;
}

a {
    text-decoration: none;
}

button {
    font-size: 1.3em;
    text-transform: uppercase;
    padding: 15px 50px;
    font-weight: 700;
    border: 1px solid black;
    cursor: pointer;
}

    button.small {
        font-size: 1.3em;
        text-transform: uppercase;
        padding: 8px 20px;
        font-weight: 700;
        border: 1px solid black;
        cursor: pointer;
    }

    button.black {
        background-color: #282828;
        color: white;
        transition: 0.4s;
    }

        button.black:hover {
            background-color: white;
            color: #282828;
        }

    button.light {
        background-color: white;
        color: #282828;
        transition: 0.4s;
    }

        button.light:hover {
            background-color: #282828;
            color: white;
        }

.icon-heart {
    color: red;
}

header > div {
    font-size: 8vw;
    white-space: nowrap;
    font-family: 'Montserrat';
    font-weight: 400;
    text-align: center;
    opacity: 1;
    line-height: 1;
}

header div > span {
    vertical-align: top;
    font-size: 4vw;
}

nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, min-content));
    padding: 0px 10% 0px 10%;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 10;
    opacity: 0.85;
}

nav {
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
    justify-content: space-evenly;
    user-select: none;
}

@media (width <= 1130px) {
    nav {
        letter-spacing: 3px;
    }
}

@media (width <= 1024px) {
    nav {
        letter-spacing: 1px;
    }
}

nav a {
    line-height: 2;
    position: relative;
    overflow: hidden;
}
    /*animated line under link*/
    nav a:before {
        content: '';
        position: absolute;
        bottom: 0;
        width: 0%;
        border-bottom: 0.1em solid black;
        transition: width cubic-bezier(0.22, 1, 0.36, 1) 0.7s;
    }

    nav a:hover:before {
        width: 100%
    }

nav :is(a:active, a:visited, a:link ) {
    color: black;
}

nav div[active] a:before {
    width: 100%
}

nav div {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 10px 0 10px 0;
}

    nav div:nth-last-child(1) {
        background-color: yellowgreen;
        padding: 0 10px 0 10px;
    }

footer section {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-auto-rows: auto;
}

@media (576px <= width <= 1024px) {
    footer section {
        grid-template-columns: 1fr 1fr;
    }

        footer section:first-child div {
            padding: 20px 40px 20px 40px;
        }
}


footer section:first-child div {
    place-self: normal;
    padding: 20px 20px 20px 20px;
}

footer section p {
    font-size: 0.9em;
    display: inline-block;
}

footer section h4 {
    font-size: 1.2em;
}

footer section:last-child {
    padding: 10px;
    margin-bottom: 85px;
    background-color: black;
}

footer dev {
    display: block;
    width: 100%;
    text-align: center;
    padding-bottom: 10px;
    font-size: smaller;
}

@media (width <= 576px) {
    footer section {
        grid-template-columns: 1fr;
    }

        footer section:first-child div {
            padding: 20px 40px 20px 40px;
        }
}

@media (width < 900px) {
    footer dev {
        padding-bottom: 70px;
    }
}

main {
    display: grid;
}

img {
    width: 100%;
}

header section, main section {
    display: grid;
    line-height: 1.75;
}

section {
    margin: 0 10px 10px 10px;
}

    section.-margin-top {
        margin-top: 0px !important;
    }
    section.-margin-bottom {
        margin-bottom: 0px !important;
    }

footer section:first-child {
    display: grid;
    line-height: 1.75;
}

section.padding {
    padding-top: 6em;
    padding-bottom: 2em;
}

section h1 {
    font-weight: 700;
    font-size: max(3rem, 6vw);
    line-height: 70px;
}

section h2 {
    font-size: max(2rem, 5vw);
}

section h4 {
    font-weight: 500;
    font-size: 15px;
    line-height: 15px;
}

section div {
    place-self: center;
}

section.bg-image {
    background-repeat: no-repeat;
    background-position-y: 2em;
    background-blend-mode: soft-light;
    background-position-x: center;
}

section img {
    vertical-align: middle;
}

@media (width >= 1350px) {
    section.bg-image {
        background-size: 40%;
    }
}

@media (768px < width < 1350px) {
    section.bg-image {
        background-size: 50%;
    }
}

@media (width <= 768px) {
    section.bg-image {
       background-size: 70%;
       /*height: 325px;*/
    }
}


section.bg-parallax {
    position: relative;
    height: 500px;
}

@media (width <= 768px) {

    section.bg-parallax {
        height: 325px;
    }
}

section.bg-parallax parallax-view {
    position: absolute;
    z-index: -1;
    background-repeat: no-repeat;
    background-size: cover;
    /*background-position: 50% 0px;*/
    inset: 0;
}

section.bg-parallax intro h2 {
    color: white;
    text-align: center;
    margin-top: 100px;
}
section#about-team.bg-parallax intro h2 {
    color: white;
    text-align: center;
    margin-top: 240px;
}
section#bookfoot3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

    section#bookfoot3 intro h2 {
        color: black;
        text-align: left;
        margin-top: 0px;
    }

section heading {
    place-self: center;
}

section intro h1 {
    color: white;
    text-align: center;
}

section.left intro h2 {
    font-size: 1.875rem;
    margin-top: 10px;
}

section#article intro h1 {
    color: #afaaa9;
    text-align: center;
    margin-top: 20px;
}

section#article h1 {
    font-weight: 700;
    font-size: max(2.5rem, 4vw);
    line-height: 70px;
}

section#article intro tags {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

@media (width <= 768px) {
    section#article intro h1 {
        line-height: 50px;
    }
}

section#article-text h2 {
    font-size: 25px;
}

section#article tag:not(:first-child):before {
    content: '|';
}

section#article-text > div {
    align-self: auto;
    width: 60%;
    margin-top: 30px;
    margin-bottom: 30px;
}


section#bookfoot parallax-view {
    background-image: url( "/images/footpano.jpg");
    background-position: 50% 88%;
}

@media (width >= 1350px) {
    section#bookfoot parallax-view {
        background-position: 50% 88%;
    }
}

@media (width <= 768px) {
    section#bookfoot parallax-view {
        background-position: 65% 88%;
    }
}

section#bookfoot2.webp parallax-view {
    background-image: url( "/images/foot/femalefoot2.webp");
}

section#bookfoot2.nowebp parallax-view {
    background-image: url( "/images/foot/femalefoot2.jpg");
}

section#bookfoot3.webp parallax-view {
    background-image: url( "/images/foot/oldshoes.webp");
}

section#bookfoot3.nowebp parallax-view {
    background-image: url( "/images/foot/oldshoes.jpg");
}


section#about {
    /*height: 70vh;*/
}

    section#about.show parallax-view {
        background-image: url( "/images/facade1.jpg");
        background-position: 100% 50%;
    }

section#about-history img {
    max-width: 100%;
    width: unset;
}

section#about-team.show parallax-view {
    background-image: url( "/images/sections/552A6202-web.jpg");
    background-position: 50% 50%;
}

section#pricing.webp parallax-view {
    background-image: url( "/images/reception_o.webp");
    background-position: 100% 50%;
}

section#product-image.show parallax-view {
    background-image: url( "/images/nashi_karina_knudsen.jpg");
    background-position: 100% 80%;
}

section#idhair img {
    object-position: left;
}

main#products h2 {
    font-size: max(4vw, 30px);
}

main#products .padding {
    padding: 40px 10px 10px 10px;
}

section.products > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

@media (width <= 576px) {
    section#kerasilk > div div:nth-child(1) {
        grid-area: ks_img;
    }

    section#kerasilk > div div:nth-child(2) {
        grid-area: ks_txt;
    }

    section.products > div {
        grid-template-columns: 1fr;
    }

    section#kerasilk > div {
        grid-template-areas: "ks_txt" "ks_img"
    }
}


section.products h2 {
    font-size: 2rem;
}

section.products > div div {
    align-self: start;
}

section.products img {
    max-height: 550px;
    min-height: 725px;
    object-fit: cover;
}

section.products.rounded > div > * {
    border-radius: 30px;
}

section.products.rounded > div {
    gap: 10px;
}

section.brands {
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    align-items: center;
}

    section.brands img[src*="idhair"] {
        transform: scale(0.9);
    }

    section.brands img[src*="nashi"] {
        transform: scale(0.7);
        margin-bottom: 10px;
    }

    section.brands img[src*="vision"] {
        transform: scale(0.9);
    }


    section.brands img {
        width: auto;
    }

section.rounded {
    border-radius: 30px;
}

    section.rounded.border {
        border: 1px solid lightgrey;
    }

.bg-parallax.rounded parallax-view {
    border-radius: 30px;
}

section intro h1 span {
    font-size: 7vw;
    color: white;
    padding-left: 45px;
}

section#pricing-list {
    grid-template-columns: 1fr;
}

    section#pricing-list > div {
        align-self: auto;
    }

    section#pricing-list h2 {
        margin: 30px 0 0 0;
    }

section service {
    display: grid;
    grid-template-columns: fit-content(80%) 1fr fit-content(8ch);
    column-gap: 10px;
    margin-top: 10px;
}

    section service h3 {
        margin-bottom: 0px;
    }


    section service ln {
        border-bottom: .5px solid black;
        width: 100%;
        height: 20px;
    }

    section service price {
        justify-self: right;
    }

    section service desc {
        grid-column: 1 / span 2;
    }


#haircare.webp {
    background-image: url('../images/hair.webp');
}

#haircare.nowebp {
    background-image: url('../images/hair.png');
}

#thegreat.show {
    /*background-image: url('../images/thegreatmission1.png');*/
}

#map {
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
}

    #map img {
        min-width: 1200px;
    }
/*#bookhair.show {
    background-image: url(../images/justdoit.png);
    background-position-y: 40%;
    background-size: 40%;
}*/

section#bookhair.show parallax-view {
    background-image: url( "/images/woman_ny.webp");
}

/*#about.show {
    background-image: url('../images/who.png');
    background-position-y: 40%;
    background-size: 20%;
}*/

#about-history.show {
    background-image: url('../images/history.png');
    background-position-x: right;
    background-size: 60%;
}

#footcare.webp {
    background-image: url('../images/combination.webp');
    background-blend-mode: unset;
}

#footcare.nowebp {
    background-image: url('../images/combination.png');
    background-blend-mode: unset;
}

#bookfoot3.webp {
    background-image: url('../images/wjy.png');
    background-blend-mode: unset;
}

#bookfoot3.show {
    background-image: url('../images/wjy.png');
    background-blend-mode: unset;
}

#footteaser.webp {
    background-image: url('../images/feet.webp');
    background-position-x: 90%;
}

#footteaser.nowebp {
    background-image: url('../images/feet.png');
    background-position-x: 90%;
}

@media (width >= 1350px) {
    main section > div {
        width: 60%;
    }
}

@media (768px < width < 1350px) {
    main section > div {
        width: 70%;
    }
}

@media (width <= 768px) {
    main section > div {
        width: 80%;
    }
}

intro span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.bg-dark {
    background-color: #282828;
    color: white;
}

    .bg-dark :is(a:active, a:visited, a:link ) {
        color: white;
    }

.bg-black {
    background-color: #000000;
    color: white;
}

    .bg-black :is(a:active, a:visited, a:link ) {
        color: white;
    }

.bg-light {
    background-color: #f7f8f9;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.intro-right intro {
    text-align: right;
    display: block;
}

blockquote {
    border-left: 3px solid #f0715f;
    position: relative;
    font-style: italic;
    font-size: 1.1em;
    line-height: 1.6em;
    padding: 20px 20px 20px 40px;
}

    blockquote:before, blockquote:after {
        content: open-quote;
        color: #f0715f;
        font-family: Arial, serif;
        font-size: 2.5em;
        margin-right: 4px;
        vertical-align: middle;
        line-height: 0;
    }

    blockquote:after {
        content: close-quote;
    }

section#openinghours a:visited {
    color: #ffce05;
    text-decoration: none;
}


section#openinghours {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
}

    section#openinghours > * {
        align-self: start;
    }

@media (width <= 1024px) {
    section#openinghours {
        grid-template-columns: 1fr;
    }
}

section some {
    display: block;
}

    section some span:not(:last-child):after {
        content: "|";
        margin: -2px 12px 0;
        display: inline-block;
        vertical-align: top;
    }

staytext {
    text-transform: uppercase;
    letter-spacing: 2px;
    /*font-size: 3rem;*/
    font-weight: bold;
    margin: 40px 0 40px 0;
}

    staytext span {
        font-weight: 200;
        font-size: inherit;
    }

newsletterform {
}

timings {
    display: grid;
}

    timings div {
        padding: 15px 0 15px 0;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

        timings div:nth-last-child(n+2) {
            border-bottom: 1px solid rgba(255, 255, 255, .2);
        }

    timings period {
        text-transform: uppercase;
        font-weight: 700;
    }

    timings time {
        text-align: right;
    }

imageslider {
    position: relative;
    height: 425px;
    overflow: hidden;
}

    imageslider.rounded {
        border-radius: 30px;
    }

    imageslider .image {
        vertical-align: top; /*this is needed to avoid the strange space in bottom*/
    }

    imageslider navigation {
        color: white;
        position: absolute;
        height: 100%;
        width: 100%;
        display: flex;
        flex-flow: row;
    }

    imageslider .image {
        object-fit: cover;
        height: 100%;
        position: absolute;
    }

        imageslider .image.hidden {
            opacity: 0;
        }

    imageslider .textoverlay {
        animation-name: textoverlay;
        animation-timing-function: ease-in;
        animation-duration: 1s;
        text-align: center;
        width: 100%;
    }

        imageslider .textoverlay.hidden {
            text-align: center;
            display: none;
        }

    imageslider h4 {
        font-size: 48px;
        padding: 0 10px;
        line-height: 1.3;
    }

    imageslider imagetext {
        color: white;
        flex-grow: 1;
        display: flex;
    }


        imageslider imagetext[data-image='image2'] {
            width: 100%;
            align-items: center;
            display: flex;
            justify-content: right;
        }

    imageslider [data-image='image2'] h4 {
        padding: 0 30px;
    }

@media (width < 600px) {
    imageslider {
        height: 325px;
    }

        imageslider h4 {
            font-size: 30px;
            padding: 0 10px;
            line-height: 1.3;
        }
}

imageslider navigation div[id^="nav"] {
    width: 100px;
    font-size: 3em;
    align-items: center;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

imageslider navigation imagetext h4 {
    font-weight: 700;
    letter-spacing: 2px;
}


section imagetext h1 {
    font-family: Monoton;
    font-weight: 100;
    font-size: 7vw;
    color: white;
    opacity: 0.7;
    background-color: #18181887;
    border-radius: 30px 0 0 30px;
    padding-left: 45px;
}

@media (max-width: 540px) {

    .navigation h1 {
        font-size: 40px;
    }
}


@keyframes image_in {
    0% {
        opacity: 0.4;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes image_out {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.7);
    }
}

.img_out {
    animation-name: image_out;
    animation-duration: 2s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

.img_in {
    animation-name: image_in;
    animation-timing-function: ease-in;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes textoverlay {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}



.bottom-fixed {
    position: fixed;
    bottom: 0px;
    width: 100%;
    z-index: 999;
}

@media (width < 900px) {
    nav {
        display: none;
    }

    nav-panel {
        display: grid;
    }
}

@media (width > 900px) {
    nav {
        display: flex;
    }

    .bottom-fixed {
        z-index: -1;
    }

    nav-panel {
        visibility: hidden;
    }
}

nav-panel {
    grid-template-areas: "menu" "actions";
}

    nav-panel menu-items {
        font-weight: 500;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 4px;
        user-select: none;
    }

    nav-panel menu-items {
        box-shadow: rgba(0, 0, 0, 0.18) -2px -4px 12px;
        grid-area: menu;
        position: absolute;
        background-color: white;
        padding: 0px 40px;
        text-align: center;
    }

        nav-panel menu-items.in, menu-items.out {
            transition-timing-function: ease-in;
            transition: 0.2s;
        }

        nav-panel menu-items div {
            padding: 15px 0px;
        }

    nav-panel hr {
        border-top: 1px solid #afaaa9;
        margin: 0px;
    }

    nav-panel actions {
        grid-area: actions;
        font-size: 10pt;
        width: 100%;
        background-color: white;
        z-index: 99;
    }

    nav-panel img {
        transform: scale(1);
        width: auto;
    }

    nav-panel actions {
        display: grid;
        grid-template-columns: 2fr 1fr 2fr;
        grid-auto-rows: 70px;
        text-align: center;
        align-items: center;
    }

    nav-panel action {
        justify-items: center;
    }

    nav-panel .menu {
        cursor: pointer;
    }

    nav-panel action:nth-of-type(-n+2) {
        border-right: 1px solid lightgrey;
    }

    nav-panel :is(a:active, a:visited, a:link ) {
        color: black;
    }



    nav-panel sonar {
        position: absolute;
        top: 40%;
        left: 30%;
        transform: translate(-50%, -50%);
    }

        nav-panel sonar .pulse {
            width: 16px;
            height: 16px;
            background: #FF6D4A;
            border-radius: 50%;
            animation: animate-pulse 3s linear infinite;
            cursor: pointer
        }
