/* Imports */
@font-face {
    font-family: 'Neue_Haas_Display';
    src: url('../assets/fonts/Neue_Haas_Display/NeueHaasDisplayRoman.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'IM_Fell_French_Canon';
    src: url('../assets/fonts/IM_Fell_French_Canon/IMFellFrenchCanon-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

/* Body base */
body {
    width: 100%;
    font-family: 'Neue_Haas_Display';
    font-size: 1rem;
    color: #000;
    background-color: #000;
}


/* Selectors */

h1,
h2,
h3,
h4,
h6 {
    font-family: 'Neue_Haas_Display';
    font-weight: 400;
    color: #fff;
}

h5 {
    font-family: 'IM_Fell_French_Canon';
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
}

h1 {
    font-size: 7rem;
    line-height: 1.3;
}

h2 {
    font-size: 4rem;
    line-height: 1.8;
}

h3 {
    font-size: 1.6rem;
    line-height: 1.5;
}

h4 {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #FF5F15;
    text-transform: uppercase;
}

h5 {
    font-size: 10rem;
    line-height: 1.5;
}

h6 {
    font-size: 8rem;
    line-height: 1.5;
}

p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    text-transform: normal;
}


/* Section Hero */
.section-hero {
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.section-hero h4 {
    font-size: 1.2rem;
}

#gallery {
    height: 90vmax;
    width: 95vmax;
    position: relative;
    overflow: hidden;
}

.block {
    position: absolute;
    width: 180px;
    height: 230px;
    z-index: 1;
}

.block:hover {
    z-index: 2;
}

.block:nth-child(1) {
    top: 10%;
    left: 80%;
    background: url("../assets/images/Gallery/LP-1.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(2) {
    top: 5%;
    left: 0%;
    background: url("../assets/images/Gallery/LP-2.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(3) {
    top: 25%;
    left: 15%;
    background: url("../assets/images/Gallery/LP-3.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(4) {
    top: 50%;
    left: 10%;
    background: url("../assets/images/Gallery/LP-4.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(5) {
    top: 8%;
    left: 20%;
    background: url("../assets/images/Gallery/LP-5.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(6) {
    top: 40%;
    left: 0%;
    background: url("../assets/images/Gallery/LP-6.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(7) {
    top: 65%;
    left: 3%;
    background: url("../assets/images/Gallery/LP-7.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(8) {
    top: 75%;
    left: 20%;
    background: url("../assets/images/Gallery/LP-8.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(9) {
    top: 0;
    left: 35%;
    background: url("../assets/images/Gallery/LP-9.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(10) {
    top: 25%;
    left: 40%;
    background: url("../assets/images/Gallery/LP-10.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(11) {
    bottom: 0;
    right: 35%;
    background: url("../assets/images/Gallery/LP-11.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(12) {
    bottom: 75%;
    right: 20%;
    background: url("../assets/images/Gallery/LP-12.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(13) {
    bottom: 65%;
    right: 3%;
    background: url("../assets/images/Gallery/LP-13.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(14) {
    bottom: 35%;
    right: 45%;
    background: url("../assets/images/Gallery/LP-14.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(15) {
    bottom: 40%;
    right: 0%;
    background: url("../assets/images/Gallery/LP-15.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(16) {
    bottom: 8%;
    right: 20%;
    background: url("../assets/images/Gallery/LP-16.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(17) {
    bottom: 50%;
    right: 5%;
    background: url("../assets/images/Gallery/LP-17.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(18) {
    bottom: 25%;
    right: 15%;
    background: url("../assets/images/Gallery/LP-18.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(19) {
    bottom: 5%;
    right: 3%;
    background: url("../assets/images/Gallery/LP-19.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(20) {
    bottom: 0;
    right: 10%;
    background: url("../assets/images/Gallery/LP-20.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(21) {
    top: 2%;
    left: 50%;
    background: url("../assets/images/Gallery/LP-21.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(22) {
    top: 35%;
    left: 63%;
    background: url("../assets/images/Gallery/LP-22.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(23) {
    top: 45%;
    left: 25%;
    background: url("../assets/images/Gallery/LP-23.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(24) {
    top: 60%;
    left: 27%;
    background: url("../assets/images/Gallery/LP-24.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(25) {
    top: 18%;
    left: 28%;
    background: url("../assets/images/Gallery/LP-25.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(26) {
    bottom: 22%;
    right: 32%;
    background: url("../assets/images/Gallery/LP-26.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(27) {
    bottom: 28%;
    right: 380%;
    background: url("../assets/images/Gallery/LP-27.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(28) {
    bottom: 32%;
    right: 420%;
    background: url("../assets/images/Gallery/LP-28.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(29) {
    bottom: 62%;
    right: 39%;
    background: url("../assets/images/Gallery/LP-29.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(30) {
    bottom: 72%;
    right: 10%;
    background: url("../assets/images/Gallery/LP-30.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(31) {
    bottom: 45%;
    right: 29%;
    background: url("../assets/images/Gallery/LP-31.webp") no-repeat 50% 50%;
    background-size: contain;
}

.block:nth-child(32) {
    bottom: 29%;
    right: 53%;
    background: url("../assets/images/Gallery/LP-32.webp") no-repeat 50% 50%;
    background-size: contain;
}


@media (max-width: 768px) {
    #gallery {
        position: static;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        height: auto;
        overflow: visible;
        width: 100%;
        margin-top:30px;
    }

    .block {
        position: static;
        width: 45vw;
        /* altura con aspect ratio */
        aspect-ratio: 180 / 230;
        /* ancho/alto basado en tu block original */
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }
}