:root {
    --bg: #0f172a;
    --panel: rgba(17, 24, 39, 0.5);
    --card: #0b1220;
    --element: hsl(220, 49%, 3%);
    --txt: #e5e7eb;
    --muted: rgba(13, 162, 231, 0.5);
    --accent: #0ea5e9;
    --border: #1f2937;
    --announcment: orange
}


html,
body {
    margin: 0;
    height: 100%;
    background: transparent;
    color: var(--txt);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Helvetica, Arial, sans-serif;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 16px;
    background: var(--element);
    text-align: center;

    position: fixed;
    bottom: 0;
    width: 100%;
}

.footer a {
    color: var(--accent);
    text-decoration: none;
    margin: 0 8px;
}

.footer .muted {
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px;
}

#top {
    height: 7vh;
    background: var(--element);
    width: 100%;
    border-bottom: 1px solid var(--accent);

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

#content a {
    height: 100%;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Helvetica, Arial, sans-serif;
}

.title {
    font-size: xx-large;
    font-weight: bold;
}

.title-addition {
    font-size: small;
}

#title_div {
    margin-left: 1%;
    cursor: pointer;
}

#content {
    height: 85%;
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    
    gap: 8px;
}

.content {
    width: 400px;
    height: 200px;
    margin: 16px;

    border-radius: 25px;

    border: 2px solid var(--accent);

    overflow: hidden;
}

.loading_content {
    background-color: hsla(0, 0%, 15%, 0.5);
    background-image: linear-gradient(90deg,
            hsla(0, 0%, 100%, 0) 0%,
            hsla(0, 0%, 100%, 0.08) 50%,
            hsla(0, 0%, 100%, 0) 100%);
    background-size: 200% 100%;
    background-repeat: no-repeat;
    animation: shimmer 1.6s ease-in-out infinite;
    color: transparent !important;
    user-select: none;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

p.loading_content {
    height: 14px;
    margin-bottom: 30px;
    border-radius: 25px;
}

.contenttitle.loading_content {
    width: 60%;
    height: 18px;
    margin-bottom: 8px;
    margin-top: 8px;
}

.content_description.loading_content {
    width: 90%;
}

.content-description {
    background-color: rgba(0, 0, 0, 0.95);
    width: 100%;
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 25px;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 3.25%;


    transition: all 0.3s ease-in-out;
}

.contenttitle {
    width: 100%;
    text-align: center;
    margin-top: 1%;
    margin-bottom: 0;

    font-weight: bolder;
}

.content_description {
    width: 96%;
    margin: 2%;
    text-align: center;
    margin-top: 1%;
    margin-bottom: 5%;


    font-size: small;

    max-height: 100px;
}

.content_bottom {
    display: flex;
    align-items: end;
    height: 90%;
    width: 100%;
    margin-top: 0;
}

.downloads {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    box-sizing: border-box;
    padding: 10px 10px 0 0;
    transition: all 0.3s ease-in-out;
}

.download-badge {
    background-color: rgba(14, 164, 233, 0.6);
    color: var(--txt);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    user-select: none;
}

#modmanager-download {
    margin-left: auto;
    margin-right: 1%;
    padding: 8px 16px;
    background-color: var(--accent);
    color: var(--txt);
    font-size: 14px;
    font-weight: bold;
    border-radius: 9999px;
    border: none;
    cursor: pointer;

    transition: 0.3s ease-in-out;
}

#background {
    position: fixed;
    top: 0;
    left: -5%;
    width: 110%;
    height: 100%;
    background-image: url("background.png");
    background-size: cover;
    background-position: center;
    z-index: -1;

    filter: blur(15px);
}

.content_buttons {
    height: 100%;
    width: 100%;

    display: none;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease-in-out;
}

.content_buttons button {
    margin: 8px;
    padding: 8px 16px;
    background-color: var(--accent);
    color: var(--txt);
    font-size: 14px;
    font-weight: bold;
    border-radius: 9999px;
    border: none;
    cursor: pointer;

    transition: 0.3s ease-in-out;
}


