/* TOKYO RAMEN AB */

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 202, 178, 156;
    --primary-dark-color: 158, 120, 84;

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

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

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1050;
    --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: 10rem 5rem;
}

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

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

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

/* Rubriker */
.text-label {
    font-size: 1.6rem;
    line-height: 1.7;
    font-weight: 600;
    text-transform: uppercase;
    color: rgb(var(--black-color));
    font-family: "Fira Sans", sans-serif;
}

.section-title {
    padding-bottom: 3rem;
    font-size: 5rem;
    font-weight: 400;
    line-height: 1.3;
    color: rgb(var(--black-color));
    font-family: "Cormorant Garamond", serif;
}

.small-title {
    padding-bottom: .3em;
    font-size: 3.8rem;
    line-height: 1.3;
    font-weight: 300;
    color: rgb(var(--black-color));
    font-family: "Cormorant Garamond", serif;
}

/* Brodtext och lankar */
p,
li {
    color: rgb(var(--gray-color));
    font-weight: 200;
}

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

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

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

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

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

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

@media only screen and (max-width: 580px) {
    .text-label {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 3.2rem;
    }

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

/* Knappar och speciella lankar
========================================================================== */
/* Knappar */
.btn {
    min-width: 15rem;
    padding: 1.2rem 2rem;
    margin: 5px;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 2rem;
    letter-spacing: 2px;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
    text-transform: uppercase;
}

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

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

/* Arrow link */
.arrow-link {
    font-size: var(--base-size);
    color: rgb(var(--primary-dark-color));
    font-weight: 600;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
}

.arrow-link:hover {
    color: rgb(var(--black-color));
}

.arrow-link::after {
    content: ' \f178';
    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;
}

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

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

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

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

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

/* Grafiska element
========================================================================== */
.border-primary-dark {
    border: 2px solid rgb(var(--primary-dark-color));
}

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

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

/* Bilder */
.parallax-ramen {
    background-image: url('/assets/images/tokyo-ramen-2000px.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-50 .card-item {
    width: calc((100% / 2) - 2rem);
    margin: 1rem;
}

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

/* Card 1-1 */
.card-1-1 .text-label {
    font-size: 2rem;
    padding-bottom: .5em;
}

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

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

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

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

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

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

header .container {
    justify-self: center;
}

/* Nav */
.TemplateMenu a {
    font-weight: 400;
    font-size: 1.3rem;
    color: rgb(var(--black-color));
    text-transform: uppercase;
    letter-spacing: 2px;
}

header:not(.scrolled, .mobile-menu) .TemplateMenu a {
    visibility: hidden;
    transition: opacity 0.4s ease;
}

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

/* CTA */
.header-cta-wrapper {
    position: absolute;
    right: 0;
    top: 0;
    list-style: none;
}

.header-cta-wrapper .btn {
    line-height: var(--menu-height);
    padding: 0 6rem;
    border-radius: 0 0 0 50px;
    margin: 0;
    font-size: 1.3rem;
    border: none;
}

/* Mobilmeny */
.mobile-menu .mainmenu .Padding {
    align-items: center;
    width: 100%;
    height: 100%;
    justify-content: center;
}

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

.mobile-menu .TemplateMenu a {
    font-family: "Cormorant Garamond", serif;
    font-size: 3.5rem;
    letter-spacing: 0.5rem;
    color: rgb(var(--primary-color));
    text-transform: none;
}

.mobile-menu .TemplateMenu a:hover {
    color: rgb(var(--primary-dark-color));
}

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

    /* CTA  */
    .header-cta-wrapper {
        display: none;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: calc(var(--menu-height) * -1);
}

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

.top-section .split-wrapper {
    min-height: 100vh;
}

.top-section .split-content {
    justify-items: center;
}

/* Text och typsnitt */
.top-section .text-label {
    letter-spacing: 0.9rem;
}

.top-section .section-title {
    font-size: 11rem;
    line-height: 1;
}

.top-section .small-title {
    letter-spacing: 0.2rem;
    font-weight: 500;
}

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

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

    .top-section .split-wrapper {
        min-height: unset;
    }

    .top-section .split-content {
        margin-top: var(--menu-height);
        padding-top: 8rem;
        padding-bottom: 8rem;
        width: 100%;
        text-align: center;
    }

    .top-section .split-image {
        width: 100%;
    }
}

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

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

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

/* Hero
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 30rem;
    margin-top: calc(var(--menu-height) * -1);
}

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

.hero .section-title {
    font-size: 5rem;
    color: rgb(var(--white-color));
    padding-bottom: 0;
}

@media only screen and (max-width: 1050px) {
    .hero {
        padding-top: var(--menu-height);
    }

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

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

/* Meny
========================================================================== */
/* Tabbval */
.tabs-wrapper {
    margin-bottom: 3rem;
}

.tabs-list {
    border-bottom: 1px dotted rgb(var(--primary-color));
}

.tab {
    display: inline-block;
    margin-right: 3rem;
    color: rgb(var(--gray-dark-color));
    font-size: 3.8rem;
    font-style: italic;
    letter-spacing: .1rem;
    cursor: pointer;
    padding-bottom: 1rem;
    font-family: "Cormorant Garamond", serif;
}

.tab:hover {
    color: rgb(var(--primary-color));
    transition: ease 0.2s;
}

.tab-active {
    color: rgb(var(--primary-color));
}

/* Innehall */
.tab-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.tab-col {
    width: calc((100% / 2) - 2rem);
}

.tab-col .tab-title {
    font-weight: 700;
    font-size: 3rem;
    color: rgb(var(--gray-dark-color));
    padding-bottom: 4rem;
    line-height: 1;
}

.tab-item {
    display: flex;
    flex-direction: column;
    padding-bottom: 4rem;
}

.tab-item .small-title {
    display: flex;
    justify-content: space-between;
    font-size: 2.6rem;
    letter-spacing: .2rem;
    line-height: 1;
    color: rgb(var(--black-color));
    font-weight: 400;
}

.tab-item .price {
    padding-left: 1rem;
    color: rgb(var(--primary-color));
}

.tab-item .description {
    font-size: 1.5rem;
    max-width: 40rem;
    padding-top: 2rem;
}

@media only screen and (max-width: 1050px) {
    .tab-container {
        padding: 1rem;
    }

    .tab-col {
        width: 100%;
    }
}

@media only screen and (max-width: 750px) {
    .tab-item .section-title {
        font-size: 2.5rem;
        margin-right: 2rem;
    }

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

    .tab-item .description {
        font-size: 1.3rem;
        padding-top: 1.5rem;
    }
}

@media only screen and (max-width: 480px) {
    .tab {
        font-size: 3rem;
        margin: 0 1.5rem;
    }

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

    .tabs-list .section-title {
        margin: 1rem;
    }
}

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

.footer-container {
    max-width: var(--section-width);
    margin: 0 auto;
}

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

.footer-menu {
    width: 25%;
    margin: 0 0 3rem;
}

.footer-menu-large {
    width: 30%;
}

.footer .section-title {
    padding: 0 0 1rem;
    line-height: 1;
    font-size: 2.5rem;
    font-weight: 400;
    color: rgb(var(--primary-dark-color));
}

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

.footer-top li,
.footer-top p,
.footer-top a {
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 300;
}

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

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

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

/* WebbEss Stamp */
.footer .webbess-stamp {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: rgb(var(--gray-color));
}

.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%;
    }

    .footer-menu-large {
        width: 100%;
        max-width: 55rem;
    }
}

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

    /* Footer top */
    .footer-menu,
    .footer-menu-large {
        width: 100%;
        text-align: center;
        justify-items: center;
    }
}

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

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

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

    .webbess-stamp {
        margin: 0 auto 2rem;
    }
}