*{
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: 50px;
margin: 0px;
margin-left: 15px;
}
.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: 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{
padding: 0;
}

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;
}
.subtitle__main{
    text-align: center;
}
.main{
    max-width: 100%;
    justify-content: center;
    flex-grow: 2;
}
.main p{
    font-size: 20px;
    width: 65%;
    margin: auto;
    background-color: #0001;
}
/*--------Details Indice--------*/
.details__main{
    width: 65%;
    padding: 4px;
    margin: auto;   
    margin-top: 25px;
    font-size: 30px;
    border: 2px solid #000;
    margin-bottom: 60px;

}
.details__main[open] .summary__main::before{
    transform: rotate(90deg);
}
.summary__main{
    list-style: none;
    color: #48e;
}
.summary__main::before{
    font-family: "Font Awesome 5 Free";
    content: '\f0da'; /* Código del ícono (flecha hacia abajo) */
    display: inline-block;
    margin-right: 10px;
    margin-left: 20px;
    font-weight: 900;
    transition: transform 0.3s ease;
}
.summary__main:hover{
    color: #000;
}
.summary__items{
    list-style: none;
    font-size: 15px;
}
.summary__link{
    text-decoration: none;
    color:#000;
}
.summary__link:hover{
    color: #48e;
}
/*--------Details-main-end--------*/
/*--------Details Question--------*/
.details__question{
    width: 65%;
    padding: 4px;
    margin: auto;   
    margin-top: 5px;
    font-size: 20px;
    border: 2px solid #000;

}
.details__question[open] .summary__main-question::before{
    transform: rotate(90deg);
}
.summary__question{
    list-style: none;
    color: #48e;
}
.summary__question::before{
    font-family: "Font Awesome 5 Free";
    content: '\f0da'; /* Código del ícono (flecha hacia abajo) */
    display: inline-block;
    margin-right: 10px;
    margin-left: 20px;
    font-weight: 900;
    transition: transform 0.3s ease;
}
.summary__question:hover{
    color: #000;
}
.summary__items-question{
    font-size: 15px;
    margin-left: 30px;
    margin-top: 10px;
}
.summary__link-question{
    text-decoration: none;
    color:#000;
}
.summary__link-question:hover{
    color: #48e;
}
/*--------Details Question-end --------*/


.main-wrapper aside{
    flex-grow: 1;
}
.img__container{
    display: flex;
    justify-content: center;
    align-items: center;
}
.img__container img{
    min-width: 70%; 
    height: 400px; 
    margin-bottom: 0px; 
    border-radius: 10px; 
}
.img__container video{
    min-width: 70%; 
    height: 400px; 
    margin-bottom: 0px; 
    border-radius: 10px; 
}
.img__description{
    width: 65%;
    margin: auto;
    margin-top: 0;
    padding: 0;
}
.list-subtitle__container{
    width: 65%;
    margin: auto;
    background-color: #0001;
    font-size: 20px;
}
.list__subtitle-item{
    margin: 4px;
}
.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;
}
.table__main{
    border: 2px solid #000;
    width: 65%;
    min-width: 600px;
    margin: auto;
    padding: 4px;
    border-collapse: collapse;
}
th, td{
    border: 2px solid #000;
    padding: 8px;
}
aside:first-child{
    min-width: 10rem;
}
aside:last-child{
    min-width: 10rem;
}

/*--------MAIN QUERIES--------*/
@media screen and (max-width:1100px) {
    .main-wrapper{
        width: 100%;
        flex-wrap: wrap;
        flex-direction: column;
    }
    .main p{
        width: 100%;
        background-color: inherit;
    }
    .list-subtitle__container{
        width:100%;
        background-color: inherit;
        justify-content: center;
        margin-left: 12px;
    }
    .img__container video{
        width: 100%;
    }
    .img__container img{
        width: 100%;
    }
    aside:last-child{
        flex-wrap: wrap;
        flex-direction: column;
    }
    aside:first-child{
        margin: auto;
    }
    .details__main{
        width: 100%;
        padding: 0;
    }
    .details__question{
        width: 100%;
    }

}

/*--------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);
    }
}
/*-------- grid end--------*/
/*-------- Botones para compartir--------*/
.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    width: 65%;
    margin: auto;
}

.share-buttons p {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
    margin-top: 20px;
}

.share-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.share-buttons .btn i {
    font-size: 18px;
}

.share-buttons .facebook {
    background-color: #1877f2;
}

.share-buttons .facebook:hover {
    background-color: #145db2;
}

.share-buttons .twitter {
    background-color: #1da1f2;
}

.share-buttons .twitter:hover {
    background-color: #0d8ddb;
}

.share-buttons .linkedin {
    background-color: #0077b5;
}

.share-buttons .linkedin:hover {
    background-color: #005983;
}
.share-buttons .whatsapp {
    background-color: #25d366;
}

.share-buttons .whatsapp:hover {
    background-color: #1ebe57;
}


.share-buttons .email {
    background-color: #6c757d;
}

.share-buttons .email:hover {
    background-color: #5a6268;
}
/*-------- Botones para compartir 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);
}

