@font-face {
    font-family: 'Brush';
    src: url('alex-brush/AlexBrush-Regular.ttf') format('truetype');
   
}

@font-face {
    font-family: 'Regular';
    src: url('quicksand/Quicksand-Regular.otf') format('truetype');
   
}
@font-face {
    font-family: 'Light';
    src: url('quicksand/Quicksand-Light.otf') format('truetype');
   
}

@font-face {
    font-family: 'Regularr';
    src: url('cooper-hewitt/CooperHewitt-Light.otf') format('truetype');
   
}

@font-face {
    font-family: 'Bold';
    src: url('cooper-hewitt/CooperHewitt-Book.otf') format('truetype');
   
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Regularr';
    margin-top: 80px;
}

@media screen and (max-width: 768px) {
    body {
        margin-top: 0; /* Ajusta el valor según la altura de tu navbar */
    }
}

.navbar {
    background-color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: fixed; /* Hace que el navbar sea fijo en la parte superior */
    width: 100%; /* Ocupa todo el ancho de la pantalla */
    top: 0; /* Lo sitúa en la parte superior de la pantalla */
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
}

.navbar-brand img {
    width: auto; /* Ajusta automáticamente el ancho de la imagen */
    height: 100px; /* Altura deseada de la imagen */
}

@media screen and (max-width: 768px) {
    .navbar-brand img {
        height: 70px; /* Altura de la imagen para pantallas más pequeñas */
    }
}

@media screen and (max-width: 576px) {
    .navbar-brand img {
        height: 50px; /* Altura de la imagen aún más reducida para pantallas pequeñas */
    }
   
}

.nav {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-right: 10px;
}

.nav-link {
    text-decoration: none;
    color: black;
}
/* Estilos para el botón "burger" */
.navbar-toggle {
    display: none; /* Ocultar el botón en pantallas grandes */
}

/* Media query para pantallas pequeñas */
@media screen and (max-width: 768px) {
    .nav {
        display: none; /* Ocultar el menú en pantallas pequeñas */
        flex-direction: column; /* Mostrar los elementos en columna */
        position: absolute;
        top: 70px; /* Altura de la barra de navegación */
        left: 0;
        background-color: white;
        width: 100%;
        z-index: 1000;
    }

    .nav-item {
        margin-right: 0; /* Quitar el margen derecho en pantallas pequeñas */
    }

    .navbar {
        position: relative;
    }
    .nav-link {
        text-decoration: none;
        color: black;
    }
   
    .navbar-toggle {
        display: block; /* Mostrar el botón en pantallas pequeñas */
        position: absolute;
        top: 50%; /* Centrar verticalmente */
        right: 25px; /* Ajustar posición desde el borde derecho */
        transform: translateY(-50%); /* Centrar verticalmente */
        font-size: 1.5em;
        background: none;
        border: none;
        cursor: pointer;
        color: #333;
        z-index: 2000;
    }
    .nav-item.dropbtn {
        cursor: pointer;
        font-weight: bold;
        color: black;
        text-decoration: none;
        display: inline-block;
    }

    .nav-item.dropbtn:hover {
        background-color: #D0D0D0;
        color: #333;
    }

    .dropdown-content {
        display: none;
        position: relative;
        color: black;
    }

    .dropdown-content a {
        display: block;
        text-decoration: none;
        color: black;
        padding: 10px;
    }
}

/* Media query para el menú desplegado */
@media screen and (max-width: 768px) {
    .nav.active {
        display: flex; /* Mostrar el menú cuando está activo */
    }
}
.container {
    max-width: 65em;
    margin: 0 auto;
    padding: 20px;
    align-items: center;
}
.titulo_bio{
    text-align: center;
    font-size: 50px;
    letter-spacing: 2px;
    font-family: 'Bold';
    margin-left: 60px; 
    margin-right: 60px; 
    letter-spacing: 0;
}

.biografia{
    text-align:justify;
    line-height: 30px;
    font-size: 18px;
}


.fecha{
    font-family: 'Bold';
    font-size: 20px;
}

.dropbtn {
    cursor: pointer;
    font-weight: bold;
    color: black;
    text-decoration: none;
    padding: 12px 16px;
    display: inline-block;
}

.dropbtn:hover, .dropbtn:focus {
    background-color: #D0D0D0;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    text-decoration: none;
    display: block;
    padding: 12px 16px;
}

.dropdown a:hover {
    background-color: #D0D0D0;
}

