@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.woff2') format('woff2'),
    url('../fonts/Montserrat-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.woff2') format('woff2'),
    url('../fonts/Montserrat-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #fff;
    --black: #000;
    --green: #00a300;
    --blue: #0d56cc;
    --red: #ff0000;
    --yellow: #ffff00;
    --brown: #823500;
    --purple: #820073;
}

html, body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    background: var(--white);
    width: 100vw;
    overflow-x: hidden;
    counter-reset: workblock;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.bold {
    font-weight: 700;
}

.btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn-wrapper_start {
    margin-top: 30px;
}

.btn {
    font-family: inherit;
    font-size: 16px;
    color: var(--white);
    padding: 10px 30px;
    background: var(--blue);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: all .3s;
}

.btn:hover,
.btn:focus {
    box-shadow: 0 0.5em 0.5em -0.4em var(--blue);
    transform: translateY(-0.25em);
}

.btn[disabled],
.btn[disabled]:hover,
.btn[disabled]:focus {
    opacity: .3;
    box-shadow: none;
    transform: none;
    cursor: default;
}

.nav {
    position: fixed;
    left: 20px;
    top: 20px;
    z-index: 100;
}

.nav-container {
    height: 0;
    overflow: hidden;
    transition: height .4s;
}

.list {
    list-style: none;
}

.list_ordered {
    list-style: decimal;
    padding-left: 30px;
}

.list-item {
    margin-bottom: 20px;
}

.nav-list {
    display: block;
    list-style: none;
    padding: 20px 30px;
    margin: 0;
    white-space: nowrap;
    background: var(--white);
    border: 2px solid var(--blue);
}

.nav-item {
    margin-bottom: 10px;
}

.nav-link {
    color: var(--blue);
    font-size: 16px;
    text-decoration: none;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--blue);
    transition: width .4s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-item:last-child {
    margin-bottom: 0;
}

.checkable-label {
    position: relative;
    line-height: 1;
    cursor: pointer;
    padding-left: 26px;
    font-size: 16px;
    color: var(--black);
    transition: all .3s;
}

.checkable-label_radio:not(:first-of-type) {
    margin-left: 15px;
}

.checkable-label:hover {
    color: var(--blue);
}

.checkable-label::before {
    content: '';
    width: 16px;
    height: 16px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border: 2px solid var(--blue);
}

.checkable-label::after {
    content: '';
    display: none;
    width: 8px;
    height: 8px;
    position: absolute;
    top: 50%;
    left: 6px;
    transform: translateY(-50%);
    background: var(--blue);
}

.checkable-label_radio::before,
.checkable-label_radio::after {
    border-radius: 50%;
}

.checkable-input:checked + .checkable-label::after {
    display: block;
}

.checkable-input[disabled] + .checkable-label {
    opacity: .3;
}

.title {
    font-size: 30px;
    text-align: center;
    margin: 20px 0;
    color: var(--blue);
}

.subtitle {
    font-size: 20px;
    color: var(--blue);
    margin-bottom: 15px;
}

.subtitle_text-centered {
    text-align: center;
}

.subtitle_margin-top {
    margin-top: 30px;
}

.paragraph {
    font-size: 16px;
    line-height: 1.4;
    margin: 10px 0;
}

.paragraph_underline {
    text-decoration: underline;
}

.main {
    display: flex;
    height: 100vh;
}

.main_tapping {
    align-items: center;
}

.main_column {
    flex-direction: column;
}

.left-section {
    margin-right: 50px;
}

.left-section_column {
    height: 80%;
    margin-right: 0;
}

.left-section_center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.right-section_column {
    height: 20%;
}

.test-workspace {
    position: relative;
}

.test-workspace__loading {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .7);
    display: none;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.test-workspace__start-instruction {
    padding: 10px 20px;
    font-size: 20px;
    color: var(--white);
    background: var(--blue);
}

.test-workspace-one {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 650px;
    margin: 0 auto;
}

.test-workspace-one_reversed {
    flex-direction: row-reverse;
}

.test-workspace-one__workblock {
    width: 200px;
    height: 200px;
    border: 2px solid var(--black);
    margin: 5px;
    position: relative;
}

.test-workspace-one__workblock::before {
    content: counter(workblock);
    counter-increment: workblock;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 18px;
    font-weight: 700;
}

.test-workspace-one__workblock_active {
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green);
}

.info-block {
    display: none;
    text-align: center;
    position: relative;
}

.info-block_text-left {
    text-align: left;
}

.info-block_active {
    display: block;
}

.info-block-content {
    position: relative;
    z-index: 2;
}

.info-block-content_transparent {
    opacity: 0;
    visibility: hidden;
}

.info-block-test-space {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    font-weight: 700;
    z-index: 1;
    text-transform: uppercase;
}

.countdown {
    font-size: 20px;
    margin: 40px 0;
}

.countdown-timer {
    font-weight: 700;
    color: var(--blue);
}

.footer {
    margin-top: 30px;
    margin-bottom: 30px;
}

.results__item {
    margin: 30px 0;
    padding: 30px 0;
    border-top: 1px solid var(--black);
}

.results__item_first {
    border-top: none;
}

.results__table {
    width: 70%;
    border-collapse: collapse;
}

.results__table td {
    width: calc(100% / 6);
    border: 1px solid var(--black);
    padding: 10px;
}

.results__parameter {
    font-size: 18px;
    font-weight: 700;
    margin: 25px 0 10px;
}

.hamburger {
    padding: 0;
    margin-bottom: 10px;
}

.hamburger-inner,
.hamburger-inner:after,
.hamburger-inner:before,
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner:after,
.hamburger.is-active .hamburger-inner:before {
    background-color: var(--blue);
}

.color-line {
    display: flex;
    justify-content: center;
}

.color-block {
    display: block;
    width: 150px;
    height: 100px;
    cursor: pointer;
    opacity: .5;
    transition: opacity .3s;
    border: 0;
    outline: none;
}

.color-block:hover {
    opacity: 1;
}

.color-block_small {
    width: 30px;
    height: 30px;
    display: inline-block;
    vertical-align: middle;
}

.color-block_red {
    background: var(--red);
}

.color-block_green {
    background: var(--green);
}

.color-block_blue {
    background: var(--blue);
}

.color-block_yellow {
    background: var(--yellow);
}

.color-block_brown {
    background: var(--brown);
}

.color-block_purple {
    background: var(--purple);
}

.color-description {
    font-weight: 700;
}

.color-description_black {
    color: var(--black);
}

.color-description_red {
    color: var(--red);
}

.color-description_green {
    color: var(--green);
}

.color-description_blue {
    color: var(--blue);
}

.color-description_yellow {
    color: var(--yellow);
}

.color-description_brown {
    color: var(--brown);
}

.color-description_purple {
    color: var(--purple);
}