/* GLOBALS */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');

:root {
    --text: #dee4e5;
    --text-work: #ffe695;
    /*--text: #edf2f4;*/
    --text-important: #ef233c;
    --background: hsla(0, 0%, 0%, 0.75);
}

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

html {
    font-size: 10px;
}

body {
    width: 100%;
    min-height: 100vh;
}

a {
    text-decoration: none;
}

li {
    list-style-type: none;
}

.content-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    max-width: 80rem;
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background-color: var(--background)
}

header .logo {
    font: 600 2rem "Jetbrains Mono", monospace;
}

header nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
}

header nav a {
    font: 400 2rem "Jetbrains Mono", monospace;
}

header nav a:hover {
    text-decoration: underline;
}

.header-work a {
    color: var(--text-work);
}

.header-wr a {
    color: var(--text);
}



.content-wrapper main {
    max-width: 80rem;
}

/* HOME */
.home {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.home-bg-video {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -999;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home .text {
    margin: 2rem;
    max-width: 50rem;
}

.home .text h1 {
    font: 600 4rem "Jetbrains Mono", monospace;
    color: var(--text-important);
    padding-bottom: 4rem;
}

.home .text p {
    font: 400 2rem "Jetbrains Mono", monospace;
    color: var(--text);
    padding-bottom: 2rem;
}

.home .text a {
    color: var(--text-important);
    text-transform: uppercase;
    text-decoration: none;
}

.home .text a:hover {
    text-decoration: underline;
}

.home .image {
    margin: 2rem;
    max-width: 50rem;
}

.home .image img {
    width: 100%;
    border-radius: 2.5rem;
    object-fit: cover;
}

/* WORK */
.work-bg-video {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -999;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work {
    flex: 1
    width: 100%;
    height: 100%;
    padding: 2rem;
    color: var(--text-work);
    background-color: var(--background);
}

.work h1 {
    margin-bottom: 2rem;
    font: 600 4rem "Jetbrains Mono", monospace;
}

.work a {
    cursor: pointer;
    color: var(--text-work);
    text-decoration: underline;
}

.work-about li {
    margin-left: 1.5rem;
    margin-bottom: 2rem;
    font: 400 1.6rem "Jetbrains Mono", monospace;
    list-style-type: disc;
    text-align: justify;
}

.work-item {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.work-item .content h2 {
    margin-bottom: 1rem;
    font: 400 2rem "Jetbrains Mono", monospace;
    text-transform: lowercase;
}

.work-item .content p {
    margin-bottom: 1rem;
    font: 400 1.6rem "Jetbrains Mono", monospace;
}

.work-item .toc p {
    font: 600 2rem "Jetbrains Mono", monospace;
}

.work-connect p {
    margin-bottom: 2rem;
    font: 400 1.6rem "Jetbrains Mono", monospace;
}

.work-connect li {
    margin-left: 1.5rem;
    margin-bottom: 2rem;
    font: 400 1.6rem "Jetbrains Mono", monospace;
    list-style-type: disc;
}

/* WRITINGS */
.cw-wr {
    background-image: url("./media/stars.jpg");
    background-origin: border-box;
    background-repeat: no-repeat;
    background-size: cover;
}

.wr {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text);
    background-color: var(--background)
}

@media screen and (max-width: 520px) {
    .home .text {
        text-align: center;
    } 

    .work-about li {
        text-align: left;
    }
}

@media screen and (max-width: 600px) {
    .rm-s, .toc {
        display: none;
    }
}

@media screen and (max-width: 950px) {
    .home {
        flex-direction: column-reverse;
        justify-content: center;
    }

    .home text {
        max-width: 40rem;
    }

    .home .image img {
        aspect-ratio: 3/2;
    }
   
}


