/*
Theme Name: MAD Restaurant
Theme URI: https://www.graphilandia.it/
Description: Il Tema di MAD Restaurant
Version: 1.0
Author: Graphilandia
Author URI: https://www.graphilandia.it/
*/

/* RESET */
:root{
    --brown: #5b5142;
    --light-brown: #c2a887;
    --beige: #e5ded4;
    --dark-beige: #bdb4a8;
    --blue: #21292f;
    --black:  #121212;


    /* alpha */
    --alpha-main-brown: rgba(92, 82, 66, 0.4);
    --alpha-light-brown: rgba(194, 168, 135, 0.4);
    --alpha-beige: rgba(229, 222, 212, 0.4);
    --alpha-blue: rgba(33, 41, 47, 0.4);
    --alpha-black: rgba(18, 18, 18, 0.4);
    
    /* height */
    --header-height: 100px;
    --header-mob-height: 90px;
}
/* /RESET */

/* FONTS */
body{
    background-color: var(--blue) !important;
    font-family: 'Gill' !important;
    font-optical-sizing: auto;
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Garamond' !important;
}

/* GENERAL */
.ms_page-wrapper{
    padding-top: var(--header-height) !important;
    overflow: hidden;
}

@media screen and (max-width: 769px) {
    .ms_page-wrapper{
        padding-top: var(--header-mob-height) !important;
    }

    .mob-reverse{
        flex-direction: column-reverse;
    }
}

.vh-100{
    height: 100dvh;
}

