* {
    margin: 0;
    padding: 0;

    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
        sans-serif;
}
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translate(0px, -50px);
        color: #fff;
    }

    100% {
        opacity: 1;
        transform: translate(0, 0);
        color: #fff;
    }
}
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
main {
    padding-top: 100px;
}

.flex {
    display: flex;
}

.navbar {
    position: fixed;
    display: flex;
    padding: 1rem;
    min-height: 8rem;
    min-width: 100vw;
    background-color: #111111;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
}
.logo-wrapper {
    display: flex;
    align-items: center;
}
.logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    animation: rotate 8s linear infinite;
}
.navbar > a {
    text-decoration: underline;
    color: #fff;
}

.nav-list {
    display: none;
    flex-wrap: wrap;
    padding-inline: 1rem;
}

.nav-list > li,
.nav-list-mobile > li {
    list-style-type: none;
}

.nav-item-light {
    text-decoration: none;
    padding-inline: 1rem;
    background-image: linear-gradient(to right, rgb(101, 127, 255), #fff);
    background-repeat: no-repeat;
    background-position-x: 0%;
    background-position-y: 100%;
    background-size: 0% 2px;
    transition: background-size 400ms ease-in-out;
    color: #fff;
    transition: 600ms;
}
.nav-item-dark {
    text-decoration: none;
    padding-inline: 1rem;
    background-image: linear-gradient(#000, #000);
    background-repeat: no-repeat;
    background-position-x: 0%;
    background-position-y: 100%;
    background-size: 0% 2px;
    transition: background-size 400ms ease-in-out;
    color: #000;
}
.nav-list > li > a:hover {
    /* box-shadow: 1px 2px 8px 2px rgb(101, 127, 255); */
    padding-bottom: 5px;
    background-size: 100% 2px;
    transition: box-shadow 0.3s ease-in-out, background-size 0.3s ease-in-out;
    color: rgb(101, 127, 255);
}

.animated-letter {
    color: #fff;
    font-size: 1.5rem;
    animation: slideInLeft 350ms ease-in-out forwards;
    opacity: 0;
}

.animated-letter:nth-of-type(1) {
    animation-delay: 110ms;
}
.animated-letter:nth-of-type(2) {
    animation-delay: 120ms;
}
.animated-letter:nth-of-type(3) {
    animation-delay: 130ms;
}
.animated-letter:nth-of-type(4) {
    animation-delay: 140ms;
}
.animated-letter:nth-of-type(5) {
    animation-delay: 150ms;
}
.animated-letter:nth-of-type(6) {
    animation-delay: 110ms;
}
.animated-letter:nth-of-type(7) {
    animation-delay: 170ms;
}
.animated-letter:nth-of-type(8) {
    animation-delay: 180ms;
}
.animated-letter:nth-of-type(9) {
    animation-delay: 190ms;
}
.animated-letter:nth-of-type(10) {
    animation-delay: 200ms;
}
.animated-letter:nth-of-type(11) {
    animation-delay: 210ms;
}
.animated-letter:nth-of-type(12) {
    animation-delay: 220ms;
}
.animated-letter:nth-of-type(13) {
    animation-delay: 230ms;
}
.animated-letter:nth-of-type(14) {
    animation-delay: 240ms;
}
.animated-letter:nth-of-type(15) {
    animation-delay: 250ms;
}

.dropdown-icon {
    cursor: pointer;
    width: 30px;
    height: 22.5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-inline: 1rem;
}
.dropdown-line {
    border: 1.5px solid #fff;
}

.footer {
    background-color: #fefefe;
    min-height: rgba(25, 25, 25, 0.8);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

/* mobile nav */
.nav-list-mobile {
    position: absolute;
    cursor: pointer;
    top: 0;
    right: 0;
    width: 0vw;
    margin-top: 8rem;
    padding: 1.5rem;
    background-color: #111111;
    opacity: 0;
    box-shadow: 1px 2px 10px rgb(101, 127, 255);
    transition: 800ms;
    text-align: right;
    font-size: 1.2rem;
    z-index: 999;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.nav-list-mobile.active {
    width: 100vw;
    opacity: 1;
}
.nav-list-mobile .nav-item-light:hover {
    color: rgb(101, 127, 255);
}

.close-mobile-btn {
    cursor: pointer;
    border: 0;
    background: transparent;
    position: absolute;
    top: 2rem;
    left: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: 0.25rem;
    transform: scale(0.9);
    background-color: #111111;
    transition: 800ms;
}
.close-mobile-btn:hover {
    outline: 1px solid rgb(101, 127, 255);
}
.nav-list-footer {
    display: flex;
}
.nav-list-footer a {
    color: #000;
    font-size: 1.25rem;
}
.nav-list-footer li {
    list-style: none;
}

@media screen and (min-width: 1024px) {
    .animated-letter {
        font-size: 2rem;
    }

    .nav-list {
        display: flex;
    }
    .dropdown-icon {
        display: none;
    }

    .nav-list > li > a {
        font-size: 1.2rem;
    }
}

@media screen and (min-width: 1440px) {
    .nav-list {
        display: flex;
    }
    .dropdown-icon {
        display: none;
    }

    .nav-list > li > a {
        font-size: 1.7rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-list-footer a {
        font-size: 12px;
    }
}
