* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.86rem;
}
body {
    height: calc(100vh + 26px);
    width: 100vw;
    background-color: black;
}
body::-webkit-scrollbar {
    display: none;
}
.row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.loading {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    pointer-events: none;
    transition: opacity 1s ease-out;
}
.loading img {
    width: 200px;
    height: auto;
}
.bg {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
.bg img {
   aspect-ratio: auto;
   height: 100%;
   width: auto;
}
.grid3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.topbar {
    height: 26px;
    width: 100vw;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.781);
    color: white;
    justify-items: center;
    align-items: center;
    padding: 0px 10px;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
}
.left {
    justify-self: left;
}
.right {
    justify-self: right; 
}
.bottombar {
    position: absolute;
    top: 100vh;
}
.icon-box {
    background-color: pink;
    height: 20px;
    width: fit-content;
    padding: 0 5px;
    border-radius: 10px;
    margin: 3px;
}
.icon {
    height: 10px;
    width: auto;
    user-select: none;
}
.icon-box:has(>.menu-icon) {
    background-color: rgb(0, 196, 196);
}
.icon-box:has(>.menu-icon):hover {
    background-color: rgb(0, 150, 150);
}
.icon-box:has(>.wifi-icon) {
    background-color: pink;
}
.icon-box:has(>.wifi-icon):hover {
    background-color: rgb(212, 147, 158);
}
.icon-box:has(>.bluetooth-icon) {
    background-color: palevioletred;
}
.icon-box:has(>.bluetooth-icon):hover {
    background-color: rgb(185, 97, 126);
}
.icon-box:has(>.battery-icon) {
    background-color: purple;
}
.icon-box:has(>.battery-icon):hover {
    background-color: rgb(104, 0, 104);
}
.clock {
    position: absolute;
    text-align: center;
    height: 100%;
    width: 100%;
    color: white;
    user-select: none;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.clock-bg {
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.733);
    padding: 2rem;
    border-radius: 20px;
    margin: 1rem;
    font-size: 2rem;
}
.clock #hour, .clock #minute, .clock #second {
    font-size: 5rem;
}
.clock #day {
    font-size: 1.4rem;
}
.clock #month, .clock #weekday {
    font-size: 1.5rem;
}
.open-area {
    position: fixed;
    bottom: 2.5rem;
    right: 1rem;
    color: white;
    background-color: transparent;
    width: fit-content;
    height: fit-content;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 4px;
}
.open-area:active {
    background-color: rgba(255, 255, 255, 0.062);
}
.open-area p {
    font-size: .7rem;
}
.filescreen {
    height: calc(100vh - 26px);
    width: 100%;
    position: fixed;
    top: 100vh;
    right: 0;
    background-color: rgba(0, 0, 0, 0);
    gap: 8px;
    padding: 8px;
    transition: top .6s ease;
    transition: height 0.3s ease;
}
.filescreen.active {
    position: absolute;
    top: 26px;
    transition: top .6s ease;
    transition: height 0.3s ease;
}

