body {
    font-family: 'Open Sans', sans-serif;
}

.modal-newsletter {
    color: #9f9f9f;
    width: 525px;
    font-size: 15px;
    margin: 50px 0px 0px 0px;
}

.modal-newsletter .modal-content {
    padding: 40px 40px;
    border-radius: 1px;
    border: none;
}

.modal-newsletter .modal-header {
    border-bottom: none;
    position: relative;
    border-radius: 5px 5px 0 0;
    justify-content: center;
}

.modal-newsletter h4 {
    color: #000;
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 15px;
    margin: 0;
    text-transform: uppercase;
}

.modal-newsletter h1 {
    color: #000;
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 30px;
    margin: 0;
    text-transform: uppercase;
}


.modal-newsletter .close {
    position: absolute;
    top: -25px;
    right: -35px;
    color: #c0c3c8;
    text-shadow: none;
    opacity: 0.5;
    font-size: 26px;
    font-weight: normal;
}

.modal-newsletter .close:hover {
    opacity: 0.8;
}

.modal-newsletter .form-control,
.modal-newsletter .btn {
    min-height: 46px;
    text-align: center;
    border-radius: 1px;
}

.modal-newsletter .form-control {
    box-shadow: none;
    background: #f5f5f5;
    border-color: #d5d5d5;
}

.modal-newsletter .form-control:focus {
    border-color: #ccc;
    box-shadow: 0 0 8px #FAAD06(0, 0, 0, 0.1);
}

.modal-newsletter .btn {
    color: #fff;
    background: #353535;
    text-decoration: none;
    transition: all 0.4s;
    line-height: normal;
    padding: 6px 20px;
    border: none;
    margin-top: 10px;
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
}

.modal-newsletter .btn:hover,
.modal-newsletter .btn:focus {
    background: #FAAD06 !important;
    outline: none;
    box-shadow: 0 0 8px #FAAD06 !important;
}

.modal-newsletter .form-group {
    padding: 0 20px;
}

.modal-newsletter .footer-link {
    margin-top: 10px;
    min-height: 25px;
}

.modal-newsletter .footer-link a {
    color: #353535;
    display: inline-block;
    border-bottom: 2px solid;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
}

.modal-newsletter .footer-link a:hover,
.modal-newsletter .footer-link a:focus {
    text-decoration: none;
    border: none;
}

a {
    text-decoration: none !important;
}


.effect {
    /* Necessario per posizionare il left-overlay */
    overflow: hidden;
    /* Evita che l'overlay esca dai confini */
    display: flex;
    /* align-items: center; */
    justify-content: center;
    padding-right: 50px;
    perspective: 1000px;

}

.effect1 {
    /* Necessario per posizionare il left-overlay */
    overflow: hidden;
    /* Evita che l'overlay esca dai confini */
    display: flex;
    align-items: center;
    justify-content: center;


}

.video {
    background-color: #1B2023;
    position: relative;
    height: auto;
    width: auto;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px;
    z-index: 2;
    /* Mantiene il video sopra l'overlay */
    border: solid 8px #1B2023;
    box-shadow: 0 0 30px 10px #0e0e0e;
    border-radius: 10px;
    border: solid 2px #FAAD06;
    align-self: center;
    transform-style: preserve-3d;
    transition: transform 0.9s;
}

.video video {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.card-button {
    align-self: start;
    background: #FAAD06;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.card-button:hover {
    background: #2b2b2b;
}

.carta {
    border-radius: 10px;
    margin: 20px 40px 80px 40px !important;
    border: solid 2px gray;
    background-color: #fff;
    /* Colore di sfondo della carta */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carta:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 15px rgba(64, 63, 63, 0.847);
    /* Ombra gialla */
}


.imgBiglietto {
    height: 100%;
    width: 100%;
}

.centered-image {
    position: absolute;
    top: -3%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    border: solid 2px #FAAD06;
    border-radius: 10px;
    backface-visibility: hidden !important;

}

.small-image {
    width: 90px;
    height: auto;
    border-radius: 8px;
}

.col-md-6 effect {
    border: solid;
    border-color: #FAAD06;
}


body {
    background-image: url(/imgs/1.png);
    background-repeat: no-repeat;
    background-size: cover;
}


.back-text {
    position: absolute;
    width: fit-content;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(/imgs/zelled.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    backface-visibility: hidden;
    transform: rotateY(180deg);
    border-radius: 10px;
    padding: 30px;
    text-align: justify;
    flex-direction: column;
}



.front-text1 {
    background-color: rgba(255, 255, 255, 0.842);
    color: black;
    padding: 20px;
    text-align: justify;
    border-radius: 10px;
    font-family: 'Quicksand';
    box-shadow: 0 0 30px 10px #0e0e0e;


}
.front-text2 {
    background-color: rgba(255, 255, 255, 0.842);
    color: black;
    padding: 45px;
    text-align: justify;
    border-radius: 10px;
    font-family: 'Quicksand';
    box-shadow: 0 0 30px 10px #0e0e0e;

    
}

.front-text .img1 {
    width: 100%;
    height: 100%;
    
}


.front-text {
    position: relative;
}


.img2 {
    position: absolute;
    top: 50%;
    left: 92%;

}

.front-text .img2 {
    width: 50%;
    height: 50%;
}

.effect:hover .video {
    transform: rotateY(180deg);
}


video {
    backface-visibility: hidden !important;

}

.boom {
    text-decoration: none;
    color: #FAAD06;
    font-size: 3rem;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
    
}

/* Sottolineatura animata */
.boom::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: #FAAD06;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

/* Effetto hover */
.boom:hover {
    color: #FAAD06;
    transform: scale(1.2);
}

.boom:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}



@media (max-width: 744px) {

    .boom {
        font-size: 2rem !important;
    }

}


@media (max-width: 550px) {

    .boom {
        font-size: 1rem !important;
    }

}