@charset "UTF-8";
/* Обнуление */
* {
    padding: 0;
    margin: 0;
    border: 0;
}

*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

:focus,
:active {
    outline: none;
}

a:focus,
a:active {
    outline: none;
}

nav,
footer,
header,
aside {
    display: block;
}

html,
body {
    height: 100%;
    width: 100%;
    font-size: 100%;
    line-height: 1;
    font-size: 16px;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

input,
button,
textarea {
    font-family: inherit;
}

input::-ms-clear {
    display: none;
}

button {
    cursor: pointer;
    font-size: 1em;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

a,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}
/* ----- */
@font-face {
    font-family: 'acromextrabold';
    src: url('acrom900-webfont.e0c6054e.woff2') format('woff2'),
        url('acrom900-webfont.7a0ede8c.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    background: url('bg.f33190f8.png') 100px 100px / cover no-repeat;
}

.header {
    font-family: 'acromextrabold', sans-serif;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 30px;
}

.logo-holder {
    position: fixed;
    top: 25px;
    right: 25px;
}

.container {
    position: relative;
    left: 50%;
    transform: translate(-50%);
    width: 75%;
    max-width: 1024px;
    min-width: 300px;
    height: 85%;
    max-height: 700px;
    min-height: 350px;
    border-radius: 5px;
    background-color: #fff;
    -webkit-box-shadow: 0px 10px 32px -5px rgb(0 0 0 / 80%);
    -moz-box-shadow: 0px 10px 32px -5px rgba(0, 0, 0, 0.8);
    box-shadow: 0px 10px 32px -5px rgb(0 0 0 / 80%);
}

.container__top {
    position: relative;
    background-color: #ffcc00;
    border-radius: 5px 5px 0 0;
    height: 70px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container__top button {
    margin: 10px 20px;
}

.btn-stop {
    padding: 10px;
    background-color: #ff673a;
    border-radius: 5px;
    color: white;
}

.btn-settings {
    background-color: inherit;
    opacity: 0.7;
}

.btn-settings:hover {
    opacity: 1;
}

.active {
    opacity: 1;
}

.popup {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
    justify-content: end;
    z-index: 999;
}

.show {
    display: flex;
}

.popup__body {
    position: absolute;
    border: 1px solid #000;
    border-radius: 5px;
    background-color: #fff;
    width: 300px;
    right: 0;
    top: 70px;
    padding: 20px;
}

.popup__body li {
    line-height: 1.6em;
}

.popup__body li #speed {
    width: 3.5em;
    color: #000;
}

.popup__body li #amountValue {
    width: 2.5em;
    color: #000;
}

.popup__body li #examValue {
    width: 2.5em;
    color: #000;
}

.popup__body li #speed:invalid,
.popup__body li #amount:invalid,
.popup__body li #exam:invalid {
    color: red;
}

.container__top img {
    width: 50px;
}

.btn-start {
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 30px 90px;
    border-radius: 15px;
    background-color: #25e081;
    color: white;
    font-size: 2em;
    vertical-align: middle;
}

.btn-restart {
    position: relative;
    padding: 15px 45px;
    border-radius: 15px;
    background-color: #25e081;
    color: white;
    font-size: 1em;
    vertical-align: middle;
    opacity: 0;
    transition: 1s;
    margin: 15px;
}

.btn-restart-active {
    opacity: 1;
}

.instr {
    position: absolute;
    font-size: 2em;
    width: 100%;
    color: #5e3075;
    box-sizing: border-box;
    transition: all 1s ease 0s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.container__middle {
    position: relative;
    text-align: center;
    width: 100%;
    height: 90%;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
}

.question,
.answers,
.statistics {
    position: relative;
    top: 50%;
    transform: translate(0, -50%);
    align-items: center;
    justify-content: center;
    line-height: 1.5rem;
}

.container__middle img {
    width: 250px;
    height: 250px;
    margin: 10px;
}

.btn {
    display: inline-block;
    text-align: center;
    padding: 1rem 2rem;
    border-radius: 5px;
    color: #fff;
    text-transform: uppercase;
    margin-top: 20px;
    background-color: gray;
    margin-left: 20px;
}

.btn--yes {
    margin-left: 0;
}

@media screen and (max-width: 1024px) {
    .logo-holder {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        left: 0;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 992px) {
    .container__middle img {
        width: 200px;
        height: 200px;
    }
}

@media screen and (max-width: 768px) {
    .header {
        font-size: 1.5rem;
    }

    .container__middle img {
        width: 150px;
        height: 150px;
    }

    .instr {
        font-size: 1em !important;
    }
}

@media screen and (max-width: 510px) {
    .header {
        font-size: 1rem;
    }

    .container {
        width: 100%;
    }

    .container__middle img {
        width: 140px;
        height: 140px;
    }
}

@media screen and (max-height: 560px) {
    .container {
        margin-top: 0;
        margin-bottom: 0;
    }

    .container__middle img {
        width: 150px;
        height: 150px;
    }

    .instr {
        font-size: 1em !important;
    }
}

@media screen and (max-width: 300px) {
    .btn-start {
        padding: 20px 70px;
    }
}


/*# sourceMappingURL=main.7b4492aa.css.map */