header {
    height: 45vh;
    max-height: 500px;
    background: #272727;
    display: flex;
    width: 100%;
    flex-direction: column;
    color: white;
}
header .text {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-direction: column;
}

h1 {
    font-family: 'JetBrains Mono', monospace;
    font-weight: bold;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 15px;
    margin: 0 15%;
    height: 75px;
    font-family: 'JetBrains Mono';
}

header .bg {
    width: 100%;
    height: 100%;
}

header video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
}

nav .site-name {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 150%;
    font-weight: bold;
}

nav .site-name img {
    width: 50px;
    height: 50px;
}

nav .pages {
    display: flex;
    gap: 15px;
    flex-grow: 1;
    height: 50%;
    border-left: 2px white solid;
    align-items: center;
    padding-left: 15px;
}

nav .contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

nav a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.buy-button {
    color: rgba(0, 0, 0, 0.637);
    text-decoration: none;
    background: var(--accentColor);
    font-weight: bold;
    padding: 15px 20px;
    border-radius: 2px;
}

.contact i {
    font-size: 150%;
}

@media only screen and (max-width: 900px), only screen and (max-device-width: 900px) {
    nav {
        margin: 0 5%;
        height: 125px;
        flex-direction: column;
    }
    nav .contact {
        display: none;
    }

     #navPages {
        font-size: 125%;
        border: none;
    }

}