/* Xin-Yan Handelsbolag */

/* Typsnitt */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&display=swap');

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

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 8rem;
    --menu-height-scrolled: 8rem;
    --section-width: 140rem;

    /* 	Colors */
    --primary-color: 241, 175, 177;
    --primary-light-color: 249, 220, 221;
    --secondary-color: 18, 16, 80;
    --secondary-light-color: 34, 30, 153;

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

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

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

/* Layout
========================================================================== */
body {
    background-color: rgb(var(--secondary-color));
}

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

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

.section-block-wrapper {
    max-width: var(--section-width);
}

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

/* Margins */
.mr-2 {
    margin-right: 2rem;
}

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

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

/* Rubriker */
.text-label {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    padding-bottom: 1em;
}

.section-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    padding-bottom: .5em;
}

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

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

a {
    font-size: inherit;
    font-weight: 400;
    text-decoration: underline;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

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

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

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

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

.btn-wrapper.center {
    justify-content: center;
}

/* Knappar */
.btn {
    min-width: 15rem;
    padding: 1.4rem 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    border-radius: 4rem;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

.btn-primary-filled {
    color: rgb(var(--secondary-color));
    background-color: rgb(var(--primary-color));
}

.btn-primary-filled:hover {
    background-color: rgb(var(--primary-light-color));
}

.btn-secondary-filled {
    color: rgb(var(--primary-color));
    background-color: rgb(var(--secondary-color));
}

.btn-secondary-filled:hover {
    background-color: rgb(var(--secondary-light-color));
}

@media only screen and (max-width: 480px) {
    .btn {
        display: block;
        width: 100%;
    }
}

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

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

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

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

/* Bakgrundsbild
========================================================================== */
.bg-image {
    position: relative;
    overflow: hidden;
}

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

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

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

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

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

/* Card 2-1 */
.card-2-1 a.card-item {
    text-decoration: none;
    transition: 0.5s ease;
}

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

.card-2-1 .card-header {
    margin-bottom: 2rem;
    font-size: 5rem;
}

/* Modal som öppnas automatiskt
========================================================================== */
  body:not(.EditMode) .section-auto-modal {
    display: none;
    z-index: 9;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(var(--black-color),.7);
  }

  body:not(.EditMode) .section-auto-modal .section-block {
    position: fixed;
    top: 50%;
    left: 50%;
    width: calc(100% - 4rem);
    max-width: 75rem;
    max-height: 75vh;
    padding: 4rem;
    border-radius:0;
    overflow: auto;
    background: rgb(var(--white-color));
    transform: translate(-50%,-50%);
  }

  .section-auto-modal .close-modal {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 3rem;
    cursor: pointer;
  }

  @media only screen and (max-width: 450px) {
    body:not(.EditMode) .section-auto-modal .section-block {
      padding: 3rem 2rem;
    }
  }


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

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

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

.split-image {
    width: 50%;
    border-radius: 1rem;
}

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

@media screen and (max-width: 1000px) {
    .split-content {
        width: 100%;
        padding: 0rem 0 4rem;
    }

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

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

    .split-content {
        padding: 0 0 3rem 0;
    }
}

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

header .container {
    padding: 0 5rem;
}

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

/* Nav */
.TemplateMenu a {
    font-weight: 600;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgb(var(--gray-dark-color));
}

.TemplateMenu>li>a:hover {
    color: rgb(var(--primary-color));
}

/* CTA  */
.header-cta-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0 0 0 2rem;
    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 .container {
    height: var(--mobile-menu-height);
}

.mobile-menu .hamburger {
    margin: 0 -1rem 0 1rem;
}

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

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

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

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

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

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    min-height: 80vh;
    background-color: transparent;
}

.top-section .section-title {
    font-size: 7rem;
    font-weight: 400;
}

.top-section p {
    max-width: 55rem;
}

@media only screen and (max-width: 1200px) {
    .top-section {
        align-items: flex-start;
    }
    
    .top-section .text-block {
        max-width: 45rem;
    }

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

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

/* Sektion Order
========================================================================== */
.section-order {
    background-image: url(/assets/images/sushi-restaurang-2000px.jpg);
    background-size: cover;
    background-position: center;
}

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

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

/* Hero - Grundkod
========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    background-image: url('/assets/images/bowl-transparent.png');
    background-repeat: no-repeat;
    background-size: auto 80%;
    background-position: 80% bottom;
}

.hero .section-block {
    display: flex;
    align-items: center;
    min-height: 40rem;
    text-align: center;
}

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

.hero .section-title {
    font-size: 7rem;
    color: rgb(var(--white-color));
}

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

@media only screen and (max-width: 580px) {
    .hero {
        background-size: auto 50%;
        background-position: center bottom;
    }

    .hero .section-block {
        min-height: 30rem;
    }
    
    .hero .section-title {
        font-size: 3rem;
    }
}

/*  ======================================================================
Undersida Luncherbjudande
========================================================================== */
.menu-item .text-title {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted rgb(var(--primary-color));
    padding: 0 0 1rem;
    margin: 0 0 1rem;
}

/*  ======================================================================
Undersida Meny
========================================================================== */

/* Accordion
===========================================================================  */


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

/* Rubrik */
.accordion-header {
    display: block;
    position: relative;
    padding: 2rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid rgb(var(--primary-color));
    text-decoration: none;
}

.accordion-header .small-title {
    padding: 0;
    font-weight: 400;
}

.accordion-header::after {
    content: "\f078";
    position: absolute;
    top: 50%;
    right: 2rem;
    font-size: 1.7rem;
    font-family: "Font Awesome 5 Pro";
    transform: translateY(-50%);
    transition: 0.5s ease;
}

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

/* Innehall */
.tab-item {
    padding: 2rem 0;
}

.tab-name {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted rgb(var(--primary-color));
    margin-bottom: 1rem;
}

.tab-item .price {
    padding-left: 2rem;
}

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

@media only screen and (max-width: 550px) {
    .accordion-header {
        padding: 1rem;
    } 
}

.section-map {
    font-size: 0;
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    background-color: rgb(var(--gray-light-color));
    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 5rem;
    border-bottom: 1px solid rgb(var(--black-color), .5);
}

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

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

.footer .text-label {
    color: rgb(var(--black-color));
}

.footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
 
.footer-top li,
.footer-top p,
.footer-top a:not(.circle-icon) {
    color: rgb(var(--gray-dark-color));
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

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

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

.webbess-stamp img {
    width: 2.5rem;
    margin-left: 1rem;
}

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

    /* Footer top */
    .footer-menu {
        width: 48%;
    }

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

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

@media only screen and (max-width: 750px) {
    /* Footer top */
    .footer-menu,
    .footer-menu-large {
        width: 100%;
    }
}

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