/* Stockholms Stenugnsbageri AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 139, 143, 103;
    --secondary-color: 238, 224, 204;

    --accent-brown-color: 70, 57, 43;
    --accent-brown-light-color: 94, 72, 45;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 68, 68, 68;
    --gray-light-color: 243, 241, 237;
    --white-color: 255, 255, 255;

    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 10rem;
    --menu-height-scrolled: 10rem;
    --section-width: 100rem;

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

    /* 	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.5rem;
    }
}

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

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

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

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

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


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

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

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

/* Rubriker */
.section-title {
    padding-bottom: .5em;
    font-size: 5.5rem;
    font-weight: 200;
    line-height: 1.2;
    font-family: 'Yantramanav', sans-serif;
    color: rgb(var(--accent-brown-light-color));
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
    font-family: 'Yantramanav', sans-serif;
    color: rgb(var(--accent-brown-light-color));
}

.text-title {
    padding-bottom: .5em;
    font-size: var(--base-size);
    font-weight: 700;
    text-transform: uppercase;
    color: rgb(var(--accent-brown-light-color));
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.2rem 2rem;
    margin: 5px;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 2rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: all .4s ease;
}

.btn-primary-filled,
.ContactSubmit {
    color: rgb(var(--white-color));
    border: 1px solid rgb(var(--primary-color));
    background-color: rgb(var(--primary-color));
}

.btn-primary-filled:hover,
.ContactSubmit:hover {
    color: rgb(var(--primary-color));
    border: 1px solid rgb(var(--primary-color));
    background-color: transparent;
}

.btn-secondary-filled {
    color: rgb(var(--accent-brown-light-color));
    border: 1px solid rgb(var(--secondary-color));
    background-color: rgb(var(--secondary-color));
}

.btn-secondary-filled:hover {
    color: rgb(var(--secondary-color));
    border: 1px solid rgb(var(--secondary-color));
    background-color: transparent;
}

/* Farger
========================================================================== */
/* Bakgrunder */
.bg-primary {
    background-color: rgb(var(--primary-color));
}

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

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

/* Text */
.text-white {
    color: rgb(var(--white-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%;
}

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

@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 {
    text-decoration: none;
}

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

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

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

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

    /* 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,
    .cards-wrapper .card-item.w-50 {
        width: 100%;
        margin: 1rem 0;
    }
}

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

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

@media screen and (max-width: 1300px) {
    .split-content {
        padding: 3rem;
    }
}

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

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

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

    .split-image {
        width: 100%;
        min-height: 20rem;
    }

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

/* Header / Navigation
========================================================================== */
header:not(.scrolled) {
    opacity: 0;
}

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

header .container {
    justify-content: center;
}

/* Logo */
header .logo img {
    height: calc(var(--menu-height) - 2rem);
}

/* Nav */
.TemplateMenu a {
    padding: 0 2rem;
    margin: 0 .5rem;
    font-size: 1.6rem;
    font-weight: 400;
    color: rgb(var(--gray-dark-color));
    text-transform: uppercase;
}

header .TemplateMenu>li>a,
header.scrolled .TemplateMenu>li>a {
    margin: 1rem .5rem;
    line-height: calc(var(--menu-height) - 2rem);
}

.TemplateMenu li.active>a:not(.logo),
.TemplateMenu a:not(.logo):hover {
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color));
}

/* Mobilmeny */
.mobile-menu {
    display: none;
}

/* .mobile-menu .TemplateMenu li {
    padding: 0 2rem;
    text-align: center;
}

.mobile-menu .TemplateMenu>li>a,
.mobile-menu.scrolled .TemplateMenu>li>a {
    margin: 0;
}

.mobile-menu .logo img {
    display: none;
} */

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin-top: calc(var(--menu-height) * -1);
    background-image: url('/assets/images/nybakat-brod-1800px.jpg');
}

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

.top-section .text-block-center {
    max-width: 60rem;
    border-radius: 2rem;
}

.top-section .section-title span:nth-child(1) {
    display: block;
    font-size: 6rem;
    font-weight: 400;
    text-transform: uppercase;
    font-family: 'Nunito', sans-serif;
}

.top-section .section-title span:nth-child(2) {
    display: block;
    font-size: 3.8rem;
    font-weight: 300;
    font-family: 'Nunito', sans-serif;
}

@media only screen and (max-width: 680px) {
    .top-section .section-title span:nth-child(1) {
        font-size: 3rem;
    }

    .top-section .section-title span:nth-child(2) {
        font-size: 1.8rem;
    }
}

/* Kunder
========================================================================== */
.logos-wrapper {
    justify-content: center;
}

.logos-wrapper .card-item {
    width: calc(100% / 7 - 2rem);
    height: 8rem;
    margin: 1rem;
}

@media only screen and (max-width: 1024px) {
    .logos-wrapper .card-item {
        width: calc(100% / 4 - 2rem);
        height: 5rem;
    }
}

@media only screen and (max-width: 480px) {
    .logos-wrapper .card-item {
        width: calc(100% / 3 - 1rem);
        margin: .5rem;
    }
}

/* Kontakt
========================================================================== */

/* Formular */
.ContactForm input[type="text"],
.ContactForm input[type="number"],
.ContactForm input[type="email"],
.ContactForm input[type="tel"],
.ContactForm input[type="date"],
.ContactForm input[type="datetime-local"],
.ContactForm select,
.ContactForm textarea,
.ContactForm .file-item,
.ContactForm .file-dropzone {
    border-color: transparent
}

/* ==========================================================================
Footer
========================================================================== */
footer {
    padding: 8rem 2rem;
    background-color: rgb(var(--accent-brown-color));
}

footer a {
    text-decoration: none;
}

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

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

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