.ms_section{
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.first-section{
    padding: 0;
}

.mt-4r{
   margin-top: 4rem; 
}

.mb-4r{
    margin-bottom: 4rem;
}

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

.section-title-b{
    font-size: 5rem;
    color: var(--beige);
    margin-bottom: 1.5rem;
}

.section-bigger-title{
    font-size: 3.5rem;
}

.section-txt{
    font-size: 1.5rem !important;
}

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

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

.text-upper{
    text-transform: uppercase;
}

.link-inherit{
    color: inherit;
    text-decoration: none;
}

.max-100{
    max-width: 100%;
}

@media screen and (max-width: 769px) {
    .mob-reverse{
        flex-direction: column-reverse;
    }
}

/* Text colours */
.text-brown{
    color: var(--brown);
}

.text-light-brown{
    color: var(--light-brown);
}

.text-blue{
    color: var(--blue) !important;
}

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

.text-beige{
    color: var(--beige);
}

.text-dark-beige{
    color: var(--dark-beige);
}
/* /Text colours */

/* background */
.bg_blue{
    background-color: var(--blue) !important;
    color: white !important;
    transition: all 200ms linear;
}

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

.bg_blue:hover{
    background-color: #131414 !important;
}

.bg_beige{
    background-color: var(--beige) !important;
    color: var(--black) !important;
    transition: all 200ms linear;
}

.bg_beige:hover{
    background-color: #b1aaa0 !important;
}

.bg_brown{
    background-color: var(--main-brown) !important;
    color: white !important;
    transition: all 200ms linear;
}

.bg_brown:hover{
    background-color: #343029 !important;
}

.bg_white{
    background-color: white !important;
    color: var(--blue) !important;
    transition: all 200ms linear;
}

.bg_white{
    background-color: rgb(218, 215, 215) !important;
}
/* /background */

/* buttons */
.ms_btn{
    padding: 10px 18px;
    font-size: 1.3rem;
    width: 300px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    border-radius: 40px;
    transition: all 200ms linear;
}

.ms_btn-little{
    font-size: 1.1rem !important;
    width: fit-content;
    padding: 10px 18px;
    font-size: 1.3rem;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    border-radius: 40px;
    transition: all 200ms linear;
}

.btn-big{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.btn-beige{
    background-color: var(--beige);
    border: 1px solid var(--beige);
    color: var(--blue);
}

.btn-beige:hover{
    background-color: var(--blue);
    color: var(--beige);
}

.btn-dark{
    background-color: var(--blue);
    color: var(--beige);
    border: 1px solid var(--beige);
}

.btn-dark:hover{
    background-color: var(--beige);
    border: 1px solid var(--blue);
    color: var(--blue);
}

/* /buttons */

/* /GENERAL */

/* HEADER */
.ms_header{
    position: fixed;
    width: 100%;
    height: var(--header-height);
    background-color: var(--black);
    top: 0;
    left: 0;
    z-index: 998 !important;
    border-bottom: 1px solid var(--beige);
}

.header-nav{
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.logo-header{
    display: block;
    height: calc(var(--header-height) - 20px);
}

.header-burger{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--dark-beige);
    font-size: 2.5rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.header-navbar{
    width: 100%;
    height: calc(100dvh - var(--header-height) - 2px);
    padding-top: 2rem;
    padding-bottom: 2rem;
    background-color: var(--black);
}

.navbar-wrapper{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header-list{
    margin: 0 !important;
    padding: 0 !important;
    list-style-type: none;
}

.link-header{
    font-size: 5rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.link-header a{
    color: var(--beige);
    text-decoration: none;
    cursor: pointer;
    transition: all 200ms linear;
}

.header-contacts a{
    color: var(--beige);
    font-size: 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.header-contacts a span{
    margin-left: 3px;
    vertical-align: middle;
}

.link-header a:hover, .header-contacts a:hover{
    color: var(--dark-beige);
}

@media screen and (max-width: 1300px){
    .link-header{
        font-size: 3rem;
    }
}
 
@media screen and (max-width: 769px){
    .ms_header{
        height: var(--header-mob-height);
    }

    .logo-header{
        height: calc(var(--header-mob-height) - 20px);
    }

    .header-navbar{
        height: calc(100dvh - var(--header-mob-height));
    }

    .link-header{
        font-size: 4.5rem;
    }

    .header-contacts a{
        font-size: 1.2rem;
    }
}
/* /HEADER */

/* HOME */
/* Hero section */
#hero-section{
    width: 100%;
    height: calc(100dvh - var(--header-height));
    position: relative;
    overflow: hidden;
}

.hero-mobile{
    display: none;
}

.hero-desktop{
    display: flex;
    height: 100%;
}

.hero-desktop img{
    width: calc(100% / 3);
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: relative;
}

.heart-overlay{
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backdrop-filter: blur(5px);
}

.hero-overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgb(33,41,47);
    background: linear-gradient(0deg, var(--beige) 0%, #e5ded439 20%, rgba(33,41,47,0) 100%);
}

#hero-desk-left{
    left: -100%;
}

#hero-desk-bottom{
    bottom: -100%;
}

#hero-desk-right{
    right: -100%;
}

.hero-wrapper{
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 2.2rem;
}

.hero-title{
    font-size: 3rem;
    font-family: 'Gill-light', sans-serif !important;
}

.heart-wrapper{
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.hero-logo{
    display: block;
    max-width: 250px;
}

.hero-info-wrapper a{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
}

.hero-btn-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.hero-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border: 1px solid white;
    font-size: 1.3rem;
}

.hero-btn:hover{
    color: var(--black);
    background-color: white;
}

.btn-cta{
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
}

.f-btn-wrapper{
    margin-top: 1rem;
    gap: 20px;
}

#hero-men, #hero-pren{
    display: flex;
    width: 300px;
    height: 65px;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

@media screen and (max-width: 1024px){
    #hero-section{
        height: 100%;
        min-height: calc(100dvh - var(--header-height));
    }

    #hero-desk-bottom{
        bottom: -700px;
    }

    .f-btn-wrapper{
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 769px) {
    #hero-section{
        height: calc(100dvh - var(--header-mob-height));
    }

    .hero-desktop{
        display: none;
    }

    .hero-mobile{
        display: flex;
        flex-direction: column;
    }

    .hero-mobile img{
        width: 100%;
        height: calc(100% / 3);
        object-fit: cover;
        object-position: center;
        position: relative;
    }

    #hero-mob-left, #hero-mob-s-left{
        left: -100%;
    }

    #hero-mob-right{
        right: -100%;
    }

    .hero-logo{
        display: block;
        max-width: 200px;
    }

    .hero-info-wrapper a{
        font-size: 1.3rem;
    }

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

