body {
    background-color: #121212;
    font-family: "Roboto", sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 2rem);
    margin: 1rem;
}

.class-select-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.select-field {
    position: relative;
}

.select-field > p {
    position: absolute;

    margin: 0;

    top: 50%;
    transform: translateY(-50%);
    left: .3rem;

    pointer-events: none;

    color: #888;
    background-color: #121212;

    padding: .2rem;

    transition-duration: 200ms;
}

.select-field.selected > p {
    top: 0;
    font-size: .75rem;
}

.select-field > .dropdown {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);
    right: .2rem;

    height: 1.5rem;
    filter: invert(1);

    pointer-events: none;
}

.select-field > select {
    background-color: transparent;
    outline: 1px solid #888;
    color: white;
    border: none;
    padding: .5rem;
    height: 3rem;
    width: 6rem;
    border-radius: 4px;
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    appearance: none;
}

.time {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

h1 {
    font-size: 4rem;
    margin: 0;
}

.status {
    flex-grow: 1;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.status-part {
    height: 100%;
    text-align: center;
    width: max-content;
    max-width: calc(100vw - 2rem);
    padding: 2rem;
    border-radius: 1rem;

    display: flex;
    justify-content: center;
    align-items: center;
}

.status-part h2 {
    margin-top: .5rem;
}

.status-part.changed {
    background-color: #421212;
}

.buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.buttons > div {
    padding: .75rem;
    cursor: pointer;

    border: 1px solid #888;

    font-size: 1rem;

    display: flex;
    align-items: center;
}

.buttons > div > img {
    display: none;

    filter: invert(1);
    margin-right: .5rem;
}

.buttons > div:hover {
    background-color: #343434;
}

.buttons > div.selected {
    background-color: #444444;
}

.buttons > div.selected > img {
    display: block;
}

.buttons > div:first-of-type {
    border-top-left-radius: 3rem;
    border-bottom-left-radius: 3rem;
}

.buttons > div:last-of-type {
    border-top-right-radius: 3rem;
    border-bottom-right-radius: 3rem;
}

.top-buttons {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.top-buttons > img {
    filter: invert(1);
    height: 2rem;
    padding: .75rem;
    border-radius: 50%;
    cursor: pointer;
}

.top-buttons > img:hover {
    background-color: #dbdbdb;
}

#timetable {
    display: flex;
    align-items: center;
    flex-direction: column;
}

#timetable-contents {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 10rem;
    max-width: 60rem;

    margin-top: 1rem;
}

#timetable-contents .item {
    display: flex;
    width: calc(100% - 4rem);
    justify-content: space-between;
    
    padding: 1rem 2rem 1rem 2rem;

    border-top: 2px solid #444;
}

#timetable-contents .item.change {
    background-color: #421212;
}

#timetable-contents > :last-child {
    border-bottom: 2px solid #444;
}

#timetable-contents .item .ll-items {
    display: flex;
}

#timetable-contents .item .left-items {
    display: flex;
    flex-direction: column;
    margin-right: .5rem;
}

#timetable-contents .item .left-items > p {
    margin: 0;
}

#timetable-contents .item .left-items > p:first-of-type {
    font-weight: 600;
    margin-bottom: .5rem;
}

#timetable-contents .item .left-items > p:last-of-type {
    color: #888;
}

#timetable-contents .item .right-items {
    display: flex;
    flex-direction: column;
    text-align: right;
}

#timetable-contents .item .right-items > p {
    margin: 0;
}

#timetable-contents .item .right-items > p:first-of-type {
    margin-bottom: .5rem;
}

#timetable-contents .item .group {
    display: none;
}

#timetable .navigation {
    display: flex;
    width: 100%;
    max-width: 60rem;
    justify-content: space-between;
    align-items: center;
}

#timetable .navigation > img {
    filter: invert(1);
    padding: .5rem;
    border-radius: 50%;
    height: 1.5rem;
    cursor: pointer;
}

#timetable .navigation > img:hover {
    background-color: #c4c4c4;
}

#timetable .navigation > img.disabled {
    filter: invert(1) brightness(0.5);
    cursor: default;
    pointer-events: none;
}

#timetable .navigation > img.disabled:hover {
    background-color: transparent;
}

#timetable .navigation > p {
    margin: 0;
}

#timetable-contents .multi-holder {
    display: flex;
    flex-direction: column;
    border-top: 2px solid #444;
    width: 100%;
}

#timetable-contents .multi-holder .item {
    border: none;
    width: calc(100% - 4rem);
}

#timetable-contents .multi-holder .item .group {
    margin-right: 1rem;
    font-weight: 900;
    display: block;
}

#timetable-contents .nohour {
    text-align: center;
    margin-top: 1rem;
    color: #888;
    border: none;
}