* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: system-ui;
    height: 100vh;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url("../imgs/Home.JPG");
    background-position: center 25%;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
}

nav {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 10%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

label.logo {
    font-size: 35px;
    font-weight: bold;
    color: white;
    line-height: 80px;
}

nav img {
    width: 80px;
    margin-top: 10px;
}

nav h2 {
    margin-top: 10px;
}

nav span {
    color: green;
}


label.logo {
    font-size: 35px;
    font-weight: bold;
    color: white;
    line-height: 80px;
}

nav ul {
    float: right;
    margin-top: 10px;
    margin-bottom: 20px;
    margin-right: 20px;
    margin-left: 20px;
}

nav li {
    display: inline-block;
    margin: 0 8px;
    line-height: 80px;
}

nav a {
    color: white;
    font-size: 18px;
    text-transform: uppercase;
    border: 1px solid transparent;
    padding: 7px 10px;
    text-decoration: none;
    border-radius: 3px;
}

a.active, a:hover {
    border: 1px solid white;
    transition: 0.5s;
}

nav #icon {
    color: white;
    font-size: 30px;
    line-height: 80px;
    float: right;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

@media (max-width: 1235px) {
    label.logo {
        font-size: 32px;
    }

    nav ul {
        margin-right: 20px;
    }

    nav a {
        text-decoration: none;
        font-size: 17px;
    }
}

@media (max-width: 1234px) {
    nav #icon {
        display: block;
    }

    nav ul {
        position: fixed;
        width: 90%;
        height: 100vh;
        background: #2f3640;
        top: 80px;
        left: -110%;
        text-align: center;
        transition: all 0.5s;
    }

    nav li {
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }

    nav a {
        font-size: 20px;
    }

    a.active, a:hover {
        border: none;
        color: green;
    }

    nav ul.show {
        left: 0;
    }
}

.intro {
    height: calc(100vh - 5.4375rem);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.intro div h1 {
    overflow: hidden;
    border-right: .1em solid rgba(252, 208, 124, 255);
    white-space: nowrap;
    margin-left: auto;
    margin-right: auto;
    animation: typing 2s steps(40, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }
    50% {
        border-color: rgba(252, 208, 124, 255);
    }
}