*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: "Darker Grotesque", sans-serif;
	list-style: none;
	text-decoration: none;
}
body {
    font-family: "Cormorant Garamond", serif;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background-color: #f2f2f2; /* Fondo suave */
        }

header{
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1000;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 32px 3%;
	background: transparent;
}

.costu_logo {
    position: absolute;
    width: 6%;
    height: auto;
    left: 47%;
    top: 25%;
}


.menu{
	display: flex;
}

.menu a{
	color: black;
	margin-left: 50px;
	font-size: 21px;
	font-weight: 400;
	border-bottom: 2px solid transparent;
	transition: all .55s ease;
}

.menu a:hover{
	border-bottom: 1px solid black;
}

.galeria {
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* Tres columnas */
            gap: 40px; /* Espacio entre imágenes */
            padding: 0px;
            max-width: 2000px;
			margin-top: 220px;
	margin-bottom: 100px;
        }

        .contenedor {
            position: relative;
            width: 345px;
            height: 470px;
            padding-bottom: 66.66%; /* Relación de aspecto 3:2 */
            overflow: hidden;
            border-radius: 0px;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        }

        .contenedor img {
            position: absolute;
            top: 0;
            left: 0;
            width: 350px;
            height:470px;
            object-fit: cover;
            transition: 0.5s ease; /* Transición suave */
        }

        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0); /* Transparente por defecto */
            color: white;
            font-size: 42px;
            font-family: "Cormorant Garamond", serif;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            opacity: 0; /* Oculto al inicio */
            transition: 0.5s ease;
        }

        .contenedor:hover img {
            filter: brightness(0.6); /* Oscurece la imagen */
        }

        .contenedor:hover .overlay {
            background: rgba(0, 0, 0, 0.5); /* Oscurece el fondo */
            opacity: 1; /* Muestra el texto */
        }

        a {
            text-decoration: none; /* Sin subrayado */
            color: white; /* Color del texto en el overlay */
        }



@media (max-width: 880px) { 
	header {
	display: flex;
    flex-direction: column; /* Apila los elementos en columna */
    align-items: center; /* Centra horizontalmente */
    justify-content: center; /* Centra verticalmente */
    width: 100%;
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
	}
	
	.menu {  
	position: static;
	width: 90%;
	display: flex;
	align-items: center;
	justify-content: space-around;
	padding: 32px 3%;
	background: transparent; 
	padding-top: 10%;} 
	
	.cosu_logo { 
	position: static; 
	transform: none; 
	margin: 10px 0;
	 } 
	.overlay {
		font-size: 32px;
}
}

