@font-face {
    font-family: 'AdriannaExtended-Bold';
    src: url('fonts/AdriannaExtended-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AdriannaExtended-Light';
    src: url('fonts/AdriannaExtended-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'AdriannaExtended-Bold', Arial, sans-serif;
    background-color: #000080;
    color: white;
    touch-action: none;
}

* {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('assets/background.jpg');
    background-size: cover;
    background-position: center;
}

.logo {
    position: absolute;
    width: 95%;
    height: auto;
    top: 1%;
    /* left: 0; */
    opacity: 1;
    z-index: 1;
    transition: opacity 0.5s ease, transform 0.5s ease, mask-image 0.5s ease;
}

.text {
    position: absolute;
    bottom: 30%;
    text-align: center;
    opacity: 1;
    font-size: 36px;
    text-transform: uppercase;
    line-height: 1.2;
    z-index: 3;
    max-width: 85%;
    transition: opacity 0.2s ease-in, font-size 0.5s ease;
}

.cta {
    position: absolute;
    bottom: 60px;
    font-family: 'AdriannaExtended-Bold', Arial, sans-serif;
    font-size: 14px;
    color: #b9a05e;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 3;
    transition: opacity 0.5s ease, font-size 0.5s ease;
    text-decoration: none;
    text-align: center;
}

.cta .first-line {
    display: block;
    text-align: center;
}

.cta .second-line {
    display: block;
    text-align: left;
}

.arrow {
    position: absolute;
    bottom: 15px;
    font-family: 'AdriannaExtended-Light', Arial, sans-serif;
    font-size: 20px;
    color: #b9a05e;
    z-index: 3;
    animation: bounce 2s infinite ease-in-out;
    transform: rotate(90deg) scaleY(3.0);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(90deg) scaleY(3.0);
    }
    40% {
        transform: translateY(-10px) rotate(90deg) scaleY(3.0);
    }
    60% {
        transform: translateY(-5px) rotate(90deg) scaleY(3.0);
    }
}

.figure {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 60vh;
    width: calc(60vh * 725 / 1205); /* Mantiene le proporzioni originali */
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
    z-index: 2;
    transition: opacity 0.5s ease;
}

.figure-primary {
    z-index: 2;
}

.figure-secondary {
    z-index: 2;
}

@media screen and (max-width: 768px) {
    .logo {
        top: 13%;
        transform: scale(1.0);
        width: 95vw;
      /*  left: -15vw; */
    }

    .figure {
        width: 100%;
        height: 66vh;
        background-size: contain;
        background-position: bottom center;
        padding-bottom: 30px;
        left:55%;
    }

    .text {
        max-width: 85%;
        bottom: 36%;
        font-size: 18px;
        color: white;
    }

    .cta {
        bottom: 18%;
        font-size: 12px;
    }

    .arrow {
        bottom: 13%;
    }
}