* {

    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 ----------------*/


/*---- Slider Starts---------*/

.slider-container { 
    
    position: relative; width: 90%; 
    max-width: 1000px; 
    margin: auto; overflow: hidden; 

}
        
.slider-title { 
    
    text-align: center; 
    font-size: 24px; 
    font-weight: bold; 
    margin-bottom: 10px; 

}

.slider { 
    
    position: relative; 
    height: 100%; 

}

.slide { 
    
    position: absolute; 
    width: 100%; 
    opacity: 0; 
    transition: opacity 1s ease-in-out; 

}

.slide img { 
    
    width: 100%; 
    display: block;

}

.slide.active { 
    
    opacity: 1; 
    position: relative; 

}

.prev, .next, .pause {

    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    

}

.prev { 
    
    left: 10px;
    border-radius: 50%;

}

.next { 
    
    right: 10px;
    border-radius: 50%;

}

.pause {

    top: 10px;
    right: 10px;
    transform: none;
    padding: 8px;
    background: #f00b;
    border-radius: 50%;

}

.dots-container {

    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;

}

.dot {
            
    width: 12px;
    height: 12px;
    background: #bbb;
    border-radius: 50%;
    cursor: pointer;

}

.dot.active {

            
    background: #717171;
        
}

.neon-text {

    text-align: center;
    font-size: 4rem;
    color: #fff;
    text-shadow: 0 0 5px #ff005e, 0 0 10px #ff005e, 0 0 20px #ff005e, 0 0 40px #ff005e, 0 0 80px #ff005e;
    animation: glow 1.5s infinite alternate;

}

@keyframes glow {

    0% {

        text-shadow: 0 0 5px #ff005e, 0 0 10px #ff005e, 0 0 20px #ff005e, 0 0 40px #ff005e, 0 0 80px #ff005e;

    }

    100% {

        text-shadow: 0 0 10px #F9C915, 0 0 20px #F9C915, 0 0 40px #F9C915, 0 0 80px #F9C915, 0 0 160px #F9C915;

    }

}

/* ---------- Profile Starts ----------------*/



.profile {

    container-name: profile;
    container-type: inline-size;
    padding-top: 180px;
    padding-bottom: 180px;
    
}

.profile_wrapper {

    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #e2eaff;
    max-width: 1400px;
    align-items: center;
    margin: auto;

}

.profile__data-container {

    max-width: 500px;

}

.profile__img-container {

    max-height: 450px;
    overflow: hidden; /* Se oculta al agradarse */
}

.profile__img {

    max-width: 100%;

}

.profile__skill--container h2 {

    color: var(--secondary-color);

}

.profile__description {

    text-align: center;
    font-size: 1.5rem;

}

.profile__description-text {

    text-align: justify;
    padding: 0 20px 0 20px;
}

.profile__skill {

    list-style: none;
    display: flex;
    margin: 10px;
    max-width: 600px;
    margin-left: 0;
    align-items: center;

}

.profile__skill-name {

    color: var(--text-color);

}

.profile__skill--container {

    padding-left: 20px;

}

.profile__skill--container h2 {

    text-align: center;
    font-size: 2rem;

}

.load-bar {

    border: 2px solid var(--accent-color);
    border-radius: 8px;
    color: #e2eaff;
    padding: 2px;
    font-size: 12px;
    width: 80%;
    margin: 4px;
    margin-left: 0;

}


/* ---------- Profile Queries ----------------*/

@container profile (min-width:1000px) {

    h1{

        margin-top: 0;
        font-size: 4rem;
        text-wrap: balance;
    }

    .profile_wrapper {

        flex-direction: row;
        padding: 20px;
        background-color: transparent;
        height: 90vh;
        margin: auto;

    }

    .profile__data-container {

        background-color: var(--card-bg-color);
        display: flex;
        align-items: center;
        border-radius: 0 25px 25px 0;
        box-shadow: 0px 0px 9px #0002;

    }

    .profile__data {

        max-width: 620px;

    }

    .profile__img-container {

        max-height: initial;
        border-radius: 25px 0 0 25px;

    }

    .profile__img {

        height: 100%;
        object-fit: cover;
        width: 620px;

    }

}

/* ---------- Profile Queries ----------------*/

/* ---------- Portfolio Section ----------------*/

.portfolio {

    background-color: var(--secondary-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    container-name: portfolio;
    container-type: inline-size;
    justify-content: space-evenly;
    border-radius: 15px;
    margin-bottom: 20px;

}

.portfolio__title {

    color: var(--bg-color);
    font-size: 3rem;
    margin-bottom: 0;

}

.portfolio__project-container {

    display: grid;
    grid-template-columns: 1fr;
    max-width: 1300;
    margin: auto;
    width: 100%;
    gap: 12px;
    padding: 12px;
    min-height: 100vh;

}

.portfolio__project-name h2 {

    color: var(--text-color);
    padding-left: 0;
    padding-top: 0;
    text-align: right;

}

.portfolio__project {

    display: grid;
    place-content: center;
    border-radius: 8px;

}


.portfolio__project:first-child {

    background-image: url("../Mobiliario/Recepción.png");
    background-position: center;
    background-size: cover;

}

.portfolio__project:nth-child(2) {

    background-image: url("../Mobiliario/Capacitaciones.png");
    background-position: center;
    background-size: cover;

}

.portfolio__project:nth-child(3) {

    background-image: url("../Mobiliario/Espera.png");
    background-position: center;
    background-size: cover;

}

.portfolio__project:nth-child(4) {

    background-image: url("../Mobiliario/Consultorio1.png");
    background-position: center;
    background-size: cover;

}

.portfolio__project:nth-child(5) {

    background-image: url("../Mobiliario/Consultorio2.png");
    background-position: center;
    background-size: cover;

}

.portfolio__project:last-child {

    background-image: url("../Mobiliario/Consultorio3.png");
    background-position: center;
    background-size: cover;

}

.portfolio__project:hover {

    opacity: 0.95;
    outline: 2px solid var(--dark-color);
    transform: scale(1.1);

}


/* ----------------------- Portfolio Queries ---------------------*/

@container portfolio (min-width: 81.25rem) {

    .portfolio__project-container {

        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        height: 800px;

    }

    .portfolio__project {

        grid-column: span 2;
        grid-row: span 2;

    }

    .portfolio__project-name h2 {

        color: var(--accent-color);
        padding-left: 0;
        padding-top: 0;
        text-align: right;

    }

    
}

/* ------------------ Portfolio Ends ----------------------*/

/* ---------------------Accordion -------------------------*/

.accordion {

    max-width: clamp(300px, 100%, 1200px);
    margin: auto;
    font-size: 1.3rem;
    background-color: var(--card-color);
    padding-bottom: 10px;
    margin-bottom: 20px;

}

.accordion details {

    background-color: var(--sidebar-color);
    margin: 7px;
    padding: 8px;

}

.content {

    padding: 5px 10px;
    padding-top: 5px;
    margin: 10px;
    margin-bottom: 0;
    border-top: 1px solid var(--bg-color);
    font-size: 1rem;

}

summary {

    user-select: none;
    position: relative;

}

summary::marker {

    content: '';

}

summary::before {

    content: '+';
    color: var(--dark-color);
    position: absolute;
    right: 0;
    font-weight: 900;

}

details[open] .content {

    animation: aparecer 1s;

}

details[open] summary::before {

    content: '-';

}

details b {

    background-color: var(--dark-color);
    padding: 1px 3px;
    color: var(--sidebar-color);
    border-radius: 12px;

}

@keyframes aparecer {

    from{

        opacity: 0;

    }

    to {

        opacity: 1;

    }
    
}

@media screen and (min-width: 600px) {

    .accordion {

        max-width: clamp(300px, 100%, 1200px);

    }
    
}


/*----------------------Acordion Ends-----------------------*/


/* ------------------ Contact Section ----------------------*/

.form {

    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    container-name: form;
    container-type: inline-size;

}

.form__form {

    flex: 1;
    padding: 12px;
    max-width: 600px;
    width: 100%;
    display: grid;
    margin-bottom: 30px;

}

.form__input-container :is(input,textarea) {

    width: 100%;
    padding: 12px;
    font-size: 16px;
    margin: 4px;
    border: none;
    box-shadow: 2px 2px 4px #18233f;
    background-color: #e2eaff;

}

.form__input-container textarea {

    resize: none;
    min-height: 120px;
    font-family: inherit;

}

.form__input-container input[type="submit"] { 

    padding: 12px;
    background-color: #18233f;
    color: #e2eaff;
}

/* ------------------ Contact Queries ----------------------*/

@container form (min-widht: 56.25rem) {

    .form__form {

        grid-template-columns: 1fr 1fr;
        grid-template-areas: 
        "name" "lastname"
        "email" "email"
        "message message"
        "button" "button"
        ;
        gap: 12px;

    }

    .form__input-container:first-child {

        grid-area: name;

    }

    .form__input-container:nth-child(2) {

        grid-area: lastname;
        
    }

    .form__input-container:nth-child(3) {

        grid-area: email;
        
    }
    
    .form__input-container:nth-child(4) {

        grid-area: message;
        
    }

    .form__input-container:nth-child(5) {

        grid-area: button;
        
    }

    .form__input-container :is(input,textarea) {

        box-shadow: none;
        border-radius: 4px;
    }

}

/* ------------------ Contact 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;

}