
.info-box {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
.invitation-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}
.invitation-text {
    font-size: 18px;
    color: #555;
}
.email-link {
    color: #007bff;
    text-decoration: none;
}
.email-link:hover {
    text-decoration: underline;
}
.carousel-image {
    max-width: 60%;
    height: auto;
    margin: 0 auto;
}
.image-item {
    display: flex;
    align-items: center;
    margin: 20px 0;
    transition: transform 0.5s ease;
}
.image-item:hover {
    transform: translateX(10px);
}
.image-container {
    width: 300px;
    height: 400px;
    margin-right: 20px;
    position: relative;
    transition: transform 0.5s ease;
}
.image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease, transform 0.3s ease;
}
.image:hover {
    filter: opacity(0.5);
    transform: scale(1.05);
}
.text-container {
    flex: 1;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.7s forwards;
}
.text {
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
}
.date {
    font-size: 14px;
    font-weight: bold;
    margin-top: 15px;
    color: #555;
}
.button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    text-align: center;
    margin-top: 15px;
    opacity: 0;
    animation: fadeIn 0.7s forwards;
    animation-delay: 0.3s;
}
.button:hover {
    background-color: #0056b3;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.tituloVistas {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s forwards;
}
@media (max-width: 768px) {
    .image-item {
        flex-direction: column;
        text-align: center;
    }
    .image-container {
        width: 80%;
        height: auto;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .text-container {
        width: 80%;
        margin: 0 auto;
        padding: 10px;
    }
    .tituloVistas {
        font-size: 1.5rem;
        margin-top: 20px;
    }
    .button {
        font-size: 14px;
        padding: 8px 16px;
    }
}
@media (max-width: 480px) {
    .image-container {
        width: 100%;
        height: auto;
    }
    .text {
        font-size: 16px;
    }
    .date {
        font-size: 12px;
    }
    .button {
        font-size: 12px;
        padding: 8px 12px;
    }
}