#notify {
    position: fixed;
    height: 85%;
    width: 100%;
    top: 0;
    left: 0;

    pointer-events: none;

    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: end;
    align-items: center;
}

.notification {
    max-width: 300px;
    min-width: 100px;

    border-radius: 25px;
    border: 2px solid var(--accent);
    background-color: var(--card);
    text-align: center;

    margin-bottom: 1vh;

    padding-left: 10px;
    padding-right: 10px;

    box-shadow: 5px 5px rgba(14, 164, 233, 0.5);
}

@keyframes slideInOut {
    0% {
        opacity: 0;
        transform: translateY(100vh);
    }

    12% {
        opacity: 1;
        transform: translateY(0);
    }

    88% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(100vh);
    }
}

.announcment {
    border-radius: 25px;
    border: 2px solid var(--announcment);
    background-color: var(--card);

    padding: 2%;

    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    margin-bottom: 20vh;

    min-width: 20%;

    z-index: 99999999;
}

.announcment button {

    margin-top: 4vh;

    padding: 18px 50px;
    background-color: var(--accent);
    color: var(--txt);
    font-size: 14px;
    font-weight: bold;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    pointer-events: all;

    transition: 0.3s ease-in-out;
}

.announcment_bg {
    position: fixed;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.8);
    pointer-events:all;
}



/* <div id="notify"><div class="announcment"><h1 class="announce_header">Coming Soon</h1> <p>Currently Working on this Page ^^</p> <button>OK</button></div> </div> */


.modpage_description {
    max-width: 70%;

    background-color: var(--panel);
    border-radius: 25px;
    border: 2px solid var(--accent);
    padding: 1%;

    white-space: pre-wrap;
    tab-size: 4;
}


@media (max-width: 768px) {
    .modpage_description {
        width: 95%;
        padding: 4%;
    }

    .announcment {
        width: 80vw;
        padding: 5%;
    }

    #top {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    #modmanager-download {
        display: none;
    }

    .footer {
        padding: unset;
    }

    .content.active .content-description,
    .content.active .downloads {
        opacity: 0;
    }

    .content.active .content_buttons {
        display: flex;
    }
}

@media (hover: hover) and (pointer: fine) {
    .footer a:hover {
        text-decoration: underline;
    }

    .content {
        border: 1px solid var(--muted);
        transition: 0.3s ease-in-out;
    }

    .content:hover {
        transform: scale(1.05);
        transition: transform 0.3s ease-in-out;
        border: 2px solid var(--accent);
        box-shadow: 5px 5px 5px var(--muted);

        .content-description {
            opacity: 0;
        }

        .downloads {
            opacity: 0;
        }

        .content_buttons {
            display: flex;
        }
    }

    #modmanager-download:hover {
        transform: scale(1.05);
        box-shadow: 3px 3px 3px var(--muted);
    }

    .content_buttons button:hover {
        transform: scale(1.05);
        box-shadow: 3px 3px 3px var(--muted);
    }


}

#content input {
    padding: 8px 16px;
    background-color: var(--element);
    color: var(--txt);
    font-size: 14px;
    font-weight: bold;
    border-radius: 9999px;
    border: none;
    cursor: pointer;

    width: 50%;
    height: 5vh;

    transition: 0.3s ease-in-out;
}

#content button {
    padding: 8px 16px;
    background-color: var(--accent);
    color: var(--txt);
    font-size: 14px;
    font-weight: bold;
    border-radius: 9999px;
    border: none;
    cursor: pointer;

    
    width: 50%;
    height: 5vh;

    transition: 0.3s ease-in-out;
}

#content button:hover {
    transform: scale(1.05);
    box-shadow: 3px 3px 3px var(--muted);
}

#result-box {
    width: 50%;
    border-radius: 25px;
    border: 2px solid var(--accent);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    
    gap: 8px;

    background-color: var(--panel);
}

#result-legend {
    font-weight: bold;
    margin-left: 1%;
}

#top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
}

#top_stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #a0aec0;
    font-family: monospace;
}

#top_stats strong {
    color: #0ea5e9; /* Passend zu deiner theme-color */
}

.stat-divider {
    color: #4a5568;
}