@import url('https://fonts.cdnfonts.com/css/zapfino');

body {
    font-family: 'Raleway' !important;
    overflow-x: hidden;
}

.rooms-link {
    position: relative;
}
.percorso-descrizione {
  white-space: pre-line;
}

.rooms-dropdown {
    display: none;
    position: fixed;
    top: 37%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 10px;
    border: 1px solid #ddd;
    z-index: 1000;
    width: 83%;

}

.room-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding-bottom: 65%;
}

.room-item img {
    display: block;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero {
    position: relative;
    height: 100vh;
    text-shadow: 2px 2px 10px rgb(0 0 0);
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero h2,
.hero h1,
.hero h4 {
    opacity: 0;
    transform: scale(1.2);
    animation: zoomOut 1s forwards;
}


.hero h2 {
    animation-delay: 0.5s;
}

.hero h1 {
    animation-delay: 1s;
}

.hero h4 {
    animation-delay: 1.5s;
}


@keyframes zoomOut {
    0% {
        opacity: 0;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero h1 {
    font-size: 5rem;
}

.hero h2 {
    font-size: 4rem;
}

.hero h4 {
    font-size: 2rem;
}

/* CICLISTA */


.ciclisti {
    font-size: 3.1rem;
}

.ciclisti p {
    line-height: 1.3;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.ciclisti.visible p {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width:575.98px) {
    .ciclisti {
        font-size: 1rem;
    }
}

@media (min-width:576px) and (max-width:767.98px) {
    .ciclisti {
        font-size: 1.3rem;
    }
}

@media (min-width:768px) and (max-width:991.98px) {
    .ciclisti {
        font-size: 1.5rem;
    }
}

@media (min-width:992px) and (max-width:1399.98px) {
    .ciclisti {
        font-size: 2rem;
    }
}


/* SEZIONI */
.hero-percorsi {
    background-image: url('../images/percorsi/mtb.jpeg');  /* Immagine di default */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 80vh;
    text-shadow: 2px 2px 10px rgb(0 0 0);
    transition: background-image 0.8s ease-in-out; /* Transizione fluida per l'immagine */
}

.hero-percorsi p {
    padding: 1% 5%;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer; 
    transition: background-color 0.5s ease, color 0.5s ease;
}

.hero-percorsi p.active {
    background-color: white;
    color: black;
    text-shadow: none;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.card {
    height: 100%; 
}


.card-img-top {
    height: 200px; 
    object-fit: cover; 
    transition: transform 0.3s ease; 
}

.card-img-top:hover {
    transform: scale(1.1); 
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    height: 25%; 
}

.modal span{
    color:#9EC042;
}

.fa-heart.fas {
    color: red !important;
}

.btn-outline-green {
    color: #9EC042 !important;
    border: 1px solid #9EC042 !important;
}

.btn-outline-green:hover,
.btn-outline-green:focus {
    background-color: #9EC042 !important;
    color: white !important;
    border-color: #9EC042 !important;
}

.email-form-overlay {
  display: none; 
}

.email-form-overlay.show { 
  display: flex; 
}