.show {
    display: block;
}

.container-obras {
    max-width: 1200px; /* O ajusta según tus necesidades */
    margin: 0 auto;
    padding: 20px;
    margin-bottom: 40px;
}

/* Estilos para la cuadrícula de imágenes */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    justify-content: center; /* Centra la cuadrícula horizontalmente */
    align-items: center; /* Centra la cuadrícula verticalmente */
}

.image-grid .art-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.image-grid img {
    width: 100%;
    height: 100%;
    object-fit:fill;
    display: block;
    transition: transform 0.3s ease;
}

.image-grid .art-item:hover img {
    -webkit-transform:scale(1.2);
    transform:scale(1.2);
    z-index: 1;
}

/* Estilos para la capa de información */
.image-grid .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.image-grid .art-item:hover .image-overlay {
    opacity: 1;
}

.image-grid .overlay-info {
    margin: 0;
    font-size: 24px;
    color: #333;
}

@media screen and (max-width: 768px) {
    .image-grid .overlay-info {
        font-size: 12px; /* Tamaño de fuente más pequeño para pantallas más pequeñas */
    }

    .image-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 80px;
        justify-content: center; /* Centra la cuadrícula horizontalmente */
        align-items: center; /* Centra la cuadrícula verticalmente */
    }
}

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

footer {
    bottom: 0; /* Lo sitúa en la parte inferior de la pantalla */
    background-color: white;
    padding: 5px; /* Reducir el padding para hacerlo más pequeño */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px; /* Altura más pequeña */
}

footer img {
    margin-right: 5px; /* Reducir el margen derecho */
}

.social-logo {
    width: 40px; /* Reducir el tamaño del logo */
    height: auto;
    margin-right: 5px; /* Reducir el margen derecho */
}

.social-info {
    display: flex;
    align-items: center;
    text-align: center;
    margin-right: 25px; /* Reducir el margen derecho */
    filter: grayscale();
}

footer a {
    text-decoration: none;
    color: black;
}
.container_inicio {
    /* display: flex; */
    max-width: 1200px; /* Ancho máximo del contenido */
    margin: 0 auto; /* Centrar el contenido en la página */
    padding: 20px;
    overflow: hidden;
}

.image-container {
    float: left;
    /* flex: 0.8; Ocupa el 50% del ancho disponible */
    margin-bottom: 40px; /* Espaciado inferior mayor para la imagen */
    margin-right: 20px;
}

.body-critica{
    background-color: #F5F5F5; 
    margin-top: 100px;
}
.texto_inicio {
    text-align:justify;
    line-height: 30px;
}
.texto_inicio1 {
    text-align:justify;
    line-height: 30px;
    margin-left: 550px;
}

.paco{
    max-width: 100%; 
    margin-top: 20px;
    height: auto;
    width: 500px;
    display: block;
}

.critica{
    font-family: 'Regularr';
    font-weight: bolder;
    font-style: italic;
    font-size: 18px;
}

h1{
    font-family: 'Bold';
    font-size: 40px;
}

.critico{
    font-family: 'Bold'; 
    margin-left: 33%;
}
@media (max-width: 768px) {

    .container_inicio {
        flex-direction: column;
        align-items: flex-start;
    }

    .text-container {
        margin-left: 0;
    }
    .critico{
        margin-left: 5%;
    }
    .texto_inicio1 {
        margin-left: 0;
    }
    .body-critica{
        margin-top: 0;
    }
    .titulo_bio{
        text-align: center;
        font-size: 40px;
        letter-spacing: 2px;
        font-family: 'Bold';
        letter-spacing: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

.formulario {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-image: url('img/backgroun2.png'); /* Establecer la imagen como fondo */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

form {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 500px;
    height: 500px;
    text-align: center;
}

form label {
    display: block;
    margin-bottom: 10px;
}

form input,
form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

form textarea {
    resize: vertical;
}

form input[type="submit"] {
    background-color: #D0D0D0;
    cursor: pointer;
    border-color: none;
}

form input[type="submit"]:hover {
    background-color: #99CCB1;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        margin-top: 10px;
    }
    .container{
        margin: 20px;
    }
}


#play-button,
#seek-bar {
    background-color: transparent;
    color: #fff;
    border: none;
    cursor: pointer;
}

#play-button:before {
    content: '\25B6'; /* Código del icono de reproducción (triángulo hacia la derecha) */
    font-size: 20px;
}

