@font-face {
    font-family: "Twemoji Country Flags";
    src: url("https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1.8/dist/TwemojiCountryFlags.woff2 ") format("woff2");
    font-display: swap;
}

body {
    padding: 1rem;
    background: #712775;
    color: white;
    font-family: "Twemoji Country Flags", "Helvetica", "Arial", sans-serif;
}

.content {
    width: 100%;
    max-width: 666px;
}

p {
    line-height: 1.4em;
}

.list-sort {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;

    li {
        display: flex;
        align-items: center;
        margin-bottom: 2px;
        padding: .5rem 1rem;
        background: #fff;
        color: #000;
        border: 1px solid white;
        border-radius: 3px;
        cursor: grab;
        font-size: 16px;
        font-weight: 600;
        word-wrap: break-word;

        &::before {
            content: '0';
            flex-shrink: 0;
            display: inline-block;
            width: 40px;
            margin-right: 1rem;
            font-size: 1.4em;
        }

        &:hover {
            opacity: .9;
        }
    }

    li:nth-child(1) {
        &::before {
            font-size: 1.9em;
            content: '12'
        }
    }

    li:nth-child(2) {
        &::before {
            font-size: 1.8em;
            content: '10'
        }
    }

    li:nth-child(3) {
        &::before {
            font-size: 1.7em;
            content: '8'
        }
    }

    li:nth-child(4) {
        &::before {
            font-size: 1.6em;
            content: '7'
        }
    }

    li:nth-child(5) {
        &::before {
            font-size: 1.5em;
            content: '6'
        }
    }

    li:nth-child(6) {
        &::before {
            font-size: 1.5em;
            content: '5'
        }
    }

    li:nth-child(7) {
        &::before {
            font-size: 1.5em;
            content: '4'
        }
    }

    li:nth-child(8) {
        &::before {
            font-size: 1.5em;
            content: '3'
        }
    }

    li:nth-child(9) {
        &::before {
            font-size: 1.5em;
            content: '2'
        }
    }

    li:nth-child(10) {
        &::before {
            font-size: 1.5em;
            content: '1'
        }
    }
}

.btn-headline,
.disclaimer {
    padding: .5rem;
    color: black;
    background: rgba(255,255,255,.5);
}

.btn-headline {
    margin-bottom: .5rem;
}

.btn-row {
    display: flex;
    align-items: center;

    > div {
        width: 50%;
        padding: .5rem;
    }

    &.space-between {
        justify-content: space-between;
    }
}

.disclaimer {
    font-size: .9rem;
}

.btn {
    background: goldenrod;
    color: black;
    margin-bottom: .5rem;
    padding: .5rem 1rem;
    border: 3px solid darkgoldenrod;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;

    &:hover {
        opacity: .8;
    }
}

.btn-copy {
    width: 100%;
    background: goldenrod;
    color: black;
    margin-bottom: .5rem;
    padding: .5rem 1rem;
    border: 3px solid darkgoldenrod;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;

    &:hover {
        opacity: .8;
    }
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Admin Stuff */
.info-box {
    background-color: #eea;
    color: #000;
    padding: 1rem;
    margin-bottom: 2rem;
    border: 1px solid #ccc;
}

.login-row {
    margin-bottom: 1rem;

    input {
        padding: .5rem 1rem;
        font-size: 1.4rem;
    }
}

.song-list-item {
    margin-bottom: .5rem;
    padding: .5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f5f5f5;
    text-decoration: none;
    color: #000;

    &:last-child {
        margin-bottom: 0;
    }

    &:hover {
        background: #e5e5e5;
    }

    .svg-icon {
        svg {
            width: 25px;
            height: 25px;
        }
    }
}

.new-list {
    input {
        padding: .5rem 1rem;
        font-size: 1.4rem;
    }

    .btn {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    body {
        padding: 1.5rem;
    }

    .btn-row {
        flex-direction: column;

        > div {
            width: 100%;
            padding: 0;
        }
    }
}

@media (min-height: 999px) {
    body {
        background-size: 2000px 2000px;
    }
}

@media (min-width: 2000px) {
    body {
        background-size: 2400px 2000px;
    }
}
