:root {
    font-size: 18px;
}

* {
    font-family: "WDXL Lubrifont JP N", sans-serif;
    font-weight: 500;
    font-style: normal;
}

html, body {
    overflow-x: hidden;
    overflow-y: hidden;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
}

.space {
    height: 3em;
    background-color: white;
}

h1 {
    font-size: 1.5rem;
}
h2 {
    font-size: 1.25rem;
}
h3 {
    font-size: 0.75rem;
}

img {
    pointer-events: none;
}

button {
    cursor: pointer;
    border-radius: 0;
    border: none;
    padding : 8px 16px;
    margin: 2px 0;
    background-color: #042936;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
}
button:hover {
    scale: 1.03;
    transition: 0.3s all cubic-bezier(0,0,0,1);
}
button:active {
    transform: scale(0.97);
    transition: 0.1s all cubic-bezier(0,.02,0,1.01);
}

header {
    width: 100%;
    height: 3em;
    position: fixed;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    z-index: 2000;
}
header > div {
    display: flex;
    flex-direction: row;
    align-items: center;
}
header > * {
    font-size: 1.25rem;
}
header > .left {
    width: fit-content;
    margin: 1em;
}

header > .right {
    width: fit-content;
    justify-content: flex-end;
    margin: 1em;
}
header > .right > a {
    padding: 0.25em 0.5em;
    border-radius: 10px;
    margin: 0 0.5em;
    color: #042936;
    text-decoration: none;
}
header > .right > a:hover {
    color: whitesmoke;
    background-color: #042936;
    transition: 0.2s all cubic-bezier(0,0,0,1);
}
content {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 3em;
}

content > .cover {
    aspect-ratio: 3/1;
    width: 100%;
}

.avt {
    width: 95%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: .5em;
    padding: 0 0 1em 0;
    border-radius: 10px;
    background-color: #d2d2d2;
    box-sizing: border-box;
    overflow: visible;
}
.avt > .title {
    width: calc(99% - 0.8em);
    margin: 0.4em;
    padding: .2em;
    font-size: 1.25rem;
    border-radius: 6px;
    text-align: center;
    background-color: #5c5c5c;
    color: whitesmoke;
}
.avt > .avt-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .5em;
    width: calc(99% - 1.6em);
    max-width: 95%;
    box-sizing: border-box;
    justify-content: space-around;
    flex-wrap: wrap;
}
.avt > .avt-item > .left {
    flex: 1 1 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 8em;
    max-width: 25%;
    box-sizing: border-box;
    padding: .5em;
}
.avt > .avt-item > .left > img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 5px;
    display: block;
    max-height: 18vh;
}
.avt > .avt-item > .left > .desc {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    margin-top: .5em;
}
.avt > .avt-item > .right {
    flex: 3 1 60%;
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: .5rem;
    min-width: 12em;
    max-width: 70%;
    box-sizing: border-box;
    max-height: 50vh;
    overflow: hidden;
}
.avt > .avt-item > .right > iframe {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 5px;
    margin: 0;
    display: block;
}

.avt-fanart {
    width: 95%;
    height: 11rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1em;
    border-radius: 10px;
    background-color: #d2d2d2;
    box-sizing: border-box;
    overflow-x:auto;
    overflow-y:hidden;
}

.avt-fanart > img {
    width: auto;
    height: 10rem;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}

.exp {
    width: 95%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
}
.exp > .tab {
    flex : 1;
    background-color: #d2d2d2;
    padding: .5em 1em;
    height: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: .5em;
    border-radius: 10px;
}
.exp > .tab > .title {
    padding: .2em;
    font-size: 1.25rem;
    width: 100%;
    border-radius: 6px;
    text-align: center;
    background-color: #5c5c5c;
    color: whitesmoke;
}
.exp > .tab > .game-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5em;
    flex-wrap: wrap;
    margin: 0 0 1rem 0;
}

.exp > .tab > .skill-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5em;
    flex-wrap: wrap;
    margin: 0 0 1rem 0;
}

.exp > .tab > .env-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5em;
    flex-wrap: wrap;
    margin: 0 0 1rem 0;
}
.exp > .tab > .env-list > .item {
    text-align: center;
    justify-content: center;
    width: 100%;
    padding: .2em;
}
.exp > .tab > .env-list > .item > p {
    width: 100%;
    margin: .2em;
    text-align: left;
    font-size: 1rem;
    white-space: pre-wrap;
}

footer {
    margin:0;
    padding:0;
    width: 100%;
    height: 2.5em;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #042936;
    color: whitesmoke;
}