/* Santa gilda foodtruck */

/* Animationer */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 236, 86, 123;
    --secondary-color: 0, 175, 194;

    --accent-blue-color: 66, 191, 249;
    --accent-yellow-color: 254, 237, 145;
    --accent-green-color: 88, 221, 116;
    --accent-purple-color: 162, 144, 254;
    --accent-pink-color: 232, 135, 214;

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

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

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

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

/* Layout
========================================================================== */
body {
    background-image: url('/assets/images/graphics/mexikanska-ikoner.png');
    background-repeat: repeat;
    background-attachment: fixed;
}

main {
    color: rgb(var(--white-color));
    background-color: rgb(var(--secondary-color), .9);
}

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

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

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

.pl-0 .section-block,
.pl-0:not(.section-wrapper) {
    padding-left: 0;
}

.pr-0 .section-block,
.pr-0:not(.section-wrapper) {
    padding-right: 0;
}

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

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

/* Ovriga klasser */
.of-hidden {
    overflow: hidden;
}

@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: 'Poppins', sans-serif;
}

/* Rubriker */
.text-label {
    padding: 0;
    margin-bottom: .5rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
}

.text-label span {
    display: inline-block;
    padding: 5px 1.2rem;
    background-color: rgb(var(--primary-color));
    border-radius: 1rem;
}

.section-title {
    margin: 0 0 .3em -1.9rem;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.section-title span {
    display: inline-block;
    padding: 5px 1.5rem;
    background-color: rgb(var(--primary-color));
    border-radius: 1rem;
}

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

/* 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: 1200px) {
    .section-title {
        font-size: 3.8rem;
    }

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

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

    .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.4rem 2rem;
    margin: 5px;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    transition: all .4s ease;
    border-radius: 2rem;
}

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

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

/* Cirkelikon */
.square-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    padding: 0;
    margin: .5rem;
    font-size: 0;
    color: rgb(var(--black-color));
    text-decoration: none;
    background-color: rgb(var(--accent-yellow-color));
    transition: .3s ease;
    border-radius: 2rem;
}

.square-icon:hover {
    background-color: rgb(var(--accent-green-color));
}

.square-icon em:before,
.square-icon i:before {
    font-size: 1.8rem
}

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

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

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

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

/* Bakgrund på section-block */
.section-secondary {
    margin: 7rem 5rem 2rem;
}

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

@media only screen and (max-width: 1024px) {
    .section-secondary {
        margin: 7rem 3rem 2rem;
    }
}

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

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

/* Grafiska element
========================================================================== */
/* Border radius */
.br-2{
    border-radius: 2rem;
}

/* Flaggor på section-block */
.w-flags .section-block {
    position: relative;
}

.w-flags .section-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background-image: url(/assets/images/graphics/flags-left.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 0 0;
}

.w-flags .section-block::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background-image: url(/assets/images/graphics/flags-right.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 0 0;
}

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image {
    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;
}

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

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

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

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

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

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

/* Card 3-4 */
.card-3-4 .card-item {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.card-3-4 .border {
    border: .7rem solid rgb(var(--white-color));
}

.card-3-4 .image-wrapper {
    align-self: flex-start;
    width: 15rem;
    height: 15rem;
    border-radius: 50%;
    border: .3rem solid rgb(var(--white-color));
}

.card-3-4 .card-body {
    z-index: 1;
    position: relative;
    flex: 1 1 0px;
    padding-left: 3rem;
}

.card-3-4 .card-item.highlighted .card-body {
    padding-left: 0;
}

@media only screen and (max-width: 680px) {
    .card-3-4 .card-item {
        flex-direction: column;
    }

    .card-3-4 .image-wrapper {
        margin-bottom: 2rem;
    }

    .card-3-4 .card-body {
        padding-left: 0;
    }

    .card-3-4 .text-label {
        margin-left: -1.2rem;
    }
}

/* 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: 1024px) {

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

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

    .split-image {
        width: 100%;
    }

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

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

/* Header / Navigation
========================================================================== */
header {
    background-color: rgb(var(--secondary-color), .95);
}

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

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

.header-logo img {
    padding: 5px 0;
}

/* Nav */
.TemplateMenu a {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
}

header:not(.mobile-menu) .TemplateMenu a {
    padding: 0 3rem;
}

/* CTA */
.header-cta-wrapper {
    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 li {
    margin: 0 .5rem;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    line-height: 1;
}

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

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

    /* Nav */
    header:not(.mobile-menu) .TemplateMenu a {
        padding: 0 2rem;
    }
}

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

    /* CTA */
    .header-cta-wrapper li {
        margin: 0;
    }

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

    .header-cta-wrapper .square-icon {
        display: none;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: flex-start;
    min-height: 100vh;
    padding-top: var(--menu-height);
    margin-top: calc(var(--menu-height) * -1);
}

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

.top-section .text-wrapper {
    z-index: 1;
    position: relative;
}

.top-section .section-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
    font-size: 6.5rem;
    font-style: italic;
}