@media screen and (max-width: 375px) {
    .hero-logo{
        max-width: 150px
    }

    .hero-info-wrapper a{
        font-size: 1.2rem;
    }
}
/* /Hero section */

/* Location */
#location{
    background: linear-gradient(180deg, rgba(18,18,18,1) 0%, rgba(18,18,18,0.8939950980392157) 40%, rgba(33,41,47,0) 100%);
}

.section-title-bigger{
    font-size: 5rem;
    color: #e5ded447;
}

.img-wrapper-row{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    overflow: hidden;
    gap: 15px;
}

.img-row-big{
    width: 100%;
}

.img-big{
    height: 350px;
    object-fit: cover;
    object-position: center;
}

.img-wrapper-row-desk{
    display: flex;
}

.img-wrapper-row-generic{
    display: flex;
}

.img-wrapper-row-mob{
    display: none;
}

.img-row-little{
    width: calc(50% - 7.5px);
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.img-wrapper-row img{
    position: relative;
}

.img-left{
    left: -100%;
}

.img-right{
    right: -100%;
}

.img-bottom{
    bottom: -320px;
}

.separator{
    margin-top: 5rem;
    margin-bottom: 5rem;
    width: 0;
    height: 3px;
    background-color: var(--beige);
}

.text-wrapper-row{
    padding: 0 13px;
}

@media screen and (max-width: 769px) {
    .img-wrapper-row-mob{
        display: flex;
    }

    .img-wrapper-row-desk{
        display: none;
    }

    .section-title-bigger {
        font-size: 3rem;
    }

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

    .text-wrapper-row{
        padding: 0;
    }
}
/* /Location */

/* Heart Section */
#heart-section{
    height: calc(100vh - var(--header-height));
    overflow: hidden;
    position: relative;
}

.heart-desktop img{
    display: block;
    width: calc(100% / 3);
    height: 100%;
    position: relative;
}

#heart-mob-left, #heart-mob-s-left{
    left: -100%;
}

#heart-mob-right{
    right: -100%;
}

#heart-desk-left{
    left: -100%;
}

#heart-desk-bottom{
    bottom: -100%;
}

#heart-desk-right{
    right: -100%;
}

.heart-mob img{
    height: calc(100% / 3);
    width: 100%;
}

@media screen and (max-width: 769px) {
    #heart-section{
        height: 100%;
        min-height: calc(100dvh - var(--header-mob-height));
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Menu choice */
    .big-card{
        position: relative;
    }

    .big-card img{
        position: relative;
        z-index: 1;
    }

    .big-card-overlay{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 4;
        background-color: rgba(0, 0, 0, 0.58);
        backdrop-filter: blur(5px);
        cursor: pointer;
        transition: all 200ms linear;
    }

    .big-card-overlay:hover{
        transform: scale(1.3);
        backdrop-filter: blur(10px);
    }

    .big-card-text{
        font-size: 2rem;
        color: var(--beige);
        margin-bottom: 10px;
    }

    .form-check-input:checked{
        background-color: var(--blue) !important;
        border-color: var(--blue) !important;
    }

    .form-check-label{
        font-size: 1.3rem;
    }

    .form-select{
        font-size: 1.3rem !important;
    }
/* /Menu choice */

/* Contacts */
.c-s-txt{
    color: var(--beige);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: 10px;
}

.home-c-icon{
    font-size: 2rem;
}

/*@media screen and (max-width: 769px) {
    
}*/

#home-social .footer-social{
    color: var(--beige);
}
/* /Contacts */
/* /Heart Section */


