/* Stile generale */
body {
    font-family: "Gabriela", serif;
  font-weight: 400;
  font-style: normal;
    background: url('cornice.svg') no-repeat center center fixed;
    background-size: cover;
    text-align: center;
    color: #444;
    margin: 0;
    padding: 0;
}

/* Contenitore principale dell'invito */
.invitation-container {
    max-width: 600px;
    margin: 100px auto;
    padding: 20px;
    border-radius: 10px;
}

/* Monogramma */
.monogram {
    text-align: center;
    margin-bottom: 20px;
}
.monogram-img {
    width: 80px;
    height: auto;
}

/* Caricamento font locale */
@font-face {
    font-family: 'CustomFont';
    src: url('DavidAndSovhieDEMO.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* Nomi degli sposi */

.names {
    font-size: 42px;
    font-weight: 400;
    color: #222;
    margin-bottom: 5px;
    font-family: 'CustomFont', serif;
}

/* Data */
.date {
    font-size: 19px;
    color: #b28f50;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Countdown */
.countdown {
    font-size: 16px;
    font-weight: bold;
    color: #b28f50;
    margin: 15px 0;
}
#timer {
    font-size: 24px;
    font-weight: bold;
    color: #222;
}

/* Orario */
.time {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 5px;
}

/* Luogo della cerimonia */
.location {
    font-size: 14px;
    color: #666;
    font-weight: normal;
    margin-bottom: 20px;
}

/* Pulsanti circolari con testo attorno *//* Pulsanti circolari con testo curvo */
.buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.circular-button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-decoration: none;
    color: #b28f50;
    position: relative;
    width: 120px;
    height: 120px;
}

.button-circle {
    width: 65px;
    height: 65px;
    border: 1px solid #b28f50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: white ;
}

.button-circle i {
    font-size: 26px;
    color: #b28f50;
}

/* Testo curvo attorno al cerchio */
.button-text {
    position: absolute;
    width: 120px;
    height: 120px;
    top: 0;
    left: 0;
    pointer-events: none;
}

.button-text svg {
    width: 100%;
    height: 100%;
    fill: none;
}

.button-text textPath {
    font-family: "Gabriela", serif;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    fill: #b28f50;
}



.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    font-family: 'Gabriela', serif;
    position: relative;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.modal-content h3 {
    margin-top: 0;
    font-size: 22px;
}

.iban-box {
    margin-top: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.iban-box code {
    font-weight: bold;
    word-break: break-all;
}

.iban-box button {
    padding: 6px 10px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background: #333;
    color: #fff;
    transition: background 0.3s;
}

.iban-box button:hover {
    background: #555;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}
