* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    font-size: 62.5%;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #161616;
    background-image: url("../../images/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

h1 {
    font-size: 1.8rem;
    font-weight: 600;
    word-spacing: 8px;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
}

h2 {
    font-size: 1.4rem;
    color: #ff9f43;
    text-shadow: 1px 1px 1px #000;
}

a {
    color: #8a8a8a;
    text-decoration: none;
    transition: color .2s;
}

a.maxed {
    color: #fff;
}

a:hover {
    color: #ff9f43;
}

header,
nav,
main,
footer {
    width: 100%;
}

div {
    width: 1000px;
    margin: 0 auto;
    padding: 12px;
}

select,
section,
li {
    border-radius: 5px;
}

nav,
section {
    box-shadow: 0 6px 6px rgba(0, 0, 0, .5);
}

header,
footer {
    background-color: rgba(0, 0, 0, .8);
}

header {
    width: 100%;
    padding: 24px 0;
    border-bottom: 1px solid #000;
}

header div {
    text-align: center;
}

nav {
    background-color: #2c2c2c;
}

select {
    width: 100%;
    font-size: 1rem;
    padding: 12px;
    border: 1px solid #1a1a1a;
    background-color: #3a3a3a;
    color: #e0e0e0;
    cursor: pointer;
}

select:focus {
    outline: none;
}

optgroup {
    color: #ff9f43;
    font-style: normal;
}

option {
    color: #fff;
}

option:disabled {
    color: #646464;
}

section {
    margin: 24px 0;
    padding: 12px;
    background-color: #303030;
}

section p {
    font-size: 1rem;
}

section a {
    font-size: .9rem;
}

ul {
    list-style: none;
}

li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 6px 0;
    padding: 12px;
    border: 1px solid #1a1a1a;
    background-color: #242424;
    transition: background-color .2s;
}

li:hover {
    background-color: #4d4d4d;
}

li span {
    flex: 1;
    font-weight: 500;
}

button {
    width: 32px;
    height: 32px;
    margin-left: 6px;
    border: none;
    cursor: pointer;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: .6;
    transition: opacity .2s;
}

button:hover {
    opacity: 1;
}

button.disabled {
    opacity: .1;
    cursor: default;
}

button.increase {
    background-image: url("../svg/increase.svg");
}

button.decrease {
    background-image: url("../svg/decrease.svg");
}

button.minimize {
    background-image: url("../svg/minimize.svg");
}

button.maximize {
    background-image: url("../svg/maximize.svg");
}

button.remove {
    background-image: url("../svg/remove.svg");
}

footer {
    flex-shrink: 0;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
}

footer p {
    color: #5c5c5c;
    font-size: .6rem;
}

footer a {
    font-size: .7rem;
}

@media (max-width: 1024px) {
    div {
        width: 100%;
        padding: 10px;
    }

    h1 {
        font-size: 1.6rem;
        word-spacing: 4px;
    }

    h2 {
        font-size: 1.2rem;
    }

    section a {
        display: block;
        word-break: break-all;
        text-align: justify;
    }
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }

    div {
        width: 100%;
        padding: 8px;
    }

    header {
        padding: 16px 0;
    }

    h1 {
        font-size: 1.4rem;
        word-spacing: 2px;
    }

    h2 {
        font-size: 1.1rem;
    }

    select {
        font-size: .9rem;
        padding: 10px;
    }

    section {
        margin: 16px 0;
        padding: 10px;
    }

    li {
        flex-wrap: wrap;
        gap: 6px;
        padding: 10px;
    }

    li span {
        flex: 100%;
        margin-bottom: 4px;
    }

    button {
        width: 28px;
        height: 28px;
        margin-left: 4px;
    }

    footer p {
        font-size: .7rem;
    }

    footer a {
        font-size: .75rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1rem;
    }

    li {
        padding: 8px;
    }

    button {
        width: 26px;
        height: 26px;
    }

    select {
        padding: 8px;
    }
}