@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html,
body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: whitesmoke;
}

ul {
    list-style: none;
}

.active {
    color: #AE8461;
    font-weight: bold;
}

/* navabar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    font-family: monospace;
    font-size: 16px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 20px;
    color: whitesmoke;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin: 0 30px;
}

header {
    width: 100vw;
    height: 100vh;
    background-image: linear-gradient(100deg, #000000, #00000010), url("img/portada/portada2.jpg");
    background-position: bottom;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.header-content {
    margin-bottom: 150px;
    color: whitesmoke;
    text-align: center;
}

.header-content h2 {
    font-size: 4vmin;
}

.line {
    width: 150px;
    height: 4px;
    background: #AE8461;
    margin: 10px auto;
    border-radius: 5px;
}

.header-content h1 {
    font-size: 7vmin;
    margin-top: 10px;
    margin-bottom: 30px;
}

.ctn {
    padding: 8px 15px;
    font-family: monospace;
    font-size: 15px;
    background-color: #AE8461;
    border-radius: 30px;
    color: black;
}

.logo {
    height: 128px;
    width: 230px;

}

.menu-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    cursor: pointer;
    display: none;
}

/* video*/
.video {
    width: 80%;
    margin: 40px auto;
}

.tittle {
    text-align: center;
    font-family: monospace;
    font-size: 4vmin;
    color: #49447e;

}

.video-1 {
    width: 80%;
    aspect-ratio: 16/7;
}

/* mobile device */
@media only screen and (max-width:850px) {
    .menu-btn {
        display: block;
    }

    .navbar {
        padding: 0;
    }

    .logo {
        position: absolute;
        top: 4px;
        left: -9px;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        height: 99vh;
        justify-content: center;
        background: #60181E;
        margin-top: -925px;
        transition: all 0.5s ease;
    }

    .mobile-menu {
        margin-top: 0px;
        border-bottom-right-radius: 30%;
    }

    .nav-links li {
        margin: 30px auto;
    }
}

/* inscripciones */
.inscripciones {
    width: 100vw;
    background-color: hsl(30, 8%, 5%);
    color: #61191D;
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

.content h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.content h1 {
    font-size: 72px;
    font-weight: bold;
    color: whitesmoke;
}

.content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background-color: #000;
    color: whitesmoke;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    margin-top: 10px;
}

.btn:hover {
    background-color: #AE8461;
}

.images {
    position: relative;
    margin-top: 20px;
}

.left-img,
.right-img {
    position: absolute;
    bottom: 0;
    height: 250px;
}

.left-img {
    left: 0;
}

.right-img {
    right: -30px;
}

@media (max-width: 750px) {
    .content h1 {
        font-size: 48px;
        /* Reducir el tamaño del texto */
    }

    .content h2 {
        font-size: 20px;
    }

    .content p {
        font-size: 14px;
    }

    .btn {
        font-size: 16px;
        padding: 8px 15px;
    }

    .left-img,
    .right-img {
        height: 130px;
        /* Reducir tamaño de las imágenes en pantallas pequeñas */
    }
}

/* noticias*/
.contenedor-horizontal {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
}

.columna-noticias {
    flex: 1;
    min-width: 280px;
}

