:root {
    --fondo-g1: #2f353e;
    --txt-b1: #e8e8e8;
    --semergy-naranja: #f93c00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: "Open Sans", sans-serif;
}

li {
    list-style: none;
}

a {
    display: block;
    min-height: 2rem;
    text-decoration: none;
    color: var(--txt-b1);
}

#whatsapp {
    position: fixed;
    bottom: 1rem;
    color: #00e676;
    font-size: 2rem;
    background: #fff;
}

#nombre {
    font-family: "Kodchasan", sans-serif;
    font-size: 1.2rem;
    background: var(--semergy-naranja);
    text-decoration: underline;
    position: absolute;
    top: 1px;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    width: 21vw;
    height: 12vh;
    clip-path: polygon(0 0, 88% 0%, 64% 100%, 0% 100%);
}

#nombre span {
    color: var(--semergy-naranja);
}

#nombre a {
    padding: 1rem;
    border-radius: 50%;
    background: #0f1527;
    width: 4rem;
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

#menu-principal a {
    display: flex;
    align-items: center;
}

#menu-principal figure {
    font-family: "Kodchasan", sans-serif;
    display: flex;
    align-items: center;
    color: var(--semergy-naranja);
    text-shadow: 1px 0 var(--semergy-naranja);
}

#menu-principal figcaption {
    border-bottom: 2px solid #ddd;
}

#menu-principal figcaption span {
    color: #fff;
    text-shadow: 1px 0px #fff;
}

.linea1 {
    position: absolute;
    top: 81%;
    width: 38%;
    left: 12vw;
    margin: auto;
    border: 1px solid #f93c006e;
}

.txt-color1 {
    color: var(--semergy-naranja);
}

#menu-principal {
    position: absolute;
    padding: 2rem;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 1) 0%, rgb(142 142 142 / 10%) 100%);
    opacity: 1;
}

.submenu {
    display: flex;
    flex-wrap: wrap;
}

.submenu a {
    display: block;
    padding: 1px 2.5em;
    text-decoration: none;
    color: var(--fondo-g1);
    border-bottom: 1px solid #ececec;
    transition: 1s;
}

.submenu div {
    margin: 1rem;
}

.submenu li {
    text-align: left;
}

.menu-180>li>ul>li>a {
    color: #000;
}

.menu-180 {
    background: #333;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.menu-180 ul {
    position: absolute;
}

.menu-180>li {
    text-align: center;
    font-size: 0.9rem;
    padding: 0 2rem;
    cursor: pointer;
}

.menu-180>li>ul>li {
    text-align: start;
    font-size: 0.8rem;
}


/*SEGUNDO NIVEL*/

nav li li {
    background: #fff;
    transition: all 0.9s;
    line-height: 3rem;
}

.menu-180 li:hover ul {
    max-height: max-content;
    overflow: visible;
}

.menu-180 li>ul {
    z-index: 11;
    max-width: max-content;
    max-height: 0;
    overflow: hidden;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    background: #fff;
}


/*TERCER NIVEL*/

.menu-180 ul ul {
    left: 100%;
    /* top:0; */
}

.menu-180>li:last-child a {
    color: #ef5a2f;
}

.menu-180>li:last-child:hover {
    background: #dedede;
}

header {
    height: 100%;
    position: relative;
}

.transparencia {
    height: 100%;
    width: 100%;
    background: rgb(0 15 60 / 32%);
    position: absolute;
    top: 0;
}

#left-menu {
    position: absolute;
    left: 0;
    bottom: 0;
    background: #01001f;
    font-size: 0.7rem;
    height: 100vh;
    display: block;
    width: 82px;
    z-index: 4;
}

#lcontent {
    font-family: "Oswald", sans-serif;
    position: absolute;
    bottom: 0;
}

.left-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0rem;
    border-bottom: 1px solid #585f69a3;
    color: #cecece;
    margin: 0rem 0.5rem;
}

.left-item i {
    font-size: 20px;
}

.left-item i:hover {
    color: var(--semergy-amarillo);
}

@media (max-width: 600px) {
    #left-menu {
        display: none;
    }
    #nombre {
        display: none;
    }
    header {
        height: inherit;
    }
    #menu-principal {
        transform: translate(-100vh);
        flex-direction: column;
        align-items: start;
        background: #000;
        padding: inherit;
        max-width: 82vw;
        position: fixed;
        right: 0;
    }
    #menu-principal a {
        padding: .8rem 0;
    }
    .menu-180 li>ul {
        background: #e8e8e8;
    }
    .submenu a {
        padding: inherit;
    }
    .submenu li {
        background: inherit;
        line-height: 1.5rem;
        border-bottom: 1px solid #0000002e;
    }
}