body {
    margin: 0;
    background-color: black;
}

#star-field {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

body {
    visibility: hidden;
}

body.visible {
    visibility: visible;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: white;
    opacity: 0.8;
    box-shadow: 0 0 5px white;
}

.star.layer1 { }
.star.layer2 { opacity: 0.6; background-color: aquamarine }
.star.layer3 { opacity: 0.4; background-color: yellow }

.saucer
{
    position: absolute;
    width: 64px;
    height: 64px;
}
.container {
    margin-left: 5%;
    margin-right: 5%;
    border: 1px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
    .navbar {
        display: flex;
        flex-direction: column;
    }
    .container
    {
        margin-left: 0;
        margin-right: 0;
    }
}

header {
    text-align: center;
    padding: 10px 0;
}
@font-face {
    font-family: 'PixelLogo';
    src: url('../fonts/ka1.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'PixelText';
    src: url('../fonts/prstartk.ttf') format('truetype');
    font-weight: 4;
    font-style: normal;
}
@font-face {
    font-family: 'PixelEmoji';
    src: url('../fonts/Retromoticons-RPLv.ttf') format('truetype');
    font-style: normal;
}
.popup {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.popup-content {
    padding: 20px;
    font-family: 'PixelText', monospace;
    border: 2px solid white;
    text-align: center;
    background: #1a181aed;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup-content > div {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    margin-bottom: 15px;
}
.logo {
    font-size: 48px;
    color: #fec901;
    margin: 0;
    font-family: 'PixelLogo', monospace;
    letter-spacing: 4px;
    position: relative;
    display: inline-block;
    -webkit-text-size-adjust:100%
}

.logo:hover {
    animation: wave 0.4s ease-out infinite;
}

.logo span {
    display: inline-block;
    transition: transform 0.2s ease-out;
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}
.navbar {
    display: flex;
    justify-content: center;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 10px 10px;
    display: block;
    font-family: 'PixelLogo', monospace;
}

.navbar a:hover {
    background-color: #999999;
}
.emoji
{
    font-family: PixelEmoji, monospace;
    font-size: 32px;
}
.content {
    display: flex;
    border-bottom: 1px solid white;
    font-family: 'PixelText', monospace;
}
.content-no-flex {
    border-bottom: 1px solid white;
    font-family: 'PixelText', monospace;
}
.sidebar {
    width: 15%;
    padding: 20px;
    box-sizing: border-box;
    border-right: 1px solid white;
}
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
}
.sidebar p {
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: 24px;
    margin: 0;
}

.main-content {
    width: 85%;
    padding: 20px;
    box-sizing: border-box;
}
.whitetext {
    margin-top: 0;
    color: white;
}
.main-content p {
    margin-top: 0;
    color: white;
}
.main-content h2 {
    margin-top: 0;
    color: white;
}
.main-content li{
    margin-top: 0;
    color: white;
}

.links {
    margin-top: 20px;
    padding-top: 10px;
}

.links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.links a:hover {
    text-decoration: underline;
}

.weespinicon
{
    position: relative;
    top: 50%;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
}
.rainbow-text {
}

.rainbow-letter {
    position: relative;
    display: inline-block;
    z-index: -2;
    animation: moveUpDown 1s infinite alternate;
}

@keyframes moveUpDown {
    0% {
        transform: translateY(-4px);
    }
    100% {
        transform: translateY(4px);
    }
}

@keyframes rainbow {
    0%, 100% { color: red; }
    14.3% { color: orange; }
    28.6% { color: yellow; }
    42.9% { color: green; }
    57.1% { color: blue; }
    71.4% { color: indigo; }
    85.7% { color: violet; }
}
@keyframes rainbow-comm {
    0%, 100% { color: red; }
    14% { color: orange; }
    40% { color: yellow; }
}
@keyframes rainbow-personal {

    0%, 100% { color: blue; }
    25.4% { color: indigo; }
    70.7% { color: white; }
}
@keyframes rainbow-oss {
    0%, 100% { color: green; }
    50% { color: white; }
}
@keyframes rainbow-edu {
    0%, 100% { color: blueviolet; }
    50% { color: white; }
}
@keyframes rainbow-fnaf {
    0%, 100% { color: gray; }
    50% { color: gold; }
}