html {
    overflow-y: scroll;
}

body {
    font-family: 'Science Gothic', sans-serif;
    margin-left: 0;
    padding: 0;
    background-image: url("Asset/Illustration50.png");
    background-color: #edb7ebfd;
    overflow: auto;
    background-position: center;
    background-size: 1600px auto;
    background-repeat: repeat-y;
    cursor: crosshair;
    font-size: 20px;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
}

header, #profile-card, nav, main, #card-of-week, footer {
    border: black 2px solid;
}


.bodycontainer {
    max-width: 960px;
    margin: 100px auto;
    display: grid;
    grid-gap: 15px;
    grid-template-columns: 300px minmax(0, 1fr); 

}

.box-style {
    border: 3px ridge rgb(84, 71, 84);
    box-shadow: 0 1px 1px 1px #322130b2;
    background-color: #ffd4ffb3;
    border-right: 2px solid #5c2f56;
    border-top: 2px solid #5c2f56;
    border-left: 2px solid #000000;
    border-bottom: 2px solid #000000;

}

.transparent-frame {
    margin: 0px;
    padding: 10px;
    background-color: #ffd4ff73;
    box-shadow: inset 0 0 0 1px #ffffff66;
}

.text-frame {
    background-color: #231c23e6;
    border-right: 2px solid #5c2f56;
    border-top: 2px solid #5c2f56;
    border-left: 2px solid #000000;
    border-bottom: 2px solid #000000;
    color: #fff7ff;
    padding: 12px 14px;
    line-height: 1.35;
    font-size: 16px;
}

.text-frame2 {
    background-color: #ece5e5e6;
    border-right: 2px solid #5c2f56;
    border-top: 2px solid #5c2f56;
    border-left: 2px solid #000000;
    border-bottom: 2px solid #000000;
    color: #000000;
    padding: 12px 14px;
    line-height: 1.35;
    font-size: 18px;
}

header {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
   

}

#nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#nav li {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    color: rgb(47, 20, 55);
}

#nav li::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("Asset/star-icon.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    flex: 0 0 auto;
}

#nav li:last-child {
    margin-bottom: 0;
}

#header{
    width: 960px;
    background-image: url(Asset/Header_ani.gif);
    background-position: center;
    background-size: cover;
    height: 175px;
    margin-top: -100px;
}

.title{
    font-family: 'Libertinus Keyboard';
    font-size: 54px;
    font-style: bold;
    text-align: center;
    color: #ffd4ff;
    
}

#profile-card {
    grid-row: 2/3;
    grid-column: 1/2;
    height: max-content;
    background-image: url(Asset/Klein\ \(Illustration46\).jpeg);
    background-position: center;
    background-size: cover;
    height: 297px;
    margin-left: 20px;
    
}
nav {
    grid-row: 3/4;
    grid-column: 1/2;
    height: max-content;
    margin-left: 20px;
}


.tab{
    display: flex;
    align-items: center;
    gap: 5px;
    border-top: 2px solid #ffd4ff;
    border-left: 2px solid #ffd4ff;
    border-right: 2px solid #e673d981;
    border-bottom: 3px solid #322130b2;
    padding: 3px 5px;
    background-color: #d5a1ce;
    overflow: hidden;
}

.draggable-frame {
    position: relative;
    touch-action: none;
}

.drag-handle {
    user-select: none;
}

.minimize-button {
    cursor: pointer;
}

.taskbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    box-sizing: border-box;
    background-color: #d5a1ce;
    border-top: 2px solid #ffd4ff;
    box-shadow: 0 -1px 1px 1px #322130b2;
}

.taskbar-button {
    min-width: 120px;
    max-width: 190px;
    height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #2f1437;
    background-color: #ffd4ffb3;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #5c2f56;
    border-bottom: 2px solid #322130;
    font-family: 'Science Gothic', sans-serif;
    font-size: 15px;
    text-align: left;
}

.taskbar-button:active {
    border-top: 2px solid #322130;
    border-left: 2px solid #5c2f56;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
}

h2{
    font-size: inherit;
    font-weight: normal;
}

.section-title {
    margin: 0;
    line-height: 1;
}

.section-icon{
    height: 20px;
    width: 20px;
    object-fit: contain;
    flex: 0 0 auto;
}
.section-buttons{
    display: flex;
    gap: 3px;
    margin-left: auto;
    
}

.section-buttons-display {
display: none;
}