.top-section .section-title span {
    display: block;
    padding: 1.5rem 3rem;
    background-color: rgb(var(--primary-color));
    border-radius: 1rem;
}

.top-section .section-title span:nth-child(2) {
    margin-top: -1rem;
    margin-left: 5rem;
}

.top-section .text-block {
    max-width: 73rem;
    margin-left: 5rem;
}

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

/* Bild */
.truck-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 75vh;
    overflow: hidden;
}

.truck-wrapper .image-wrapper {
    height: 100%;
}

.truck-wrapper img {
    object-position: 100% 100%;
}

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

@media only screen and (max-width: 1300px) {
    .top-section .section-block {
        padding-left: 2rem;
        padding-right: 2rem;
    }

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

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

    .top-section .section-title span {
        padding: 1.5rem 2rem;
    }

    .top-section .section-title span:nth-child(2),
    .top-section .text-block {
        margin-left: 2.5rem;
    }
}

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

    .top-section .section-title span {
        padding: 1.2rem 1rem;
    }

    .top-section .section-title span:nth-child(1) {
        margin-left: -1.5rem;
    }

    .top-section .section-title span:nth-child(2),
    .top-section .text-block {
        margin-left: .5rem;
    }

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

/* Meny
========================================================================== */
.section-menu .card-item {
    z-index: 1;
    position: relative;
}

@media only screen and (max-width: 1250px) {
    .section-menu .cards-wrapper.w-50 {
        margin-left: 0;
        margin-right: 0;
    }

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

/* Instagram
========================================================================== */
.section-instagram .section-block-wrapper {
    padding: 2rem;
    background-color: rgb(var(--secondary-color));
}

.instagram-wrapper {
    position: relative;
}

.instagram-wrapper .section-title {
    z-index: 2;
    position: absolute;
    top: 2rem;
    font-size: 2.5rem;
    font-weight: 700;
}

/* Kontakt / Boka
========================================================================== */
.section-contact {
    padding-bottom: 10rem;
    margin-bottom: 0;
}

.section-contact .section-title {
    margin-left: 0;
    font-size: 6rem;
}

.section-contact .Contact {
    max-width: 100rem;
    margin: 5rem auto 0;
}

.section-contact .ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.section-contact .ContactForm>div {
    width: 49%;
}

.section-contact .ContactForm div.textarea-field,
.section-contact .ContactForm div.submit-button-container {
    width: 100%;
}

.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;
    border-radius: 1rem;
}

.ContactForm>div.submit-button-container {
    margin-bottom: 2rem;
}

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

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

    .section-contact .ContactForm>div {
        width: 100%;
    }
}

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

.footer-container {
    max-width: none;
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-top: 1px solid rgb(var(--white-color), .5);
}

.footer-bottom p,
.footer-bottom a {
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgb(var(--white-color));
}

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

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

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

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

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
    }

    /* WebbEss Stamp */
    .webbess-stamp {
        margin: 0 auto 2rem;
    }
}