/* RE:DO Foods AB */

/* Modal */
@import url('https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.css'); 

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

/* Typsnitt */
@font-face {
    font-family: 'MADE soulmaze';
    src: url(/assets/fonts/made-soulmaze.otf);
}

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 218, 56, 138;
    --secondary-color: 99, 35, 62;

    --accent-blue-color: 171, 205, 242;
    --accent-green-color: 168, 192, 173;
    --accent-purple-color: 195, 181, 206;
    --accent-yellow-color: 251, 208, 129;

    --black-color: 17, 17, 17;
    --white-color: 255, 255, 255;

    /* 	Layout  */
    --col-padding: 9rem;
    --menu-height: 6rem;
    --menu-height-scrolled: 6rem;
    --section-width: 120rem;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 2500;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg: var(--accent-blue-color), .7;
    --menu-color: var(--white-color);
}

@media only screen and (max-width: 1200px) {
    :root {
        --col-padding: 6rem;
    }
}

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

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

.section-block-wrapper {
    margin: 0;
}

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

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

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

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

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

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

/* Margins */
.m-auto {
    margin: auto;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mb-5 {
    margin-bottom: 5rem;
}

/* Bredder */
.mw-none .section-block-wrapper {
    max-width: none;
}

.mw-1000, .mw-1000 .section-block-wrapper {
    max-width: 100rem;
}

.mw-900, .mw-900 .section-block-wrapper {
    max-width: 90rem;
}

/* Ovrigt */
.justify-center {
    justify-content: center;
}

.align-end,
.align-end .section-block-wrapper {
    align-content: end;
}

@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;
    color: rgb(var(--secondary-color));
}

/* Rubriker */
.section-title {
    padding-bottom: 0.4em;
    font-size: 3.8rem;
    font-weight: 500;
    line-height: 1.2;
    font-family: 'MADE soulmaze', sans-serif;
}

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

.small-title {
    padding-bottom: .4em;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.2;
    font-family: 'MADE soulmaze', sans-serif;
}

.text-label {
    padding-bottom: .7em;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.2;
    font-family: 'MADE soulmaze', sans-serif;
}

/* Brodtext och lankar */
p {
    line-height: 1.7;
}

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

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

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

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

.text-italic {
    font-style: italic;
}

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

    .section-title.big {
        font-size: 4rem;
    }

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

    .text-label {
        font-size: 1.7rem;
    }
}

/* Knappar och speciella lankar
========================================================================== */
.btn-wrapper.center {
    text-align: center;
}

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

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

.btn-primary-filled:hover,
.ContactSubmit:hover,
.ContactSubmit:focus  {
    border-color: rgb(var(--secondary-color));
    background-color: rgb(var(--secondary-color));
}

/* Arrow link */
.arrow-link {
    margin: 1rem 2rem 0 0;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

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

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

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

.circle-icon:hover {
    background-color: rgb(var(--secondary-color));
}

.circle-icon em:before,
.circle-icon i:before {
    font-size: 1.5rem;
}

@media only screen and (max-width: 680px) {
    .circle-icon {
        width: 3.5rem;
        height: 3.5rem;
    }

    .circle-icon em:before,
    .circle-icon i:before {
        font-size: 1.2rem;
    }
}

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

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

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

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

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

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

/* Grafiska element
========================================================================== */
/* Badge */
.badge-wrapper {
    position: relative;
}

.badge {
    z-index: 2;
    position: absolute;
    top: -10rem;
    right: -15rem;
    padding: .5rem 1.5rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    border-radius: 0 .5rem .5rem 0;
}

.badge img {
    width: 17rem;
}

@media screen and (max-width: 680px) {
    .badge {
        top: -8rem;
        right: 0;
    }

    .badge img {
        width: 8rem;
    }
}

/* Lines */
.lines-wrapper {
    position: relative;
}

.lines {
    z-index: 2;
    position: absolute;
    display: flex;
    bottom: 0;
    width: 100%;
    overflow: hidden;
}

.lines img {
    min-width: 80vw;
}

@media screen and (max-width: 1400px) {
    .lines img {
        min-width: 100vw;
    }
}

@media screen and (max-width: 580px) {
    .lines img {
        min-width: 250vw;
    }
}

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

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

.bg-video-wrapper {
    width: 101%;
    height: 100%;
}

.bg-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin-bottom: -1rem;
}

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

.parallax .section-block {
    min-height: 40rem;
    align-content: center;
}

