/* Reset di base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', sans-serif;
}

/* Video in background */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay scuro per contrasto */
.video-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: bg 2s ease-out forwards;

}

/* Contenuto centrale */
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

/* Logo */
.logo {
    width: 80vw;
    max-width: 90vw;
    margin-bottom: 20px;
    animation: zoomIn 1s ease-out;
}

.logoferie {
    opacity: 0;
    width: 80vw;
    max-width: 90vw;
    margin-bottom: 20px;
    animation: zoomIn 1s ease-out forwards;
    animation-delay: 1s;
}

/* Contatti */
.contacts {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    font-size: 18px;
    opacity: 0;
    animation: fadeIn 1s ease-in-out 700ms forwards;
    position: absolute;
    bottom: 2rem;
    width: 100%;
    text-align: center;
}

.contacts a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contacts a+a {
    margin-left: 3rem;
    text-wrap: no-wrap;
}

.contacts a:hover {
    color: #ddd;
}

@media screen and (max-width: 572px) {

    .contacts a {
        display: block;
    }

    .contacts a+a {
        margin-left: 0;
        margin-top: 0.5rem;
    }

}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    70% {
        opacity: 1;
    }

    to {
        transform: translate(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes bg {
    0% {
        background: #000;
    }

    100% {
        background: #00000052;
    }
}