* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Grechen Fuemen', sans-serif;
}

html {
    --var-border-color: #000000;
    --var-popup-up: #101010;
    --var-popup-down: #181818;
    --var-bg-main-color: #1a1a1a;
    --var-bg-color: #171717;
    --var-text-color: #ffffff80;
    --var-switch-color: #ffffff35;
    --var-over: #ffffff70;
    --var-part: #8355f6;
    --var-trophy: #f6c835;
    --var-trophy-hover: #f6c83580;
    --var-contact-bg: linear-gradient(100deg, #1106b5, #d100fb);
}

body {
    background-color: var(--var-bg-main-color);
}

header {
    background-color: var(--var-bg-color);
    color: var(--var-text-color);
    position: fixed;
    width: 100%;
    top: 0;
    padding: 1.5em;
    display: flex;
    justify-content: space-around;
    align-items: row;
}

.sub-header {
    position: fixed;
    top: 4.8em; /* hauteur réelle de ton header */
    width: 100%;
    background-color: var(--var-bg-color);
    border-bottom: 1px solid var(--var-text-color);
    display: flex;
    justify-content: center;
    z-index: 999;
}

.sub-header a {
    padding: 0.8em 1.6em;
    text-decoration: none;
    color: var(--var-text-color);
    font-size: 1.3em;
    border-right: 1px solid var(--var-text-color);
    transition: background 0.25s ease, color 0.25s ease;
}

.sub-header a:last-child {
    border-right: none;
}

.sub-header a:hover {
    background-color: var(--var-part);
    color: black;
}

.sub-header a.active {
    background-color: var(--var-part);
    color: black;
}

.download {
    background-color: blue;
    color: black;
}

.download-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4em 1em;
    color: var(--var-text-color);
}

.download-section h2 {
    font-size: 3em;
    margin-bottom: 0.3em;
    color: white;
}

.download-subtitle {
    font-size: 1.2em;
    margin-bottom: 2.5em;
    text-align: center;
    opacity: 0.8;
}

.download-buttons {
    display: flex;
    gap: 2em;
    flex-wrap: wrap;
    justify-content: center;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.8em;
    padding: 1.2em 2em;
    font-size: 1.4em;
    text-decoration: none;
    color: white;
    border: 2px solid var(--var-text-color);
    border-radius: 12px;
    background: linear-gradient(
        145deg,
        var(--var-popup-up),
        var(--var-popup-down)
    );
    transition: all 0.3s ease;
}

.download-btn i {
    font-size: 1.8em;
}

/* Linux button accent */
.download-btn.linux:hover {
    border-color: var(--var-part);
    background: linear-gradient(
        145deg,
        var(--var-part),
        #5b2edc
    );
    color: black;
    transform: translateY(-4px);
}

/* Windows button accent */
.download-btn.windows:hover {
    border-color: #00aaff;
    background: linear-gradient(
        145deg,
        #00aaff,
        #0066cc
    );
    color: black;
    transform: translateY(-4px);
}



footer {
    background-color: var(--var-bg-color);
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex ;
    padding: 0.3em;
    justify-content: space-between;
    align-items: row;
}

footer a {
    color: var(--var-text-color);
    font-size: 3em;
    text-decoration: none;
    padding-inline: 0.3em;
}

footer p {
    color: var(--var-text-color);
    font-size: 1.2em;
}

main {
    margin-top: 5.5em;
    margin-bottom: 15em;
}

.text {
    display: flex;
    flex-direction: column;
}

@media (max-width: 428px) {
    footer {
        flex-direction: column-reverse;
        align-items: center;
    }
    .text {
        flex-direction: row;
    }
}