.section-button {
    border-top: 2px solid #ffd4ff;
    border-left: 2px solid #ffd4ff;
    border-bottom: 2px solid #322130b2;
    border-right: 2px solid #322130b2;
    line-height: 8px;
    height: 18px;
    width: 20px;
    padding: 2px;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
    background-color: #d5a1ce;
    font-family: 'Science Gothic', sans-serif;
    font-weight: 250;
}

.section-button:nth-child(2) {
    position: relative;
    color: transparent;
}

.section-button:nth-child(2)::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #322130;
    box-sizing: border-box;
}

main {
    grid-row: 2/3;
    grid-column: 2/4;
    height: max-content;
    margin-right: 20px;
}

#card-of-week {
    grid-row: 3/4;
    grid-column: 3/3;
    width: 350px;
    height: 450px;
    margin-right: 20px;
    overflow: hidden;
}

#card-of-week .transparent-frame {
    height: calc(100% - 31px);
    box-sizing: border-box;
    padding: 6px;
}

.yugioh {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0 auto;
}

.text-frame p {
    margin: 0 0 10px;
}

.text-frame p:last-child {
    margin-bottom: 0;
}

footer {
    grid-row: 5/6;
    grid-column: 1/3;
    width: 916px;
    margin-left: 20px;
}

.guestbook-layout #footer {
    grid-row: 4/5;
    grid-column: 2/4;
    width: 625px;
    margin-left: 0px;
    
}
.guestbook-layout #nav {
    grid-row: 2/3;
    grid-column: 1/2;
}

.guestbook-layout #guestbook {
    grid-row: 2/4;
    grid-column: 2/4;
    background-color: #ffd4ffb3;
}

.guestbook-intro h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: normal;
}

.guestbook-intro p {
    margin: 0;
}

.guestbook-form {
    display: grid;
    gap: 7px;
}

.guestbook-form label {
    font-size: 16px;
}

.guestbook-form input,
.guestbook-form textarea {
    box-sizing: border-box;
    width: 100%;
    border-top: 2px solid #000000;
    border-left: 2px solid #000000;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    background-color: #fff7ff;
    color: #2f1437;
    font: inherit;
    font-size: 16px;
    padding: 6px;
}

.guestbook-form textarea {
    resize: vertical;
}

.guestbook-tools {
    display: flex;
    gap: 3px;
}

.guestbook-tools button,
.guestbook-send {
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #5c2f56;
    border-bottom: 2px solid #322130;
    background-color: #d5a1ce;
    color: #2f1437;
    font: inherit;
    font-size: 15px;
    padding: 3px 8px;
}

.guestbook-send {
    justify-self: start;
    margin-top: 4px;
}

.guestbook-pages {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 12px;
    color: #2f1437;
    font-size: 15px;
}

.guestbook-messages {
    display: grid;
    gap: 10px;
    margin: 12px;
}

.guestbook-message {
    background-color: #ece5e5e6;
    border-right: 2px solid #5c2f56;
    border-top: 2px solid #5c2f56;
    border-left: 2px solid #000000;
    border-bottom: 2px solid #000000;
    color: #000000;
    padding: 10px 12px;
    font-size: 16px;
    line-height: 1.35;
}

.guestbook-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px dotted #5c2f56;
    padding-bottom: 5px;
    margin-bottom: 8px;
}

.guestbook-meta span {
    color: #5c2f56;
    font-size: 14px;
    text-align: right;
}

.guestbook-message p {
    margin: 0;
}

.guestbook-empty {
    margin: 0;
    background-color: #ece5e5e6;
    border-right: 2px solid #5c2f56;
    border-top: 2px solid #5c2f56;
    border-left: 2px solid #000000;
    border-bottom: 2px solid #000000;
    color: #5c2f56;
    padding: 10px 12px;
    font-size: 16px;
}

.guestbook-connect p {
    margin: 0 0 10px;
}

.guestbook-badge {
    display: flex;
    align-items: center;
    justify-content: center;
}

.guestbook-styled-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #2f1437;
    text-decoration: none;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #5c2f56;
    border-bottom: 2px solid #322130;
    background-color: #d5a1ce;
    padding: 6px 10px;
    box-shadow: 0 1px 1px 1px #322130b2;
}

.guestbook-styled-link:hover {
    background-color: #ffd4ffb3;
    color: #2f1437;
}

.guestbook-frame {
    display: block;
    width: 100%;
    min-height: 520px;
    height: 520px;
    box-sizing: border-box;
    margin-top: 10px;
    background-color: #ffd4ff73;
    border-top: 2px solid #5c2f56;
    border-left: 2px solid #000000;
    border-right: 2px solid #5c2f56;
    border-bottom: 2px solid #000000;
    box-shadow: inset 0 0 0 1px #ffffff66;
}