/* Bilder */
.parallax-blue {
    background-image: url('/assets/images/backgrounds/redo-background-blue.jpg');
}

.parallax-green {
    background-image: url('/assets/images/backgrounds/redo-background-green.jpg');
}

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

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

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

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

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

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

@media only screen and (max-width: 580px) {
    .cards-wrapper.w-25 .card-item {
        width: 80%;
        margin: 1rem 0;
    }
}

/* Card 2-5 */
.card-2-5 .card-item {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.card-2-5 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
}

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

.card-2-5 .card-body {
    padding: 0 2rem;
}
  
.card-2-5 .card-item:hover p {
    color: rgb(var(--primary-color));
}

/* Card 3-3 */
.card-3-3 a.card-item {
    text-decoration: none;
}

.card-3-3 .image-wrapper:hover {
    transform: scale(102%);
    transition: transform .2s ease-in-out;
}

.card-3-3 .card-body {
    padding: 1rem 2rem;
}

.card-3-3 .text-label {
    font-size: 2rem;
}

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

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

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

.split-image {
    width: 50%;
}

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

@media screen and (max-width: 1200px) {
    .split-wrapper,
    .split-wrapper.reverse {
        flex-direction: column;
        background: transparent;
    }

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

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

    .split-image {
        width: 100%;
    }

    .full-width .split-content {
        padding: 6rem 3rem;
    }
}

@media screen and (max-width: 580px) {
    /* Split i full-width sektion */
    .mw-none.pl-0 .split-content {
        padding: 0 2rem 3rem;
    }

    /* Text i split-image */
    .split-image .text-block {
        padding: 2rem;
    }

    .split-image .text-block .small-title {
        font-size: 2rem;
    }

    .full-width .split-content {
        padding: 6rem 2rem;
    }
}

/* Modal
========================================================================== */
.modal {
    max-width: 75rem;
    width: 100%;
    max-height: 75vh;
    padding: 4rem;
    border-radius:0;
    box-shadow: none;
    overflow: auto;
}

.blocker {
    z-index: 100;
}

.modal a.close-modal {
    display: none;
}

.modal .custom-close-modal {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 3rem;
}

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

    .blocker {
        padding: 1rem;
    }
}

/* Header / Navigation
========================================================================== */
header {
    background-color: transparent;
    padding: 0 3rem;
}

header .container {
    max-width: none;
}

.TemplateMenu li {
    padding-right: 3rem;
    color: rgb(var(--white-color));
}

.mobile-menu .TemplateMenu a,
.TemplateMenu a {
    font-size: 3rem;
    text-align: right;
}

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

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

/* Top-section
========================================================================== */
.top-section {
    margin-top: calc(-1 * var(--mobile-menu-height));
}

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

.top-section .bg-video-wrapper {
    height: 95vh;
}

.top-section .bg-video-wrapper video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translate(-50%,-50%);
}

@media screen and (max-width: 750px) {
    .top-section .bg-video-wrapper {
        height: 100%;
    }

    .top-section .bg-video-wrapper video {
        position: unset;
        width: 100%;
        height: 100%;
        object-fit: contain;
        margin-bottom: -1rem;
        transform: unset;
    }
}

/* Section-split
========================================================================== */
.section-split .section-block-wrapper {
    min-height: 55vh;
}

@media screen and (max-width: 1200px) {
    .section-split .split-wrapper {
        flex-direction: row;
    }

    .section-split .split-image,
    .section-split .split-content {
        width: 50%;
    }
}

@media screen and (max-width: 980px) {
    .section-split .split-content {
        width: 100%;
    }
}

@media screen and (max-width: 580px) {
    .section-split .split-image {
        width: 100%;
    }
}

/* Section-slider
========================================================================== */
.section-slider .split-wrapper {
    justify-content: flex-end;
}

.section-slider .split-image {
    height: fit-content;
    justify-content: start;
    width: 30%;
}

.section-slider .split-content {
    width: 70%;
    padding: 6rem 20rem;
}

.slick-slider .slick-list {
    width: 100%;
}

.section-slider .text-block {
    max-width: 44rem;
}

@media screen and (max-width: 1200px) {
    .section-slider .split-image,
    .section-slider .split-content {
        width: 100%;
    }

    .section-slider .split-content {
        padding: 6rem 3rem;
    }
}

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

/* ==========================================================================
Undersidor
========================================================================== */

/* Hero - Grundkod
========================================================================== */
.hero {
    padding-top: var(--mobile-menu-height);
    margin-top: calc(-1 * var(--mobile-menu-height));
}

