
:root {
    --background: #020103;
    --primary: #7D105B;
    --secondary: #420340;
    --tertiary: #1F0120;

    --active: #881499;

    --fontcolor1: #ECE1F1;
    --fontcolor2: #b0b0b0;

    font-family: 'Montserrat', sans-serif;
}
body {
    background-color: var(--background);
    color: var(--fontcolor1);
}

.main {
    width: 1200px;
    margin: 20px auto;
}
.nav {
    display: flex;
    justify-content: center;
    background-color: var(--tertiary);
    width: 800px;
    margin: 0 auto;
    border-radius: 10px;
}
.button {
    text-decoration: none;
    color: var(--fontcolor1);
    margin: 10px;
    background-color: var(--secondary);
    padding: 10px 20px;
    border-radius: 10px;
    transition: 0.25s;
}
.button:hover {
    background-color: var(--primary);
    padding: 10px 30px;
}
.box {
    background-color: inherit;
    border-radius: 10px;
}
.cpuCard {
    text-align: center;
}
.cpuCard h1 {
    font-size: 300%;
    transition: 0.4s;
}
a {
    text-decoration: none;
    color: var(--fontcolor1);
}
.comparisonList {
    list-style-type: none;
    text-align: left;
}
.generationList {
    list-style-type: none;
    padding: 0;
}
.generationList li p {
    padding: 3px;
}
.generationList a {
    color: var(--active);
}
@media screen and (max-width: 1300px) {
    .button {
        padding: 10px;
    }
    #activeNav {
        padding: 10px !important;
    }
    .button:hover {
        padding: 10px;
    }
    .nav {
        width: 95%;
    }
    .main {
        width: 90vw;
    }
    .box {
        width: 95% !important;
    }
    .flex-horizontal {
        flex-direction: column;
        flex-wrap: wrap;
    }
    .flex-vertical {
        width: 100% !important;
    }
}
@media screen and (max-width: 500px) {
    .nav {
        flex-direction: column !important;
    }
}