@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

/* Sezione RSVP */
.sez4 {
    padding-top: 4%;
    padding-left: 10%;
    padding-right: 10%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sez4Cont {
    width: 100%;
    background-color: #d2d2d2;
    position: relative;
    height: auto;
}

.rsvp-box {
    width: 100%;
    background-color: #d2d2d2;
    position: relative;
    padding-top: 50px;
}

.rsvp-title {
    position: absolute;
    top: -86px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    font-weight: 700;
    padding: 10px 20px;
}

.rsvp-text {
    text-align: center;
    font-family: "Commissioner", sans-serif;
    font-weight: 500;
   /** font-size: 20px; **/
    color: #333;
    line-height: 1;
    margin-top: 50px;
    margin-bottom: 70px;
}

.rsvp-text::after {
    content: '\A'; 
    white-space: pre;
}

/* Form */
.form-container {
    margin: 50px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


form {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
}

.label-inputs {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 2.2rem; 
}

.in-rsvp, .testo-libero, textarea {
    font-size: 2.2rem;
    padding: 12px;
    width: 100%;
}
.radio-container {
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

.radio-group label {
    display: inline-block;
    margin-right: 10px;
    font-size: 1.2rem; 
}

.radio-group input[type="radio"] {
    margin-left: 10px;
    margin-right: 5px;   
    -ms-transform: scale(2);
    -webkit-transform: scale(2);
    transform: scale(2);
}

.submit-btn, button[type="submit"] {
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    font-family: 'Lato', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    padding: 15px 30px;
    border-radius: 4px;
    border: none;
    width: 100%;
    cursor: pointer;
    display: inline-block;
    transition: 0.3s;
    margin-top: 20px;
}

.submit-btn:hover, button[type="submit"]:hover {
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2); 
}

textarea {
    resize: vertical;
    height: 100px;
}

textarea:disabled {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
}
