body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-family: Arial, sans-serif;
    /* La gif si aspetta di essere nella stessa cartella del CSS/HTML */
    background: url('pfr-gif.gif') no-repeat center center fixed;
    background-size: cover;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    transition: opacity 1s ease-in-out;
}

.content, .text-choice, .color-options {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    transition: visibility 0s, opacity 1s ease-in-out;
}

.visible {
    visibility: visible;
    opacity: 1;
    position: static;
}

.zoom-in {
    transform: scale(1.1);
    transition: transform 3s ease-in-out, opacity 1s ease-in-out;
}

.text-choice {
    color: white;
    font-size: 18px;
    margin-top: 20px;
    transform: translateY(50%);
}

.color-options {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    z-index: 1;
}

.color-options div {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.color-options .blue {
    background-color: blue;
}

.color-options .red {
    background-color: red;
}

.color-options .purple {
    background-color: purple;
}

.color-options div:hover {
    opacity: 0.7;
}

@media (max-width: 600px) {
    .color-options {
        gap: 10px;
    }
}