@font-face {
    font-family: "Open Sans";
    src: url(../../fonts/OpenSans/OpenSans-Regular.ttf) format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Open Sans";
    src: url(../../fonts/OpenSans/OpenSans-SemiBold.ttf) format("truetype");
    font-style: normal;
    font-weight: 600;
}

@font-face {
    font-family: "Open Sans";
    src: url(../../fonts/OpenSans/OpenSans-ExtraBold.ttf) format("truetype");
    font-style: normal;
    font-weight: 800;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background-color: #FAFAFA;
    font-family: "Open Sans", sans-serif;
    color: #212121;
    min-height: 100vh;
    position: relative;
    padding-bottom: 64px;
    box-sizing: border-box;
}

body.no-footer {
padding-bottom: 0;
}

button {
    border: none;
    background: none;
    padding: 0;
}

.button {
    display: block;
    font-size: 16px;
    font-family: inherit;
    line-height: 24px;
    font-weight: 600;
    color: #212121;
    cursor: pointer;
    text-decoration: none;
}

.button:hover {
    filter: brightness(.7);
}

.button:focus {
    outline: none;
}

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

.checkbox + label::before {
    content: '';
    display: inline-block;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    border: 1px solid #9E9E9E;
    border-radius: 2px;
    z-index: 10;
    box-sizing: border-box
}

.checkbox:hover + label::before {
    border-color: #0666EB;
}

.checkbox:active + label::before {
    background-color: #BAD3FB;
}

.checkbox:checked + label::before {
    background-image: url(../images/Checked.svg);
    border: none;
}

label {
    user-select: none;
}

.radio-hide{
    display: none;
}

.radio-hide:checked + label {
    border-color: #9E9E9E;
    background-color: #E0E0E0;
}

.cursor-pointer {
    cursor: pointer;
}

ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

