html,
body {
    margin: 0;
    padding: 0;
    /* overflow-x: hidden; */
}

h1 {
    font-size: 40px;
    text-align: center;
}

.container-mobile {
    display: none;
}

.bars {
    margin-top: 22px;
    width: 40px;
    height: 4px;
    background: #244DFE;
    position: relative;
}

.bars::before,
.bars::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background: #244DFE;
    left: 0;
}

.bars::before {
    top: 3px;
}

.bars::after {
    top: 6px;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #030814;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}


.nav-list {
    list-style: none;
    padding: 0;
}

.nav-item {
    margin: 50px 0;
}

.nav-link {
    color: #fafafa;
    font-size: 2em;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    opacity: 0;
    pointer-events: none;
}

.nav-link:after {
    content: '';
    width: 100%;
    position: absolute;
    height: 3px;
    border-radius: 5px;
    background: #fff;
    bottom: -10px;
    left: 0;
    transform-origin: left;
    transition: transform .5s ease;
    transform: scaleX(0);
}

.nav-link:hover:after {
    transform: scaleX(1);
}

.close {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 6%;
    right: 5%;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
}

.nav-logo img {
    height: 10vw;
}

.nav-logo {
    position: absolute;
    top: 5%;
    left: 5%;
    opacity: 0;
    pointer-events: none;
    color: #fff;
    font-size: 2em;
}

.close div::before,
.close div::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 4px;
    background: #fff;
    transition: background .5s ease;
    left: 0;
    top: 13px;
}

.close div::before {
    transform: rotate(-45deg);
}

.close div::after {
    transform: rotate(45deg);
}

.close:hover div::before,
.close:hover div::after {
    background: #091128;
}

@media screen and (max-width: 768px) {
    .container-mobile {
        display: block;
        cursor: pointer;
        position: absolute;
        top: 5%;
        right: 5%;
        width: 30px;
        height: 20px;
    }
}

@media (max-width: 992px) {

    h1 {
        font-size: 25px;
    }
}