@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&display=swap");

* {
    cursor:
        url("https://cdn.cursors-4u.net/previews/japanese-green-umbrella-14579871-32.webp")
            32 32,
        auto !important;
}

:root {
    --primary-green: #cbe8a2;
    --background-green: #f3f6e4;
    --background-whiter-green: #fdfff8;
    --dark-green: #8aa666;
    --button-background: #f8ff79;
    --button-border: rgb(126, 138, 67) 3;
}

html,
body {
    background-image: url("Images/Background1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    margin: 0;
    padding: 0;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    z-index: 9999;
}

.logo {
    margin-bottom: 50px;
}

.crt::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background:
        linear-gradient(rgba(18, 16, 16, 0) 40%, rgba(0, 0, 0, 0.25) 0%),
        linear-gradient(
            90deg,
            rgba(255, 0, 0, 0.06),
            rgba(0, 255, 0, 0.02),
            rgba(0, 0, 255, 0.06)
        );
    z-index: 2;
    background-size:
        100% 2px,
        3px 100%;
    pointer-events: none;
}

main {
    display: grid;
    color: white;
    grid-template-areas:
        "content content sidebar"
        "content content sidebar"
        "footer footer sidebar";
    grid-template-columns: 750px 0px 200px;
    grid-template-rows: 500px auto 50px;

    gap: 10px 10px;

    align-items: stretch;
    justify-content: stretch;
}

header {
    grid-area: topbar;
}
article {
    grid-area: content;
}
nav {
    grid-area: sidebar;
}
footer {
    grid-area: footer;
}

aside,
article,
nav {
    background: rgba(0, 0, 0, 0.612);
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.141);
}

h1 {
    font-family: "Pixelify Sans", system-ui;
    font-size: 16px;
    padding: 10px;
}

ul {
    list-style-type: none;
    padding-left: 20px;
}

@keyframes flicker {
    0% {
        opacity: 0.17861;
    }
    5% {
        opacity: 0.14769;
    }
    10% {
        opacity: 0.13604;
    }
    15% {
        opacity: 0.00626;
    }
    20% {
        opacity: 0.08128;
    }
    25% {
        opacity: 0.00626;
    }
    30% {
        opacity: 0.08128;
    }
    35% {
        opacity: 0.13604;
    }
}

.crt::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(18, 16, 16, 0.1);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    animation: flicker 0.15s infinite;
}

.welcome-window {
    position: fixed;
    width: 550px;
    height: 425px;
}

.inconstruction-window {
    position: fixed;
    top: 225px;
    width: 590px;
    height: 48px;
}

.chatbox-window {
    position: fixed;
    top: 425px;
    left: 32px;
    width: 265px;
    height: 255px;
}

.window-title {
    font-family: "Pixelify Sans";
    color: var(--dark-green);
    font-size: 16px;
    font-weight: bolder;
    margin-right: auto;
    margin-left: 5px;
}

.window-content {
    background: var(--background-green);
    color: #1f1e1e;
    height: 100%;
    border-radius: 2px;
    border: 2px solid var(--dark-green);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    box-shadow: 10px 10px 18px 0px rgba(0, 0, 0, 0.35);
    font-family: "Pixelify Sans";
    font-size: 15px;
    font-weight: bold;
    padding: 5px;
}

.window-top,
.window-top-no-bind {
    display: flex;
    align-items: center;
    cursor: move;
    text-align: right;
    height: 12px;
    border-top-right-radius: 2px;
    border-top-left-radius: 2px;
    padding: 5px 0px 5px 0px;
    background-color: var(--primary-green);
    border-left: 2px solid var(--dark-green);
    border-right: 2px solid var(--dark-green);
    border-top: 2px solid var(--dark-green);
}

.window-top-no-bind {
    cursor: inherit;
}

.round {
    height: 16px;
    width: 16px;
    border-radius: 2px;
    background: var(--button-background);
    border: 2px solid var(--dark-green);
    margin-right: 3px;
}

body > canvas {
    z-index: 9999;
}

#myWindow {
    z-index: 2;
}

#myWindow1 {
    z-index: 3;
}

#myWindow2 {
    z-index: 3;
}

.fa-window-minimize {
    font-size: 7px;
    position: relative;
    top: -5px;
    left: -4px;
}

.fa-window-restore {
    font-size: 7px;
    position: relative;
    top: -3px;
    left: -5px;
}

.fa-xmark {
    font-size: 7px;
    position: relative;
    top: -3px;
    left: -5px;
}

.meimg {
    width: 275px;
    height: 275px;
}

.me {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
}

.welcome {
    position: absolute;
    left: 17px;
    bottom: -20px;
    display: flex;
    justify-content: center;
    align-items: center;

    width: 93%;
    height: 30%;
    border: 3px var(--dark-green) dashed;
    box-shadow: 0px 4px 7px 0px rgba(0, 0, 0, 0.232);
    background-color: var(--background-whiter-green);
}

.welcome-txt {
    color: var(--dark-green);
    padding: 15px;
}