.hero .section-block {
    min-height: 47vh;
}

@media screen and (max-width: 580px) {
    .hero .section-block {
        min-height: 27vh;
    }
}

/* ==========================================================================
Undersida: About
========================================================================== */
.section-about .image-wrapper {
    display: flex;
    justify-content: end;
}

.section-about .image-wrapper img {
    max-width: 17rem;
    margin-top: -3rem;
    margin-right: -5rem;
}

@media only screen and (max-width: 980px) {
    .section-about .image-wrapper {
        justify-content: start;
    }

    .section-about .image-wrapper img {
        margin: 0 0 3rem;
    }
}

/* ==========================================================================
Undersida: Products
========================================================================== */
.section-products .cards-wrapper {
    margin-bottom: 8rem;
}

@media only screen and (max-width: 580px) {
    .section-products .cards-wrapper {
        margin-bottom: 5rem;
    }
}

/* innehallsforteckning
========================================================================== */
.table {
    width: 100%;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.row:nth-child(odd):not(.table-heading) {
    background-color: rgb(var(--secondary-color), .1);
}

.cell {
    width: calc(100% / 4);
    padding: 1rem 1rem 1rem 1.5rem;
}

.cell:first-child {
    width: calc(100% / 2);
}

@media only screen and (max-width: 750px) {
    .cell {
        padding: 1rem;
    }

    .cell p {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
Undersida: Where to find us
========================================================================== */
.section-map .btn {
    min-width: unset;
    font-size: 1.9rem;
    font-weight: unset;
    text-transform: none;
    font-family: 'MADE soulmaze', sans-serif;
}

.section-map .btn-wrapper div {
    display: inline-block;
}

.section-map .btn-wrapper div:hover {
    background-color: rgb(var(--primary-color));
    border-color: rgb(var(--primary-color));
}

@media only screen and (max-width: 580px) {
    .section-map .btn-wrapper div {
        display: block;
    }

    .section-map .btn {
        font-size: 1.6rem;
        margin-right: 0;
    }
}

/* ==========================================================================
Undersida: Foreningsforsaljning
========================================================================== */
.accordion-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.accordion-item {
    width: 100%;
    padding-bottom: 2rem;
}

.accordion-header {
    position: relative;
    width: 100%;
    padding: 0 5rem 0 0;
    text-decoration: none;
    border-bottom: 2px solid rgb(var(--secondary-color));
}

.accordion-header::after {
    content: "\f0dd";
    position: absolute;
    top: .3rem;
    right: 2rem;
    font-size: 2rem;
    font-weight: bolder;
    font-family: "Font Awesome 5 Pro";
    transition: .5s ease;
}

.accordion-item.active .accordion-header::after {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 2rem 0;
}

.accordion-body p {
    font-size: 1.5rem;
}

@media only screen and (max-width: 800px) {
    .accordion-wrapper.w-50 .accordion-item {
        width: 100%;
        margin: 1rem 0;
    }
}

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

    .accordion-header {
        padding: 0 3rem 1rem .5rem;
    }

    .accordion-header::after {
        right: .5rem;
    }

    .accordion-body {
        padding: 2rem 1rem;
    }
}

/* ==========================================================================
Undersida: skidor
========================================================================== */
/* @media only screen and (max-width: 1180px) {
.section-competition .section-block-wrapper {
    display: block; 
} 

.section-competition .col-block {
    padding: 0;
} 
} */

/* Formulär
========================================================================== */
.ContactForm {
    background-color: rgb(var(--white-color));
    padding: 3rem 2rem 1rem 2rem;
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .2);
    margin-bottom: 5rem;
    max-width: 50rem;
}

.ContactForm p {
    color: rgb(var(--secondary-color));
    line-height: 1.8;
    font-weight: 600;
    font-size: 1.5rem;
}

.ContactForm input[type="text"],
.ContactForm input[type="tel"],
.ContactForm input[type="email"] {
    border: none;
}

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


/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 6rem 8rem 0;
    background-color: rgb(var(--accent-blue-color));
}

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

.footer-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1.5rem;
}

/* Sociala medier */
.footer-socials {
    display: flex;
    width: fit-content;
}

.footer-socials .circle-icon {
    align-self: end;
}

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

.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 {
    width: 2.5rem;
    margin-left: 1rem;
    filter: invert();
}

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

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

    .footer-top {
        flex-direction: column;
    }

    .footer-socials {
        margin-top: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: start;
    }
}