html, body {
    height: 100vh;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #333333;
    color: #ffffff;
}

.main {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.player {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    transition: 0.2s ease;
    font-size: 20em;
    user-select: none;
}

.player:first-child {
    transform: rotate(180deg);
}

.player:active {
    background-color: rgba(255, 255, 255, 0.2);
}

.icon_reset {
    position: absolute;
    top: 32px; 
    right: 32px;
}

.icon {
    opacity: 0.5;
    width: 128px;
    height: 128px;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.icon:hover {
    opacity: 0.7;
}

.icon:active {
    opacity: 1;
}

.icon_sidebar {
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
}

.icon_sidebar-close {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0; 
    right: 0;
    width: 256px;
    height: 256px;
}

.sidebar-close__image {
    width: 128px;
    height: 128px;
}

.sidebar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    z-index: 1;
    transform: translateX(-100%);
    opacity: 0;

    transition: all 0.4s ease;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
}

.sidebar_opened {
    transform: translateX(0);
    opacity: 1;
}

.sidebar_opened .sidebar__overlay {
    opacity: 1;
}

.hide {
    display: none;
}

.radio__native, .button {
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: inherit;
    background: none;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
    caret-color: currentColor;
    outline: none;
    appearance: none;
    word-break: keep-all;
}

.radio__native {
    transform: scale(0);
}

.radio__label {
    border: 2px solid transparent;
    box-sizing: border-box;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 128px;
    transition: all 0.2s ease;
}

.radio__native:checked + .radio__label {
    background-color: rgba(255, 255, 255, 0.1);
    border-color:#c9c936;
    box-shadow: 0 0 10px #c9c936;
}

.form {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.form__control {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.form__control + .form__control {
    margin-top: 64px;
}

.add-time {
    display: none;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.buttons {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.buttons:first-child {
    transform: rotate(180deg);
}

.buttons + .buttons {
    margin-top: 32px;
}

.button {
    height: 100%;
    font-size: 10em;
    transition: background-color 0.2s ease;
}

.button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.button:active {
    background-color: rgba(255, 255, 255, 0.2);
}

.game_active .time-managment {
    display: none;
}

.game_active .add-time {
    display: flex;
}