@charset "UTF-8";

@import url(https://fonts.googleapis.com/css2?family=Homemade+Apple&display=swap);

* {
    width: 100%;
    height: auto;
    margin: 0;
    border: 0;
    padding: 0;
    position: relative;
    box-sizing: border-box;
}

html {
    font-size: 20px;
    scroll-behavior: smooth;
}

body {
    color: white;
    background: linear-gradient(rgba(0, 0, 0, .9), rgba(0, 0, 0, 1));
    background-attachment: fixed;
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    border: solid 1px white;
    border-radius: 5px;
    background-color: black;
}

body::-webkit-scrollbar-thumb {
    border: solid 1px white;
    border-radius: 5px;
    background-color: black;
}

body::-webkit-scrollbar-thumb:hover {
    border: solid 1px rgb(0, 255, 128);
}

section {
    padding: 6rem 3rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.section-inner {
    width: -moz-fit-content;
    width: fit-content;
}

a, p, img, h1, h2, h3, h4, h5, h6, input {
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    text-decoration: none;
    line-break: strict;
    word-break: keep-all;
    word-break: auto-phrase;
    align-items: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

p {
    line-height: 1.5;
}

h1, h2, h3 {
    font-weight: bold;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

hr {
    width: 100%;
    height: 1px;
    background-color: white;
}

img, input, rb {
    text-align: center;
}

ruby {
    display: ruby;
}

rt {
    width: auto;
    margin: .5em 0;
    font-size: .5em;
    transform: translateY(-0.1em);
}

footer {
    padding: .5rem 1rem;
}

header {
    border-bottom: solid 2px rgb(0, 255, 128);
    padding: .5rem 3rem;
    background-color: rgba(0, 0, 0, .5);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    z-index: 100;
}

header * {
    width: fit-content;
    height: fit-content;
}

#ham {
    height: 2rem;
    background: none;
    display: none;
}

#ham span,
#ham::before,
#ham::after {
    width: 2rem;
    height: 3px;
    border-radius: 15px;
    background-color: rgb(0, 255, 128);
    content: "";
    opacity: 1;
    transition: all .25s ease-in-out;
    display: block;
}

#ham::before {
    transform: translateY(-5px);
}

#ham::after {
    transform: translateY(5px);
}

#ham.open span {
    opacity: 0;
}

#ham.open::before {
    transform: translateY(3px) rotate(45deg);
}

#ham.open::after {
    transform: translateY(-3px) rotate(-45deg);
}

header nav ul {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    gap: 3rem;
}

header a {
    transition: all .25s ease-in-out;
}

header a:hover {
    color: rgb(0, 255, 128);
}



.serif {
    font-family: 'Times New Roman', Times, serif;
}

.homemade-apple-regular {
    font-family: "Homemade Apple", cursive;
    font-weight: 400;
    font-style: normal;
}

.section-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.title {
    font-size: 2rem;
    font-weight: normal;
    text-decoration: none;
}

.description {
    line-height: 2;
    text-align: left;
}

.separator {
    height: 3rem;
}

.link-button, .link-button * {
    transition: all .25s ease-in-out;
}

.link-button {
    border: solid 2px white;
    border-radius: 100px;
    padding: 0.5rem 2rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.link-button p.link-button-arrow {
    width: -moz-fit-content;
    width: fit-content;
}

.link-button:hover {
    border-color: rgb(0, 255, 128);
    background-color: rgb(0, 255, 128);
}

.link-button:hover p {
    color: black;
}



#top {
    height: 100vh;
    padding-top: 4rem;
    justify-content: center;
    align-items: center;
}

#top * {
    width: -moz-fit-content;
    width: fit-content;
}

#top h2 {
    font-size: 3rem;
    text-decoration: underline;
}

#top p {
    line-height: 2;
}

#top p.top-word {
    line-height: 1;
}



#works-items, #works-items > li, #works-items div {
    display: flex;
}

#works-items, #works-items div ul {
    list-style-type: none;
}

#works-items {
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;
    gap: 3rem;
}

#works-items > li {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: .5rem 2rem;
}

#works-items img {
    max-height: 80vh;
    object-fit: contain;
}

#works-items h3 {
    font-size: 3rem;
}

#works-items p {
    line-height: 2;
}

#works-items div {
    height: 100%;
    flex-direction: column;
    gap: 3rem 0;
}

#works-items div ul li p, footer p, small {
    font-size: .75rem;
    line-height: 1.25;
    text-align: right;
}



@media (max-width: 1440px) {
    html {
        font-size: 16px;
    }
}



@media (max-width: 767px) {
    html {
        font-size: 14px;
    }

    #ham {
        display: block;
    }

    header nav, header nav * {
        width: 100%;
    }

    header nav {
        display: none;
    }

    header nav ul {
        flex-direction: column;
    }

    header nav ul li {
        background-color: rgba(0, 0, 0, .5);
    }

    header nav ul li a {
        padding: 1rem 0;
        font-size: 1.5rem;
    }

    header nav.open, header nav.open * {
        width: 100%;
    }

    header nav.open {
        left: 0;
        top: calc(100% + 1px);
        display: flex;
        flex-direction: column;
        position: absolute;
        z-index: 10;
    }

    header nav.open ul {
        gap: 0;
    }

    header nav.open ul li {
        display: flex;
        align-items: center;
        border-bottom: solid 2px white;
    }
}



@media (max-width: 480px) {
    html {
        font-size: 12px;
    }

    header {
        padding: .5rem 2rem;
    }

    section {
        padding: 6rem 2rem;
    }

    footer {
        padding: 0.5rem 2rem;
    }



    .section-inner {
        width: 100%;
    }



    #works-items {
        flex-direction: column;
    }

    #works-items > li {
        flex-direction: column;
        gap: .5rem;
    }

    #works-items div ul li p {
        gap: 1rem 0;
    }
}