.guestbook-reply {
    margin-top: 10px;
    padding: 8px;
    background-color: #231c23e6;
    color: #fff7ff;
    border-left: 3px solid #d5a1ce;
}

.wip-layout #nav {
    grid-row: 2/3;
    grid-column: 1/2;
}

.wip-layout #footer {
    grid-row: 3/4;
}

.knit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.knit-item {
    margin: 0;
    padding: 8px;
    background-color: #6f817f69;
    color: #2f1437;
    border-top: 2px solid #5c2f56;
    border-left: 2px solid #000000;
    border-right: 2px solid #5c2f56;
    border-bottom: 2px solid #000000;
    font-size: 15px;
    transform: rotate(-1deg);
}

.knit-item:nth-child(2) {
    transform: rotate(1.5deg);
}

.knit-item:nth-child(3) {
    transform: rotate(-0.5deg);
}

.knit-picture-slot {
    min-height: 165px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background-color: transparent;
    color: #fff7ff;
    border-top: 2px solid #000000;
    border-left: 2px solid #000000;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    margin-bottom: 7px;
}

.knit-picture-slot img {
    display: block;
    width: 88%;
    height: 88%;
    object-fit: contain;
}

.dream-vest .knit-picture-slot img {
    width: 98%;
    height: 98%;
}

.knit-item figcaption {
    line-height: 1.25;
}

.puzzle-game {
    display: grid;
    grid-template-columns: minmax(0, 360px) minmax(150px, 1fr);
    gap: 12px;
    align-items: start;
}

.puzzle-board {
    width: min(100%, 360px);
    aspect-ratio: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 4px;
    padding: 6px;
    box-sizing: border-box;
    background-color: #231c23e6;
    border-top: 2px solid #000000;
    border-left: 2px solid #000000;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
}

.puzzle-tile {
    display: block;
    min-width: 0;
    min-height: 0;
    padding: 0;
    background-color: #ece5e5e6;
    background-repeat: no-repeat;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #5c2f56;
    border-bottom: 2px solid #322130;
}

.puzzle-empty {
    background-image: none;
    background-color: #ffd4ff73;
    box-shadow: inset 0 0 0 1px #ffffff66;
}

.puzzle-panel {
    display: grid;
    gap: 8px;
}

.puzzle-counter,
.puzzle-status {
    margin: 0;
    padding: 8px;
    background-color: #ece5e5e6;
    color: #2f1437;
    border-top: 2px solid #5c2f56;
    border-left: 2px solid #000000;
    border-right: 2px solid #5c2f56;
    border-bottom: 2px solid #000000;
    font-size: 16px;
}

.puzzle-button {
    background-color: #d5a1ce;
    color: #2f1437;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #5c2f56;
    border-bottom: 2px solid #322130;
    font-family: 'Science Gothic', sans-serif;
    font-size: 16px;
    padding: 5px 10px;
    text-align: left;
}

.puzzle-button:active {
    border-top: 2px solid #322130;
    border-left: 2px solid #5c2f56;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
}

.random-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.random-item {
    margin: 0;
    background-color: #ece5e5e6;
    border-top: 2px solid #5c2f56;
    border-left: 2px solid #000000;
    border-right: 2px solid #5c2f56;
    border-bottom: 2px solid #000000;
    color: #2f1437;
    padding: 8px;
    font-size: 15px;
}

.random-picture-slot {
    aspect-ratio: 4 / 5;
    display: grid;
    place-items: center;
    overflow: hidden;
    background-color: #231c23e6;
    color: #fff7ff;
    border-top: 2px solid #000000;
    border-left: 2px solid #000000;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    margin-bottom: 6px;
}

.random-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.random-item figcaption {
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.plant-layout {
    max-width: 960px;
    grid-template-columns: 300px minmax(0, 1fr);
}

.plant-layout #header {
    width: auto;
}

.plant-layout #main {
    grid-row: 2/3;
    grid-column: 2/3;
   
}

.plant-layout #footer {
    grid-row: 3/4;
    grid-column: 2/4;
    width: auto;
    margin-left: 0;
    margin-right: 20px;
}

.plant-stage {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 52px;
    overflow: hidden;
    background-image: none;
}



.plant-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.plant-display {
    display: grid;
    justify-items: center;
    gap: 8px;
}

.plant-picture-frame {
    width: 280px;
    height: 360px;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    overflow: hidden;
    background-color: #ece5e5e6;
    border-top: 2px solid #5c2f56;
    border-left: 2px solid #000000;
    border-right: 2px solid #5c2f56;
    border-bottom: 2px solid #000000;
    box-shadow: 0 1px 1px 1px #322130b2;
}

