* {
    box-sizing: border-box;
}

body {
    padding-left: 4px;
    overflow-y: scroll;
    overflow-x: hidden;
    color: #000;
    background: linear-gradient(0deg, #ffebf2 0%, #f5f5f5 33%);
    font-family: "Inconsolata", monospace;
    font-weight: 400;
    font-size: 17px;
    font-style: normal;
}

.jacquard-12-regular {
    font-family: "Jacquard 12", system-ui;
    font-weight: 400;
    font-style: normal;
}

.xanh-mono-regular {
    font-family: "Xanh Mono", monospace;
    font-weight: 400;
    font-style: normal;
}

.xanh-mono-regular-italic {
    font-family: "Xanh Mono", monospace;
    font-weight: 400;
    font-style: italic;
}

.inconsolata-text {
    font-family: "Inconsolata", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

.container {
    display: flex;
    background-color: #00000000;
    max-width: 800px;
    max-height: max-content;
    margin: 50px auto;
    border: 2px #000;
}

.windows {
    overflow: hidden;
    padding: 0px;
    flex-grow: 1;
}

.window {
    max-width: 800px;
    background-color: #fff;
    color: #000;
    margin: 0px 0px;
    padding: 5px 5px;
    border: 3px #000;
    border-style: solid;
    border-radius: 3px;
    margin-bottom: 20px;
}

.window-header {
    background: linear-gradient(270deg, #e1c1ce, #020000 100%);
    color: #f5f5f5;
    border: 2px #000000;
    margin-top: 0px;
    margin-left: 0px;
    padding: 8px;
    border-style: dashed;
    display: flex;
    cursor: move;
    justify-content: space-between;
    font-family: "Jacquard 12", system-ui;
    font-size: 25px;
    border-radius: 3px;
}

.window-controls {
    margin-right: 3px;
    border: 2px #000;
    border-style: solid;
    background-color: #f5f5f5;
    padding: 0 5px;
    cursor: pointer;
    color: #000;
    border-radius: 3px;
}

.window-body {
    border: 2px #000;
    border-style: dashed;
    padding: 8px;
    margin-top: 5px;
    border-radius: 3px;
}

.back {
    padding: 5px;
    border: 3px dashed #262125;
    border-radius: 5px;
    background-color: #ffebf2;
    text-decoration: none;
    color: #3a3036;
    font-size: 20px;
    margin-bottom: 10px;
}

.header {
    background: #d0d0d0;
    padding: 10px;
    font-weight: bold;
}

.tabs {
    justify-content: center;
    margin-top: 20px;
    display: flex;
    border-bottom: 3px solid rgb(35, 27, 30);
}

.tabs button {
    flex: 1;
    padding: 10px;
    border: none;
    background: linear-gradient(0deg, #e3bbc7 0%, #fadde7 50%);
    ;
    cursor: pointer;
    font-family: "Inconsolata", monospace;
    font-size: 20px;
}

.tabs button.active {
    background: #ffebf2;
    font-weight: bold;
}

.content {
    padding: 10px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.project-card {
    display: flex;
    border: 2px solid rgb(145, 118, 129);
    border-radius: 3px;
    margin-bottom: 15px;
    background: white;
}

.project-main {
    flex: 1;
    padding: 10px;
}

.interest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
}

.interest {
    background: #ffebf2;
    border: 3px dashed #ffc4d0;
    border-radius: 15px;
    padding: 10px;
}

.project-main h3 {
    margin: 0 0 5px;
}

.project-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 80px);
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.album {
    width: 85px;
    height: 85px;
    background-size: cover;
    background-position: center;
    border-radius: 3px;
    border: 1px solid #000;
    position: relative;
    cursor: pointer;
}

.album::after {
    content:
        attr(data-title) "\A"
        attr(data-artist) " • " attr(data-year) "\A"
        attr(data-genre);

    white-space: pre;
    position: absolute;
    left: 50%;
    bottom: 110%;
    transform: translateX(-50%);

    background: #111;
    color: #fff;
    padding: 8px 10px;
    border-radius: 3px;
    font-size: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    width: max-content;
    max-width: 200px;
    text-align: center;
    z-index: 10;
}

.album:hover::after {
    opacity: 1;
}

::-webkit-scrollbar {
    width: 10px;
}

/* Track(FROM W3SCHOOLS) */
::-webkit-scrollbar-track {
    background: #ffc4d0;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #3a2c37;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #8c676f;
}

.introduction {
    margin: 3px 10px 3px 10px;
}

.intro-body {
    display: flex;
    align-items: center;
}

.intro-main {
    display: flex;
    flex-direction: column;
    max-width: 500px;
}

.intro-main h3 {
    margin: 10px 0 20px 15px;
    font-size: 22px;
}

.intro-image {
    max-height: fit-content;
    margin: -10px -20px -30px -20px;
    z-index: 1;
    transform: scale(1);
    transition: 1.5s ease;
}

.intro-image img {
    width: 200px;
}

.main-about {
    display: flex;
    flex-direction: column;
}

.info-body {
    display: flex;
    margin: -3px -3px 10px -3px;
    padding: 5px;
    border: 3px #44333a solid;
    border-radius: 8px;
    flex-direction: column;
}

.info-header {
    /*margin: 5px 0 2px 0;*/
    margin: -15px 0 3px -15px;
    padding: 10px;
    font-weight: 700;
    font-size: 20px;
    background-color: #8c676f;
    color: #fff;
    border: 3px #3a2c37 solid;
    border-radius: 10px;
    max-width: fit-content;
    rotate: -2deg;
    box-shadow: 5px 5px 0 #e1d0d6;
}

.info-content {
    margin: 3px;
}

.info-content p {
    margin-left: 3px;
}

.mini {
    border: 4px #ffc4d0 dashed;
    border-radius: 6px;
    background-color: #fff8fb;
    margin: 3px;
    padding: 5px;
}

.mini-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 5px;
}

.userboxes {
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 200px;
    align-items: center;
}

#userbox {
    margin-bottom: 0;
}

.chars {
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    overflow-x: hidden;
    align-items: center;
    max-height: 200px;
}

.character {
    margin: 7px 0 7px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.character p {
    font-size: 15px;
    margin: 3px 0 0 0;
}

.char {
    width: 120px;
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    border: 1px solid #000;
    position: relative;
}

.quizzes {
    display: flex;
    flex-direction: row;
    overflow-y: hidden;
    overflow-x: scroll;
    align-items: center;
}

.quizzes a {
    margin-right: 2px;
}

.quizzes img {
    height: 180px;
    width: fit-content;
}

summary {
    margin-left: 10px;
    text-decoration: underline;
}

details>summary {
    list-style-type: '✧';
}

html {
    scroll-behavior: smooth;
}

details[open]>summary {
    list-style-type: '✦';
    text-decoration: none;
    margin-bottom: 10px;
}

details {
    border: 1px solid #8c676f;
    border-radius: 3px;
    padding: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stats-item {
    border-bottom: #8c676f 2px solid;
    padding: 3px 0 3px 0;
    display: flex;
}

.stat {
    font-size: 19px;
    font-weight: 600;
    border-bottom: #8c676f 2px solid;
    padding: 3px 0 3px 0;
    background-color: #ffebf2;
    padding-left: 5px;
}

.stats {
    font-size: 19px;
    text-decoration: underline;
    border-bottom: #8c676f 2px solid;
    padding: 3px 0 3px 0;
    padding-left: 5px;
}

.intro-stats {
    width: 500px;
}

.mini-title {
    text-align: center;
    font-size: 19px;
    font-weight: 600;
    background-color: #fff;
    border-radius: 5px;
    padding: 2px 0 2px 0;
}

a {
    color: #44333a;
    text-decoration: underline;
    cursor: pointer;
}

dt {
    font-weight: 500;
    font-style: italic;
}

.intro-main img {
    align-self: center;
    max-width: 400px;
    margin: -20px 0 -10px 0;
}

#cat {
    animation: themove 5s infinite;
    filter: drop-shadow(20px 10px 4px #0000005a);
}

.tooltip {
    position: relative;
    display: inline-block;
    /* Add dots under the hoverable text */
    cursor: pointer;
}

.tooltiptext {
    visibility: hidden;
    /* Hidden by default */
    width: 130px;
    background-color: #44333a;
    color: #ffffff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 5;
    top: -5px;
    right: 105%;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    transform: rotate(-4deg);
}

.intro-image:hover {
    transform: scale(1.03) rotate(4deg);
}

ul {
    margin: 5px 0 5px 0;
}

.interest p {
    margin: 5px 0 5px 3px;
    font-weight: 500;
}

@keyframes themove {
    50% {
        transform: rotate(10deg);
    }
}

@media (max-width: 700px) {
    .info-body {
        margin: 5px -10px 15px -10px;
    }

    .intro-stats {
        width: fit-content;
    }

    .intro-image {
        margin: -10px -20px -30px -20px;
    }

    .intro-image img {
        max-width: 120px;
    }

    .intro-main img {
        max-width: 150px;
        height: auto;
        z-index: 6;
        filter: drop-shadow(10px 10px 4px #0000005a);
    }

    .userboxes {
        overflow-x: scroll;
    }

    #userbox {
        max-width: 300px;
    }
}