@keyframes hide {
    0% { opacity: 0; }
    100% { opacity: 1; } 
}
@keyframes hand-rotate {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(50deg); }
    100% { transform: rotate(0deg); }
}
@keyframes fade-in {
    0% { opacity: 0; }
    30% { opacity: 1; }
    50% { opacity: 0; }
    60% { opacity: 1; }
    75% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes neon-color-shift {
    0% { filter: hue-rotate(0deg); }
    33% { filter: hue-rotate(90deg); }
    66% { filter: hue-rotate(180deg); }
    100% { filter: hue-rotate(360deg); }
}
@keyframes flyin-top {
    0% { margin-top: -1000px; opacity: 0; }
    60% { margin-top: -80px; opacity: 0.7; }
    100% { margin-top: 0; opacity: 1; }
}
@keyframes flyin-bounce {
    0% { margin-top: -1000px; opacity: 0; }
    60% { margin-top: 150px; opacity: 0.7; }
    100% { margin-top: 0; opacity: 1; }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes fadeInBottomLeftScale {
    0% { margin-left: -200%; margin-top: 200%; opacity: 0; }
    75% { margin-left: 35%; margin-top: 10%; opacity: 0.8; scale: 2; }
    100% { margin-left: 0; margin-top: 0; opacity: 1; }
}
@keyframes fadeInBottomRightScale {
    0% { margin-left: 200%; margin-top: 200%; opacity: 0; }
    75% { margin-left: 5%; margin-top: 10%; opacity: 0.8; scale: 2; }
    100% { margin-left: 0%; margin-top: 0%; opacity: 1; }
}
@keyframes fadeInLeftTopRotate {
    0% { margin-left: -200%; margin-top: -100%; opacity: 0; }
    75% {  margin-left: -15%; margin-top: 10%; transform: rotate(50deg); opacity: 0.8; }
    100% { margin-left: 0%; margin-top: 0%; opacity: 1; }
}
@keyframes fadeInRightTopRotate {
    0% { margin-left: 200%; margin-top: 100%; opacity: 0; }
    75% {  margin-left: -20%; margin-top: -40%; transform: rotate(120deg); opacity: 0.8; }
    100% { margin-left: 0%; margin-top: 0%; opacity: 1; }
}


@font-face {
    font-family: 'Dolce Vita';
    src: url('/assets/font/dolce-vita/DolceVitaHeavy-Bold.woff2') format('woff2'),
        url('/assets/font/dolce-vita/DolceVitaHeavy-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Dolce Vita';
    src: url('/assets/font/dolce-vita/DolceVita.woff2') format('woff2'),
        url('/assets/font/dolce-vita/DolceVita.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Dolce Vita';
    src: url('/assets/font/dolce-vita/DolceVitaLight.woff2') format('woff2'),
        url('/assets/font/dolce-vita/DolceVitaLight.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


html,
body { 
    height: 100%;
    padding: 0; 
    margin: 0; 
    background-color: #003447; 
    text-align: center; 
    font-family: 'Dolce Vita';
    text-transform: uppercase;
    color: #F8621F;
}
p {
    word-spacing: 0.15rem;
    line-height: 1.3rem;
    padding-bottom: 0.8rem;
}
p.big {
    font-size: 1.4rem;
    padding: 0;
    margin: 0;
    font-weight: bold;
    line-height: 1.5rem;
}
a {
    color: #F8621F;
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    color: #FEF903;
}

.container {
    position: relative;
    max-height: 630px;
    max-width: 540px;
    min-height: 630px;
    min-width: 540px;
    width: 80svw;
    height: 80svh;
    display: block;
    margin: auto;
    margin-top: 10vh;
}
.welcome {
    display: block;
    width: 90%;
    max-width: 620px;
    margin: 180px auto;
}

.welcome img {
    max-width: 50%;
}

.background {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.social-icons {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    justify-content: center;
}
.social-icons img {
    max-width: 30px;
}

.logo, .logo_bottom, .spritz-red, .olive-left, .parma, .spritz-orange, .olive-right, .cheese, .calzone-top, .olive-bottom, .salami, .calzone-bottom, .la-dolce-vita, .coming-soon, .leaf-top, .leaf-right, .leaf-bottom, .chilli-top, .chilli-right, .chilli-left, .chilli-bottom {
    position: absolute;
    transform: translate(-50%, -50%);
    max-width: 30%;
    max-height: 30%;
    width: auto;
    height: auto; 
}
.spritz-red, .olive-left, .parma, .spritz-orange, .olive-right, .cheese, .calzone-top, .olive-bottom, .salami, .calzone-bottom, .chilli-top, .chilli-right, .chilli-left, .chilli-bottom {
    max-width: 40%;
    max-height: 40%;
}

.leaf-top {
    top: 50%;
    left: 50%;
    max-width: 100%;
    max-height: 100%;
    animation: fadeInLeftTopRotate 2s 1 ease 0s forwards;
}

.leaf-right {
    top: 50%;
    left: 50%;
    max-width: 100%;
    max-height: 100%;
    animation: fadeInRightTopRotate 2s 1 ease 0s forwards;
}

.leaf-bottom {
    top: 52%;
    left: 52%;
    max-width: 100%;
    max-height: 100%;
    animation: fadeInRightTopRotate 2s 1 ease 0s forwards;
}

.logo {
    left: 50%;
    top: 48%;
    opacity: 0; 
    animation: hide 0s 1 linear 5s forwards, fade-in 1s 1 linear 5s; /*, neon-color-shift 6s infinite linear;*/
}
.logo_bottom {
    left: 50%;
    top: 48%;
    scale: 1;
    opacity: 0; 
    animation: hide 0s 1 linear 5s forwards, fade-in 1s 1 linear 5s; /*, neon-color-shift 6s infinite linear;*/
}
.hand {
    position: absolute;
    max-width: 30%;
    max-height: 30%;
    width: auto;
    height: auto; 
    left: 36%;
    top: 35%;
    opacity: 0; 
    animation: 
        hide 0s 1 linear 5s forwards, 
        fade-in 1s 1 linear 5s, 
        hand-rotate 1s infinite linear;
        /* neon-color-shift 6s infinite linear; */
}

.spritz-red { 
    left: 23%;
    top: 54%;
    max-width: 45%;
    max-height: 45%;
    opacity: 0;
    animation: fadeInBottomLeftScale 2s 1 ease 2s forwards;
}
.spritz-orange { 
    top: 55%; 
    left: 80%; 
    max-width: 45%;
    max-height: 45%;
    opacity: 0;
    animation: fadeInBottomRightScale 2s 1 ease 2s forwards;
}

.olive-left { 
    top: 18%; 
    left: 20%; 
    max-width: 30%;
    max-height: 30%;
    animation: fadeInLeftTopRotate 2s 1 ease 0s forwards;
}
.olive-right { 
    top: 36%; 
    left: 94%; 
    max-width: 30%;
    max-height: 30%;
    animation: fadeInRightTopRotate 2s 1 ease 0s forwards;
}
.olive-bottom { 
    top: 90%; 
    left: 64%;
    max-width: 30%;
    max-height: 30%;
    animation: fadeInLeftTopRotate 2s 1 ease 0s forwards;
}

.chilli-top {
    top: 27%;
    left: 40%;
    max-width: 10%;
    max-height: 10%;
    animation: fadeInLeftTopRotate 2s 1 ease 0s forwards;
}
.chilli-bottom {
    top: 90%;
    left: 40%;
    max-width: 10%;
    max-height: 10%;
    animation: fadeInLeftTopRotate 2s 1 ease 0s forwards;
}
.chilli-left {
    top: 65%;
    left: 13%;
    max-width: 10%;
    max-height: 10%;
    animation: fadeInLeftTopRotate 2s 1 ease 0s forwards;
}
.chilli-right {
    top: 65%;
    left: 75%;
    max-width: 10%;
    max-height: 10%;
    animation: fadeInLeftTopRotate 2s 1 ease 0s forwards;
}

.parma { 
    top: 46%; 
    left: 12%; 
    animation: fadeInLeftTopRotate 2s 1 ease 0s forwards;
}
.cheese { 
    top: 16%; 
    left: 50%;
    animation: fadeInLeftTopRotate 2s 1 ease 0s forwards; 
}
.calzone-top { 
    top: 25%; 
    left: 80%; 
    animation: fadeInRightTopRotate 2s 1 ease 0s forwards;
}

.salami { 
    top: 85%; 
    left: 60%;
    animation: fadeInRightTopRotate 2s 1 ease 0s forwards; 
}
.calzone-bottom { 
    top: 82%; 
    left: 22%; 
    animation: fadeInRightTopRotate 2s 1 ease 0s forwards;
}
.la-dolce-vita { 
    top: 10%; 
    left: 50%; 
    max-width: 100%;
    max-height: 100%;
    animation: flyin-bounce 5s 1 ease-in;
}
.coming-soon { 
    top: 15%; 
    left: 53%; 
    animation: neon-color-shift 6s infinite linear, flyin-top 5s 1 ease-in;
}

#preloader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #003447;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s;
}

#preloader .loader {
  border: 8px solid #eee;
  border-top: 8px solid #FF651F;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

.parallax-move {
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

@media (max-width: 600px) {
    html, body {
        overflow-x: hidden;
    }
    .container {
        max-height: 430px;
        max-width: 340px;
        min-height: 430px;
        min-width: 340px;
        margin-top: 20vh;
    }
}

@media (max-height: 600px) {
    html, body {
        overflow-x: hidden;
    }
    .container {
        max-height: 80svh;
        max-width: 240px;
        min-height: 80svh;
        min-width: 240px;
    }
}