body {
    background-color: #313131;
    padding: 20px;
    color: #c44545;
    font-family: Maiandra, sans-serif;
}

.settings-button {
    position: fixed;
    left: 20px;
    top: 20px;
    font-size: 40px;
    cursor: pointer;
    transition: left 0.3s ease-in-out;
}

.settings-button.expanded {
    left: 320px;
}

.settings {
    position: fixed;
    height: 100vh;
    width: 300px;
    background: #515151;
    left: -300px;
    top: 0;
    font-size: 40px;
    transition: left 0.3s ease-in-out;
}

.settings.expanded {
    left: 0;
}

.theme-button {
    position: fixed;
    right: 20px;
    top: 20px;
    font-size: 40px;
    cursor: not-allowed;
}

.theme-button .light {
    color: #313131;
}

.theme-button .dark {
    color: #fff;
}

.center {
    margin-top: 100px;
    text-align: center;
}

.cube-kind {
    font-size: 50px;
}

.timer {
    font-family: Mono, monospace;
    font-size: 200px;
}

.DNF {
    display: block;
    text-align: right;
    width: 930px;
    margin: -30px auto 0 auto;
    text-decoration: underline;
    color: rgba(196, 69, 69, 0.5);
    cursor: pointer;
}

.DNF:hover {
    color: #c44545;
}

.space {
    display: inline-block;
    width: 400px;
    height: 50px;
    line-height: 45px;
    font-size: 30px;
    border: 3px solid #c44545;
    border-radius: 8px;
    margin: 20px 0;
    opacity: 0.25;
}

.scramble {
    font-size: 30px;
    opacity: 0.35;
    margin-top: 50px;
    cursor: pointer;
}

.times {
    position: fixed;
    bottom: -300px;
    width: 600px;
    margin-left: calc(50vw - 300px);
    background-color: rgba(61, 61, 61, 0.8);
    height: 500px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    color: #acacac;
    font-size: 30px;
    transition: bottom 0.5s ease-in-out;
}

.times.expanded {
    bottom: 0;
}

.times .expand-button {
    padding-top: 10px;
    cursor: pointer;
}

.times .expand-button:hover {
    animation: Hover 0.7s ease-in-out infinite;
}

@keyframes Hover {
    0% {transform: translate(0, 0);}
    50% {transform: translate(0, -5px);}
    100% {transform: translate(0, 0px);}
}

.times .stats {
    margin-top: 10px;
}

.times .stats div {
    display: inline-block;
    height: 100%;
    width: 295px;
}

.times .stats span {
    font-size: 20px;
}

.times .history {
    height: 280px;
    width: 300px;
    display: inline-block;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 10px;
}

.times .history ol li:nth-child(-n+5) {
    color: #cccccc;
}

/* Scrollbar */
.history::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
.history::-webkit-scrollbar-button {
    width: 0;
    height: 0;
}
.history::-webkit-scrollbar-thumb {
    background: #7c7c7c;
    border: 0 none #ffffff;
    border-radius: 50px;
}
.history::-webkit-scrollbar-thumb:hover {
    background: #9c9c9c;
}
.history::-webkit-scrollbar-thumb:active {
    background: #acacac;
}
.history::-webkit-scrollbar-track {
    background: rgba(61, 61, 61, 0.8);
    border: 0 none #ffffff;
    border-radius: 50px;
}
.history::-webkit-scrollbar-track:hover {
    background: rgba(71, 71, 71, 0.8);
}
.history::-webkit-scrollbar-track:active {
    background: rgba(91, 91, 91, 0.8);
}
.history::-webkit-scrollbar-corner {
    background: transparent;
}

.hidden {
    display: none !important;
}

@font-face {
    font-family: Maiandra;
    src: url(font.ttf);
}

@font-face {
    font-family: Mono;
    src: url(mono.ttf);
}