* {

    box-sizing: border-box;
    scroll-behavior: smooth;

}

h1 {

    color: #d93aaf;
}

body {

    margin: 0;
    font-family: sans-serif;
    background-color: #fff5;
    color: #101632dd;
    
}

div, ul, nav, header, footer, a, li, label, p, span {

    margin: 0;
    padding: 0;

}

:root {

   --primary-color: #009B57;
   --secondary-color: #B54A9F;
   --accent-color: #F9C915;
   --text-color: #222222;
   --bg-color: #FFFFFF;
   --highlight-color: #D75EA6;
   --card-bg-color: #FFF6;

   --bg1-color: color-mix(in srgb, #2f8f 70%, #cd8);
    --sidebar-color: #fff;
    --dark-color: #b5f;
    --card-color: #fdff67;


}

/* ------ Header Section ----*/

.header {

    background-color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    container-type: inline-size;
    container-name: header;
    position: relative;
    z-index: 10;
    text-align: center;
    font-size: 15px;
    user-select: none;

}

.header__logo-container {

    max-width: 50%;
    width: 64px;
    margin: 10px 20px;
    border-radius: 500px;

}

.header__logo {

    height: 64px;
    width: 64px;
    border-radius: 100px;

}

.header__open-nav-button {

    color: var(--accent-color);
    font-size: 4rem;
    font-weight: 600;
    position: absolute;
    right: 10px;
    transition: background-color 0.5s ease;

}

.header__checkbox {

    display: none;

}

.header__open-nav-button:hover {

    background-color: var(--card-bg-color);
    border-radius: 12px;

}

.hover-underline {

    font-size: 2rem;
    color: #ffffff;
    position: relative;
    display: inline-block;

}

.hover-underline::after,
.hover-underline::before {

    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #cd8, #B54A9F);
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-out;

}

.hover-underline::before {

    top: -5px;
    transform-origin: left;

}

.hover-underline:hover::after,
.hover-underline:hover::before {

    transform: scaleX(1);

}


.header__nav {

    display: none;
    background-color: var(--primary-color);
    position: absolute;
    height: 100vh;
    width: 100vw;
    top: 0;
    z-index: 10;
    
}

.header__checkbox:checked ~ .header__nav {

    display: flex;

}

.header__nav-list {
    
    display: flex;
    flex-direction: column;
    height: 40vh;
    margin: auto;
    justify-content: space-evenly;

}

.header__nav-item {

    list-style: none;
    font-size: 1.5rem;

}
.header__nav-item a {

    color: var(--bg-color);
    text-decoration: none;
    transition: text-decoration 0.5s ease;

}

/*.header__nav-item :is(:hover,:active) {

    color: var(--text-color);
    font-size: 1.5rem;
    text-decoration: var(--accent-color) wavy underline;
    
}*/


/* ------ Header Queries ------*/

@container header (min-width: 1000px) {

    .header__nav {

        display: block;
        position: static;
        height: auto;
        width: auto;
        justify-content: space-between;
        
    }

    .header__nav-list {

        flex-direction: row;
        height: auto;
        width: auto;
        gap: 20px;
        margin-right: 40px;

    }

    .header__open-nav-button {

        display: none;
    }

}

/* ---------- Header Ends ----------------*/


/*--------------------- Talleres DMP --------------------*/


.portada {

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;

}

.portada__img img {

    width: 80vw;
    height: auto;
    display: block;

}

.video {

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;

}

.galeria {
    
    padding: 20px;

}

.galeria__titulo {
    
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;

}

.galeria__videos {
    
    display: flex;
    gap: 20px;
    overflow-x: auto;            /* Scroll horizontal */
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    align-items: center;
}

.taller__dmp {
  
    flex: 0 0 auto;              /* Mantiene el ancho fijo */
    width: 250px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    padding: 10px;
    text-align: center;
    scroll-snap-align: start;    /* Encaje en el scroll */
    
}

.taller__dmp h2 {
    
    margin-bottom: 10px;
    font-size: 1.1rem;
    
}

.taller__dmp video {
  
    width: 100%;
    aspect-ratio: 9 / 16;        /* Mantiene formato vertical */
    border-radius: 10px;
    object-fit: cover;
    display: block;
    
}

.video__vid video {

    height: 600px;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: -10;

}

.video__details {

    max-width: 500px;
    animation: slideIn 1.2s ease-out forwards;
    opacity: 0;
    text-align: center;

}

@keyframes slideIn {

    0% {

        transform: translateX(50px);
        opacity: 0;

    }

    100% {

        transform: translateX(0);
        opacity: 1;

    }

}

.video__details p {

    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.5;

}


/* ------------------ Talleres QUeries ------------*/

@media (max-width: 768px) {

    .video {

        flex-direction: column;
        text-align: center;

    }

    .video__vid video {

        height: auto;
        width: 90vw;

    }

    .video__details {

        animation: none;
        opacity: 1;

    }

}

/*-----------------Talleres DMP ENDS-------------------------*/

/* ------------------ footer-section ----------------------*/

.footer {

    background-color: var(--secondary-color);
    min-height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    container-name: footer;
    container-type: inline-size;


}

.footer__container {

    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;

}

.footer__info {

    max-height: 500px;
    font-size: 1.1rem;
    color: var(--bg-color);
    border-left: 5px solid var(--accent-color);
    margin: 5px;
    padding: 20px;

}

.footer__info h2 {

    text-align: center;
    color: color-mix(in srgb, #ff0c 90%, #d93aaf 20%);

}

.footer__logo-container {

    display: flex;
    justify-content: center;
    gap: 20px;

}
        
.footer__logo-container a img {

    width: 50px; /* Tamaño de los logotipos */
    height: auto;
    transition: transform 0.3s ease;
    border-radius: 50%;
    aspect-ratio: 1/1;
    object-fit: contain;
    align-items: center;

}

.footer__logo-container a img:hover {
    
    transform: scale(1.1);

}

/* ------------------ footer-Queries ----------------------*/

@container footer (min-width: 56.25rem) {

    .footer__container {

        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "info map"
            "logos map";
        gap: 24px;

    }

    .footer__info {

        grid-area: info;

    }

    .footer__map {

        grid-area: map;
        height: 80%;
        
    }

    .footer__logo-container {

        grid-area: logos;
        
    }
    
    iframe {
        width: 100%;
        height: 100%;
    }

}

/* ------------------ footer-ends ----------------------*/

@font-face {

   font-family: 'Material Symbols Outlined';
   font-style: normal;
   src: url(https://example.com/material-symbols.woff) format('woff');

}

.material-symbols-outlined {

   font-family: 'Material Symbols Outlined';
   font-weight: normal;
   font-style: normal;
   font-size: 24px;  /* Preferred icon size */
   display: inline-block;
   line-height: 1;
   text-transform: none;
   letter-spacing: normal;
   word-wrap: normal;
   white-space: nowrap;
   direction: ltr;

}