@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font: inherit;
}
:root {
    --primary: #000000;
    --Sombreado: #0000004f;
    --secondary: #86ff05;
    --transition-duration: 0.35s ease-out;
    --transition-ease: ease-in-out;
}

body {
    font-family: 'Urbanist', sans-serif;
}

.container1 {
    max-width: 1550px;
    margin: 0 auto;
    padding: 0 16px;
}

.gallery-section {
    overflow: hidden;
    position: relative;
    background-color: var(--primary);
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 105%;
    height: 50%;
    background-image: linear-gradient(180deg, var(--primary) 5%, transparent 100%);
    pointer-events: none;
    z-index: 1;

}

.gallery-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 105%;
    height: 100%;
    background: linear-gradient(-320deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}


.gallery-section-wrapper {
    position: relative;
}

.gallery-left {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust position to center */
    display: flex;
    flex-direction: column; /* Align items vertically */
    max-width: 540px;
    width: 100%;
    height: auto; /* Adjust height to fit content */
    align-items: center; /* Center items horizontally */
    z-index: 10;
}

.gallery-left h2 {
    font-size: 70px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
    animation: slideUp 1.5s ease-in-out forwards;
    margin-top: -25px;
    text-align: center; /* Center text */
    font-family: "Archivo", Sans-serif;
    line-height: 70px;
}

.gallery-left p {
    color: #f2efef;
    line-height: 1.5;
    transform: translateY(100px);
    opacity: 0;
    animation: slideUp 1.5s ease-in-out forwards;
    animation-delay: .5s;
    text-align: center; /* Center text */
    font-size: 22.5px;
}

.gallery-left .description {
    color: #86ff05; /* Amarillo verdoso */
    font-size: 35px;
    margin-top: 10px;
    text-align: center;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1.5s ease-in-out forwards;
    animation-delay: 1s; /* Delay para que aparezca después del párrafo principal */
    position: relative;
    padding-bottom: 5px; /* Espacio para la línea decorativa */
    font-weight: 600;
    text-transform: uppercase;
}

.gallery-left .description::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background-color: #ffffff; /* Mismo color que el texto */
    border-radius: 1px;
}

.gallery-right {
    padding-left: 0px;
    min-height: 500px;
    height: 100vh;
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
}

.gallery-images {
    display: flex;
    transform: rotateZ(15deg);
}

.gallery-images > * {
    margin-top: -100px;
    margin-right: 50px;
    animation: animate var(--duration, 30s ease-in-out) infinite linear;
}

.gallery-images > :hover {
    animation-play-state: paused;
}

.gallery-images a {
    display: block;
    margin-bottom: 40px;
    transition: transform .30s ease-out;
}

.gallery-images a:hover {
    transform: scale(1.05);
}

.gallery-images img {
    width: 150px;
    height: 150px;
    display: block;
    border-radius: 24px;
    transition: all .35s ease-out;
    object-fit: cover;
}

.gallery-images a:hover img {
    box-shadow: 0 0 0 4px var(--primary), 0 0 0 6px var(--secondary);
}

body {
    font-family: "Arial", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}

h2 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.channel-section {
    padding: 40px 20px;
    background-color: #fff;
    text-align: center;
    transition: background-color var(--transition-duration) var(--transition-ease);
}

@media (max-width: 768px) {
    .popup-content {
        width: 95%;
    }
}

@media screen and (max-width: 767px) {
    .container1 {
        max-width: 650px;
    }

    .dropbtn {
        font-size: 0.9em;
        padding: 10px 15px;
    }

    .dropdown-content {
        min-width: 150px;
    }

    .gallery-left .description {
        margin-left: 50px;
    }

}


/* ... existing code */

@media screen and (max-width: 767px) {
    .container1 {
        max-width: 650px;
    }

    .dropbtn {
        font-size: 0.9em;
        padding: 10px 15px;
    }

    .dropdown-content {
        min-width: 150px;
    }
}

@keyframes animate {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}
@keyframes slideUp {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


@media screen and (max-width: 1400px) {
    .container1 {
        max-width: 1160px;
    }
}



@media screen and (max-width: 1200px) {
    .container1 {
        max-width: 940px;
    }
}



@media screen and (max-width: 991px) {
    .container {
        max-width: 720px;
    }
}



@media screen and (max-width: 767px) {
    .container {
        max-width: 650px;
        height: 915px;
    }

    .gallery-section::before {
        height: 500px;
        width: 100%;
        background-image: linear-gradient(180deg, var(--primary) 5%, transparent 100%);
    }

    .gallery-left {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        padding-top: 100px;
        max-width: 100%;
    }

    .gallery-left h2 {
        font-size: 55px;
        margin-top: 250px;
        margin-left: 0;
        font-style: bold;
        font-weight: 800;
        line-height: 1.1; /* Ajusta el espaciado entre líneas */
        letter-spacing: normal; /* Ajusta el espaciado entre letras */
    }

    .gallery-left p {
        font-size: 20px;
        margin-left: 0;
        width: auto;
    }

    .gallery-left .description {
        font-size: 32.5px;
        font-style: bold;
        font-weight: 700;
        width: auto;
        line-height: 1.1; /* Ajusta el espaciado entre líneas */
        letter-spacing: normal;
    }

    .gallery-right {
        padding-left: 0;
        margin-left: -600px;
    }
}