*{
box-sizing: border-box;
}
body{
margin: 0;
font-family: sans-serif;
background-color: #e2eaffc5;
color: #101632dd;
}
body,div, ul, nav, header, footer, a, li,label{
    margin: 0;
    padding: 0;

}
/*------HEADER SECTION----*/
.header{
background-color: #fff;
display: flex;
justify-content: space-between ;
align-items: center;
position: relative;
z-index: 4;
text-align: center;
font-size: 20px;
color: #e85;
}
.header__open-nav-button{
color: #48e;
font-size: 3rem;
font-weight: 600;
position: absolute;
right: 10px;
}
.header__nav{
display: none;
background-color: #fff ;
position: absolute;
height: 100vh;
width: 100vw;
top: 0;
z-index: -1;
}
.header__checkbox{
display: none;
}
.header__checkbox:checked ~ .header__nav{
display: flex;
}
.header__logo{
max-width: 100%;
width: 64px;
margin: 0;
}
.header__nav-list{
display: flex;
flex-direction: column;
height: 40vh ;
margin: auto;
justify-content: space-between;
}
.header__nav-item{
list-style: none;
margin: 8px;
}
.header__nav-item a{
color: inherit;
text-decoration: none;
}
.dropdown{
    position: relative;
    display: inline-block;
}
.dropdown button{
background-color: #e854;
padding: 0;
margin: 0;
border-radius: 10px;
color: inherit;
border: none;
font-size: inherit;
}
.dropdown button:hover{
    transition: color 1.5s;
    text-decoration: none;
    color: #48e;
}
.dropdown-content{
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgb(0, 0, 0, 0.2);
    border: 5px;
    z-index: 10;
}
.dropdown-content a{
    color: #000;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #ddd;
}
.dropdown-content a:last-child{
    border-bottom: none;
}
.dropdown-content a:hover{
    background-color: #f1f1f1;
}
.dropdown:hover .dropdown-content{
    display: block;
}
.link__login:is(:hover,:active){
text-decoration: underline;
}
.header__nav-item-whatsapp{
    list-style: none;
    margin: 9px;
}
.link__login-login{
padding: 15px 10px;
border-radius: 10px;
background-color: #e854;
}
.link--login{
background-color: #e854;
padding: 15px;
border-radius: 10px;
color: #25D366;
}
.link--login:hover{
transition: color 1.5s ;
color: #48e;
text-decoration: none;
}
.header__nav-item-whatsapp:hover .tooltip{
    visibility: visible;
    opacity: 1;
}

/*--------HEADER QUERIES--------*/
@media screen and (min-width: 950px){
.header{
padding: 20px 0;
animation: header-movement both;
animation-timeline: scroll();
position: sticky;
top: 0;
}
.header__nav{
display: block;
position: static;
height: auto;
width: auto;
justify-content: space-between;
z-index: 1;
background-color: initial;
animation-range: 10px 100px;

}
.header__nav-list{
flex-direction: row;
height: auto;
width: auto;
gap: 20px;
margin-right: 40px;

}
.header__open-nav-button{
display: none;
}
.link--login{
background-color: #e854;
padding: 10px;
border-radius: 5px;
margin-left: 20px;
font-size: 30px;
}
}
/*Animation header*/
@keyframes header-movement{
from{
}
to{
padding: 0;
}
}


/*--------HEADER ENDS--------*/

