* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

button {
    background-color: transparent;
    outline: 0;
    border: 0;
}

:root {
    --light: #d8dbe0;
    --dark: #28292c;
    --link: rgb(27, 129, 112);
    --link-hover: rgb(24, 94, 82);
    --body-background: #000;
    --qte-background: #fff;
    --qte-size: 150px;
    --qte-time-out: 1s;
    --qte-pointer: red;
}

body {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--body-background);
}

.topic {
    display: flex;
    justify-content: end;
    padding-right: 2vw;
    padding: 1vh;
}

.toggle-switch {
    position: relative;
    width: 70px;
    height: 30px;
}

.switch-label {
    position: absolute;
    width: 100%;
    height: 30px;
    background-color: var(--dark);
    border-radius: 25px;
    cursor: pointer;
    border: 3px solid var(--dark);
}

.checkbox {
    position: absolute;
    display: none;
}

.slider {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.checkbox:checked~.slider {
    background-color: var(--light);
}

.slider::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    -webkit-box-shadow: inset 12px -4px 0px 0px var(--light);
    box-shadow: inset 12px -4px 0px 0px var(--light);
    background-color: var(--dark);
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.checkbox:checked~.slider::before {
    -webkit-transform: translate(-100%, -50%);
    -ms-transform: translate(-100%, -50%);
    transform: translate(-100%, -50%);
    left: calc(100% - 5px);
    background-color: var(--dark);
    -webkit-box-shadow: none;
    box-shadow: none;
}

.qte-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.qte-content {
    display: flex;
    width: var(--qte-size);
    height: var(--qte-size);
    border-radius: calc(var(--qte-size) / 2);
    background-color: var(--qte-background);
    position: relative;
}

.qte-before {
    width: calc(var(--qte-size) - 4px);
    height: calc(var(--qte-size) - 4px);
    position: absolute;
    left: 2px;
    top: 2px;
    background-color: var(--body-background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--qte-background);
}

.qte-before span {
    display: block;
    padding: 4px 20px;
    border: 2px solid var(--qte-background);
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
}

.qte-pointer {
    width: 3px;
    height: 100%;
    position: absolute;
    left: 50%;
    bottom: 50%;
    z-index: 9999;
    transform: rotate(0deg);
    transform-origin: bottom center;
}

.pointer_center {
    width: 100%;
    height: 10%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pointer {
    width: 3px;
    height: 30%;
    background-color: var(--qte-pointer);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.qte-verify {
    position: absolute;
    width: 60px;
    height: 10px;
    left: 50%;
    bottom: 0;
    transform: translate(-50%);
    border: 1px solid var(--qte-background);
    z-index: 9;
    background-color: var(--body-background);
    display: flex;
}

.verify-hard {
    width: 10px;
    height: 100%;
    background-color: var(--qte-background);
}

.verify-easy {
    flex: 1;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.button>button {
    border: 2px solid var(--qte-background);
    font-size: 20px;
    padding: 4px 20px;
    cursor: pointer;
    color: var(--qte-background);
}

.text_state {
    color: var(--qte-background);
    font-size: 22px;
    margin-top: 20px;
}

.qte-duration {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--qte-background);
    gap: 10px;
}

.qte-duration input {
    background-color: var(--body-background);
    color: var(--qte-background);
    outline: 0;
    border: 1px solid var(--qte-background);
    padding: 3px 0;
    padding-left: 10px;
    font-size: 14px;

}

.qte-duration input::placeholder {
    color: var(--qte-background);
}

@media screen and (max-width:769px) {
    .qte-duration span {
        font-size: 15px;
    }
}