* {
    box-sizing: border-box;
}

body {
    overflow-y: scroll;
}

body,
html {
    height: 100%;
    width: 100%;
    margin: 0;
    background-position: 50% 10%;
    background-size: cover;
    font-family: "Gulim";
}

h2 {
    margin: 0;
}

.content {
    position: absolute;
    z-index: 25;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.4em;
    margin-left: 130px;
    max-width: 840px;
    text-align: justify;
    text-justify: inter-word;
}

.container {
    max-width: 1080px;
    margin: auto;
    overflow: hidden;
    height: 100%;
    position: relative;
}

.svg {
    position: fixed;
    top: 0;
    z-index: 10;
}

.navbar {
    position: fixed;
    height: 90px;
    width: 100%;
    max-width: 1080px;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 20;
}

.navbar-buttons {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.navbar-buttons span:last-child {
    margin-right: auto;
}

.navegacao {
    margin-left: 10px;
    font-size: 1.8em;
}

/* Sign In Button */

.button {
    background-color: rgba(44, 45, 47, 0.749);
    width: 97px;
    height: 30px;
    font-size: 12px;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

.overlay {
    z-index: 30;
    position: fixed;
    background: rgba(51, 55, 69, 0.8);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s, height 0.35s;
    overflow: hidden;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
    height: 100%;
}

.overlay .nav-title {
    font-size: 22px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
}

.overlay nav {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    font-weight: 400;
    text-align: center;
    letter-spacing: 5px;
}

.overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    position: relative;
    height: 100%;
}

.overlay ul li {
    display: block;
    position: relative;
    opacity: 0;
    margin-bottom: 20px;
}

.overlay ul li a {
    display: block;
    position: relative;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
}

/* .overlay ul li a:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 43.5%;
    width: 0;
    transform: translateX(-50%);
    height: 3px;
    background: #fff;
    transition: 0.35s;
} */

.overlay ul li a:active,
.overlay ul li a:focus,
.overlay ul li a:hover {
    color: rgb(190, 190, 190);
}

.overlay ul li a:active:after,
.overlay ul li a:focus:after,
.overlay ul li a:hover:after {
    width: 100%;
    background: #333333;
}

.overlay.open li {
    animation: fadeInRight 0.5s ease forwards;
    animation-delay: 0.35s;
}

.overlay.open li:nth-of-type(2) {
    animation-delay: 0.4s;
}

.overlay.open li:nth-of-type(3) {
    animation-delay: 0.45s;
}

.overlay.open li:nth-of-type(4) {
    animation-delay: 0.5s;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }
    100% {
        opacity: 1;
        left: 0;
    }
}

button:focus {
    outline: 0;
}

.button,
.close-menu,
.open-menu {
    cursor: pointer;
    transition: transform 0.3s;
}

.button:hover,
.close-menu:hover,
.open-menu:hover {
    transform: scale(1.1);
}

@media (max-width: 1023px) {
    .navbar {
        margin-top: 0;
    }
    .overlay nav {
        font-size: 30px;
    }
    .svg {
        height: 130%;
        margin-left: -100px;
    }
    .content {
        margin-top: 0;
        margin-left: 20px;
        font-size: 1em;
        margin-right: 100px;
    }
    .logo .logo_img {
        position: absolute;
        right: 0;
        width: 70px;
    }
    .logo .navegacao {
        display: none;
    }
}

@media (min-width: 1024px) {
    .navbar {
        margin-top: 30px;
    }
    .content {
        margin-top: 0;
    }
    .logo .logo_img {
        position: absolute;
        right: 0;
        width: 160px;
    }
}

@media (min-width: 1440px) {
    .content {
        max-width: 900px;
    }
}

@media (min-height: 1366px) {
    .navbar {
        margin-top: 40px;
    }
    .overlay nav {
        font-size: 40px;
    }
    .svg {
        height: 140%;
        margin-left: -200px;
    }
    .content {
        margin-top: 0;
        margin-left: 40px;
        font-size: 1.5em;
        margin-right: 260px;
    }
    .logo .logo_img {
        position: absolute;
        right: 0;
        width: 160px;
    }
}