#play-button.paused:before {
    content: '\23F8'; /* Código del icono de pausa (dos barras verticales) */
}

#seek-bar {
    flex: 1;
    margin: 0 10px;
}


#inicio-container {
    background-image: url('img/paco.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
   
}

.evento{
    width: 50px;
}
@media screen and (max-width: 768px) {
   #inicio-container{
    background-image: url('img/paco_2.jpeg');
   }
}

#firma{
    margin-bottom: 5px;
}

#acceder-btn {
    color: gray;
    border: none;
    height: 40px;
    
}

#acceder-btn:focus {
    color:#333;
}


.index-container {
    
    display: flex; /* Usar flexbox */
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
    background-image: url('img/backgroun2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding:20px;
}

.video-wrapper {
    position: relative;
    padding-top: 50%; /* Proporción de aspecto 16:9 (9 / 16 * 100) */
    overflow: hidden;
}

#video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

#myVideo {
    width: 100%;
    height: auto;
    object-fit: cover;
}


.carousel-container {
    width: 100%;
    height: 250px; /* Altura deseada */
    overflow: hidden;
    white-space: nowrap;
    margin-top: 60px;
}

.carousel-container img {
    width: 300px; /* Ancho deseado */
    max-height: 100%;
    display: inline-block;
    vertical-align: bottom;
    animation: slide 20s linear infinite; /* Ajusta la duración según tus necesidades */
}

@keyframes slide {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(calc(-250px * 7)) /* Ajusta el valor según el número de imágenes (en este caso, 6 imágenes) */
    }
}



.timeline {
    position: relative;
    margin-top: 50px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    height: 3px;
    background-color: #A74465;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.year {
    font-size: 20px;
    color: #A74465;
    position: relative;
    bottom: 20px;
    margin-bottom: 5px;
    font-family: 'Bold';
}

.year:hover{
    cursor: pointer;
}

/* Estilos para la información del evento */
.evento-info {
    position: absolute;
    max-width: 300px;
    background-color: #C24F76;
    opacity: 30%;
    color: #FFEAB0;
    padding: 15px;
    border-radius: 5px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    letter-spacing: 2px;
}

.evento:hover .evento-info, .year:hover + .evento .evento-info {
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .year{
        font-size: 10px;
    }
}


.container-obra {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.carousel-obra {
    position: relative;
    width: 50%;
    height: auto;
}

.carousel-image {
    width: 100%;
    height: auto;
}

.carousel-buttons {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.carousel-buttons button {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    margin: 0 5px;
    cursor: pointer;
}



.description {
    display: flex;
    margin: 5% 5% 2% 5%;
    margin-left: 20%;
}

.description h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.price{
    font-size: 26px;
    margin: 5px 0;
    font-family: 'Bold';
}
.dimensions {
    font-size: 16px;
    margin: 5;
}

.text-contact{
    font-size: 16px;
    text-align: justify;
    max-width: 70%;
}
@media screen and (max-width: 768px) {
    .description {
        margin: 5% 5% 2% 5%;
        display: block;
    }
    .description h2 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .price{
        font-size: 20px;
        margin: 5px 0;
        font-family: 'Bold';
    }
    .text-contact{
        font-size: 16px;
        text-align: justify;
        max-width: none;
    }
}



h2{
    font-family: 'Bold';
    margin-top: 0;
}

.contact-button {
    background-color: gray;
    color: white;
    padding: 1% 5%;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 100%;
}

.info {
    flex: 1;
    margin-right: 20px; /* Espacio entre la información y el precio */
}

.price-contact {
    flex-shrink: 0; /* Evita que el bloque se reduzca en tamaño */
    flex: 1;
}

.contact-button:hover {
    background-color: black;
    color: white;
}




@keyframes scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(calc(-250px * 14))}
}



.slider {
	background: white;
	box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .125);
	height: 200px;
	margin: auto;
	overflow:hidden;
	position: relative;
	
	&::before,
	&::after {
		content: "";
		height: 100px;
		position: absolute;
		width: 200px;
		z-index: 2;
	}
	
	&::after {
		right: 0;
		top: 0;
		transform: rotateZ(180deg);
	}

	&::before {
		left: 0;
		top: 0;
	}
	
	.slide-track {
		animation: scroll 40s linear infinite;
		display: flex;
		width: calc(250px * 14);
	}
	
	.slide {
		height: 100px;
		width: 250px;
	}

}