@charset "UTF-8";
/* CSS Document */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow: hidden;
}

/* Carrusel de imágenes */
.carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay para oscurecer imágenes */
.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Negro con 50% de opacidad */
    z-index: 1; /* Asegura que el overlay esté sobre la imagen, pero debajo del logotipo y menú */
}

/* Logotipo */
.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.logo img {
    max-width: 300px; /* Ajusta según el tamaño del logotipo */
    height: auto;
}

/* Menú hamburguesa */
.menu {
    position: absolute;
	top: calc(50% + 100px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hamburger {
    cursor: pointer;
    width: 40px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	transition: all 0.3s ease;
}

.hamburger span {
    width: 100%;
    height: 5px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/*Transformación a "X" */ 
.hamburger.active span:nth-child(1) {
	transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
}

.hamburger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(10px, -10px);
}

/* Opciones del menú */
.menu-options {
	list-style: none;
	margin-top: 10px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	text-align: center;
}

.menu-options.active {
	max-height: 200px;
}

.menu-options li {
	margin: 10px 0;
}

.menu-options a {
	color: white;
	text-decoration: none;
	font-size: 18px;
	font-family: Arial, sans-serif;
	transition: color 0.3s ease;
}

.menu-options a:hover {
	color: #F0F0F0;
}

/* Media queries para ajustar el tamaño del logotipo en pantallas pequeñas */
@media (max-width: 768px) {
    .logo img {
        width: 30vw; /* Aumenta el tamaño relativo en pantallas pequeñas */
        min-width: 200px; /* Reduce el tamaño mínimo para móviles */
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 40vw; /* Aumenta aún más el tamaño relativo en pantallas muy pequeñas */
        min-width: 150px;
    }