body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    height: 100vh;
    background-color: #2d2d2d; /* Fondo oscuro */
    color: white;
}

/* Estilos de la navbar */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Transparente y oscuro */
    padding: 15px 40px; /* Aumenté el padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.nav .logo {
    color: white;
    font-size: 30px; /* Aumenté el tamaño del logo */
    font-weight: bold;
    text-decoration: none;
    background-image: url('logo.png'); /* Logo */
    background-size: contain;
    background-repeat: no-repeat;
    width: 150px; /* Aumenté el tamaño del logo */
    height: 50px; /* Aumenté la altura */
}

.nav .nav-links {
    display: flex;
    gap: 20px;
}

.nav .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 5px 10px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav .nav-links a:hover {
    color: #FFD700;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
}

/* Estilos del card */
.card {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 60px auto 20px;
    background-color: #3a3a3a;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow: hidden;
}

.carousel-container {
    width: 50%;
    height: 800px; /* Establece una altura fija para el carrusel */
    overflow: hidden;
    position: relative;
    margin-left: 20px;
    border: 4px solid #FFD700; /* Borde más grande y de color dorado */
    border-radius: 10px;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%; /* Asegura que el carrusel use toda la altura */
}

.carousel-images img, .carousel-images video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex: 0 0 100%; /* Hace que cada imagen ocupe el 100% del contenedor */
}


.carousel-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-button-left {
    left: 10px;
}

.carousel-button-right {
    right: 10px;
}

/* Contenido de texto */
.container {
    width: 50%;
    text-align: left;
    padding-right: 20px;
    animation: slideIn 1s ease-out;
}

h1 {
    font-size: 4em;
    margin-bottom: 20px;
}

.content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.text {
    font-size: 1.5em;
}

@keyframes slideIn {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .card {
        flex-direction: column;
    }

    .carousel-container {
        width: 100%;
        height: 40vh;
    }

    .container {
        width: 100%;
        margin-top: 20px;
    }
}
