@import url('https://fonts.googleapis.com/css2?family=Bitcount+Grid+Single:wght@100..900&family=VT323&family=Overpass:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Bitcount Grid Single", system-ui;
    font-weight: 500;
    background-color: #0f0814;
    color: #e1e1e6;
    min-height: 100vh;
    margin: 0;
    background-image:   url("Assets/backgrounds/space-background/Star-Layer.png"),
                        url('Assets/backgrounds/space-background/Foreground-Nebula.png'),
                        url("Assets/backgrounds/space-background/Background-Nebula.png");
    background-repeat: repeat, no-repeat, no-repeat;
    background-position: center;
    background-size: 30%, cover, cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
h1 {
    font-family: "Bitcount Grid Single", system-ui;
    font-size: 7rem;
    font-optical-sizing: auto;
    font-weight: 350;
    margin-top: 0.01rem;
    margin-bottom: 0.1rem;
    text-shadow: -2.8px 2.8px 0px #7d69c2, -5.6px 5.6px 0px #5d35a1, -8.4px 8.4px 0px #49038a;
    color: #cdbfff;
}
h2{
    font-size: 2.1rem;
    font-optical-sizing: auto;
    font-weight: 350;
    margin-top: 0.01rem;
    margin-bottom: 0.01rem;
    color: #cdbfff;
    text-shadow: -1.5px 1.5px 0px #7d69c2, -3px 3px 0px #5d35a1, -4.5px 4.5px 0px #49038a;

}
.card {
    background: #1a191f;
    border: 1px solid #2a2a35;
    border-radius: 20px;
    padding: 2rem 2.5rem;
    text-align: center;
    box-shadow: 0 2px 28px #7a6cb0;
    width: auto;
    max-width: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 550px;
    height: auto;
    margin: 16px;
}
/*Should probably rename this and .card -# for future proofing*/
.container1 {
    text-align: center;
    justify-content: center;
    margin-bottom: 6rem;
}
.container p {
    font-family: "VT323", monospace;
    font-size: 1.6rem;
    font-weight: 100;
    text-shadow: 0 0 8px #cdbfff;
    max-width: 750px;
}
.jellyfin-section {
    text-align: center;
    margin-top: auto;
}
.jellyfin-section p {
    margin: 0 0 0.5rem;
    font-family: "Overpass", sans-serif;
    font-size: 0.9rem;
    color: #a0a0aa;
}
.jellyfin-section p2 {
    color: red;
    font-family: "Overpass", sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    font-style: italic, bold;
    max-width: 750px;
}
.jellyfin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 0.1rem;
    padding: 0.85rem 2.25rem;
    background: transparent;
    color: #7d69c2;
    border: 2px solid #7d69c2;
    border-radius: 8px;
    text-decoration: none;
    font-family: "Overpass", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform 0.2s, background 0.2s, color 0.2s;
}
.jellyfin-btn:hover {
    background: #5c4b99;
    color: #121214;
    transform: scale(1.04);
    box-shadow: 0 0 10px 2px rgba(125, 105, 194, 0.8);
}
.vault-icon {
    display: inline-block;
    margin-right: 0.3rem;
    width: 38px;
    height: 38px;
    background-image: url(Assets/icons/vault.svg);
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    transition: background-image 0.2s ease-in-out;
}
.jellyfin-btn:hover .vault-icon {
    background-image: url(Assets/icons/vault2.svg);
}
/*Easter eggs*/
/*should probably rewrite this*/
.corner-wrapper {
    position: fixed;
    top: 4rem;
    left: 15rem;
    width: 13.25rem;
}
.corner-gif {
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: block;
}
.easter-egg-text {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(90deg, #ff0000, #ff7700, #ffff00, #00ff00, #0099ff, #aa00ff, #ff0000);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbow 3s linear infinite;
}
@keyframes rainbow {
    to { background-position: 200% center; }
}
.corner-wrapper:hover .corner-gif,
.corner-wrapper:hover .easter-egg-text {
    opacity: 1;
}
.socials-link {
    color: #7d69c2;
    font-size: 2.125rem;
    transition: transform 0.2s, color 0.2s;
}
.socials-link:hover {
    color: #5c4b99;
    transform: scale(1.2);
}
.socials-list{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}
/*rudimentary mobile mode, need to learn clamps*/
@media (width <= 768px) {
    h1 {
        font-size: 2.85rem;
        text-shadow: -1.5px 1.5px 0px #7d69c2, -3px 3px 0px #5d35a1, -4.5px 4.5px 0px #49038a;
    }
    h2 {
        font-size: 1.4rem;
        text-shadow: -1px 1px 0px #7d69c2, -2px 2px 0px #5d35a1, -3px 3px 0px #49038a;
    }
    .container p {
        font-size: 1.2rem;
    }
    .jellyfin-btn {
        font-size: 1rem;
        padding: 0.65rem 1.75rem;
    }
    .vault-icon {
        height: 24px;
        width: 24px;
    }
}