/* Barbertrim FR AB */

/* Animationer */
@import url('/resources/scripts/aos/2.3.1/aos.css');

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 253, 215, 134;
    --primary-dark-color: 157, 114, 59;

    --black-color: 17, 17, 17;
    --gray-dark-color: 39, 39, 39;
    --gray-color: 222, 224, 224;
    --gray-light-color: 247, 246, 246;
    --white-color: 255, 255, 255;

    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 9rem;
    --menu-height-scrolled: 8rem;
    --section-width: 150rem;

    /* 	Typography */
    --base-size: 1.6rem;

    /* 	Mobile nav */
    --activate-mobile-menu: 1024;
    --mobile-menu-height: 7.2rem;
    --mobile-menu-bg: var(--gray-dark-color);
    --menu-color: var(--white-color);
}

@media only screen and (max-width: 580px) {
    :root {
        --base-size: 1.5rem;
    }
}

/* Layout
========================================================================== */
body {
    color: rgb(var(--white-color));
    background: rgb(var(--black-color));
}

.section-block {
    padding: 12rem 5rem;
}

/* Paddings */
.p-3 .section-block,
.p-3:not(.section-wrapper) {
    padding: 3rem;
}

.pb-0 .section-block,
.pb-0:not(.section-wrapper) {
    padding-bottom: 0;
}

.pb-2 .section-block,
.pb-2:not(.section-wrapper) {
    padding-bottom: 2rem;
}


/* Margins */
.mb-3 {
    margin-bottom: 3rem;
}

@media only screen and (max-width: 1024px) {
    .section-block {
        padding: 10rem 3rem;
    }
}

@media only screen and (max-width: 580px) {
    .section-block {
        padding: 5rem 2rem;
    }
}

/* Text och typsnitt
========================================================================== */
body {
    font-family: 'Poppins', sans-serif;
}

