/* Importing Google Fonts: Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap');

* {
    margin: 0;              padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}
header {
    /* font-family: Verdana, sans-serif; */
    color: #FFFFFF;       top: 0;
    position: fixed;        width: 100%;
    z-index: 3;
}
header > h2 {
    
    font: normal 1.2em "Trebuchet MS";
    padding: 2px;           margin-bottom: 0;
    animation: cambiodecolor 10s linear 0s infinite normal none;
    text-align: center;
}
    @keyframes cambiodecolor {
        0%   {background-color: #f70;}
        50%  {background-color: #d50;}
        100% {background-color: #f70;}
    }

/* Encabezado negro */
#header_negro {
    background-color: #ddd;
    padding: 3px;
    display: flex;          justify-content: space-around;
}
#header_negro p {
    display: inline-block;
    margin: 0;
    color: #333;
}

/* Encabezado crema */
#header_logo {
    background-color: #fff;
    padding: 0 60px;        height: 60px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 3px 3px 0 #bbb;
    display: flex;          align-items: center;
    justify-content: space-between;
}
/* Botón responsive */
button {
    border: none;           background-color: transparent;
    margin: 1em;
}
#menu-abrir, #menu-cerrar {
    display: none;
    position: relative;
}

/* Menú principal */
#header__menu {
    display: flex;          width: 60%;
    justify-content: end;
}
.menu-productos, .menu-productos-cables {
    display: none;          position: absolute;
    background-color: #fffdf9;
    border: solid 2px #fafafa;
    font-size: .9rem;
}
.menu-productos-cables {
    left: 160px;            top: 0;
    width: 150px;
}
#menu-principal ul {
    list-style: none;
}
#menu-principal > li {
    display: inline-block;
    font: normal 1em Verdana;
    margin-bottom: 0;
}
#menu-principal a {
    text-decoration: none;    display: block;
    color: #333;            padding: 7px 18px;
}
#menu-principal li:hover {
    background: linear-gradient(to right, transparent, #fff5ea, transparent) ;
    box-shadow: 0 3px 3px 0 #ddd;
}
#menu-principal li:hover > ul {
    display: block;
}

/* Carrito de Compras */
#carrito-de-compras {
    width: 35px;
    color: #333;
    display: none;
}
svg {
    width: 35px;
}
ul {
    margin-bottom: 0;
    padding-left: 0;
}

/*--------------------------------------------*/
/* Vista Responsive */
@media (max-width: 768px) {
    #menu-abrir, #menu-cerrar  {
        display: block;         margin: 4px 16px;
        border: solid 3px #aaa3;
        border-radius: 5px;
        background-color: #fff7;
        }
    #menu-abrir > i, #menu-cerrar > i {
        font-size: 1.8em;
    }
    #header__menu {
        position: absolute;     display: none;
        background-color: #fffbef;
        top: 60px;              width: 150px;
        padding-bottom: 10px;
    }
    .visibility {
        /*opacity: 1;
        visibility: visible;
        overflow-y: scroll;*/
        display: block!important;
    }
    .menu-productos {
        position: absolute;
        top: 90px;          left: 150px;
        width: 165px;
    }
    #header__menu li {
        width: 100%;
    }
}

@media (max-width: 576px) {
    main {
        margin-top: 140px!important;
    }
    header > h2 {
        font-size: 0.9em;
    }
    #header_negro p {
        font-size: 0.9em;
        display: block;
        text-align: center;
    }
    #header_logo {
        padding: 0 20px;
    }
    #header__menu {
        top: 71px;
    }
}