@charset "UTF-8";

body {
    color: white;
    text-align: center;
}

header {
    height: 80px;
    border-bottom: solid 2px rgb(0, 255, 128);
    padding: 0px 3rem;
    background-color: black;
    display: flex;
    flex-direction: row;
    position: fixed;
    z-index: 10;
}

.header-item {
    width: fit-content;
    margin: auto 0px;
    display: flex;
    flex-direction: row;
    gap: 3rem;
}

#header-logo-text {
    font-size: 1.5rem;
    font-weight: bold;
}

#header-navigation {
    margin: auto 0px auto auto;
}

.header-navigation-item-text {
    transition: ease-in-out .25s;
}

.header-navigation-item:hover .header-navigation-item-text {
    color: rgb(0, 255, 128);
}

.section {
    height: 100vh;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    container-type: size;
}

.block {
    max-width: 90%;
    margin: auto;
}

.title {
    margin: 1rem 0px;
    font-size: 1.5rem;
}

.description {
    margin: 1.5rem 0px;
}

.works-item {
    width: 300px;
    height: 450px;
    border: solid 2px white;
}

.link-button {
    margin: 1rem 0px;
    border: solid 2px white;
    border-radius: 100px;
    background-color: black;
    transition: ease-in-out .25s;
}

.link-button:hover {
    border-color: rgb(0, 255, 128);
    background-color: rgb(0, 255, 128);
}

.link-button:hover .link-button-text, .link-button:hover .link-button-arrow {
    color: black;
}

.link-button > a {
    padding: 0.5rem 2rem;
    display: flex;
    flex-direction: row;
}

.link-button > a > p {
    transition: ease-in-out .25s;
}

.link-button-arrow {
    width: auto;
}



#top {
    overflow: hidden;
}

#top-logo {
    width: fit-content;
    padding: 1rem;
    background-color: black;
    z-index: 1;
}

#top-words {
    width: fit-content;
    animation: top-words 10s infinite linear 0s both;
    display: flex !important;
    position: absolute;
    z-index: 0;
}

.top-words-text {
    width: fit-content;
    font-size: 100cqh;
    font-feature-settings: "palt" 1;
    text-align: left;
    align-items: center;
    line-height: 1;
    opacity: 0.5;
    white-space: nowrap;
}

#profile {
    display: flex;
    flex-direction: row;
}

#profile-left {
    height: 100%;
    border: solid 2px white;
}

#profile-name-text {
    font-size: 2rem;
}

#profile-name-text > ruby > rt {
    margin: 0.4em 0px;
}

#works-items {
    width: fit-content;
    display: flex;
    flex-direction: row;
    gap: 3rem;
}

#footer-text {
    width: fit-content;
    margin-left: auto;
    font-size: 0.75rem;
}



@keyframes top-words {
    from {
        transform: translateX(0);
    } to {
        transform: translateX(-50%);
    }
}