.big-window {
    background-color: rgba(0, 0, 0, 0.76);
    width: 60%;
    height: 100%;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-color: pink rgba(0, 0, 0, 0.288);
}
.smol-windows {
    gap: 8px;
    width: 40%;
    height: 100%;
}
.smol-window1, .smol-window2 {
    backdrop-filter: blur(4px);
    background-color: rgba(0, 0, 0, 0.76);
    width: 100%;
    height: 50%;
    border-radius: 4px;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: pink rgba(0, 0, 0, 0.288);
}
.smol-window2 {
    padding: 8px;
}
.folders-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.folder-area {
    color: white;
    background-color: transparent;
    width: 65px;
    height: 70px;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 4px;
}
.folder-area:active {
    background-color: rgba(255, 255, 255, 0.062);
}
.folder-area p {
    font-size: .7rem;
    text-align: center;
}
.list-wrapper {
    padding: 8px;
}
.item-group {
    gap: 2px;
    width: 100%;
}
.item {
    height: fit-content;
    width: 100%;
    justify-content: left;
    color: white;
    background-color: rgba(26, 26, 26, 0.6);
    padding: 5px 1rem;
    border-radius: 5px;
}
.item:active {
    background-color: rgba(41, 41, 41, 0.6);
}
.for-websites {
    display: none;
}
.for-websites.active {
    display: flex;
}
.for-quiz-web {
    display: none;
}
.for-quiz-web.active {
    display: flex;
}
.for-ken-web {
    display: none;
}
.for-ken-web.active {
    display: flex;
}
.for-exp-web {
    display: none;
}
.for-exp-web.active {
    display: flex;
}
.for-linux-web {
    display: none;
}
.for-linux-web.active {
    display: flex;
}
.for-m4d-web {
    display: none;
}
.for-m4d-web.active {
    display: flex;
}
.for-web-apps {
    display: none;
}
.for-web-apps.active {
    display: flex;
}
.for-pink-calc {
    display: none;
}
.for-pink-calc.active {
    display: flex;
}
.for-tictactoe {
    display: none;
}
.for-tictactoe.active {
    display: flex;
}
.for-games {
    display: none;
}
.for-games.active {
    display: flex;
}
.for-shooter {
    display: none;
}
.for-shooter.active {
    display: flex;
}
.for-visual-novel {
    display: none;
}
.for-visual-novel.active {
    display: flex;
}
.for-guitar {
    display: none;
}
.for-guitar.active {
    display: flex;
}
.for-playing-god {
    display: none;
}
.for-playing-god.active {
    display: flex;
}
.for-abc {
    display: none;
}
.for-abc.active {
    display: flex;
}
.content-wrapper {
    width: 100%;
    padding: 2rem;
    height: 100%;
}
.content-wrapper a {
    text-align: center;
}
.content-group {
    width: 100%;
    height: 100%;
}
.iframe-box {
    transform: scale(0.8);
    width: 100%;
    height: 100%;
}
iframe.website-iframe {
    border: none;
    border-radius: 8px;
    aspect-ratio: 16/9;
    width: 120%;
}
.video-box {
    width: 100%;
    height: 100%;
}
.video {
    aspect-ratio: 16/9;
    width: 100%;
    border-radius: 8px;
}
.big-placeholder, .smol-placeholder {
    color: white;
    padding: 2rem;
}
.big-placeholder {
    display: none;
}
.smol-placeholder {
    display: none;
    width: 100%;
    height: 100%;
}
.smol-placeholder img {
    width: 60%;
    height: auto;
    aspect-ratio: auto;
}
.big-placeholder.active {
    display: flex;
}
.smol-placeholder.active {
    display: flex;
}

.iframe-web-apps {
    aspect-ratio: 2/3;
}
.alert-wrapper {
    width: 100vw;
    position: fixed;
    bottom: -20vw;
    pointer-events: none;
    transition: bottom 0.3s ease;
}
.alert {
    background-color: rgba(0, 0, 0, 0.733);
    border-radius: 10px;
    padding: 1rem 2rem;
    
}
.alert p {
    color: white;
    text-align: center;
}
.alert-wrapper.active {
    bottom: 2rem;
    transition: bottom 0.3s ease;
}
@media screen and (max-width: 1000px) {
    iframe.website-iframe {
        aspect-ratio: 3/2;
    }
}
@media screen and (max-width: 720px) {
    iframe.website-iframe {
        aspect-ratio: 1/1;
    }
    .smol-placeholder img {
        width: 90%;
    }
}
@media (orientation: portrait) {
    .filescreen {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .big-window {
        width: 100%;
        height: 70%;
    }
    .smol-windows {
        flex-direction: row;
        width: 100%;
        height: 30%;
        padding-bottom: 8px;
    }
    .smol-window1, .smol-window2 {
        width: 50%;
        height: 100%;
    }
    iframe.website-iframe {
        aspect-ratio: 16/9;
    }
}
@media screen and (max-width: 550px){
    iframe.website-iframe {
        aspect-ratio: 10/7;
    }
}
@media screen and (max-width: 470px){
    iframe.website-iframe {
        aspect-ratio: 1/1;
    }
    .big-placeholder {
        scale: 0.9;
    }
    #clock, #clockbottom {
        font-size: .6rem;
    }
    .big-placeholder pre {
        scale: 0.8;
    }
}
@media screen and (max-width: 380px){
    .iframe-box {
        scale: 0.6;
    }
    iframe.website-iframe {
        aspect-ratio: 5/6;
        width: 200%;
    }
}
@media screen and (max-width: 330px){
    iframe.website-iframe {
        aspect-ratio: 3/5;
    }
}

