.main-content {
    display: flex;
    padding: 20px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#warning {
    width: 100%;
    background-color: orange;
    text-align: center;
    padding: 4px;
    color: black;
    margin-bottom: 20px;
}

.searchbar {
    display: flex;
}

#searchfield {
    background-color: black;
    color: white;
    border: 1px solid var(--outline-color);
    padding: 10px;
    width: 300px;
}

#status {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.5);
}

button {
    background-color: black;
    color: white;
    border: 1px solid var(--outline-color);
    object-fit: contain;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 50px;
}

.pagination > button {
    padding: 10px;
}

#searchbutton {
    aspect-ratio: 1 / 1;
}

a {
    text-decoration: none;
}

.levels-list {
    margin: 20px;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 700px;
    gap: 10px;
}

.level {
    box-sizing: border-box;
    padding: 10px;
    width: 100%;
    background-color: black;
    border: 1px solid var(--outline-color-lighter);
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
}

.level:hover {
    border-color: var(--outline-color);
}

.featured {
    background-color: rgb(32, 32, 0);
    border-color: var(--feature-outline-color-lighter);
}

.featured:hover {
    border-color: var(--feature-outline-color);
}

.filters {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.filter {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.difficulty {
    display: inline-block;
    padding: 3px;
    width: 50px;
    background-color: black;
    border: 1px solid;
    border-color: rgb(255, 255, 255);
    border-radius: 5px;
    text-align: center;
}

.title {
    font-weight: bold;
}

.mainsec {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.extra {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
}

.extra > span {
    color: rgba(255, 255, 255, 0.5);
}

.extra > img {
    opacity: 0.5;
}

@media screen and (max-width: 600px) {
    .level {
        align-items: flex-start;
        flex-direction: column;
    }

    #searchfield {
        width: 230px;
    }
}