@import url('https://fonts.googleapis.com/css2?family=Gluten:wght@200&family=Zen+Kurenaido&display=swap');

* {
    box-sizing: border-box;
}
body {
    margin: 0;
    color: #fff;
    height: 100vh;
    width: 100vw;
    text-align: center;
    overflow: hidden;
    user-select: none;
}

.screen {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    overflow: hidden;
    transition: all .3s linear;
    background: linear-gradient(90deg, #FFA500 0%, #FA8072 100%);
}

.background-1 {
    background: linear-gradient(90deg, #FFA500 0%, #FA8072 100%);
}

.background-2 {
    background: linear-gradient(90deg, #AA076B 0%, #61045F 100%);
}

.background-3 {
    background: linear-gradient(to left, #4b6cb7 0%, #182848 100%);
}

.screen.up {
    margin-top: -100vh;
}

.board {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 95%;
    height: 80%;
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(118.38deg, #FA8072 -20.6%, #FFA500 200.44%);
}

.circle {
    border-radius: 50px;
    position: absolute;
    cursor: pointer;
    transition: all .2s linear;
}

.circle:active {
    transform: scale(2.0);
}

.settings {
    position: absolute;
    top: 15px;
    left: 15px;
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.drop-content {
    display: none;
    position: absolute;
    z-index: 1;

    background-color: #c9c912;
    border: 1px solid black;
    border-radius: 10px;
    min-width: 200px;
    min-height: 100px;
    margin-top: 15px;

    box-shadow: 2px 2px 10px black;

}

.drop-content a {

}

.show {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;

    padding-left: 15px;
}

.rotation {
    animation: rot 100ms linear 1;
}

.background {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.background+label {
    display: inline-block;
    align-items: center;
    user-select: none;
}

.background+label::before {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #ffffff;
    border-radius: 0.25em;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

.background:checked+label::before {
    border-color: black;
    background-color: black;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

.background:not(:disabled):not(:checked)+label:hover::before {
    transition: all .3s linear;
    border-color: black;
}

label {
    color: black;
    font-family: 'Zen Kurenaido', sans-serif;
    font-weight: 900;
}

h1 {
    line-height: 1.4;
    font-size: 4rem;
    font-family: 'Gluten', cursive;
    margin: 0;
    color: black;
}

a {
    color: #fff;
    text-decoration: none;
    font-family: 'Zen Kurenaido', sans-serif;
}

a:hover {
    color: #000;
    transition: 0.5s;
    text-decoration: underline;
}

.start-button {
    font-size: 2rem;
}

.title-width {
    width: 300px;
}

.game-time__button {

    font-size: 30px;
    margin: 0 5px;
    transition: all .1s linear;
}
.time-left__title {
    color: black;
    font-size: 30px;
}

.time-left__count {

    font-size: 26px;
    margin-left: 10px;
}


.container-for-level {
    display: flex;
    justify-content: space-between;
}

.game-level__button {
    font-size: 30px;
    transition: all .1s linear;
    margin: 10px;
    color: white;
}



.colorfullTarget {
    width: 57px;
    height: 27px;
    background: #c9c912;
    position: relative;
    border-radius: 15px;
}

.colorfullTarget label {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: all .5s ease;
    cursor: pointer;
    position: absolute;
    background: white;
    top: -2px;
    left: -3px;
}

.circle-style {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.circle-style input[type=checkbox]:checked + label {
    background: black;
    left: 27px;
}

.turbo-mode {
    margin-left: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.turbo-mode input[type=checkbox]:checked + label {
    background: black;
    left: 27px;
}

.turbo-mode-activator__left {
    animation: turboModeLeft 2s linear infinite;
}

.turbo-mode-activator__top {
    animation: turboModeTop 1s linear infinite;
}


input[type=checkbox] {
    visibility: hidden;
}

.continue-button {
    font-size: 2rem;
    margin-top: 40px;
}

.finish-title {
    color: black;
    font-size: 4rem;
}

.finish-result {
    font-size: 4rem;
    color: black;
    border-bottom: 2px solid black;
}

.restart-button {
    font-size: 2rem;
}

@keyframes rot {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes turboModeLeft {
    from {
        left: 0;
    }
    to {
        left: 100%;
    }
}

@keyframes turboModeTop {
    from {
        top: 0;
    }
    to {
        top: 100%;
    }
}

@media (max-width: 556px) {
    .game-level__button {
        display: grid;
        grid-template-columns: 1fr;
        margin-bottom: 15px;
    }
}

@media (max-width: 440px) {
    .game-time {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
    .game-time__button {
        margin-bottom: 10px;
    }
}

@media (max-width: 250px) {
    .game-time {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}