/* Tegelhantverk i Stockholm AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 234, 57, 0;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 130, 130, 130;
    --gray-light-color: 222, 222, 222;
    --white-color: 255, 255, 255;

    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 7rem;
    --menu-height-scrolled: 7rem;
    --section-width: 140rem;

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

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

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

/* Layout
========================================================================== */
.section-block {
    padding: 13rem 6rem;
}

/* Ovriga klasser */
.align-center {
    align-items: center;
}

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

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

/* Rubriker */
.text-label {
    font-size: 3rem;
    color: rgb(var(--black-color));
    font-family: "Praise", cursive;
}

.section-title {
    padding-bottom: 2rem;
    font-size: 6rem;
    line-height: 1.2;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
}

/* Brodtext och lankar */
p,
li {
    color: rgb(var(--gray-dark-color));
    font-size: 1.7rem;
    font-weight: 300;
    line-height: 1.8;
}

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

.text-block-center {
    max-width: 90rem;
    margin: 0 auto;
}

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

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

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

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

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

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    max-width: 50rem;
    width: auto;
    padding: 1.4rem 3rem;
    margin: 5px;
    border-radius: 0.4rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: all .4s ease;
    letter-spacing: .2em;
    line-height: 1.3;
    font-weight: 400;
    font-size: 1.3rem;
    color: rgb(var(--white-color));
}

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

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

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

/* Cirkelikon */
.circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin: .5rem;
    color: rgb(var(--white-color));
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
    transition: .3s ease;
}

.circle-icon em:before,
.circle-icon i:before {
    font-size: var(--base-size);
}

/* Arrow link */
.arrow-link {
    color: rgb(var(--white-color));
    padding-right: 3rem;
}

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

.arrow-link:hover::after {
    transform: translateX(1rem);
    transition: transform .4s ease;
}

@media only screen and (max-width: 1150px) {
    .circle-icon {
        margin-right: 2rem;
    }
}

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

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

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

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

/* Grafiska element
========================================================================== */


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

/* Crossfade */
.bg-crossfade {
    position: relative;
    background: linear-gradient(90deg, rgba(var(--black-color), .2) 0%, rgba(var(--black-color), .5) 0%, rgba(var(--black-color), 0) 50%);
}

