/* Anuncio Header */
.header-anuncio {
    background-color: var(--primary);
    height: 40px;
    align-content: center;
    text-align: center;
    font-family: "Roboto Mono", sans-serif;
}

.header-anuncio p {
    font-size: 13px;
    font-weight: 500;
}

.container-navbar {
    position: relative;
    display: flex;
    height: 100px;
    width: 95%;
    max-width: 1300px;
    margin: auto;
    border-bottom: 1px black solid;
    justify-content: space-between;
    align-items: center;
}

.logo {
    justify-content: center;
    align-items: center;
    height: 50px;
    margin-left: 25px;
}

.a-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.logo-i {
    height: 50px;
    object-fit: contain;
    filter: brightness(0);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.logo-l {
    filter: invert(100%);
    height: 25px;
    object-fit: contain;
}

.logo:hover .logo-i {
    transform: rotate(360deg);
    filter: none;
}



.navbar {
    display: flex;
    justify-content: space-between;
    width: 40%;
    min-width: 400px;
}

.navbar li {
    cursor: pointer;
    list-style: none;
    font-family: 'Roboto', sans-serif;
    transition: box-shadow .3s ease-in-out;

}

.navbar li:hover {
    box-shadow: 0px 1px 3px black;
    font-weight: 500;
}
.navbar li a{
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none; /* Opcional: para eliminar el subrayado de los enlaces */
   padding: 15px;

}


/*SOCIAL MEDIA*/
.card {
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 25px;
    gap: 20px;
}

/* for all social containers*/
.socialContainer {
    width: 40px;
    height: 40px;
    background-color: rgb(44, 44, 44);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition-duration: .3s;
}

/* instagram*/
.containerOne:hover {
    background-color: #ff0022;
    transition-duration: .3s;
}

/* linkdin*/
.containerThree:hover {
    background-color: #006eff;
    transition-duration: .3s;
}

/* Whatsapp*/
.containerFour:hover {
    background-color: #51ff00;
    transition-duration: .3s;
}

.socialContainer:active {
    transform: scale(0.9);
    transition-duration: .3s;
}

.socialSvg {
    width: 17px;
}

.facebook {
    height: 17px;
}

.socialSvg path {
    fill: rgb(255, 255, 255);
}

.socialContainer:hover .socialSvg {
    animation: slide-in-top 0.3s both;
}

@keyframes slide-in-top {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}




/* botón menú*/
.burger {
    display: none;
    cursor: pointer;
    z-index: 1000;
}

.burger span {
    display: block;
    width: 30px;
    height: 3px;
    background: #333;
    margin: 6px 0;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55),
        opacity 0.3s ease;
}

#burger-checkbox {
    display: none;
}

#burger-checkbox:checked+.burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#burger-checkbox:checked+.burger span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

#burger-checkbox:checked+.burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}





@media (max-width:940px) {

    .card {
        display: none;
    }
    .logo {
        margin-left: 0;
}
}

@media (max-width:700px) {
    .navbar {
        display: flex;
        flex-direction: column;
        height: 0;
        opacity: 0;
        overflow: hidden;
        transition: height 0.3s ease-in-out, opacity 0.3s ease-in-out; /* Transición para altura y opacidad */
        background-color: var(--black);
        position: absolute;
        right: 0;
        top: 110%;
        width: 100%;
        z-index: 2000;
    }

    .burger {
        display: block;
    }

    .navbar li {
        display: flex;
        height: 100%;
        align-items: center;
        justify-content: center;
    }

    .navbar li a {
         display: flex;
   justify-content: center;
   align-items: center;
        color: white;
    }
}

@media (max-width:500px) {
    .header-anuncio p {
        font-size: 12px;
    }
}

#burger-checkbox:checked~.navbar {
    height: 250px; /* Ajusta la altura según tu diseño */
    opacity: 1;

}
