.container {
    display: flex;
    justify-content: center;
    align-items:center;
    text-transform: uppercase;
    height: 100vh;
    flex-direction: column;
    transition: all 1s ease;
}

.title, .subtitle {
    display: flex;
    gap: 10px;
    color: #fec5e5;
    font-size: 14rem;
    font-weight: 700;
    text-align:center;
    text-shadow: 0 0 5px #ff4fb2, 0 0 10px #ff4fb2, 0 0 20px #ff4fb2, 0 0 40px #541367, 0 0 60px #541367, 0 0 80px #541367;
    max-height: 300px;
    transition: opacity 0.3s ease;
}

.blinking {
    animation: blink 2s infinite linear;
}

.subtitle {
    font-size: 6rem;
}

.title > .letter {
    margin: 0 .9px;
}

@keyframes blink {
    60%, 70%, 79% {
        opacity: 1;
    }

    65%, 67%, 76%, 78% {
        opacity: .2;
    }

    66%, 69%, 77% {
        opacity: .8;
    }
}

#flipContainer {
    display: none;
}

.form-container {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: #5413674d;
    border: 1px solid #ff4fb24d;
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: white;
    text-align: center;
}

.form-container .header {
    margin-bottom: 30px;
}

.form-container .header span {
    font-size: 32px;
    font-weight: bold;
    color: #e83e8c;
}

.form-container .content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-container .field {
    text-align: left;
}

.form-container .field label {
    font-size: 14px;
    font-weight: 600;
    color: #e83e8c;
    margin-bottom: 5px;
}

.form-container .field input {
    width: 100%;
    padding: 12px;
    background-color: #54136766;
    border: 2px solid #e83e8c;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    outline: none;
}

/* Placeholder Styling */
.form-container .field input::placeholder {
    color: #fec5e5; /* Colore chiaro per il placeholder */
    font-size: 14px;
    opacity: 1; /* Assicura che il placeholder sia sempre visibile */
}


.form-container .field input:focus {
    border-color: #e83e8c;
    box-shadow: 0 0 5px rgba(232, 62, 140, 0.8);
}

.form-container .primary-button, .form-container .secondary-button {
    display: inline-block;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-container .primary-button {
    background-color: #e83e8c;
    color: white;
    border: none;
    font-size: 16px;
}

.form-container .primary-button:hover {
    background-color: #d83a74;
}

.form-container .secondary-button {
    color: #e83e8c;
    font-size: 14px;
    margin-top: 15px;
}

.form-container .field-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-container .tertiary-button {
    font-size: 14px;
    color: #fec5e5;
}

.form-container .secondary-button:hover {
    color: #d83a74;
}

.form-container span {
    font-size: 14px;
    color: #fec5e5;
    display: block;
    margin-top: 20px;
}

.form-container span a {
    text-decoration: none;
    color: #e83e8c;
    font-weight: 600;
}

.form-container span a:hover {
    color: #d83a74;
    text-decoration: underline;
}

.flip-container {
    perspective: 1000px;
}

.flipper {
    position: relative;
    width: 300px;
    height: 360px;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.login, .registration {
    position: absolute;
}

/* Lato frontale (login) */
.login {
    display: block;
    transform: rotateY(0deg);
}

/* Lato posteriore (register) */
.registration {
    display: none;
    transform: rotateY(180deg);
}

/* Quando è attivo, giriamo la card */
.flip-container.active .flipper {
    transform: rotateY(180deg);
}