/*BODY & TEXT*/
body {
    margin: 0;
    font-family: "Aldrich", monospace;
    color: #ffffff;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    padding: 20px; /* Add margin from the edges of the screen */
    padding-right: 350px;
    box-sizing: border-box;
    background-image: url(b3e923172d9e5ad880f3683280755a79.jpg);
    background-size: cover; 
    background-repeat: no-repeat; 
    background-position: center center; 
    background-attachment: fixed; 
    background-blend-mode: overlay;
    min-height: 100vh; 
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay with blend mode */
}

.container {
    display: flex;
    flex-direction: column;
    width: calc(100% - 40px); /* Account for padding on both sides */
    height: calc(100% - 40px); /* Account for padding on both sides */
}

.aldrich-regular {
    font-family: "Aldrich", monospace;
    font-weight: 400;
    font-style: normal;
} 
.audiowide-regular {
    font-family: "Audiowide", sans-serif;
    font-weight: 400;
    font-style: normal;
}


/*TOP BAR*/
.top-bar {
    font-family: "Audiowide", monospace;
    background: #ffffff1c;
    width: 100%;
    z-index: 1;
    border-left: 1px solid #ffffff;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    border-top-right-radius: 20px;
    background-color: rgba(0, 0, 128, 0.28);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 90px;
    align-items: flex-start;
    padding: 20px;
}

.marquee-track {
    display: flex;
    animation: scroll-left 12s linear infinite;
}

.marquee-content {
    padding-right: 50px;
    font-size: 36px;
    text-shadow: 0 0 10px rgba(0, 170, 255, 0.8);
    margin-top: -10px;
}

@keyframes scroll-left {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-35%);
    }
}


.top-bar h1 {
    font-size: 24px;
    text-align: center;
    margin: 0;
}


/*MENU*/
.menu {
    font-family: "Audiowide", monospace;
    background: #ffffff1c;
    width: 150px;
    height: 300px;
    padding: 20px;
    position: relative;
    z-index: 1;
    margin-right: 20px;
    border: 0px 1px 1px 1px solid;
    border-left: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    border-bottom-left-radius: 20px;
    background-color: rgba(0, 128, 128, 0.28);

}

.menu nav ul {
    list-style: none;
    padding: 0;
}

.menu nav ul li {
    margin: 15px 0;
}

.menu nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    display: block;
    padding: 10px;
    transition: background 0.3s;
}

.menu nav ul li a:hover {
    background: #ffffff;
    color: #000;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}


/*MAIN TEXT*/
.content {
    color: rgb(255, 255, 255);
    flex: 1;
    padding: 40px;
    max-height: 500px;
    background: #ffffff0d;
    overflow-y: auto;
    position: relative;
    z-index: 1;
    margin-top: 20px;
    box-shadow: 0 0 100px rgba(255, 255, 255, 0.2);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
    border: 3px solid #ffffff;
    border-bottom-left-radius: 50px;
    background-color: rgba(0, 128, 128, 0.28);
    animation: float 3s ease-in-out infinite;

}

h1 {
    font-size: 32px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

h2{
    text-transform: uppercase;
    background-color: rgba(130, 130, 130, 0.259);
    display: inline;
}

p {
    font-size: 18px;
    line-height: 1.6;
}

.content-wrapper {
    display: flex;
    flex-grow: 1;
}


/*UPDATES WINDOW*/
.window {
    width: 300px;
    height: 300px;
    overflow: hidden;
    position: absolute; /* Use absolute positioning for precise placement */
    top: 50px; /* Position window halfway down the page */
    right: 30px;
    background-color: rgba(0, 128, 128, 0);
    border: 1px solid white;
}

.element {
    position: relative; /* Acts as the anchor point for the image */
    width: 100%;
    height: 400px;
}

.positioned-image {
    position: absolute; /* Moves the image out of normal document flow */
    top: -300px;          /* 20 pixels down from the top edge */
    right: -370px;        /* 50 pixels in from the right edge */
    width: 400px;       /* Set image width */
}

.window-header {
    font-family: "Audiowide", monospace;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    color: #ffffff;
    padding: 5px 10px;
    background-image: url("num.gif");
    border-bottom: 1px solid white;
}

.window-title {
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 4px;
}

.window-controls span {
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
}

.window-content {
    padding: 10px 20px 10px 5px; /* top right bottom left */
    height: calc(100% - 50px); /* Adjust height to fit within window, accounting for header height */
    overflow-y: auto; /* Add vertical scrollbar when content overflows */
}

.glow-img {
    transition: filter 0.3s ease-in-out;
    display: inline-block;
}

.glow-img:hover {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}


/*KEYFRAMES*/
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        border-color: #ffffff;
    }
    50% {
        border-color: #ffffff4c;
    }
    100% {
        border-color: #ffffff;
    }
}


/*SCROLLBAR*/
::-webkit-scrollbar {
    width: 12px; 
    height: 12px; 
}

::-webkit-scrollbar-track {
    background: #27272700;
}

::-webkit-scrollbar-thumb {
    background: #ffffff44;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffffffb6;
}


/*HIGHLIGHT BY RIGHTCLICK*/
::selection {
    color: black; 
}