/*
  MiRRORS2026 style.css
  Simone Corcoran, Linux/UNIX Users Group at Michigan Tech
*/
:root {
    --card-bg: #161719;
    --card-hover: rgba(75, 193, 255, 0.25);
    --link-color: #4fd1c5;
    --link-background: #222222;
    --distro-hover: #232429;
    --text-color: #e4e4e9;
    --header-color: #ffffff;
}

html {
    height: 100%;
}

body {
    background-color: #111113;
    color: var(--header-color);
    height: 100%;
    font-family: "Source Sans 3", system-ui, sans-serif;
}

.page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.main {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
    flex: 1;
}



@media (max-width: 700px) {
    .main {
        padding: 0 0.75rem;
    }
}

p {
    color: var(--text-color);
}

.header {
    background-color: #2a2a2a;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;

}

.header h1 {
    margin: 0px 0px 15px 0px;
}

.links {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.header a {
    color: var(--link-color);
    padding: 5px 10px 5px 10px;
    border-radius: 4px;

}

a {
    color: var(--link-color);
    background-color: var(--link-background);
    text-decoration: none;
}

.mirrors {
    margin-bottom: 2rem;

}

.distro-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: flex-start;
}


.distro {
    display: flex;
    flex-direction: column;
    flex: 1 1 280px;
    max-width: 350px;
    padding: 15px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)), var(--card-bg);
    border: #222326 solid 4px;
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    --accent: #222326;
}

.distro a {
    padding: 0.3rem 0.75rem;
    background: var(--link-background);
    border-radius: 4px;
    margin: 0.2rem;
    align-self: flex-start;
}

.distro:hover {
    background-color: var(--distro-hover);
    box-shadow: 0 0 8px var(--card-hover);
}

.distro.archlinux {
    --accent: #4cadda;
}

.distro.ubuntu {
    --accent: #e95420;
}

.distro.centos-stream {
    --accent: #a14f8c;
}

.distro.debian {
    --accent: #d70a53;
}

.distro.fedora {
    --accent: #294172;
}

.distro.epel {
    --accent: #294172;
}

.distro.gentoo {
    --accent: #4e4371;
}

.distro.rpmfusion {
    --accent: #0855a7;
}

.distro.voidlinux {
    --accent: #4d8466;
}


.distro-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

}

.distro-header img {
    height: 4rem;

}

details {
    margin-top: 0.5rem;
    padding: 0.5rem 0;
}

details summary {
    cursor: pointer;
    color: var(--text-color);
}

details[open] summary {
    color: var(--header-color);
}

details h4 {
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--header-color);
}

.protocols {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.protocols a {
    padding: 0.2rem 0.4rem;
    background: #222222;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
}


footer {
    padding: 1rem;
    background-color: #131417;
    max-width: 1500px;
    margin: 0 auto;
    flex: 1;
}
