*{
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;
}
.header__nav-item a{
color: inherit;
text-decoration: none;
margin: 8px;
}
.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;
}
.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: 1100px){
.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--------*/

/*--------HEADER MAIN--------*/
.header__main{
height: 100vh;
box-sizing: border-box;
background-image: url(imagenes-blog/blog.jpg);
background-size: cover;
background-position: center;
color: #fff;
display: flex;

}
.header__overlay{
height: 100vh;
width: 100%;
background-color: #0006;
position: absolute;
z-index: 1;
}
.header__item-container{
z-index: 2;
position: relative;
margin: auto;
text-align: center;
max-width: 900px;

}
h1{
margin: 0;
font-size: 3.6rem;
text-wrap: balance;
}
.paragraph__header{
font-size: 1.5rem;
text-wrap: pretty;
}
/*-------- articles main--------*/
.articles__grid{
display: grid;
min-height: 100vh;
justify-content: center;
grid-template-columns: repeat(auto-fit, 450px);

}
.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;
}
.pagination{
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}
.pagination__item{
    list-style: none;
    display: inline-flex;
    padding: 0;
    margin: 0;
    border-radius: 5px;
    overflow: hidden;
}
.pagination__item li{
    margin: 0;
}
.pagination__item a{
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #ddd;
    transition: background-color 0.3s, color 0.3s;
}
.pagination__item a:hover{
    background-color: #007bff;
    color: white;
}
.pagination__item .active{
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}
.grid__item-link{
    text-decoration: none;
    color: inherit;
}
/*-------- articles end--------*/
/*-------- 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);
}






