/* Amandas Harstudio & Parfymeri AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 251, 238, 233;
    --primary-dark-color: 218, 180, 174;
    --secondary-color: 138, 198, 209;

    --black-color: 17, 17, 17;
    --gray-dark-color: 45, 54, 63;
    --gray-color: 116, 115, 115;
    --gray-light-color: 243, 241, 237;
    --white-color: 255, 255, 255;

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

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

    /* 	Mobile nav */
    --activate-mobile-menu: 980;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg: var(--white-color);
    --menu-color: var(--black-color);
}

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

/* Layout
========================================================================== */
.section-block {
    padding: 8rem 5rem;
}

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

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

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

/* Bredder */
.mw-800 {
    max-width: 80rem;
    margin: 0 auto;
}

/* Ovriga klasser */

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

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

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

/* Rubriker */
.text-label {
    padding-bottom: 1em;
    font-size: 1.6rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .2rem;
    line-height: 1.7;
}

.section-title {
    padding-bottom: .2em;
    font-size: 7rem;
    font-weight: 600;
    line-height: 1.2;
    font-family: "Allura", cursive;
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
    font-family: "Allura", cursive;
}

/* Brodtext och lankar */
p,
li,
a {
    color: rgb(var(--gray-dark-color));
    font-weight: 200;
    letter-spacing: .05em;
    line-height: 3rem;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

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

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

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

    /* Rubriker */
    .section-title {
        font-size: 3.8rem;
    }

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

/* Knappar och speciella lankar
========================================================================== */

/* Farger
========================================================================== */
/* Bakgrunder */
.bg-half-white-half-primary {
    background: linear-gradient(to right,
            rgb(var(--white-color)) 60%,
            rgb(var(--primary-color)) 60%);
}

.bg-half-white-half-half-primary {
    background:
        linear-gradient(to right,
            rgb(var(--white-color)) 60%,
            rgb(var(--primary-color)) 60%) top / 100% 60% no-repeat,
        rgb(var(--white-color));
}

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

.text-primary-dark {
    color: rgb(var(--primary-dark-color));
}

.text-secondary {
    color: rgb(var(--secondary-color));
}

.text-white {
    color: rgb(var(--white-color));
}

/* Grafiska element
========================================================================== */
.br-05 {
    border-radius: .5rem;
}

.br-2 {
    border-radius: 2rem;
}

.border-bottom-secondary {
    border-bottom: 1px solid rgb(var(--secondary-color));
}

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

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

/* Video */
.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 {
    min-height: 50rem;
    background-color: rgb(var(--black-color), .1);
}

/* Bilder */
.parallax-harfarg {
    background-image: url('/assets/images/harfarg-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;
}

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

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

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

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

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

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

/* Knappar */
.popup-button {
    position: relative;
    width: 7rem;
    height: 7rem;
    background: rgb(var(--secondary-color));
    border-radius: 50%;
    cursor: pointer;
}

.popup-button i {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 3rem;
    transform: translate(-50%, -50%);
    transition: .3s ease;
    color: rgb(var(--white-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;
    max-width: 65rem;
    max-height: calc(100vh - 15rem);
    padding: 3rem 4rem;
    margin: 0 2rem;
    background: rgb(var(--white-color));
    border-radius: 3rem 3rem 0 3rem;
    box-shadow: 0 0 300px rgb(var(--black-color), 0.2);
    overflow: auto;
    transition: opacity .3s ease, bottom .3s ease;
}

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

.icon-close-popup {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    cursor: pointer;
}

@media only screen and (max-width: 750px) {
    .popup-window {
        max-width: 40rem;
        padding: 2rem;
    }
}

@media only screen and (max-width: 450px) {
    .popup-window {
        max-width: 30rem;
    }

    .icon-close-popup {
        top: 1rem;
    }
}

/* Header / Navigation
========================================================================== */
header:not(.scrolled) {
    border-color: transparent;
    background-color: transparent;
}

header.scrolled {
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

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

.header-logo a {
    font-size: 4rem;
    font-weight: 700;
    text-decoration: none;
    color: rgb(var(--primary-dark-color));
    font-family: 'Allura', sans-serif;
}

/* Nav */
header:not(.scrolled, .mobile-menu) .TemplateMenu a,
header:not(.scrolled) .header-logo a {
    color: transparent;
}

header:not(.scrolled, .mobile-menu) .TemplateMenu img {
    opacity: 0;
}

/* Efter scroll */
.TemplateMenu a {
    font-weight: 400;
    font-size: 1.4rem;
    color: rgb(var(--black-color));
    text-transform: uppercase;
}

.TemplateMenu a:hover {
    color: rgb(var(--secondary-color));
    text-decoration: none;
}

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

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

    /* Header logo */
    .header-logo a {
        font-size: 3rem;
    }
}

@media only screen and (max-width: 420px) {
    header {
        padding: 0 1rem;
    }

    /* Header logo */
    .header-logo a {
        font-size: 2.5rem;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(110vh - var(--menu-height));
    padding-top: var(--menu-height);
    margin-top: calc(var(--menu-height) * -1);
    background-color: rgb(var(--black-color), .5);
}

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

.top-section .section-title {
    font-size: 13rem;
    font-weight: 400;
    padding-bottom: 1rem;
}

.top-section .text-label {
    font-size: 1.8rem;
    font-weight: 500;
    max-width: 70rem;
    margin: 0 auto;
}

.top-section .btn-primary-filled:hover {
    color: rgb(var(--white-color));
}

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

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

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

    .top-section .text-label {
        font-size: 1.5rem;
    }
}

/* Bild sektion 
========================================================================== */
.section-photo img {
    width: 100%;
    height: 55rem;
    object-fit: cover;
}

@media only screen and (max-width: 580px) {
    .section-photo img {
        height: 20rem;
    }
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 0 5rem;
    background-color: rgb(var(--primary-color));
}

.footer-container {
    max-width: 100rem;
    margin: 0 auto;
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 0 0;
}

.footer-menu {
    width: 20%;
}

.footer .small-title {
    padding: 0 0 1rem;
    line-height: 1;
}

.footer-submenu {
    padding: 0;
    margin: 0 0 3rem;
    list-style: none;
}

.footer-top li,
.footer-top p {
    text-decoration: none;
    color: rgb(var(--gray-color));
}

.footer-top a:hover {
    text-decoration: underline;
}

/* Footer bottom */
.footer-bottom {
    display: block;
    text-align: center;
    align-items: center;
    padding: 2rem 0;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 1.4rem;
    line-height: 1.6;
}

/* WebbEss Stamp  */
.footer .webbess-stamp {
    align-items: center;
    text-decoration: none;
}

.webbess-stamp img {
    width: 2.5rem;
    margin-left: 1rem;
    opacity: .6;
}

@media only screen and (max-width: 1200px) {
    .footer {
        padding: 0 3rem;
    }

    /* Footer top */
    .footer-menu {
        width: 33.333%;
    }
}

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

    /* Footer top */
    .footer-menu {
        width: 100%;
        padding-bottom: 2rem;
    }
}

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

    /* Footer top */
    .footer-top {
        padding: 5rem 0 0;
    }
}