@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

a {
    color: #1f242d;
    color: #fff;
    text-decoration: none;
}

#content {
    background: transparent;
    height: auto;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
}

body {
    min-height: 100%;
    overflow-x: hidden; /* prevent sideways gaps */
    background-attachment: fixed;
    color: #fff;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #101726, #202228);
  z-index: -1;
}

.navbar {
    display: flex;
    flex-direction: column;
    left: 0;
    top: 0;
    width: 100%;
    padding: 25px 9%;
    background: transparent;
    justify-content: space-between;
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    animation: show-content 0.8s linear forwards;
    animation-delay: 0.6s;
}

@keyframes show-navbar {
    100% {
        visibility: visible;
        opacity: 1;
    }
}

@keyframes show-content {
    100% {
        visibility: visible;
        opacity: 1;
    }
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    list-style: none;
    margin-left: 35px;
}

.navbar ul li a {
    font-size: 20px;
    font-weight: 500;
    transition: .5s;
}

.navbar ul li:hover a,
.navbar ul li.active a {
    color: #7cf03d;
} 

.btn {
    display: inline-block;
    padding: 10px 30px;
    background: #7cf03d;
    border: 2px solid #7cf03d;
    border-radius: 40px;
    box-shadow: 0 0 10px #7cf03d;
    font-size: 16px;
    color: #1f242d;
    font-weight: 600;
    transition: .5s;
}

.btn:hover {
    background: transparent;
    color: #7cf03d;
    box-shadow: none;
}

.btn-sci {
    margin-left: 26px;
}

.btn-sci .sci a {
    display: inline-flex;
    padding: 8px;
    border: 2px solid #7cf03d;
    border-radius: 50%;
    font-size: 20px;
    color: #7cf03d;
    margin: 20px 8px;
    transition: .5s;
}

.btn-sci .sci a:hover {
    background: #7cf03d;
    color: #1f242d;
    box-shadow: 0 0 10px #7cf03d;
}


.bars-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: -1;
}

.bars-animation .bar {
    width: 100%;
    height: 100%;
    background: #1f242d;
    transform: translateY(-100%);
    animation: show-bars .2s ease-in-out forwards;
    animation-delay: calc(.1s * var(--i));
}

@keyframes show-bars {
    100% {
        transform: translateY(0%);
    }
}

@media (max-width: 640px) {
  .navbar ul {
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
  }
  .navbar ul li {
    margin: 10px 0;
  }
}
