/* ⬇️ Customize variables here ⬇️ */
:root {
    /* Colors */
    --background-color: #0d0e13;
    --text-color: white;
    --text-color-secondary: #aeaeae;
    --button-color: #00ff44;

    --item-bg: #1f1f26;
    --item-border: #39343d;

    /* Fonts */
    --font-primary: "Outfit", sans-serif;

    /* Background */
    --bg: url("assets/bg.webp");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-color);
}

p,
span {
    color: var(--text-color-secondary);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.container {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    25%,
    75% {
        transform: scale(1.04);
    }
    50% {
        transform: scale(1);
    }
}

header {
    display: flex;
    width: screen;
    align-items: center;
    justify-content: center;
    padding: 10rem 0;
    background-image: var(--bg);
    background-color: black;
    background-size: cover;
    background-position: center;
    box-shadow: 0px -110px 90px 0px var(--background-color) inset;
}

header div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

.back-to-main-site {
    background-color: #ffffff90;
    padding: 1rem 2rem;
    border-radius: 0.2rem;
    display: flex;
    gap: 1rem;
    justify-items: center;
    align-items: center;
    color: black;
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: 0.2s;
    text-decoration: none;
}

.back-to-main-site:hover {
    transform: translateY(-0.2rem);
}

.back-to-main-site img {
    width: 1.5rem;
    height: 1.5rem;
}

.title {
    animation: pulse 5s ease-in-out infinite;
    filter: drop-shadow(0 0 1rem var(--background-color));
    pointer-events: none;
}

.vote-links {
    margin-top: 4rem;
}

.vote-links h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.site-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
}

.rewards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 2rem;
}

.rewards {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.rewards h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.reward {
    border: 1px solid var(--item-border);
    background-color: var(--item-bg);
    padding: 3rem 0;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.reward h3 {
    color: white;
    font-size: 1.5rem;
}

.reward span {
    font-size: 1.2rem;
    background-color: var(--button-color);
    width: 3.5rem;
    height: 3.5rem;
    margin: auto;
    color: black;
    padding: 1rem;
    border-radius: 100%;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.site-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.site {
    border: 1px solid var(--item-border);
    background-color: var(--item-bg);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: space-between;
    justify-items: center;
}

.site h3 {
    color: white;
    font-size: 2.2rem;
}

.site img {
    width: 2rem;
    height: 2rem;
    color: white;
}

.site a {
    background-color: var(--button-color);
    padding: 1rem 2rem;
    border-radius: 0.2rem;
    display: flex;
    justify-items: center;
    align-items: center;
}

.site a:hover {
    filter: brightness(1.2);
    transition: 0.2s;
}

@media (max-width: 639px) {
    .vote-links {
        margin-top: 2rem;
    }

    .rewards {
        margin-top: 2rem;
    }

    .site-container {
        grid-template-columns: 1fr;
    }

    .rewards-container {
        grid-template-columns: 1fr;
    }

    .site {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .site a {
        width: 100%;
    }

    .site img {
        margin: auto;
    }

    .title {
        width: 90%;
        height: 90%;
    }

    header {
        padding: 5rem 0;
    }
}
