/* RESET */

@font-face {
    font-family: 'Constantia';
    src: url('../fonts/Constantia.eot');
    src: url('../fonts/Constantia.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Constantia.woff2') format('woff2'),
        url('../fonts/Constantia.woff') format('woff'),
        url('../fonts/Constantia.ttf') format('truetype'),
        url('../fonts/Constantia.svg#Constantia') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Constantia';
    src: url('../fonts/Constantia-Bold.eot');
    src: url('../fonts/Constantia-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Constantia-Bold.woff2') format('woff2'),
        url('../fonts/Constantia-Bold.woff') format('woff'),
        url('../fonts/Constantia-Bold.ttf') format('truetype'),
        url('../fonts/Constantia-Bold.svg#Constantia-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    --anim-time: 200ms;
    --color-gold: #DDBC6E;
    --color-darkgold: #B98555;
    --color-black: #000000;
    --color-white: #FFFFFF;
}
HTML, BODY { 
    font-family: 'Constantia','Times New Roman', Times, serif;
    font-weight: normal;
    margin:0; padding:0;
    overflow-x: hidden;
    background-color: hsl(0, 0%, 80%);
    /* overflow-y: hidden;  */
}

* {
    user-select: none; /* supported by Chrome and Opera */
   -webkit-user-select: none; /* Safari */
   -khtml-user-select: none; /* Konqueror HTML */
   -moz-user-select: none; /* Firefox */
   -ms-user-select: none; /* Internet Explorer/Edge */
}

*, *::after, *::before {
    box-sizing: border-box;
    margin: 0; padding: 0;
}

img {
    display: block;
}

h2 {
    font-family: "Constantia";
    font-size: 3rem;
    color: var(--color-gold);
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1em;
}

h3 {
    font-family: "Constantia";
    font-size: 3rem;
    color: var(--color-gold);
    font-weight: 400;
    line-height: 2.75rem;
}

h4 {
    font-family: "Constantia";
    font-size: 1.5rem;
    color: var(--color-darkgold);
    font-weight: bold;
}

p {
    font-size: 1.15rem;
    color: var(--color-black);
    line-height: 1.2;
    font-style: italic;
}

/************************************************************************************************************/


.icon-scroll {
    position: relative;
    width: 36px;
    height: 70px;
    margin-left: 0px;
    border: var(--color-gold) solid 3px;
    /*box-shadow: inset 0 0 3px 3px rgba(173, 36, 37, 0.15),
                0px 0px 3px 3px rgba(173, 36, 37, 0.15);*/
    border-radius: 25px;
    z-index: 5;
    flex-shrink: 0;
}

.icon-scroll::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--color-gold);
    left: 8px;
    top: 8px;
    border-radius: 7px;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-name: scroll;
    /* box-shadow: 0px 0px 3px 3px rgba(0, 8, 126, 0.15); */
}

@keyframes scroll {
  0% {opacity: 1;}
  100% {opacity: 0; transform: translateY(46px); }
}

.front {
    width: 100vw; height: 100vh;
    background-color: var(--color-black);
}

.front-content {
    padding-block: 3%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}

.title {
    width: 100%;
    /*background: rgb(221,188,110);
    background: linear-gradient(112deg, rgba(221,188,110,1) 0%, rgba(185,133,85,1) 25%, rgba(185,133,85,1) 30%, rgba(221,188,109,1) 50%, rgba(220,186,109,1) 60%, rgba(185,133,85,1) 80%, rgba(185,133,85,1) 85%, rgba(221,188,110,1) 100%); */
    padding-block: 0px;
    padding-inline: 30px;
    background:rgba(0,0,0,0.6);
    max-width: 800px;
    z-index:10;
}

.slogan {
    max-width: 500px;
}
.slogan img {max-height: 100%; max-width: 100%; margin-inline: auto;} 

.tunder {
    position: absolute;
    top: 0px;
}

.sigla {
    padding: 0px;
    max-width: 80vw;
    min-height: 0; /* important pt resize img */
}
.sigla img {max-height: 100%; max-width: 100%; margin-inline: auto;} 

.description {
    text-align: center;
    max-width: 800px;
    padding: 30px;
    z-index:10;
}

.description p {color: var(--color-white);background:rgba(0,0,0,0.6);}

.content {
    width: 100vw;
    background: url("../../resources/images/content_back.jpg") repeat-y top / cover;
    padding: 30px;
}

.card { padding-block: 30px;}

.card-container {
    margin-inline: auto;
    max-width: 760px;
    padding: 30px;
    background-color: var(--color-white);
    opacity: 0.85;
    gap: 20px;
    align-items: center;
    box-shadow: 0 0px 30px rgb(255, 255, 255, 0.7);
}

