* {

    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: -1;
    
}

.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 ----------------*/


/*--------------------- Ofertas --------------------*/

/* CONTENEDOR GENERAL */
.curses-wrapper {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    background: #f9f9f9;

}

/* TARJETA DE CADA TALLER */
.curses {

    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;

}

.curses:hover {

    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);

}

/* IMAGEN */
.curses__imgcontainer {

    width: 100%;
    max-height: 250px;
    overflow: hidden;

}

.curses__img {

    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;

}

.curses:hover .curses__img {

    transform: scale(1.05);

}

/* TEXTO */
.curses__data-container {

    padding: 20px;

}

.curses__title {

    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
    position: relative;
    display: inline-block;

}

/* DECORACIÓN ANIMADA BAJO TÍTULO */
.curses__title::after {

    content: '';
    display: block;
    height: 3px;
    width: 0%;
    background: #4CAF50;
    transition: width 0.4s ease;
    position: absolute;
    bottom: -5px;
    left: 0;

}

.curses:hover .curses__title::after {

    width: 100%;

}

/* DESCRIPCIÓN */
.curses__description h3 {

    color: #555;
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 18px;

}

.curses__description p,
.curses__description ul {

    font-size: 16px;
    line-height: 1.6;
    color: #444;

}

.curses__description ul {

    padding-left: 20px;

}

.curses__description ul li {

    list-style: disc;
    margin-bottom: 6px;

}

/* BOTÓN WHATSAPP */

.whatsapp-btn {

    display: inline-block;
    margin-top: 20px;
    padding: 10px 18px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s ease;

}

.whatsapp-btn:hover {

    background-color: #1ebe5a;

}

/* RESPONSIVE */

@media (max-width: 768px) {

    .curses__title {

        font-size: 20px;

    }

    .curses__description h3 {

        font-size: 16px;

    }

    .curses__description p,
    .curses__description ul {

        font-size: 15px;

    }

}

/*-----------------Ofertas 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;

}