* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}

body {
    background: #aff;
    color: #0aa;
    text-align: center;
}

.block {
    width: min(100vw, 800px);
    width: min(100dvw, 800px);
    padding: 20px;
    margin: 0 auto;
}
.block-text {
    margin: 10px auto;
    background: #eff;
    width: max-content;
    padding: 20px;
    border-radius: 20px;
    max-width: 100%;
    color: #0aa;
}

.scroll {
    -ms-overflow-style: none;
    scrollbar-color: #0aa #eff;
    scrollbar-width: none;
    overflow: scroll;
    width: 100%;
    cursor: ew-resize;
}
.scroll::-webkit-scrollbar {
    display: none;
    background-color: #eff;
}
.scroll::-webkit-scrollbar-thumb {
    display: none;
    background: #0aa;
}
.scroll_bar {
    display: grid;
    grid-template-columns: 0fr 30px 1fr;
    align-items: center;
    height: 30px;
    width: 100%;
    margin: 0 auto;
    cursor: pointer;
}
.scroll_bar-left {
    background: #0aa;
    height: 10px;
    border-radius: 5px 0 0 5px;
}
.scroll_bar-icon {
    position: relative;
    z-index: 1;
    background: #0aa;
    height: 30px;
    width: 30px;
    padding: 5px;
    border-radius: 5px;
    object-fit: contain;
    cursor: grab;
}
.scroll_bar-right {
    background: #eff;
    height: 10px;
    border-radius: 0 5px 5px 0;
}

.top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    width: 100dvw;
    padding: 20px;
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(#eff 70%, #aff 80%, #aff);
}
.top-characters {
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom: 0;
    height: 40vh;
    height: 40dvh;
    width: 100vw;
    width: 100dvw;
}
.top-character {
    position: absolute;
    bottom: 0;
    max-height: 40vh;
    max-height: 40dvh;
    max-width: 40vw;
    max-width: 40dvw;
    object-fit: contain;
}
.top-character-left {
    left: 0;
}
.top-character-right {
    right: 0;
}

.message {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}
.message-character {
    width: 40vw;
    width: 40dvw;
}
.message-content {
    text-align: left;
    padding: 20px;
    border-radius: 20px;
    background: #eff;
}

.teams {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    list-style: none;
    width: 100%;
    gap: 20px;
    padding: 10px 0;
}
.jobs {
    display: grid;
    grid-template-columns: repeat(6, 210px);
    align-items: center;
    list-style: none;
    width: 100%;
    gap: 20px;
    padding: 10px 0;
}
.jobs-item {
    display: flex block;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 20px;
    background: #0aa;
    color: #eff;
    width: 100%;
    height: 100%;
    flex: 1;
}
.jobs-item-name {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2lh;
}
.jobs-item-icon {
    width: 80%;
    max-width: 250px;
}
.jobs-item-role {
    background: #eff;
    color: #0aa;
    padding: 2px 5px;
    border-radius: 5px;
    width: max-width;
}
.jobs-item-introduce {
    flex: 1;
}
.job-selector-input {
    display: none;
}
.job-selector {
    opacity: 0.4;
    cursor: pointer;
}
.job-selector-input:enabled + .job-selector:hover {
    opacity: 0.7;
}
.job-selector-input:checked + .job-selector {
    opacity: 1;
}
.job-selector .jobs-item-icon {
    width: min(80px, 100%);
    height: 80px;
    border-radius: 40px;
    object-fit: cover;
    object-position: 50% top;
}

.form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0aa;
    color: #eff;
    border-radius: 20px;
    padding: 20px;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
}
#form {
    display: none;
    width: 100%;
    overflow: hidden;
}
#application-result {
    display: none;
    width: 100%;
    overflow: hidden;
}

.form-checkbox {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    gap: 10px;
}
.form-checkbox-input {
    display: none;
}
.form-checkbox-input ~ .form-checkbox-status {
    border: solid 2px #aff;
    border-radius: 10px;
    padding:8px;
    height: 20px;
    width: 20px;
    background: 50% / cover url('img/check.svg');
    background-color: #0aa;
}
.form-checkbox-input:checked ~ .form-checkbox-status {
    background-color: #aff;
}
.form-checkbox-name {
    flex: 1 1;
}

.form-btn {
    background: #eff;
    color: #0aa;
    border: none;
    box-shadow: 2px 2px 0 #aff;
    border-radius: 10px;
    padding: 7px 10px;
    font-size: 14px;
    font-weight: bold;
    margin: 2px;
}
.form-btn:hover {
    box-shadow: 1px 1px 0 #aff;
}
.form-btn:action {
    box-shadow: 0 0 0 #aff;
}
.form-required {
    color: #f00;
    margin-left: 10px;
}
.form-input {
    background: #eff;
    color: #222;
    border: none;
    border-radius: 5px;
    padding: 5px;
    font-size: 14px;
    width: 100%;
    text-align: center;
}
.form-textarea {
    background: #eff;
    color: #222;
    border: none;
    border-radius: 5px;
    padding: 5px;
    font-size: 14px;
    width: 100%;
    min-height: 2lh;
    text-align: left;
}
.form-textarea:empty:after {
    content: attr(placeholder);
    color: #888;
}
#form-jobs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 20px;
    width: max-content;
    padding-right: 20px;
}
#form-works {
    display: grid;
    gap: 5px;
    width: 100%;
}
.form-works-url {
    display: flex;
}

#job-test-result-box {
    display: none;
}

#discord-login {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #5865F2;
    color: #fff;
    padding: 5px;
    border: none;
    border-radius: 5px;
}

#application-jobs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 20px;
    width: max-content;
    padding-right: 20px;
}
#application-works {
    display: grid;
    gap: 5px;
    width: 100%;
}

.resource {
    display: none;
}

.team-creator {
    background: #090;
    color: #eff;
}
.team-operation {
    background: #b04;
    color: #eff;
}