.data{
    display: flex;
    justify-content: right;
    align-items: center;
    padding-right: 10px;
    height: 30px;
}

.data a{
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    padding-right: 7px;
    margin-right: 5px;
    border-right: solid 1.5px #000;

}

.data a > img{
    height: 100%;
}

.section-top{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    z-index: 1;
}

.container-logo{
    display: flex;
    background-color: var(--color-bg-bar);
    width: 100%;
    height: 60px;
    padding: 20px 0;
    align-items: center;
    gap: 2em;
}

.logo{
    width: 90px;
    height: 60px;
}

.logo img{
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.search{
    height: 40px;
    width: 350px;
    align-self: center;
    border-radius: 10px 10px 0 0;
    background-color: #eee;
    color: black;
    padding-left: 5px;
}

.search::placeholder{
    color: black;
}

.search-dropdown{
    width: 100%;
    background: #eee;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-width: 350px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.search-item{
    padding: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    transition: background 0.2s ease;
}

.search-item:hover{
    background: #f5f5f5;
}

/*Category bar*/
.nav-category{
    background: var(--color-bg-bar);
    padding-left: 10px;
    padding-right: 10px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.nav-category a{
    color: #f6f7f8;
    background: var(--color-bg-bar);
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.4s;
}

.nav-category ul{
    list-style: none;
    display: flex;
}

.nav-category li{
    width: 100%;
    text-align: center;
    position: relative;
}

.subcategory li{
    display: none;   
}

.subcategory{
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 100%;
    z-index: 3;
}

.menu-toggle{
    opacity: 0;
    visibility: hidden;
}

/*information*/
.information{
    width: 100%;
    height: auto;
    padding-top: 1rem;
    background-color: var(--color-bg-terciary);
    color: white;
}

.information ul{
    display: flex;
    justify-content: space-evenly;
    list-style: none;    
}

.subinfo{
    display: flex;
    flex-direction: column;
    padding-top: 5px;
    justify-content: space-evenly;
}

.information a{
    text-decoration: none;
    color: white;
}

.subinfo-social{
    display: flex;
    padding-top: 5px;
    align-items: center;
}

.subinfo2{
    display: flex;
    flex-direction: column;
    padding-top: 5px;
}

.social{
    width: 30px;
    height: 30px;
}

/*footer*/
footer{
    display: flex;
    width: 100%;
    height: 30px;
    background-color: var(--color-bg-bar);
    font-size: 14px;
    color: white;
    align-items: center;
    justify-content: center;
}

/*Hover efects*/
@media(min-width: 1080px){
    /*nav-category*/
    .nav-category a:hover{
        background: var(--color-hover-bar);
    }

    .nav-category li:hover .subcategory >li{
        display: block;   
    }
}

/*Responsive*/
@media (max-width: 500px){
    .menu-toggle{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 80px;
        height: 80px;
        border-radius: 10px;
        border: 1px solid var(--color-bg-bar);
        box-shadow: 0px 10px 20px 0 rgba(0, 0, 0, 0.2);
        cursor: pointer;
        transition: all 0.3s ease;
        gap: 12px;
        opacity: 1;
        margin-left: 20px;
        visibility: visible;
    }

    .menu-toggle .line{
        position: relative;
        width: 60px;
        height: 5px;
        background-color: white;
        border-radius: 10px;
    }

    .menu-toggle .line:nth-child(1){
        top: 0;
        transform: rotate(0);
        transition: top 0.2s ease, transform 0.4s ease;
    }

    .menu-toggle .line:nth-child(2){
        opacity: 1;
        visibility: visible;
        transition: all 0.2s ease;
    }

    .menu-toggle.active{
        z-index: 1001;
    }

    .menu-toggle .line:nth-child(3){
        top: 0;
        transform: rotate(0);
        transition: top 0.2s ease, transform 0.4s ease;
    }

    .menu-toggle.active .line:nth-child(1){
        top: 18px;
        transform: rotate(45deg);
    }

    .menu-toggle.active .line:nth-child(2){
        opacity: 0;
        visibility: hidden;
    }

    .menu-toggle.active .line:nth-child(3){
        top: -16px;
        transform: rotate(-45deg);
    }

    .logo{
        display: none;
    }

    .buscar{
        width: 52%;
    }

    .nav-category{
        display: none;
    }

    .nav-category.open{
        display: block;
    }

    .nav-category ul{
        flex-direction: column;
    }

    .nav-category a{
        height: 48px;
    }

    .subcategory{
        position: static;
        width: 100%;
    }

    .subcategory a{
        width: 100%;
        background: var(--color-hover-bar);
        margin: 0 auto;
    }

    .subcategory li{
        display: none;
    }

    .display-block li{
        display: block;
    }

    /*information mobile*/
    .information{
        height: auto;
    }

    .maininfo{
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        text-align: center;
    }

    .maininfo a{
        font-size: 25px;
    }

    .subinfo{
        position: static;
        width: 100%;
        padding-bottom: 1rem;
    }

    .subinfo a{
        font-size: 18px;
    }

    .subinfo li{
        display: none;
    }

    .open2 li{
        display: block;
    }

    .subinfo2{
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        padding: 2px;
    }

    .subinfo2 p{
        padding: 3px;
        font-size: 18px;
    }

    .social{
        width: 70px;
        height: 60px;
    }

    /*footer*/
    footer{
        height: 50px;
    }

}