/* /HOME */

/* MENU */
    #filter{
        width: 100%;
        height: 100dvh;
        position: absolute;
        overflow: auto;
        top: 0;
        left: 0;
        z-index: 999;
        background-color: rgba(0, 0, 0, 0.215);
        backdrop-filter: blur(5px);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /*.labels-form-wrapper{
        display: flex;
        justify-content: center;
        align-items: center;
    }*/

    #labels-form{
        padding: 1rem;
        border-radius: 10px;
        overflow: auto;
        width: 60%;
        margin: auto;
    }

    .section-heading{
        font-size: 3.5rem !important;
    }

    .plate-cat h2, .drink-cat h2{
        padding: 1rem 10px;
        background-color: var(--beige);
        color: var(--blue);
        margin-top: 3rem;
        font-size: 2.5rem !important;
    }

    .plate, .drink{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem 0;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
        border-bottom: 1px solid var(--beige);
    }

    .plate-title{
        font-size: 2rem !important;
        margin-bottom: 1rem;
    }

    .plate-description p{
        font-size: 1.4rem !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .subs-wrapper{
        display: flex;
        gap: 5px;
        flex-wrap: wrap;
        margin-top: 1rem;
    }

    .subs{
        padding: 8px;
        margin-top: 10px;
        background: var(--beige);
        color: var(--blue);
        font-size: .8rem;
        border-radius: 40px;
        margin: 0;
        display: block;
    }

    .plates-price-wrapper{
        display: block;
        font-size: 1.4rem !important;
    }

    .tags-wrapper{
        display: flex;
        align-items: center;
        gap: 3px;
        flex-wrap: wrap;
        margin-top: 1rem;
    }

    .tag{
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--beige);
        padding: 5px;
        position: relative;
    }

    .tag img{
        width: 90%;
    }

    .tag-info{
        display: block;
        background-color: var(--beige);
        position: absolute;
        width: 300px;
        bottom: 110%;
        left: 0;
        padding: 1rem;
        opacity: 0;
        z-index: -1;
        transition: all 200ms linear;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        border-bottom-right-radius: 30px;
    }

    .tag:hover .tag-info{
        opacity: 1;
        z-index: 1;
    }

    .tag-name, .tag-description{
        color: var(--blue);
        display: block;
    }

    .tag-name{
        font-size: 1.2rem;
    }

    .tag-description{
        font-size: 1rem;
    }

    .show-more-plate{
        font-size: 1.1rem;
        color: var(--beige);
        padding: 0 !important;
        margin: 1rem 0;
        border: none;
        background-color: transparent;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
        text-decoration: underline;
        cursor: pointer;
    }

    .rapid-choice-wrapper{
        position: fixed;
        width: 100%;
        height: 70px;
        top: var(--header-height);
        left: 0;
        display: flex;
        align-items: center;
        background-color: var(--blue);
        z-index: 990;
    }

    .rc-wrapper{
        display: flex;
        align-items: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        padding: 1rem 0;
        position: relative;
        border-bottom: 1px solid var(--beige);
    }

    .rapid-choice-wrapper::after {
        content: '';
        display: block;
        height: 100%;
        width: 1.5rem;
        height: 100%;
        position: absolute;
        top: 0;
        left: -10px;
        /*background: rgb(18,18,18);
        background: -moz-linear-gradient(111deg, rgba(18,18,18,1) 0%, rgba(18,18,18,0) 50%  rgba(18,18,18,0) 100%);
        background: -webkit-linear-gradient(111deg, rgba(18,18,18,1) 0%, rgba(18,18,18,0) 100%);
        background: linear-gradient(111deg, rgba(18,18,18,1) 0%, rgba(18,18,18,0) 100%);*/
    }

    .rapid-choice-wrapper::before {
        content: '';
        display: block;
        height: 100%;
        width: 1.5rem;
        height: 100%;
        position: absolute;
        top: 0;
        right: -10px;
        /*background: rgb(18,18,18);
        background: -moz-linear-gradient(111deg, rgba(18,18,18,0) 0%, rgba(18,18,18,0) 50%, rgba(18,18,18,1) 100%);
        background: -webkit-linear-gradient(111deg, rgba(18,18,18,1) 0%, rgba(18,18,18,0) 100%);
        background: linear-gradient(111deg, rgba(18,18,18,1) 0%, rgba(18,18,18,0) 100%);*/
    }

    .rc-wrapper a{
        color: var(--beige);
        font-size: 1rem;
        text-decoration: none;
        flex: 0 0 auto; 
        font-family:'Gill-light' !important;
    }

    .filter-btn-wrapper{
        text-align: center;
        position: fixed;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .flag-wrapper{
        background-color: white;
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
        width: fit-content;
        padding: 1rem;
        border-radius: 40px;
        position: fixed;
        bottom: 10px;
        left: 40px;
        cursor: pointer;
    }

    .flag img{
        width: 40px;
    }

    .flag{
        display: flex;
        gap: 5px;
        color: black;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        text-decoration: none !important;
    }

    @media screen and (max-width: 1024px){
        .plates-info{
            width: 80%;
            padding-right: 5px;
        }

        div.plates-price-wrapper{
            width: 20%;
        }


        .tag-info{
            width: 200px;
        }
    }

    @media screen and (max-width: 769px){
        .rapid-choice-wrapper{
            top: var(--header-mob-height);
        }
        
        #labels-form{
            width: fit-content;
        }
    }