@media (max-width: 1200px){
	
	.contenedor {
            position: relative;
            width: 320px;
            height: 445px;
            padding-bottom: 66.66%; /* Relación de aspecto 3:2 */
            overflow: hidden;
            border-radius: 0px;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        }
	  .contenedor img {
            position: absolute;
            top: 0;
            left: 0;
            width: 330px;
            height:450px;
            object-fit: cover;
            transition: 0.5s ease; /* Transición suave */
        }

	@media (max-width: 1120px){
		.contenedor {
            position: relative;
            width: 300px;
            height: 425px;
            padding-bottom: 66.66%; /* Relación de aspecto 3:2 */
            overflow: hidden;
            border-radius: 0px;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        }
	  .contenedor img {
            position: absolute;
            top: 0;
            left: 0;
            width: 310px;
            height:430px;
            object-fit: cover;
            transition: 0.5s ease; /* Transición suave */
        }
	}
	
	@media (max-width: 1030px){
		.contenedor {
            position: relative;
            width: 280px;
            height: 405px;
            padding-bottom: 66.66%; /* Relación de aspecto 3:2 */
            overflow: hidden;
            border-radius: 0px;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        }
	  .contenedor img {
            position: absolute;
            top: 0;
            left: 0;
            width: 290px;
            height:410px;
            object-fit: cover;
            transition: 0.5s ease; /* Transición suave */
        }
	}
	
	@media (max-width: 980px){
		.contenedor {
            position: relative;
            width: 250px;
            height: 375px;
            padding-bottom: 66.66%; /* Relación de aspecto 3:2 */
            overflow: hidden;
            border-radius: 0px;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        }
	  .contenedor img {
            position: absolute;
            top: 0;
            left: 0;
            width: 250px;
            height: 380px;
            object-fit: cover;
            transition: 0.5s ease; /* Transición suave */
        }
		.overlay {
		font-size: 34px;
}
	}
	
	@media (max-width: 860px){
	
	.contenedor {
            position: relative;
            width: 200px;
            height: 325px;
            padding-bottom: 66.66%; /* Relación de aspecto 3:2 */
            overflow: hidden;
            border-radius: 0px;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        }
	  .contenedor img {
            position: absolute;
            top: 0;
            left: 0;
            width: 210px;
            height: 330px;
            object-fit: cover;
            transition: 0.5s ease; /* Transición suave */
        }
	}

	@media (max-width: 750px){
		
		.galeria {
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* Tres columnas */
            gap: 20px; /* Espacio entre imágenes */
            padding: 0px;
            max-width: 2000px;
			margin-top: 220px;
	margin-bottom: 100px;
        }
		.overlay {
		font-size: 24px;
}
	}
	
	@media (max-width: 600px){
		
		.galeria {
            display: grid;
            grid-template-columns: repeat(2, 1fr); /* Tres columnas */
            gap: 20px; /* Espacio entre imágenes */
            padding: 0px;
            max-width: 2000px;
			margin-top: 200px;
	margin-bottom: 100px;
        }
	}
	
	@media (max-width: 470px){
		
		.galeria {
            display: grid;
            grid-template-columns: repeat(2, 1fr); /* Tres columnas */
            gap: 15px; /* Espacio entre imágenes */
            padding: 0px;
            max-width: 2000px;
			margin-top: 150px;
	margin-bottom: 100px;
        }
		
	.contenedor {
            position: relative;
            width: 180px;
            height: 275px;
            padding-bottom: 66.66%; /* Relación de aspecto 3:2 */
            overflow: hidden;
            border-radius: 0px;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        }
	  .contenedor img {
            position: absolute;
            top: 0;
            left: 0;
            width: 180px;
            height: 280px;
            object-fit: cover;
            transition: 0.5s ease; /* Transición suave */
        }
	}
	
	@media (max-width: 430px){
	
	.menu a{
	font-size: 18px;
    display: flex;
    justify-content: center; /* Centra los elementos del menú */
    flex-wrap: wrap; /* Hace que los elementos bajen en pantallas pequeñas */
    max-width: 90%; /* Para que no se desborde */
    overflow: hidden;
	white-space: nowrap;
	margin-left: 35px;
	margin-top: 10px;
		}
		
	.contenedor {
            position: relative;
            width: 150px;
            height: 245px;
            padding-bottom: 66.66%; /* Relación de aspecto 3:2 */
            overflow: hidden;
            border-radius: 0px;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        }
	  .contenedor img {
            position: absolute;
            top: 0;
            left: 0;
            width: 150px;
            height: 250px;
            object-fit: cover;
            transition: 0.5s ease; /* Transición suave */
        }
	}
	
	@media (max-width: 390px){
		
	.contenedor {
            position: relative;
            width: 140px;
            height: 205px;
            padding-bottom: 66.66%; /* Relación de aspecto 3:2 */
            overflow: hidden;
            border-radius: 0px;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        }
	  .contenedor img {
            position: absolute;
            top: 0;
            left: 0;
            width: 140px;
            height: 210px;
            object-fit: cover;
            transition: 0.5s ease; /* Transición suave */
        }
		.overlay {
		font-size: 18px;
}
	}
}