body {
    font-family: sans-serif;
}

#bg {
    z-index: -2;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #c564db 0%, #ff8989 100%);
}

#bar {
    width: 50%;
    min-width: 370px;
    background-color: white;
    opacity: 0.5;
    z-index: -1;
    height: 100%;
    position: fixed;
    top: 0;
    margin: 0 auto;
    left: 0;
    right: 0;
}

#box {
    margin: 10px auto;
    height: auto;
    width: 40%;
    min-width: 300px;
    text-align: center;
}

#upper, #lower {
    height: fit-content;
}

#upper {
    background-color: rgb(63, 72, 204);
}

#upper>p {
    color: rgb(235, 235, 235);
    margin: 0;
    padding: 15px;
    word-break: break-word;
}

#lower>input {
    padding: 5px;
    margin: 10px;
    border: 0;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    background-color: rgb(174, 182, 255);
}

#lower {
    background-color: rgb(103, 117, 248);
}

.choice {
    color: rgb(235, 235, 235);
    display: inline-block;
    margin: 5px;
    background-color: rgba(0, 0, 0, 0.225);
    padding: 5px;
    border-radius: 4px;
    opacity: 0.8;
    border: 0;
}

button:hover {
    opacity: 1;
    cursor: pointer;
}

#buttons {
    padding-top: 5px;
}

#buttons>button, #buttons>div {
    display: inline-block;
    width: 18%;
    height: 30px;
    border: 0;
    background-color: rgb(84, 92, 206);
    box-shadow: -3px -3px 0px 0px rgba(0, 0, 0, 0.225);
    color: rgb(235, 235, 235);
}

#buttons>div:not(:first-child) {
    background-color: rgba(84, 92, 206, 0.856);
    width: 60%;
}

#buttons>div>p {
    margin: 7px;
}

#btn_skip {
    float: right;
}

#main {
    box-shadow: -3px -3px 0px 0px rgba(0, 0, 0, 0.225);
}

#title {
    font-size: 25px;
    width: fit-content;
    text-align: center;
    margin: 20px auto;
}

table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0 15px;
}

tr:not(#thead) {
    box-shadow: -3px -3px 0px 0px rgba(0, 0, 0, 0.225);
}

table:not(#resbox) {
    margin-top: 15px;
    border-spacing: 0px;
}

td {
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 5px;
    color: rgb(235, 235, 235);
}

.good {
    background-color: rgb(84, 206, 125);
}

.bad {
    background-color: rgb(206, 84, 90);
}

.med {
    background-color: rgb(248, 186, 70);
}

#btn_new {
    float: left;
    overflow: hidden;
}

#btn_new:before {
    content: "PACK";
    line-height: 32px;
    font-size: 13px;
}

#upload {
    position: relative;
    top: -30px;
    padding-left: 100%;
    opacity: 1;
    width: 100%;
    height: 100%;
}

#upload:hover {
    cursor: pointer;
}

#btn_new:hover, #btn_skip:hover {
    background-color: rgba(84, 92, 206, 0.788);
}

::-webkit-scrollbar {
    display: none;
}