/* /MENU */


/* FOOTER */
footer{
    padding-top: 2rem;
}

footer ul li a{
    display: block;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 200ms linear;
}

footer ul li a:hover{
    transform: translateX(5px);
}

.contacts-list{
    list-style-type: none;
}

.contacts-list li a .hydrated{
    vertical-align: middle;
}

.footer-bottom{
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: white;
}

.footer-bottom a{
    color: white;
}

.logo-footer-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-footer{
    width: 210px;
}

.row-social{
    padding-left: 2rem;
}

.footer-social{
    font-size: 2.5rem;
    color: white;
    margin-right: 10px;
    transition: all 200ms linear;
}

.footer-social:hover{
    transform: translateY(10px);
}

@media screen and (max-width: 769px){
    .logo-footer{
        width: 150px;
    }
}

/* /FOOTER */

/* ANIMATIONS */
.op-0{
    opacity: 0;
}

.header-faded{
    animation: fadeIn 400ms forwards;
}

.fade-reverse{
    animation: fadeReverse 400ms forwards;
}
.links-faded{
    animation: fadeIn 500ms forwards;
}

.fade-in{
    animation: fadeIn 1s forwards;
}

.hero-faded{
    animation: fadeIn 500ms forwards;
}

.came-from-left{
    animation: cameFromLeft 1.5s forwards;
}

.came-from-right{
    animation: cameFromRight 1.8s forwards;
}

.came-from-bottom{
    animation: cameFromBottom 1.5s forwards;
}

@media screen and (max-width: 769px){
    .fade-in{
        animation: fadeIn 700ms forwards;
    }
}

@keyframes fadeIn{
    from{
        opacity: 0;
    } to{
        opacity: 1;
    }
}

@keyframes fadeReverse{
    from{
        opacity: 0;
    } to {
        opacity: 1;
    }
}

@keyframes cameFromLeft {
    from{
        left: -100%;
    } to {
        left: 0;
    }
}

@keyframes cameFromRight{
    from{
        right: -100%;
    } to {
        right: 0;
    }
}

@keyframes cameFromBottom {
    from{
        bottom: -100%;
    } to {
        bottom: 0;
    }
}

@media screen and (max-width: 1024px){
    @keyframes cameFromBottom {
        from{
            bottom: -700px;
        } to {
            bottom: 0;
        }
    }
}
/* /ANIMATIONS */