/*--------PROFILE SECTION--------*/
.profile{
container-name: profile;
container-type: inline-size;
animation: aparecer 2.4s -.6s both;
}
.profile__wrapper{
display: flex;
flex-direction: column;
justify-content: center;
background-color: #fff;
max-width: 1400px;
}
.profile__data-container{
max-width: 600px;
padding: 12px;
}
.profile__img-container{
max-height: 500px;
overflow: hidden;
}
.profile__img{
max-width: 100%;
width: 750px;
}
h1{
color: #11216bdd;
font-size: 1.8rem;
justify-content: center;
}
.profile__tratamientos-container h2{
color: #11216bdd;
}
.profile__tratamientos{
list-style: none;
display: flex;
margin: 50px;
flex-direction: row;
max-width: 600px;
margin-left: 0;
margin: auto;
}
.load-bar{
margin: 20px;
background-color: #fff;
border: 2px solid #48e;
padding: 4px 0;
border-radius: 10px;
width: 25%;
margin-left: 0;
}
.load-bar__bar{
background-color: #48e;
padding: 2px;
border-radius: 30px;
width: 50px;
animation-name: llenar-barra;
animation-fill-mode: both;
animation-timing-function: linear;
animation-timeline: view();
animation-range-start:10%;
animation-range-end: 80%;
}

.profile__tratamiento-name{
color: #11216bdd;
margin: auto;
font-size: 1.2rem;
}
.profile__tratamiento-name a{
text-decoration: none;
color: inherit;
}
.profile__tratamiento-name:is(:hover){
color: #e85;
transition: 0.6s;
}
.profile__tratamientos:first-child{
margin: auto;
}
.profile__tratamientos:nth-child(3){
text-align: center;
margin: auto;
}


@keyframes llenar-barra{
from{
    width: 0%;
}
to{
    width: 100%;
    background-color: #e85;
}
}
/*--------PROFILE QUERIES--------*/
@container profile (min-width: 600px){
.profile__wrapper{
flex-direction: row;
padding: 20px;
background-color: transparent;
margin: auto;
}
.profile__data-container{
background-color: #fff;
display: flex;
align-items: center;
border-radius: 0 25px 25px 0;
box-shadow: 0 0 9px #002;
}
h1{
margin-top: 0;
font-size: 2rem;
}
.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;
background-color: #fff;
}
.load-bar{
margin: 50px;
}
.profile__tratamiento-name{
font-size: 1rem;
}
}
/*--------PROFILE ENDS--------*/

