* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    --text: rgba(255, 255, 255, 100%);
    --background: hsl(336, 10%, 10%);
    --primary: hsl(340, 100%, 50%);
    --primary2: hsl(200 100% 75%);
    --secondary: hsl(40, 9%, 7%);
    --accent: hsl(41, 8%, 47%);
    --font: "Cascadia Code", sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: var(--font);
}

body b {
    color: var(--primary2);
}

.clickable{
    text-decoration: none;
    color: var(--primary2);
    font-style: italic;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.clickable:hover{
    text-decoration: underline;
    color: var(--accent);
    cursor: pointer;
}

.small {
    font-size: .8em;
    color: var(--accent);
}

/* transitions */

.hidden {
    opacity: 0;
    transform: translateY(50%);
    transition: transform 0.6s cubic-bezier(0.075, 0.82, 0.165, 1),
    opacity 0.6s ease-in-out;
    transition-delay: opacity 0.2s;
    transition-delay: 0.1s;
}

@media (prefers-reduced-motion: reduce) {
    .hidden {
        transition: none;
    }
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* the rest or something */

.landing-container .text {
    display: flex;
    flex-direction: column;
    margin-left: 1em;
    margin-right: 0.5em;
    padding-right: 1em;
    overflow: hidden;
}

.landing-container .text h1 {
    font-size: 4em;
}

.landing-container {
    padding-top: 1em;
    height: 60vw;
    max-height: 90vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#character_image {
    max-height: 100%;
    object-fit: contain;
    align-self: end;
}

#about {
    position: relative;
    width: 100%;
    height: 90vh;
    background-color: var(--secondary);
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#work {
    position: relative;
    width: 100%;
    height: 90vh;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, 1fr);
    grid-auto-rows: auto;
    grid-auto-columns: auto;
    gap: 1em;
}

.grid-item {
    position: relative;
    text-decoration: none;
    color: var(--text);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.grid-item .title {
    font-size: 1.2em;
    font-weight: bold;
}

.grid-item:hover {
    scale: 110%;
    padding: 1em;
    background-color: var(--accent);
    color: var(--secondary);
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    max-width: 90vw;
}

.container {
    padding: 1em;
}

a.button {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

a.button:hover {
    color: var(--primary2);
    text-decoration: underline;
    cursor: pointer;
}

.neutra {
    color: #e6e2e7;
}

.ellie {
    color: #ff0086;
}

.pup {
    color: #ffb0c5;
}