.plant-file-name {
    margin: 0;
    padding: 4px 8px;
    min-width: 160px;
    box-sizing: border-box;
    text-align: center;
    color: #2f1437;
    background-color: #ece5e5e6;
    border-top: 2px solid #5c2f56;
    border-left: 2px solid #000000;
    border-right: 2px solid #5c2f56;
    border-bottom: 2px solid #000000;
    font-size: 15px;
}

.plant-picture-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plant-arrow {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    padding: 0;
    background-color: #d5a1ce;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #5c2f56;
    border-bottom: 2px solid #322130;
    box-shadow: 0 1px 1px 1px #322130b2;
}

.plant-arrow:hover {
    background-color: #ffd4ffb3;
}

.plant-arrow img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.aboutme-layout #about-main {
    grid-row: 2/3;
    grid-column: 2/4;
    margin-right: 20px;
}

.aboutme-layout #nav {
    grid-row: 2/3;
    grid-column: 1/2;
    margin-left: 20px;
    margin-right: 0;
}

.aboutme-layout #footer {
    grid-row: 4/5;
    grid-column: 1/3;
}

.illu-placeholder {
    width: 300px;
    height: 600px;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    background-color: #ece5e5e6;
    color: #5c2f56;
    border-top: 2px solid #5c2f56;
    border-left: 2px solid #000000;
    border-right: 2px solid #5c2f56;
    border-bottom: 2px solid #000000;
    font-size: 18px;
    flex: 0 0 300px;
}

.about-content {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.about-text {
    flex: 1 1 auto;
    min-width: 0;
}


* {
  cursor: url('https://github.com/nostalgic-css/NES.css/blob/develop/assets/cursor.png?raw=true') 14 14, auto !important;
  scrollbar-width: auto;
  scrollbar-color: #cfcfcf #eeeeee;
}

::-webkit-scrollbar {
    width: 32px;
    height: 32px;
    border-radius: 0 !important;
}

::-webkit-scrollbar-track {
    background-color: #eeeeee;
    border-left: 2px solid #8f8f8f;
    border-top: 2px solid #8f8f8f;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    border-radius: 0 !important;
}

::-webkit-scrollbar-track-piece {
    background-color: #eeeeee;
    border-left: 1px solid #b7b7b7;
    border-right: 1px solid #ffffff;
    border-radius: 0 !important;
}

::-webkit-scrollbar-thumb {
    background-color: #cfcfcf;
    box-shadow: none;
    border-left: 2px solid #ffffff;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #7b7b7b;
    border-bottom: 2px solid #7b7b7b;
    border-radius: 0 !important;
    min-height: 34px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #d8d8d8;
}

::-webkit-scrollbar-button {
    width: 60px;
    height: 60px;
    background-color: #cfcfcf;
    box-shadow: none;
    border-left: 2px solid #ffffff;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #7b7b7b;
    border-bottom: 2px solid #7b7b7b;
    border-radius: 0;
}

::-webkit-scrollbar-corner {
    background-color: #cfcfcf;
    border-radius: 0;
}

::-webkit-scrollbar-button:vertical:decrement {
    background:
        linear-gradient(45deg, transparent 50%, #111111 50%) 10px 13px / 8px 8px no-repeat,
        linear-gradient(135deg, #111111 50%, transparent 50%) 16px 13px / 8px 8px no-repeat,
        #cfcfcf;
}

::-webkit-scrollbar-button:vertical:increment {
    background:
        linear-gradient(225deg, transparent 50%, #111111 50%) 10px 11px / 8px 8px no-repeat,
        linear-gradient(315deg, #111111 50%, transparent 50%) 16px 11px / 8px 8px no-repeat,
        #cfcfcf;
}

::-webkit-scrollbar,
::-webkit-scrollbar-track,
::-webkit-scrollbar-track-piece,
::-webkit-scrollbar-thumb,
::-webkit-scrollbar-button,
::-webkit-scrollbar-corner {
    -webkit-border-radius: 0 !important;
}

.rubik-puddles-regular {
  font-family: "Rubik Puddles", system-ui;
  font-weight: 400;
  font-style: normal;
}
.libertinus-keyboard-regular {
  font-family: "Libertinus Keyboard", system-ui;
  font-weight: 400;
  font-style: normal;
}


.science-gothic {
  font-family: "Science Gothic", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings:
    "slnt" 0,
    "wdth" 100,
    "CTRS" 0;
}
