* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a1515;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 89px;
    padding-top: 50px;
    font-family: Cascadia Code;
    position: relative;
    z-index: 2;
}

nav a {
    margin: 0 0.8rem;
    text-decoration: none;
    color: #ffffff;        
    font-size: 0.95rem;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.2rem;
}

nav a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.maintext {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding-top: 100px;
    font-family: Cascadia Code;
    font-size: 70px;
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-weight: bold;
}


.maintext:hover {
    color: var(--accent);
}
.subtext1group {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 0px;
    padding-top: 20px;
}
.subtext1 {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 5px;
    padding-top: 20px;
    font-family: Cascadia Code;
    font-size: 20px;
    font-weight: lighter;
}
.subtext1:hover {
    color: #daffda;
}

.background {
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}


.background div:nth-child(1) {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #1a1515;
    border-radius: 0;
}

.background div:nth-child(2),
.background div:nth-child(3) {
    position: absolute;
    border-radius: 3rem;
    animation: gradient 4s infinite;
}

.background div:nth-child(2) {
    height: 80%;
    width: 70%;
    background-color: #5c5454;
    top: -20%;
    left: -25px;
    animation-delay: 2s;
}

.background div:nth-child(3) {
    height: 60%;
    width: 50%;
    background-color: #9ca29c;
    animation-delay: 1s;
    top: -20%;
    right: -25px;
}

@keyframes gradient {
    50% {
        transform: scale(1.5) translate(100px, 60px);
    }
}

.background::after {
    position: absolute;
    content: '';
    top: 0;                /* was missing */
    left: 0;               /* was missing */
    height: 100%;
    width: 100%;
    backdrop-filter: blur(200px);
    -webkit-backdrop-filter: blur(200px);
    z-index: 1;            /* above blobs, below content */
}
