@charset "UTF-8";
/* CSS Document */
html{
    box-sizing: border-box;
	font-size: 62.5%;
}
*, *::before, *::after{
    box-sizing: inherit;
	margin: 0;
	padding: 0;
}

        body {
            font: 1.5em Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
            background: black;
            min-height: 100vh;
            padding: 1rem;
            color: darkgray;
            line-height: 1.6;
        }
a{
    color: #FAEBD7;
    text-decoration: none;
    letter-spacing: .3em;
}
header {
    width: 100%;
    padding: 1.5em;
}
h1 {
    text-transform: uppercase;
    font-size: 2.5em;
    letter-spacing: 0.3em;
    margin-bottom: 1.7%;
    text-align: center;
    background: #300000;
}
img {
	display: flex;
	width: 100%;
	object-fit: fill;
	border-radius: .5rem;
	transition: transform 0.3s ease-in-out;
}

.iso-logo{
    clip-path: circle(47%);
}

.bio{
    margin: 10% 25% 5% 10%;
    letter-spacing: .11em;
}
.iso-logo {
    position: relative;
    display: block;
    float: left;
    width: 7%;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style-type: none;
    line-height: 2.5rem;
}
nav ul li {  
    margin-left: 1.5em;
}

.menu-horizontal > li:hover{
    outline: none;
    color: white;
    border-bottom: 1px solid white;
}
.menu-horizontal >li >a{
    font-size: .85em;
    padding-bottom: .5em;
    text-decoration: none;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: darkgrey;
}

.container {
            max-width: 1400px;
            margin: 0 auto;
        }

        h1 {
            text-align: center;
            color: white;
            margin-bottom: 30px;
            font-size: clamp(1.5rem, 5vw, 3rem);
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        /* Galería con CSS Grid - completamente responsive sin media queries */
        .gallery {
            display: grid;
            gap: 1rem;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            grid-auto-rows: minmax(200px, auto);
            grid-auto-flow: dense;
        }

        /* Estilos para los items de la galería */
        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
            cursor: pointer;
        }

        .gallery-item:hover {
            transform: scale(1.02);
            box-shadow: 0 8px 12px rgba(0,0,0,0.2);
        }

        /* Hacer algunas imágenes más grandes */
        .gallery-item.wide {
            grid-column: span 2;
        }

        .gallery-item.tall {
            grid-row: span 2;
        }

        /* Estilos para las imágenes */
        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.1);
        }

        /* Overlay con información */
        .overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            color: white;
            padding: 20px;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .gallery-item:hover .overlay {
            transform: translateY(0);
        }

        .overlay h3 {
            font-size: 1.2rem;
            margin-bottom: 5px;
        }

        .overlay p {
            font-size: 0.9rem;
            opacity: 0.9;
        }

        /* Footer */
        footer {
            text-align: center;
            margin-top: 40px;
            color: white;
            font-size: 2rem;
}

footer a{
    color: #FAEBD7;
    text-decoration: none;
    letter-spacing: 1.11em;
}
footer:hover{
    background-color: maroon;
    border-style: none;
}
.textual{
    margin: 0 25% 5% 25%;
    font-family: monospace;
    font-size: 0.01%;
}
.texto{
    margin: 0 10%;
}
        /* Alternativa con Flexbox (descomentar para probar) */
        /*
        .gallery-flex {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .gallery-flex .gallery-item {
            flex: 1 1 250px;
        }

        .gallery-flex .gallery-item.wide {
            flex: 2 1 500px;
        }
        */