/*--------SERVICES SECTION--------*/
.services{
background-color: #18233f;
color: #fff;
min-height: 100vh;
display: flex;
flex-direction: column;
text-align: center;
container-name: services;
container-type: inline-size;
justify-content: space-evenly;
}
.services__title{
font-size: 3rem ;
margin-bottom: 0;
}
.services__project-container{
display: grid;
grid-template-columns: 1fr;
max-width: 1300px;
margin: auto;
width: 100%;
gap: 20px;
padding: 12px;
min-height: 100vh;
}
.services__project{
background-image: linear-gradient(#0005, #0009);
background-position: center;
background-size: contain;
display: grid;
place-content: center;
border-radius: 8px;
animation: aparecer both;
animation-timeline: view();
animation-range: cover 10% cover 50%;

}
@keyframes aparecer{
from{
opacity: 0;
}
to{
opacity: 1;
}
}
.services__project-name a{
text-decoration: none;
color: inherit;
}
.services__project:nth-child(1){
background-image:linear-gradient(#0009, #0006), url("/imagenes/restauraciones.jpg");
}
.services__project:nth-child(2){
background-image:linear-gradient(#0005, #0009), url("/imagenes/PERIODONCIA.jpg");
}
.services__project:nth-child(3){
background-image:linear-gradient(#0005, #0004), url("/imagenes/CIRUGIA.jpg");
}
.services__project:nth-child(4){
background-image: linear-gradient(#0005, #0005), url("/imagenes/ENDODONCIA.webp");
}
.services__project:nth-child(5){
background-image: linear-gradient(#0005, #0009), url("/imagenes/ODONTOPEDIATRIA.jpeg");
}
.services__project:nth-child(6){
background-image:linear-gradient(#0005, #0009), url("/imagenes/PROTESIS\ FIJA.png");
}
.services__project:nth-child(7){
background-image:linear-gradient(#0005, #0005), url("/imagenes/ortodoncia.jpg");
}
.services__project:nth-child(8){
background-image:linear-gradient(#0005, #0005), url("/imagenes/OIP.jpeg");
}
.services__project:hover{
opacity: 0.60;
outline: 2px solid #fff;
}



/*--------SERVICES QUERIES--------*/
@container services (min-width: 950px){
.services__project-container{
grid-template-columns: repeat(auto-fill,minmax(400px,1fr));
}
.services__project:first-child{
grid-column: span 3;
}
.services__project:last-child{
grid-column: span 3;
}
}

/*--------SERVICES END--------*/

/*--------photographys section--------*/

.photography{
background-color: #e2eaffc5;
justify-content: center;
align-items: center;
display: flex;
flex-direction: column;
container-type: inline-size;
container-name: photography;
margin-bottom: 20px;

}
.photography__title{
font-size: 20px;
}
.photography__project-container{
background-color: #18233f;
display: grid;
grid-template-columns: (auto-fit,1fr);
grid-template-rows: repeat(7,350px auto);
width: 100%;
max-width: 800px;
place-content: center;
}

.photography__project{
max-width: 350px;
margin: 10px;
padding: 10px;
font-size: 30px;
margin-left: 45px;
border-radius: 25px;
box-shadow: 7px 0px 20px #002;
animation: aparecer-1 both;
animation-timeline: view();
animation-range: cover 10% cover 50%;

}
@keyframes aparecer-1{
from{
opacity: 0;
}
to{
opacity: 1;
}
}
.photography__project:nth-child(1){
background-image: url(/imagenes/Odontologia\ general.jpeg);
background-size: cover;
}
.photography__project:nth-child(3){
background-image: url(/imagenes/periodoncista.jpeg);
background-size: cover;
}
.photography__project:nth-child(5){
background-image: url(/imagenes/endodoncista.jpeg);
background-size: cover;
}
.photography__project:nth-child(7){
background-image: url(/imagenes/odontopediatra.jpeg);
background-size: cover;
}
.photography__project:nth-child(9){
background-image: url(/imagenes/cirujana.jpeg);
background-size: cover;
}
.photography__project:nth-child(11){
background-image: url(/imagenes/ortodoncista.jpeg);
background-size: cover;
}
.photography__project:nth-child(13){
background-image: url(/imagenes/rehabilitadora.jpeg);
background-size: cover;
}
.photography__title-container{
display: flex;
flex-direction: column;
text-align: center;
border: 2px solid #e85;
margin: 20px;
border-radius: 25px;
}
.photography__title-container:is(:hover,:active){
opacity: 0.8;
}
.photography__project-name{
color: #fff;
}



/*--------photographys queries--------*/
@container photography (min-width: 56.25rem) {
.photography {
height: 100%;
}
.photography__project-container{
width: 100%;
max-width: 900px;
justify-content: center;
margin: auto;
text-align: center;
border-radius: 25px;
}
.photography__title{
font-size: 2rem;
}
}


/*--------photographys end--------*/
/*------ review-section--------*/
.review{
background-color: #101632dd;
color: #fff;
text-align: center;
display: flex;
flex-direction: column;
max-width: 1400px;
margin: auto;
container-type: inline-size;
container-name: review;
}
.review__container{
display: grid;
grid-template-columns: repeat(auto-fit, 400px);
grid-template-rows: repeat(5,400px);
width: 100%;
place-content: center;
}
.review__item{
background-color: #48e;
margin: 10px;
padding: 10px;
color: #fff;

}
.review__title{
font-size: 3rem;
color: #48e; 
}
.review__item:nth-child(1){
background-image: url(/imagenes/EXPERIENCIA.webp);
background-size: cover;
}
.review__item:nth-child(2){
background-image: url(/imagenes/paciente\ 1.jpeg);
background-size: cover;
}
.review__item:nth-child(3){
background-image: url(/imagenes/paciente2.jpeg);
background-size: cover;
}
.review__item:nth-child(4){
background-image: url(/imagenes/paciente3.jpeg);
background-size: contain;
}
.review__item:nth-child(5){
background-image: url(/imagenes/paciente2.jpeg);
background-size: contain;
}
.review__item-container{
display: grid;
grid-template-rows: repeat(3,130px);
grid-template-columns: 150px;
justify-content: space-evenly;
margin: auto;
background-image: url(/imagenes/EXPERIENCIA.webp);
background-size: cover;
width: 93%;
}
.review__item-item{
background-color: #48e;
margin: 10px;
margin-left: 30px;
}
.review__link {
display: flex;
flex-direction: column;
margin: auto;
margin-top: 48px;
text-decoration: none;
color: #fff;
}
.review__item-item:is(:hover,:active){
outline: 2px solid #000;
}
.review__item-item:nth-child(1){
background-image: linear-gradient(#0007,#0007,#0007), url(/imagenes/facebook.jpeg);
background-size: contain;
}
.review__item-item:nth-child(2){
background-image:  linear-gradient(#0007,#0007,#0007), url(/imagenes/instagram.png);
background-size: 100%;
}
.review__item-item:nth-child(3){
background-image:  linear-gradient(#0007,#0007,#0007), url(/imagenes/tik\ tok.webp);
background-size: 100%;
}


/*------ review-queries--------*/
@container review (min-width: 720px){
.review__container{
grid-template-rows:repeat(3,400px) ;
}
.review__item:nth-child(1){
grid-column: span 2;
grid-row: span 2;
}

}

/*------ review-end--------*/
/*--------contact section--------*/
.form{
min-height: 50vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 40px 0;
container-type: inline-size;
container-name: form;
}
.form__form{
padding: 12px;
max-width: 600px;
width: 90%;
display: grid;
background-image: radial-gradient(#18233f06, #18233f55);
padding: 30px;
border-radius: 12px;
box-shadow: 0px 0px 40px #0006;
margin: 10px;
margin-bottom: 30px;
}
.form__input-container :is(input, textarea){
width: 100%;
padding: 9px;
font-size: 16px;
margin: 4px;
border: none;
box-shadow: 2px 2px 4px #0003;

}
.form__input-container textarea{
resize: none;
min-height: 90px;
font-family: inherit;
}
.form__input-container input[type="submit"]{
padding: 12px;
background-color: #18233f;
color: #fff;
}
.form__title{
font-size: 2.4rem;
}
/*--------contact queries--------*/
@container form (min-width: 56.25rem){
.form__form{
grid-template-columns: 1fr 1fr;
grid-template-areas: 
"name lastname"
"email email"
"message message"
"button button";
gap: 12px;
background-image: radial-gradient(#18233f06, #18233f55);
padding: 30px;
border-radius: 12px;
box-shadow: 0px 0px 40px #0006;
}
.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;
}
}
/*--------contact ends--------*/

/*--------boton-fijo-section--------*/


/*--------footer-section--------*/
.footer {
    background-color: #101632dd; 
    color: white;
    padding: 20px 0;
    margin-top: auto;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    text-align: center;
}

.footer-logo .logo {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 50%;
}

.footer-logo h3 {
    font-size: 20px;
    margin: 0;
    color: #fff;
}

.footer-contact {
    text-align: center;
}

.footer-contact h4 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #fff;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    display: block;
    margin: 5px 0;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #ffcc00; /* Color dorado */
}
.footer-social {
    text-align: center;
}

.footer-social h4 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #fff;
}

.social-btn {
    display: inline-block;
    margin: 5px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    text-align: center;
    font-size: 18px;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s, transform 0.3s;
}

.social-btn:hover {
    background-color: #ffcc00; /* Color dorado al pasar el cursor */
    transform: scale(1.1);
}

.social-btn.facebook:hover {
    background-color: #3b5998; /* Azul de Facebook */
}

.social-btn.instagram:hover {
    background-color: #e4405f; /* Rosa de Instagram */
}

.social-btn.tiktok:hover {
    background-color: #000000; /* Negro de TikTok */
}

.footer-rights {
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
}

.footer-rights p {
    font-size: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}





