/* menu */


/* Estilos para el botón hamburguesa */

.hamburger {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 999;
    cursor: pointer;
    display: none;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #7c7c7d;
    margin-bottom: 6px;
    transition: transform 0.3s ease-in-out;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background-color: #ff0000;
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background-color: #ff0000;
}


/* Estilos para el menú lateral en dispositivos móviles 
@media (max-width: 768px) {*/

.hamburger {
    display: block;
}


/* menu top */

.fondo {
    background: black;
    width: 7%;
    margin-top: 80px;
}

.menu-top {
    z-index: 2;
    position: fixed;
    background: black;
    width: -webkit-fill-available;
}


/* barra lateral */

h2 {
    justify-self: center;
}

.sidebar {
    text-align: left;
    z-index: 998;
    width: 300px;
    background: linear-gradient(135deg, #1a1a1a, #2b2b2b);
    color: white;
    height: 100vh;
    padding: 20px;
    border-right: 2px solid #444;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.5);
    position: fixed;
    left: 0;
    top: 0;
    transition: transform 0.3s ease;
}

.sidebar.hidden {
    transform: translateX(-100%);
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    margin-bottom: 15px;
}

.category-btn {
    background: none;
    color: white;
    border: none;
    text-align: left;
    width: 100%;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.category-btn:hover {
    background-color: #444;
}

.icon {
    transition: transform 0.3s ease;
}

.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    border-left: 2px solid #ffa7d0;
}

.submenu li {
    padding: 8px 15px;
}

.menu-item.open>.submenu {
    max-height: 500px;
    opacity: 1;
}

.menu-item.open>.category-btn .icon {
    transform: rotate(90deg);
}

.submenu .menu-item {
    margin-bottom: 0;
}

.submenu li .category-btn {
    padding-left: 30px;
    font-size: 16px;
}

.submenu li a {
    color: #eaeaea;
    text-decoration: none;
    display: block;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.submenu li a:hover {
    background-color: #ffa7d0;
    color: white;
}

.submenu li a.active {
    background: linear-gradient(135deg, #ffa7d0, #c0392b);
    color: white;
}


/********** SELECT IDIOMAS *******************/

.custom-select {
    display: block;
    position: fixed;
    top: 20px;
    right: 10px;
    z-index: 10000;
    display: inline-block;
    width: auto;
    cursor: pointer;
    user-select: none;
}

.selected-option {
    background: #fff;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.selected-option img {
    width: 24px;
    height: 16px;
}

.options {
    width: min-content;
    padding: 0;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-top: 5px;
    display: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

.options li {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.options li:hover {
    background-color: #f0f0f0;
}

.options img {
    width: 24px;
    height: 16px;
}

.skiptranslate {
    display: none;
}


/* Ocultar el cuadro flotante de Google Translate */

#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover,
.VIpgJd-yAWNEb,
.VIpgJd-yAWNEb * {
    display: none !important;
}


/*****************************/