h1 {
    font-size: 32px;
    font-weight: 600;
    margin: 0;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

h3 {
    margin: 0;
}

p {
    font-size: 16px;
    line-height: 24px;
    margin: 0;
}

.text-m {
    font-size: 24px;
    line-height: 32px;
}

.text-sm {
    font-size: 14px;
    line-height: 20px;
}

.semi-bold {
    font-weight: 600;
}

.container {
    width: 792px;
    margin: 0 auto;
}

.image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar {
    height: 160px;
    width: 160px;
    border-radius: 37% !important;
    -webkit-mask-box-image: url("../images/superellipse.svg");
    mask-box-image: url("../images/superellipse.svg");
}

.test-description-image {
    margin-left: 16px;
    height: 60px;
}

.header {
    padding-top: 24px;
    width: 100%;
}

main {
    margin-bottom: 64px;
}

.footer {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 64px;
    padding: 12px 0;
    box-shadow: inset 0 -1px 0 #E0E0E0, inset 0 1px 0 #E0E0E0;
    box-sizing: border-box;
    background-color: #FAFAFA;
}

.footer__clock-image {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.input-text {
    font-size: 16px;
    font-family: inherit;
    height: 56px;
    padding: 16px;
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid #9E9E9E;
    border-radius: 4px;
    color: inherit;
}

.input-text::placeholder {
    color: #9E9E9E;
}

.input-text:focus {
    outline: none;
    border: 1px solid #0666EB;
}
.input-number{
    font-size: 16px;
    font-family: inherit;
    height: 56px;
    padding: 16px;
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid #9E9E9E;
    border-radius: 4px;
    color: inherit;
    -moz-appearance:textfield;
    -webkit-appearance: none;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.relative {
    position: relative;
}

.absolute-top {
    position: absolute;
    top: 0;
}

.fixed-bottom {
    position: fixed;
    bottom: 0;
    z-index: 100;
}

.w-50 {
    width: 50%;
}

.w-100 {
    width: 100%;
}

.vh-100 {
    height: 100vh;
}

.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-direction-column {
    flex-direction: column;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-around {
    justify-content: space-around;
}

.align-items-center {
    align-items: center;
}

.align-items-start {
    align-items: start;
}

.text-center {
    text-align: center;
}

/*margins*/
.m-0 {
    margin: 0;
}

.mb-4 {
    margin-bottom: 4px;
}

.mr-32 {
    margin-right: 32px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-28 {
    margin-bottom: 28px;
}

.mb-32 {
    margin-bottom: 32px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-48 {
    margin-bottom: 48px;
}

.mb-64 {
    margin-bottom: 64px;
}

.mb-80 {
    margin-bottom: 80px;
}

.mb-96 {
    margin-bottom: 96px;
}

.ml-auto {
    margin-left: auto;
}

.ml-8 {
    margin-left: 8px;
}

.ml-11 {
    margin-left: 11px;
}

.ml-16 {
    margin-left: 16px;
}

.ml-32 {
    margin-left: 32px;
}

.ml-48 {
    margin-left: 48px;
}

.mt-auto {
    margin-top: auto;
}

.mt-64 {
    margin-top: 64px;
}

.mt-90 {
    margin-top: 90px;
}

/*buttons*/
.button-colored {
    padding: 12px 28px;
    min-width: 200px;
    color: white;
    background-color: #0666EB;
    border-radius: 8px;
    text-align: center;
}

.button-colored:hover {
    filter: none;
    background-color: #0050E4;
}

.button-gray {
    padding: 11px 23px;
    border: 1px solid #EEE;
    background-color: #EEE;
    border-radius: 4px;
}

.button-gray:hover {
    filter: brightness(.96);
}

.button-text:hover {
    color: #0666EB;
}

.button_sm {
    padding: 8px 20px;
    min-width: 0;
}

form:invalid .button-answer {
    pointer-events: none;
    opacity: .24;
}

/*colors*/
.color-gray {
    color: #C2C2C2;
}

.color-gray-2 {
    color: #9E9E9E;
}

.color-blue {
    color: #0666EB;
}

/*question simple*/
.questions-list .answered {
    color: #212121;
}

/*question test*/
.answers-list {
    margin: 0 -12px;
}

.answers-list > li {
    margin: 0 12px 24px 12px;
    white-space: nowrap;
}

/*questions images*/
.main-question-image {
    width: 100%;
    height: 100%;
}

.main-question-image-container {
    width: 100%;
    height: 232px;
    padding: 16px 0;
    border: 1px solid #E0E0E0;
    box-sizing: border-box;
}

.images-answers-list .button {
    padding: 16px;
    width: 140px;
    height: 119px;
    box-sizing: border-box;
}

.image-answer {
    width: 100%;
    height: 100%;
}

/*qiestion memorization*/
.memorization-list > li {
    margin-bottom: 45px;
}

/*page end*/
.iq-graph {
    position: relative;
}

.graph-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #BAD3FB;
    border: 2px solid #FFFFFF;
    border-radius: 6px;
    bottom: 11px;
    left: 30px;
    z-index: 10;
}

.small-avatar {
    width: 56px;
    height: 56px;
    border-radius: 28px;
}

.graph-avatar {
    position: absolute;
    bottom: 28px;
    left: 0;
    z-index: 10;
}

.your-iq {
    margin-top: 80px;
    font-size: 140px;
    line-height: 169px;
    background: linear-gradient(113.76deg, #BAD3FB 0%, #BCEBFC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.anotherUser > img {
    width: 160px;
    height: 160px;
    border-radius: 80px;
    margin-bottom: 16px;
}

.anotherUser > p {
    font-weight: 600;
}

.scale-back {
    width: 588px;
    height: 4px;
    background: #EBEBEB;
    border-radius: 4px;
}

.scale-math,
.scale-humanities,
.scale-natural {
    height: 100%;
    border-radius: 4px;
}

.scale-math {
    width: 70%;
    background: linear-gradient(180deg, #BAD3FB 0%, rgba(188, 235, 252, 0.16) 100%);
}

.scale-humanities {
    width: 50%;
    background: linear-gradient(180deg, #CEA0D5 -100%, #EEC5D1 100%);
}

.scale-natural {
    width: 20%;
    background: linear-gradient(180deg, #A4E7A7 0%, #CEF09F 200%);
}

.donut-text {
    position: absolute;
    right: 160px;
    top: 165px;
    transform: translateX(50%) translateY(-50%);
}

.friends-list {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    width: 100%;
}

.friends-list::-webkit-scrollbar {
    width: 4px;
}

.friends-list::-webkit-scrollbar-track {
    background: inherit;
}

.friends-list::-webkit-scrollbar-thumb {
    background: #C2C2C2;
    border-radius: 4px;
}

.friends-list > li {
    display: flex;
    align-items: center;
    padding-right: 24px;
}

.friends-list > li:not(:last-child) {
    margin-bottom: 16px;
}

.friends-list > li > div {
    width: 50%;
    display: flex;
    align-items: center;
}

.friends-list  .user-name {
    margin-left: 22px;
    font-weight: 600;
}

.friends-list .user-iq {
    margin-left: auto;
}

#memorization{
    z-index: 1000;
    position: fixed;
    left: 0;
    top: 0;
    background-color: #FAFAFA;
}

#scrollContainer{
    height: 616px;
    overflow-y: scroll;
    width: 100%;
}

.card {
    width: calc(50% - 24px);
    margin-left: 12px;
    margin-right: 12px;
    background-color: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1), 0 0 4px rgba(0, 0, 0, 0.04);
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
}

.card-block {
    width: 224px;
    min-width: 224px;
}

.card {
width: calc(50% - 24px);
margin-left: 12px;
margin-right: 12px;
background-color: white;
padding: 24px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 0 4px rgba(0, 0, 0, 0);
}

.card.selected {
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1), 0 0 4px rgba(0, 0, 0, 0.04);
}

.block-with-cards {
    display: flex;
    margin-left: -12px;
    margin-right: -12px;
}

.green {
    background: linear-gradient(180deg, #A4E7A7 199.98%, #CEF09F 200%);
}

.pink {
    background: linear-gradient(180deg, #EEC5C5 99.98%, #D5A0A0 100%);
}

.bordered-card {
    border: 1px solid #E0E0E0;
    padding: 24px;
    box-sizing: border-box;
}

.modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    background-color: #FAFAFA;
    height: 616px;
    overflow-y: scroll;
}

#modal:not(:checked) + .modal {
    display: none;
}

.modal-scroll-block {
    box-sizing: border-box;
    padding-top: 72px;
    padding-bottom: 80px;
}

.modal-close {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    padding: 16px;
    box-sizing: border-box;
    background-color: white;
    border-radius: 24px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.04), 0 8px 16px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.modal-close:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1), 0 0 4px rgba(0, 0, 0, 0.04);
}

.hide {
    display: none !important;
}

.button-text:hover {
    color: #757575;
}

.button-text-blue {
    color: #0666EB;
}

.button-text-blue:hover {
    color: #024CB2;
}

::-webkit-scrollbar {
width: 28px;
}

::-webkit-scrollbar-track {
background: inherit;
}

::-webkit-scrollbar-thumb {
border: 12px solid rgba(0, 0, 0, 0);
background: #C2C2C2;
border-radius: 16px 16px 16px 16px;
background-clip: padding-box;
}

.button-no-events {
pointer-events: none;
}

.justify-content-end {
justify-content: flex-end;
}

.questions-list li:hover:not(.answered) {
color: #9E9E9E;
}

.test-description-icon {
display: flex;
align-items: center;
margin-left: 16px;
}

.test-description-icon > img {
width: 48px;
height: 60px;
}

.test-description-icon.icon_small > img {
width: 32px;
height: 40px;
}

.medium-round {
    width: 120px;
    height: 120px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #EBEBEB;
}

.medium-round-icon {
    font-size: 48px;
    line-height: 60px;
    font-weight: 600;
}

.button_sm {
    padding: 12px 24px;
    min-width: 0;
}

#complete{
    display: none;
}

#progress-bar-back {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 5px;
z-index: 1000;
}

#progress-bar {
background-color: #0666EB;
height: 100%;
}

#repostButton{
    text-align: center;
}