.columna-evento {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.evento-slider {
    position: relative;
    text-align: center;
}

.imagen-evento {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.etiqueta-evento {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #383737;
}

.noticia-circular {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.enlace-tiempo {
    color: #4e171a;
    font-size: 16px;
}

.noticia-circular img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.noticia-circular div h3 {
    margin: 0;
    font-size: 19px;
    color: #222;
}

.noticia-circular div p {
    margin: 5px 0 0;
    font-size: 16px;
    color: #555;
}

.title-noticia {
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
    color: #111;
}

/* slider de proyectos */
.proyecto {
    width: 100%;
    height: 80vh;
    display: flex;
    border: 2px solid #000;
}

.proyecto .proyecto1 {
    position: relative;
    background: #0f0;
    height: 100%;
    flex: 1;
    border-right: 2px solid #000;
    overflow: hidden;
    transition: 0.5s ease-in-out;
}

.proyecto .proyecto1:last-child {
    border-right: none;
}

.proyecto .proyecto1:hover {
    flex-grow: 5;
}

.proyecto .proyecto1:nth-child(1) {
    background: url(img/programas/semilleros.jpg) center center no-repeat;
    background-size: cover;
}

.proyecto .proyecto1:nth-child(2) {
    background: url(img/programas/estudiantina.jpg) center center no-repeat;
    background-size: cover;
}

.proyecto .proyecto1:nth-child(3) {
    background: url(img/programas/orquestaB.jpg) center center no-repeat;
    background-size: cover;
}

.proyecto .proyecto1:nth-child(4) {
    background: url(img/programas/piano1.jpg) center center no-repeat;
    background-size: cover;
}

.proyecto .proyecto1:nth-child(5) {
    background: url(img/programas/orqueta-A.jpg) center center no-repeat;
    background-size: cover;
}
.proyecto .proyecto1 .contenido {
    position: absolute;
    bottom: 0;
    margin: 40px;
    padding: 30px;
    background: #000;
    color: #fff;
    visibility: hidden;
    opacity: 0;
    transition: 0s;
    transform: translateY(100px);
}

.proyecto .proyecto1:hover .contenido {
    visibility: visible;
    opacity: 1;
    transition: 0.5s;
    transition-delay: 0.5s;
    transform: translateY(0);
}

.boton-ver-programas a.learn-more {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: none;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
    width: 12rem;
    height: auto;
}

.boton-ver-programas .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    display: block;
    width: 3rem;
    height: 3rem;
    background: #282936;
    border-radius: 1.625rem;
    position: relative;
}

.boton-ver-programas .circle .icon {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

.boton-ver-programas .circle .icon.arrow {
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}

.boton-ver-programas .circle .icon.arrow::before {
    content: "";
    position: absolute;
    top: -0.29rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    transform: rotate(45deg);
}

.boton-ver-programas .button-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: #282936;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

.boton-ver-programas a.learn-more:hover .circle {
    width: 100%;
}

.boton-ver-programas a.learn-more:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(1rem, 0);
}

.boton-ver-programas a.learn-more:hover .button-text {
    color: #fff;
}


/* Responsive para móviles */
@media screen and (max-width: 768px) {
    .proyecto {
        flex-direction: column; /* apila los proyectos verticalmente */
        height: auto; /* ajusta altura automáticamente */
    }

    .proyecto .proyecto1 {
        flex: none; /* desactiva el flex-grow */
        height: auto; /* altura más cómoda para móvil */
        border-right: none; /* elimina bordes laterales */
        border-bottom: 2px solid #000; /* agrega borde inferior */
        margin-bottom: 10px;
        display: flex;
        flex-direction: column;
    }

    .proyecto .proyecto1::before {
        content: "";
        display: block;
        width: 100%;
        height: 200px; /* altura de la imagen */
        background-size: cover;
        background-position: center;
    }
    .proyecto .proyecto1:nth-child(1)::before { background-image: url(img/programas/semilleros.jpg); }
    .proyecto .proyecto1:nth-child(2)::before { background-image: url(img/programas/estudiantina.jpg); }
    .proyecto .proyecto1:nth-child(3)::before { background-image: url(img/programas/orquestaB.jpg); }
    .proyecto .proyecto1:nth-child(4)::before { background-image: url(img/programas/piano1.jpg); }
    .proyecto .proyecto1:nth-child(5)::before { background-image: url(img/programas/orqueta-A.jpg); }

    .proyecto .proyecto1 .contenido {
        position: relative;
        margin: 10px;
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
        transition: none;
    }

    .proyecto .proyecto1:hover {
        flex-grow: 1;
    }
}


/* galeria */

.galer {
    display: grid;
    place-items: center;
    background-color: black;
}

.gallery {
    width: 90vw;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 0.25rem;

    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;

        &:not(.hero) {
            cursor: pointer;
        }
    }

    & .hero {
        grid-column: span 2;
        grid-row: span 2;
    }

    @media (width < 700px) {
        .gallery {
            grid-template-columns: repeat(2, 1fr);
            grid-auto-rows: 175px;
        }
    }
}



.container-b {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
}

.button-b {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #000;
    color: whitesmoke;
    border-radius: 5px;
}

.button-b:hover {
    background-color: #AE8461;
}

/*slider final */
@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.logos {
    overflow: hidden;
    padding: 60px 0;
    background: white;
    white-space: nowrap;
    position: relative;
}

.logo:before,
.logo:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
}

.logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide {
    display: inline-block;
    animation: 5s slide infinite linear;
}

.logos-slide img {
    height: 60px;
    margin: 0 48px;
}

/*pide de pagina*/
.pie-pagina {
    width: 100%;
    background-color: #000;
}

.pie-pagina .grupo-1 {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 50px;
    padding: 45px 0px;
}

.pie-pagina .grupo-1 .box figure {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pie-pagina .grupo-1 .box figure img {
    width: 250px;
}

.pie-pagina .grupo-1 .box h2 {
    margin-bottom: 25px;
    color: #fff;
    font-size: 20px;
}

.pie-pagina .grupo-1 .box P {
    color: #efefef;
    margin-bottom: 10px;
}


.pie-pagina .grupo-1 .red-social a {
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: #fff;
    margin-right: 1opx;
    background-color: #60181E;
    text-align: center;
    transition: all 300ms ease;
}

.pie-pagina .grupo-1 .red-social a:hover {
    color: aqua;
}

.pie-pagina .grupo-2 {
    background-color: #60181E;
    padding: 15px 10px;
    text-align: center;
    color: #fff;
}

.pie-pagina .grupo-2 small {
    font-size: 15px;
}

@media screen and (max-width:800px) {
    .pie-pagina .grupo-1 {
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 30px;
        padding: 35px 0px;
    }
}

/*boton whatsapp */
.float {
    position: fixed;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    bottom: 40px;
    right: 40px;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    z-index: 999;
}

.fa-whatsapp {
    font-size: 60px;
}

.float:hover {
    background-color: #28e76e;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    /* vertical */
    justify-content: center;
    /* horizontal */
    z-index: 9999;
    padding: 20px;
}

.popup-content {
    background: white;
    border-radius: 16px;
    padding: 20px;
    max-width: 500px;
    width: 95%;
    /* se adapta en celular */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.popup-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.btn-mas-info {
    background-color: #f08c00;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-mas-info:hover {
    background-color: #c46e00;
}

.btn-cerrar {
    background-color: crimson;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-cerrar:hover {
    background-color: #a30000;
}