.fade-slider {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fade-slider div {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.fade-slider.slick-slider {
    position: absolute;
}

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

.parallax .section-block {
    min-height: 55rem;
}

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

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

/* Bredder */
.cards-wrapper.w-100 .card-item {
    width: 100%;
}

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

/* Card 2-4 */
.card-2-4 .card-item {
    display: flex;
}

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

.card-2-4 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 7rem;
    height: 6rem;
    border-radius: 50%;
}

.card-2-4 .card-header i {
    font-size: 3rem;
    color: rgb(var(--black-color));
}

.card-2-4 .card-body {
    flex: 1 1 0px;
}

.card-2-4 .card-body p {
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 600;
    padding-bottom: 0;
}

.card-2-4 .text-small {
    font-size: 1.4rem;
}

@media only screen and (max-width: 980px) {
    .card-2-4 .card-item {
        display: block;
        height: 10rem;
    }
}

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

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

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

.split-image {
    width: 50%;
}

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

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

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

    .split-content {
        width: 100%;
        text-align: center;
    }

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

@media only screen and (max-width: 700px) {
    .split-content {
        padding: 6rem 2rem;
    }
}

@media screen and (max-width: 580px) {
    .split-wrapper {
        background: transparent;
    }
}

/* Header / Navigation
========================================================================== */
header {
    border-bottom: 1px solid rgb(var(--gray-light-color));
    padding: 0 1rem;
}

header:not(.scrolled) {
    border-color: transparent;
    background-color: transparent;
}

header .container {
    max-width: none;
}

/* Logo */
.header-logo {
    margin: 0 auto 0 0;
}

.header-logo img {
    padding: 1.5rem 0 0 0;
}

/* Nav */
.TemplateMenu a {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.2rem;
}

header:not(.scrolled, .mobile-menu) .TemplateMenu>li:not(.active)>a:not(:hover) {
    color: rgb(var(--white-color));
}

/* CTA  */
.header-cta-wrapper {
    position: relative;
    z-index: 9;
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0rem -0.5rem 0 2rem;
    padding-left: 1rem;
    opacity: 1;
    transition: .3s ease;
}

.active-menu .header-cta-wrapper {
    opacity: 0;
}

/* Mobilmeny */
.mobile-menu.scrolled:not(.active-menu) {
    --menu-color: var(--black-color);
}

.mobile-menu .mainmenu {
    padding-top: calc(var(--mobile-menu-height) + 2rem);
    padding-bottom: calc(var(--mobile-menu-height) + 2rem);
}

.mobile-menu .TemplateMenu li {
    padding: 0 2rem;
    height: auto;
    text-align: center;
    color: rgb(var(--white-color));
}

/* Nav */
.mobile-menu .TemplateMenu a {
    font-family: "Oswald", sans-serif;
    font-weight: 800;
    font-size: 5rem;
    padding: 6rem 0;
}

.mobile-menu .mainmenu .Padding {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    justify-content: center;
}

@media only screen and (max-width: 550px) {
    .mobile-menu .TemplateMenu a {
        font-size: 3rem;
        padding: 3rem;
    }

    .header-logo img {
        max-width: 20rem;
        min-width: 20rem;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    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 .text-block-center {
    max-width: 100rem;
}

.top-section .section-title {
    font-size: 7rem;
    font-weight: 800;
    padding-bottom: 2rem;
    line-height: 1.2;
}

@media only screen and (max-width: 1080px) {
    .top-section .text-block-center {
        max-width: 55rem;
    }

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

@media only screen and (max-width: 600px) {
    .top-section .section-title {
        font-size: 3.5rem;
        line-height: 1.4;
    }

    .top-section .btn {
        width: 100%;
        margin: 10px 0;
    }
}

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

/* kontakta oss
========================================================================== */
.section-contact .section-block {
    padding: 10rem 2rem 0;
}

.section-contact .section-block-wrapper {
    background-color: rgb(var(--white-color));
    padding: 3rem;
    border-radius: 5px;
    max-width: 140rem;
}

.section-contact .section-block-wrapper .col-0 {
    border-right: 1px solid rgb(var(--black-color));
}

.section-contact .section-block-wrapper .col-1 {
    padding: 5rem 2rem 5rem 5rem;
}

.section-contact .section-block-wrapper .cards-wrapper {
    margin-left: -2rem;
}

/* Formulär */
.ContactForm p {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-bottom: 1rem;
}

.ContactForm input[type="text"],
.ContactForm input[type="email"],
.ContactForm input[type="tel"],
.ContactForm textarea {
    border-radius: 0.5rem;
    border: 1px solid rgb(var(--gray-light-color));
}

.ContactForm input[type="text"]:not(.illegal),
.ContactForm input[type="email"]:not(.illegal),
.ContactForm input[type="tel"]:not(.illegal),
.ContactForm textarea:not(.illegal) {
    background-color: rgb(var(--white-color));
}

.ContactForm textarea {
    height: 15rem;
}

/* knapp i formulär */
.ContactForm .submit-button-container {
    display: flex;
    justify-content: end;
}

@media only screen and (max-width: 980px) {
    .section-contact {
        background-color: rgb(var(--white-color));
    }

    .section-contact .section-block {
        padding: 0;
    }

    .section-contact .section-block-wrapper {
        flex-direction: column-reverse;
        padding-bottom: 50px;
    }

    .section-contact .section-block-wrapper .col-0 {
        border-right: none;
    }

    .section-contact .section-block-wrapper .col-1 {
        text-align: center;
        padding: 5rem 2rem;
    }

    .section-contact .section-block-wrapper .cards-wrapper {
        margin: 0 auto;
    }

    .ContactForm {
        width: 60rem;
        margin: 0 auto;
    }

    .ContactForm .submit-button-container {
        justify-content: center;
    }
}

@media only screen and (max-width: 760px) {
    .section-contact .section-block-wrapper {
        padding: 1rem;
    }

    .ContactForm {
        width: 100%;
        margin: 0 auto;
        padding-bottom: 6rem;
    }
}

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

/* Footer bottom */
.footer-bottom {
    padding: 3rem 0;
    text-align: center;
    line-height: 0.5;
}

.footer-bottom p {
    font-size: 1.4rem;
    color: rgb(var(--white-color));
    padding-bottom: 0;
}

.footer-bottom a {
    font-size: 1.9rem;
    color: rgb(var(--white-color));
}

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

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