* {
    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;
}

.switch {
    background-color: var(--var-switch-color);
    display: flex;
    justify-content: space-around;
    align-items: row;
    align-items: center;
    position: fixed;
    bottom: 5em;
    transform: translateX(-50%);
    left: 50%;
    border-radius: 2em;
    border-color: black;
    border-style: solid;
}
.switch a {
    font-size: 2em;
    cursor: pointer;
    padding: 0.3em;
    text-decoration: none;
    color: inherit;
    border-radius: 50%;
    transition: all 1s ease-in-out;
}

.switch a:hover {
    background-color: var(--var-over);
    font-size: 2.3em;
    transition: all 1s ease-in-out;
}

footer {
    background-color: var(--var-bg-color);
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex ;
    padding: 0.3em;
    justify-content: space-between;
    flex-direction: 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;
}

.index {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    margin-top: 10em;
}

.index a {
    background-color: var(--var-switch-color);
    align-items: row;
    font-size: 2em;
    cursor: pointer;
    padding: 0.3em;
    text-decoration: none;
    color: inherit;
    border-radius: 1em;
    transition: all 1s ease-in-out;
}

.index a:hover {
    background-color: var(--var-over);
    font-size: 2.3em;
    transition: all 1s ease-in-out;
}

.text {
    display: flex;
    flex-direction: column;
}

@media (max-width: 428px) {
    .switch {
        bottom: 7em;
    }
    footer {
        flex-direction: column-reverse;
        align-items: center;
    }
    .text {
        flex-direction: row;
    }
}