/* Rubriker */
.section-title {
    padding-bottom: 0.2em;
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.2;
    background: -webkit-linear-gradient(0deg, rgb(var(--primary-dark-color)), rgb(var(--primary-color)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    background: -webkit-linear-gradient(0deg, rgb(var(--primary-color)), rgb(var(--primary-dark-color)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Brodtext och lankar */
p,
li {
    color: rgb(var(--white-color));
}

/* Ovriga klasser */
.text-block {
    max-width: 70rem;
}

.text-block-center {
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.text-bold {
    font-weight: 700;
}

@media only screen and (max-width: 1300px) {
    .section-title {
        font-size: 3.5rem;
    }

    .small-title {
        font-size: 2rem;
    }
}

@media only screen and (max-width: 580px) {
    .section-title {
        font-size: 2.8rem;
    }

    .small-title {
        font-size: 1.8rem;
    }
}

/* Knappar och speciella lankar
========================================================================== */
.btn-wrapper {
    margin-top: 2rem;
}

.btn-wrapper.center {
    text-align: center;
}

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.2rem 2.5rem;
    margin: 1rem 2rem 0 0;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-family: inherit;
    border: none;
    transition: all .4s ease;
}

.btn-primary-filled,
.ContactSubmit {
    color: rgb(var(--gray-dark-color));
    background-image: radial-gradient(circle, rgba(var(--primary-color)) 0%, rgba(var(--primary-dark-color)) 66%);
    background-size: 100%;
    background-position: center;
}

.btn-primary-filled:hover,
.ContactSubmit:hover {
    color: rgb(var(--gray-dark-color));
    background-image: radial-gradient(circle, rgba(var(--primary-color)) 0%, rgba(var(--primary-dark-color)) 66%);
    background-size: 150%;
}

/* Pulse btn */
.pulse-btn {
    box-shadow: 0 0 0 0 rgb(var(--primary-dark-color));
    -webkit-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -moz-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -ms-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
}

@-webkit-keyframes pulsing {
    to {
        box-shadow: 0 0 0 20px rgba(var(--primary-dark-color), 0);
    }
}

@-moz-keyframes pulsing {
    to {
        box-shadow: 0 0 0 20px rgba(var(--primary-dark-color), 0);
    }
}

@-ms-keyframes pulsing {
    to {
        box-shadow: 0 0 0 20px rgba(var(--primary-dark-color), 0);
    }
}

@keyframes pulsing {
    to {
        box-shadow: 0 0 0 20px rgba(var(--primary-dark-color), 0);
    }
}
/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-size: var(--base-size);
    text-decoration: none;
    color: rgb(var(--primary-color));
}

.arrow-link::after {
    content: ' \f061';
    display: inline-block;
    margin-left: .8rem;
    font-family: 'Font Awesome 5 Pro';
    transition: transform .4s ease;
}

a.arrow-link:hover::after {
    transform: translateX(1rem);
    transition: transform .4s ease;
}
/* Farger
========================================================================== */
/* Bakgrunder */
.bg-primary {
    background: -webkit-linear-gradient(0deg, rgb(var(--primary-color)), rgb(var(--primary-dark-color)));
}

/* Text */
.text-primary {
    color: rgb(var(--primary-color));
}

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image,
.bg-video {
    position: relative;
    overflow: hidden;
}

.bg-image-wrapper,
.bg-video-wrapper {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bg-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Parallax */
.parallax {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.parallax .section-block {
    background-color: rgb(var(--black-color), .4)
}

/* Bilder */
.parallax-tools {
    background-image: url('/assets/images/verktyg-2000px.jpg');
}

@media only screen and (hover:none) {
    .parallax {
        background-attachment: scroll;
        background-position: center center;
    }
}

/* Cards
========================================================================== */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.cards-wrapper:not(.w-100) {
    margin-left: -1rem;
    margin-right: -1rem;
}

a.card-item,
.card-item a {
    text-decoration: none;
    transition: .3s ease;
}

/* Bredder */
.cards-wrapper.w-33 .card-item {
    width: calc((100% / 3) - 2rem);
    margin: 1rem;
}

@media only screen and (max-width: 1024px) {
    /* Bredder */
    .cards-wrapper.w-33 .card-item {
        width: calc((100% / 2) - 2rem);
    }
}

@media only screen and (max-width: 750px) {
    .cards-wrapper:not(.w-100) {
        margin-left: 0;
        margin-right: 0;
    }

    /* Bredder */
    .cards-wrapper.w-33 .card-item {
        width: 100%;
        margin: 1rem 0;
    }

    /* Paddings */
    .cards-wrapper .p-3 {
        padding: 2rem;
    }
}

/* Card 2-2 */
.card-2-2 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 7rem;
    height: 7rem;
    margin-bottom: 2rem;
    border-radius: 1rem;
}

.card-2-2 a.card-item {
    transition: .2s ease;
}

.card-2-2 a.card-item:hover {
    background: rgb(var(--gray-dark-color));
}


.card-2-2 .small-title {
    font-size: 2rem;
}

.card-2-2 .card-header i {
    font-size: 3rem;
}

@media only screen and (max-width: 580px) {
    .card-2-2 .small-title {
        font-size: 1.5rem;
    }
    
}

/* Split wrapper 
========================================================================== */
.split-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.split-wrapper.reverse {
    flex-direction: row-reverse;
}

.split-content {
    width: 50%;
    padding: 5rem;
}

.split-image {
    width: 50%;
    border-radius: 3px;
    overflow: visible
}

.split-image::before {
    content: '';
    position: absolute;
    top: 4rem;
    left: -8rem;
    width: 15rem;
}

.split-image::after {
    content: '';
    position: absolute;
    bottom: 4rem;
    right: -8rem;
    width: 15rem;
}

/* Centrera content */
.split-wrapper .align-center {
    align-self: center;
}

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

    .split-wrapper,
    .split-wrapper.reverse {
        flex-direction: column;
        background: transparent;
    }

    .split-content {
        width: 100%;
        padding: 0 0 3rem;
        background: transparent;
    }

    .split-image {
        width: 100%;
    }

    /* Centrera content */
    .split-wrapper .align-center {
        align-self: flex-start;
    }

    .split-image::after {
        right: -1rem;
    }

    .split-image::before {
        left: -1rem;
    }
}

/* Header / Navigation
========================================================================== */
header {
    background-color: rgb(var(--gray-dark-color));
}

/* Logo */
.header-logo {
    flex: 1 1 0;
}

.header-logo img {
    padding: 0;
}

/* Nav */
.TemplateMenu a {
    font-size: 1.4rem;
    font-weight: 600;
}

/* CTA  */
.header-cta-wrapper {
    z-index: 9;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1 1 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

/* Mobilmeny */
.mobile-menu .TemplateMenu {
    text-align: center;
}

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

    /* CTA  */
    .header-cta-wrapper .btn {
        padding: 0.7rem 1.5rem;
    }
}

/* Popup-notis
========================================================================== */
.EditMode .popup-wrapper {
    display: none;
}

.popup-wrapper {
    z-index: 8;
    position: fixed;
    bottom: 3rem;
    right: 3rem;
}

/* Knappar */
.popup-button {
    position: relative;
    appearance: none;
    width: 5rem;
    height: 5rem;
    background: radial-gradient(circle, rgba(var(--primary-color)) 0%, rgba(var(--primary-dark-color)) 66%);
    border-radius: 50%;
    box-shadow: 0 0 3rem rgba(var(--black-color), .3);
    border: none;
    cursor: pointer;
}

.popup-button i {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2.8rem;
    transform: translate(-50%, -50%);
    transition: .3s ease;
    color: rgb(var(--black-color));
}

.popup-wrapper .popup-button .icon-open,
.popup-wrapper.opened .popup-button .icon-close {
    transform: translate(-50%, -50%) scale(1);
}

.popup-wrapper.opened .popup-button .icon-open,
.popup-wrapper .popup-button .icon-close {
    transform: translate(-50%, -50%) scale(0);
}

/* InnehÃ¥ll */
.popup-window {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    right: 0;
    bottom: 6rem;
    width: 350px;
    max-width: calc(100% - 2rem);
    max-height: calc(100vh - 12rem);
    margin: 0 2rem;
    background: rgb(var(--white-color));
    border-radius: 3px;
    box-shadow: 0 0 3rem rgba(var(--black-color), .3);
    transition: opacity .3s ease, bottom .3s ease;
}

.popup-wrapper.opened .popup-window {
    opacity: 1;
    visibility: visible;
    display: block;
    bottom: 10rem;
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem 1rem 2rem;
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

.popup-header .text-title {
    padding: 0;
    line-height: 1;
}

.icon-close-popup {
    appearance: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: none;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
}

.icon-close-popup:hover {
    background-color: rgb(var(--gray-light-color));
}

.popup-content {
    padding: 1rem 2rem 3rem;
    max-height: 30rem;
    overflow: auto;
    color: rgb(var(--black-color));
}

.popup-header h2,
.popup-content p {
    color: rgb(var(--black-color));
}


/* ==========================================================================
Startsida 
========================================================================== */

/* Top-section
========================================================================== */
.top-section {
    background-image: linear-gradient(0deg, rgb(var(--black-color), 1) 0, rgb(var(--black-color), .7) 10%, rgb(var(--black-color), 0) 100%);
}

.top-section .section-block {
    display: flex;
    align-items: flex-end;
    min-height: 100vh;
    margin-top: calc(-1 * var(--menu-height));
    background: linear-gradient(to top right, rgb(var(--black-color), 1) 0%, rgb(var(--black-color), .6) 35%, rgb(var(--black-color), 0) 100%);
}

.top-section .section-block-wrapper {
    width: 100%;
}

.top-section .section-title {
    font-size: 5rem;
}

.top-section p {
    font-size: 2rem;
}

.top-section .bg-image-wrapper img {
    object-position: 90% 50%;
}

@media only screen and (max-width: 1024px) {
    .top-section .section-block {
        min-height: 90vh;
    }

    .top-section .section-title {
        font-size: 2.3rem;
    }
}

/* Utbud
========================================================================== */
.cards-wrapper.treatments-wrapper .card-item {
    width: calc(100% / 3 - 6rem);
    padding: 5rem 3rem;
    margin: 0 3rem;
}

.treatments-wrapper .card-item:not(:nth-last-child(-n+3)) {
    border-bottom: 4px double rgb(var(--primary-color));
}

.cards-wrapper.treatments-wrapper a.card-item:hover {
    background: rgb(var(--gray-dark-color));
}

@media only screen and (max-width: 1500px) {
    .cards-wrapper.treatments-wrapper .card-item {
        width: calc(100% / 3 - 2rem);
        margin: 0 1rem;
    }
}

@media only screen and (max-width: 1200px) {
    .cards-wrapper.treatments-wrapper {
        justify-content: center;
    }

    .cards-wrapper.treatments-wrapper .card-item {
        width: calc(100% / 2 - 2rem);
        margin: 0 1rem;
    }
}

@media only screen and (max-width: 750px) {
    .cards-wrapper.treatments-wrapper .card-item {
        width: 100%;
        padding: 3rem 1rem;
        margin: 0;
    }

    .treatments-wrapper .card-item:not(:last-child) {
        border-bottom: 4px double rgb(var(--primary-color));
    }
}

/* Omdomen
========================================================================== */
.quote-wrapper {
    max-width: 100rem;
}

.quote-wrapper .slick-list {
    width: 100%;
}

.quote-wrapper .slick-track {
    display: flex;
    align-items: center;
}

.stars i {
    font-size: 2rem;
    margin: 0 4px 2rem;
}

.quote-wrapper p {
    font-size: 3rem;
    font-family: "Limelight", cursive;
}

@media only screen and (max-width: 1100px) {
    .quote-wrapper p {
        font-size: 2rem;
    }
}

/* Instagram
========================================================================== */
.section-instagram {
    overflow: hidden;
}

#eapps-instagram-feed-1 .eapps-instagram-feed-posts-item {
    border-radius: 3px;
    overflow: hidden;
}

/* ==========================================================================
Footer
========================================================================== */
footer {
    display: none;
}