.card-group {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.notes { margin-top: 10px;}
.notes p {font-size: 0.9rem; }

.card-title { text-align: center; margin-bottom: 20px;}
.card-ingredients { text-align: left; flex-basis: 70%;}
.card-ingredients h4 { margin-bottom: 10px;}
.card-ingredients h4:not(:first-child) { margin-top: 20px;}

.card-image {text-align: right; flex-basis: 30%;}
.card-image img {max-width: 100%; max-height: 100%;  display: block;}

.card-notes { text-align: left; }

@media (max-width: 768px) {
    .title h2 { font-size: 35px;}
    .card-group {flex-direction: column-reverse}
    .card-ingredients { text-align: center;}
    .card-notes { text-align: center; }
    .content {background-size: 150%;}

    .tunder { margin-top: -100px;}
    .tunder img {height: 100vh;}
}

/*===================== COOCKIES =================================*/
/*================================================================*/


.stop-scrolling {
    height: 100%;
    overflow: hidden;
}
    
/* AGE GATE */
#AGE_GATE {
    display: none; opacity:0;
    position:fixed; z-index:1000002;
    top:50%; left:50%; transform: translate(-50%, -50%);
    width:600px; max-width:90%;
    color:#FFF;text-align:center;font-size:120%;
    background-color: #000A;
}
#AGE_GATE:before {
    display:block; content:"";
    position:absolute; top:-100vh; left:-100vw; height:200vh; width:200vw;
    background:rgba(0,0,0,0.95);
    z-index:-1;
}

.age_btn { padding:20px; margin:20px; font-size:150%; cursor: pointer}
#AGE_GATE h1, #AGE_GATE h3, #AGE_GATE p {
    margin: 1em 0;
    padding: 0;
    color:var(--color-red); 
    font-family: initial;
}
#AGE_GATE h1 { font-size: 38px; margin-bottom: 2rem;}
#AGE_GATE h3 { font-size: 25px; margin-bottom: 2rem;}
#AGE_GATE p {text-align: center; }

/* COOKIES CONSENT */
#COOKIES_CONSENT { 
    display: none; opacity:0;
    position:fixed; z-index:1000002;
    bottom:2vw; left:2vw;
    width:360px; max-width: 96vw;
    text-align:center;
    background:rgba(0,0,0,0.8);
    border-radius:8px;
    padding:0px 20px 15px;
    color:#FFF;
    outline: 1px solid #fff8;
}
#COOKIES_CONSENT p { font-weight: normal; font-size: 16px; text-align: center; color:#fff; margin: 1em 0;}
#COOKIES_CONSENT a { cursor: pointer; font-weight:bold }
#COOKIES_CONSENT #close_btn { position: absolute; right:6px; top:6px; cursor: pointer;}

#lang-button { position:fixed; left:40px; top:40px; z-index:100001; }
#lang-button { padding:8px 20px; background:var(--color-gold); border-radius:30px; font-size:90%; font-weight:bold; text-decoration:none; text-transform:uppercase; opacity:0.6; color:#000; text-shadow:none; transition:0.5s opacity; }
#retete-button A:hover { opacity:1 }
#lang-button:hover { opacity:1 }
@media (max-width:767px) {
    #lang-button { left:10px; top:20px }
}
span[data-lang="en"] { display: none;}

/* POPUP */
#POPUP {
    position: fixed; z-index: 1000009;
    top:0; left:0; width:100%; height:100%; 
    pointer-events: all;
    display:none; opacity:0; 
    text-shadow: none; 
}
#popup_overlay {
    position: fixed; z-index: -1;
    top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.6);   
}
#popup_wrapper {
    position:fixed;
    width:700px; height:90%; max-width:90%;
    top:50%; left:50%; transform: translate(-50%, -50%);
    background:rgba(255, 255, 255, 0.95);
    box-shadow:0px 0px 10px rgba(0,0,0,0.8);
    border-radius: 8px; border:0 none;
    overflow: hidden;
}
#popup_title { 
    position: absolute;
    width:100%; 
    background:var(--color-gold);
    font-weight: 600; color:#FFF; font-size:22px; text-align:center; text-transform: uppercase;
    padding:15px 4px;
}
#popup_content { 
    position: relative;
    width:90%; height:85%;
    top:12%; left:5%; 
    padding-right:10px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal; color:#222; font-size:13px; text-align:justify;
    overflow-x: hidden;
    overflow-y: scroll;
}
#popup_btn { position: absolute; right:16px; top:16px; cursor: pointer;}

#POPUP h2, #POPUP h3, #POPUP p{
    margin: 1em 0;
    padding: 0;
    color: #222;
}

#POPUP h2 {font-size: 1.5em; text-align: left;}
#POPUP h3 {font-size: 14px; text-align: left; color: #222}
#POPUP p {font-size: 13px; color: #222; font-weight: normal;}

#NAV { 
    position:absolute; 
    padding: 0;
    top:90%; 
    text-align:center; 
    width:100%; 
    /* opacity: 0; */
    /* transition: all 300ms ease-out; */
}
#NAV LI, #SOCIAL LI  {
    display: inline-block;
    margin:0 10px;
    color: #FFF;
}
#NAV LI.sep { font-weight:bold}
#NAV LI A, #SOCIAL LI A {
    color: #FFF;
    text-decoration: none;
    line-height:24px;
    font-size:16px
}
/*===================== COOCKIES =================================*/
/*================================================================*/