* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url(cursor.cur), auto;
    font-family: 'Press Start 2P', cursive;
}

html, body {
    overflow-y: scroll;
    height: auto;
}

#starCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#back > *:not(#starCanvas) {
    position: relative;
    z-index: 1;
}

#back {
    background-color: #0d0d1a;
    background-image: none;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: visible;
    padding: 20px;
}

.circle {
    border: 7px solid cyan;
    border-radius: 50%;
    height: 200px;
    width: 200px;
    margin-top: 10px;
    background-image: url(Images/retro.png);
    overflow: hidden;
    background-position: center top 25%;
    background-size: cover;
    box-shadow: 0 0 15px cyan;
    animation: float 3s ease-in-out infinite;
}

h1 {
    font-size: 25px;
    color: yellow;
    margin-top: 15px;
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

#role {
    color: cyan;
    font-size: 15px;
    margin-top: 17px;
    letter-spacing: 3px;
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.card {
    border: 1px solid #a0a0c0;
    padding: 30px;
    color: white;
    background-color: #0d0d1a;
    position: relative;
    box-shadow: 0 0 10px cyan;
    width: 700px;
    max-width: 95vw;
    margin-top: 30px;
    animation: float 3s ease-in-out infinite;
}

.card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 50px;
    height: 50px;
    border-top: 3px solid cyan;
    border-left: 3px solid cyan;
}

.card::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 50px;
    height: 50px;
    border-bottom: 3px solid cyan;
    border-right: 3px solid cyan;
}

#yea {
    color: magenta;
    margin-bottom: 25px;
    margin-left: 10px;
    margin-top: 15px;
    font-size: 27px;
    white-space: nowrap;
}

#content {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px;
}

#content > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.icon {
    color: yellow;
    font-size: 70px;
}

.text {
    margin-top: 0;
}

@keyframes float {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

nav {
    align-self: flex-start;
    margin-left: 20px;
    margin-top: 2px;
}

#mute {
    color: yellow;
    font-size: 30px;
    padding-left: 40px;
}

i:hover {
    transform: scale(1.2);
    transition: 0.2s ease;
}

a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

hr {
    margin-top: 17px;
    margin-bottom: 40px;
}

#overlay {
    display: none;
    top: 0;
    left: 0;
    position: fixed;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
}

#overlay.active {
    display: flex;
}

#popup {
    border: 1px solid #a0a0c0;
    padding: 30px;
    background-color: rgba(13, 13, 26, 0.95);
    position: relative;
    box-shadow: 0 0 5px cyan;
    width: 700px;
    max-width: 95vw;
    height: auto;
    min-height: 200px;
    max-height: 90vh;
    overflow-y: auto;
    margin-top: 0;
}

#popup::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 50px;
    height: 50px;
    border-top: 3px solid cyan;
    border-left: 3px solid cyan;
}

#popup::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 50px;
    height: 50px;
    border-bottom: 3px solid cyan;
    border-right: 3px solid cyan;
}

#close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: yellow;
    font-size: 20px;
    position: absolute;
    top: 20px;
    right: 25px;
}

#close-btn:hover {
    transform: scale(1.2);
    transition: 0.2s ease;
}

h2 {
    color: magenta;
    margin-bottom: 15px;
}

.textBelow {
    color: cyan;
    line-height: 2;
}

.popup-icons {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px 0;
}

.popup-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
}

.popup-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
}

.popup-icon {
    font-size: 50px;
}

.popup-icon:hover {
    transform: scale(1.2);
    transition: 0.2s ease;
}

.popup-item p {
    font-size: 10px;
    color: cyan;
}

/* TABLET */
@media (max-width: 768px) {
    h1 { font-size: 18px; }
    #role { font-size: 11px; letter-spacing: 2px; }
    #yea { font-size: 16px; white-space: normal; text-align: center; }
    .circle { height: 150px; width: 150px; }
    .icon { font-size: 50px; }
    .card { padding: 20px; }
    .popup-icon { font-size: 40px; }
}

/* MOBILE */
@media (max-width: 480px) {
    h1 { font-size: 13px; }
    #role { font-size: 8px; letter-spacing: 1px; }
    #yea { font-size: 12px; white-space: normal; text-align: center; margin-left: 0; }
    .circle { height: 120px; width: 120px; border-width: 4px; }
    .icon { font-size: 35px; }
    .text { font-size: 8px; }
    .card { padding: 15px; }
    #content { gap: 15px; }
    #popup { padding: 20px; }
    h2 { font-size: 13px; }
    .textBelow { font-size: 9px; line-height: 2; }
    .popup-icon { font-size: 32px; }
    .popup-item p { font-size: 8px; }
    #close-btn { font-size: 16px; top: 15px; right: 15px; }
    #mute { font-size: 22px; padding-left: 10px; }
}
#popup {
    max-height: none;
    overflow-y: visible;
}
@media (max-width: 480px) {
    #back {
        justify-content: flex-start;
        padding-top: 70px;
        gap: 10px;
    }

    nav {
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 200;
        margin: 0;
        padding: 0;
    }

    #mute {
        padding-left: 0;
    }

    .circle {
        margin-top: 0;
    }

    h1 {
        margin-top: 8px;
    }

    #role {
        margin-top: 8px;
    }

    .card {
        margin-top: 15px;
    }

    #yea {
        font-size: 10px;
        white-space: normal;
        text-align: center;
        margin-left: 0;
        word-break: break-word;
    }

    #popup {
        max-height: 85vh;
        overflow-y: auto;
        padding: 15px;
        margin-top: 0;
        width: 95vw;
    }

    .popup-icon {
        font-size: 28px;
    }

    .popup-item p {
        font-size: 7px;
    }

    h2 {
        font-size: 11px;
        padding-right: 30px;
    }

    .textBelow {
        font-size: 8px;
        line-height: 1.8;
    }
}