:root {
    --dark-bg: #000000DD;
    --accent-color: red;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

canvas {
    background: black;
    position: fixed;
    top: 0;
    left: 0;
    font-family: "Alfa Slab One", serif;
}

#background {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    color: white;
}

.linkWrapper {
    height: 40px;
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
    margin: 10px;
    z-index: 110;
}

.linkWrapper * {
    height: 100%;
    aspect-ratio: 1 / 1;
}

#linkedInLogo {
    filter: invert(100%);
}
#itchioLogo {
    filter: invert(100%);
}

#scrollMessage {
    width: 100%;
    text-align: center;
    position: absolute;
    font-size: 6vh;
    bottom: 0;
    font-family: sans-serif;
    z-index: 50;
    user-select: none;
}

.spacer {
    position: relative;
    height: 100dvh;
    width: 100%;
    margin-bottom: 10vh;
}

.aboutMeBlock {
    width: 100%;
    font-family: default;
}

.aboutMeBlock > .textBlock {
    background-color: #0000 !important;
}

.sectionHeader {
    width: 100%;
    font-size: 4rem;
    text-align: center;
}

.projectsHeader {
    font-family: Arial, Helvetica, sans-serif;
    width: fit-content;
    margin: auto;
    border-radius: 2rem;
    padding: 1rem 2rem 1rem 2rem;
    background-color: var(--dark-bg);
}

.projectSection {
    margin-top: 40vh;
    padding: 5vw;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.projectSection > .textBlock:nth-child(odd){
    align-self: flex-end;
}

.projectSection .textBlock {
    width: 45%;
    border-radius: 2rem;
}

.textBlock {
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 2rem;
    align-items: center;
    justify-items: center;
    background-color: var(--dark-bg);
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

@media (max-width: 85rem) {
    .textBlock {
        width: 65% !important;
    }
}
@media (max-width: 75rem) {
    .textBlock {
        width: 85% !important;
    }
}
@media (max-width: 60rem) {
    .textBlock {
        width: 100% !important;
    }
}

.projectTitle {
    font-size: 2rem;
    margin: 1.5rem;
}

.callToAction {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    font-style: italic;
    text-decoration: underline;
    /*background: #333333;*/
    padding: 0.5rem;
    border-radius: 2px;
    color: white;
}

span {
    color: var(--accent-color);
}

/*.a:link, a:visited {*/
a {
    font-style: italic;
    text-decoration: underline;
    color: white;
}