*{
box-sizing: border-box;
}
body{
margin: 0;
font-family: sans-serif;
background-color: #fff;
color: #101632dd;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;

}
.main-wrapper, header, footer{
min-width: 100%;
}
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 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--------*/
/*--------MAIN SECTION--------*/
.main-wrapper{
    display: flex;
    margin-top: 10px;
    width: 100%;
    background-color: #e2eaffc5;


}
h1,h2,h3,h4{
    text-wrap: balance;
}
p{
    text-wrap: pretty;
}
aside, main{
    padding: 10px 8px;
}
h1{
    text-align: center;
    font-size: 2.5rem;
    margin-top: 0;
}
.main{
    max-width: 100%;
    justify-content: center;
    flex-grow: 2;
}
.main p{
    font-size: 20px;
}
.main-wrapper aside{
    flex-grow: 1;
}
.img__container{
    display: flex;
    justify-content: center;
    align-items: center;
}
.img__container img{
    max-width: 100%; 
    height: 400px;   
}
.secundary-navbar{
    max-width: 12rem ;
}
.secundary-navbar ul{
    padding: 0;
}
.secundary-navbar li{
    list-style:none;
}
.secundary-navbar a{
    color: #e85;
    display: inline-block;
    padding: 5px;
    margin: 8px;
    text-decoration: none;
}
.secundary-navbar a:hover{
    transition: color 1.1s;
    color: #48e;
}
aside:first-child{
    min-width: 25rem;
}

/*--------MAIN QUERIES--------*/
@media screen and (max-width:750px) {
    .main-wrapper{
        width: 100%;
        flex-wrap: wrap;
        flex-direction: column;
    }
}
/*--------grid section--------*/
.articles__grid{
display: grid;
min-height: 100vh;
justify-content: center;
grid-template-columns: repeat( 3,400px);
grid-template-rows: 700px;
container-type: inline-size;
container-name: articles;
}
.articles__title{
    font-size: 1.5rem;
    text-align: center;
}
.grid__item{
background-color: #10163211;
margin: 10px;
color: #000;
padding: 10px;
font-size: 20px;
overflow: hidden;
text-align: center;

}
.grid__item img{
padding: 8px;
width: 100%;
height: 60%;
border-radius: 50px;

}
.grid__item p{
padding: 8px;
text-align: center;
text-overflow: ellipsis;
white-space: pre;
overflow: hidden;
}
.grid__item h2{
margin: 0;
}
.grid__item h2:hover{
color: #fff;
transition: 0.9s;
}
.grid__item img:hover {
opacity: 0.8;
box-shadow: 0 0 20px #000;
}
.grid__item-link{
    text-decoration: none;
    color: inherit;
}
/*--------grid queries--------*/
@media screen and (max-width:950px) {
    .articles__grid{
        grid-template-columns: 400px;
        grid-template-rows: repeat(auto-fill, 700px);
    }
}
/*-------- footer--------*/
.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: 32px;
    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: 25px;
    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);
}

