* {
  box-sizing: border-box;
}

:root {
  --main-btn-color: rgb(182, 42, 16);
  --main-hover-color: rgb(193, 74, 52);
}

html {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

a {
  outline: none;
  border: none;
  text-decoration: none;
  color: inherit;
}
a.button {
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  margin: 0px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 12px 0px;
  padding: 8px 18px;
  min-height: 48px;
  background-color: var(--main-btn-color);
  color: rgb(255, 255, 255);
  border-radius: 4px;
  text-align: center;
  font-size: 24px;
  line-height: 32px;
}

li {
  list-style: none;
}

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

p, ul, ol {
  margin: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-weight: normal;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  max-height: calc(var(--vh, 1vh) * 100);
  color: rgb(255, 255, 255);
}

.picture {
  position: absolute;
  z-index: -1;
  display: flex;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.picture::before {
  position: absolute;
  content: "";
  background-color: rgba(0, 0, 0, 0.9);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.family_main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
  overflow: hidden;
  height: calc(var(--vh, 1vh) * 100);
}
.family_main__inner {
  overflow: auto;
  height: 100%;
}
.family_main__picture {
  display: block;
  margin: 0px auto;
  max-width: 220px;
  width: 100%;
  height: auto;
}
.family_main__picture img {
  width: 100%;
  height: auto;
  margin: 0px auto;
  padding-bottom: 20px;
}
.family_main__text {
  text-align: center;
  font-weight: normal;
  line-height: 35px;
  max-width: 700px;
}
@media (max-width: 767px) {
  .family_main__text {
    font-size: calc(24px + 34.2 * ((100vw - 320px) / 1280));
  }
}
@media (min-width: 768px) {
  .family_main__text {
    font-size: calc(24px + 6 * (100vw / 1280));
  }
}
.family_main__text p {
  padding-bottom: 35px;
}
.family_main__footer {
  position: fixed;
  width: 100%;
  height: 75px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  bottom: 0;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: rgba(255, 255, 255, 0.2) 0px -1px;
}
.family_main__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.family_main__button-link {
  display: flex;
  justify-content: center;
  width: 100%;
}
.family_main__button button {
  width: 100%;
}

.family_main__num-number {
  color: white;
}

.family_main__header-block + .family_main__button {
  margin: 16px 0;
}

@media (min-width: 768px) {
  .family_main__picture {
    max-width: 300px;
  }
  .family_main__footer {
    margin-top: 20px;
  }
  .family_main__text {
    line-height: 44px;
  }
  .family_main__button {
    width: auto;
  }
  a.button {
    font-size: 34px;
    width: fit-content;
    padding: 13px 40px;
  }
}
.line {
  width: 100%;
  height: 4px;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--main-hover-color);
  transition: width 0.3s ease;
}

.time {
  fill: white;
}

.timer {
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  color: white;
}

.family_main__header-title div,
.family_main__header-title h1 {
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  text-align: center;
  color: rgb(255, 255, 255);
  margin-bottom: 16px;
}
.family_main__header-title-subtitle {
  font-size: 20px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.big {
  margin-bottom: 10px;
}

.little {
  font-weight: normal;
}

.family_main__header-img {
  max-width: 320px;
  max-height: 46vh;
  margin: 0 auto 20px;
  box-shadow: 2px 2px 10px white;
  width: 100%;
  height: 100%;
  position: relative;
}
.family_main__header-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  object-position: top;
}

.family_main__button-text-start {
  font-size: 24px;
  line-height: 28px;
  padding: 5px 35px;
}

/*------------------------items checked-------------------------------*/
.family_main__header-item.checked {
  animation: blink 0.2s linear 2;
  box-shadow: rgba(255, 247, 249, 0.8) 0 0 0 2px inset;
}
.family_main__header-item.checked:active {
  animation: blink 0.2s linear 2;
}
.family_main__header-item.checked .family_main__header-check {
  display: block;
}
.family_main__header-item.checked .family_main__header-item-letter {
  white-space: nowrap;
  border-color: rgb(255, 255, 255);
  background-color: rgb(255, 255, 255);
  color: rgb(47, 44, 41);
}

/*------------------------items checked-------------------------------*/
/*------------------------items hover------------------------------*/
.family_main__header-item:hover .family_main__header-item-letter {
  width: 50px;
  margin-left: -26px;
  display: flex;
  flex-direction: row;
}

.family_main__header-item:hover .family_main__header-item-letter-hover {
  display: block;
  margin-right: 5px;
}

/*----------------------items hover------------------------------*/
.footer__btn:disabled {
  opacity: 0.5;
}

/*----------------------animation------------------------------*/
@keyframes blink {
  0% {
    opacity: 1;
  }
  20% {
    opacity: 0.5;
  }
  70% {
    opacity: 0.2;
  }
  80% {
    opacity: 0;
  }
  90% {
    opacity: 0;
  }
}
/*----------------------animation end------------------------------*/
.family_main__text-inner {
  display: flex;
  align-items: center;
}

.family_main {
  height: calc(var(--vh, 1vh) * 100);
  max-width: 1440px;
  margin: auto;
}
.family_main__container {
  height: 100vh;
  padding: 0 40px;
  min-height: calc(var(--vh, 1vh) * 100);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.family_main__num {
  display: flex;
  top: 25px;
  align-items: center;
  position: relative;
  right: 40px;
  width: 30px;
}
.family_main__num-inner {
  fill: white;
}
.family_main__header {
  height: calc(var(--vh, 1vh) * 100);
  min-height: 100%;
  max-width: 750px;
  flex-direction: column;
  padding-left: 40px;
  margin: auto;
  text-align: left;
  justify-content: center;
  align-items: flex-start;
  overflow: auto;
  transition: margin 1s ease;
  position: relative;
  display: inline-flex;
}
.family_main__header-wrapper {
  width: fit-content;
  max-width: 100%;
}
.family_main__header-title {
  font-size: 24px;
  line-height: 32px;
  color: rgb(255, 255, 255);
}
.family_main__header-check {
  display: none;
  flex-shrink: 0;
  opacity: 1;
  fill: white;
  transition: fill 0.2s ease 0s;
  position: absolute;
  right: 14px;
}
.family_main__header-items {
  display: flex;
  flex-direction: column;
}
.family_main__header-item {
  margin-bottom: 8px;
  margin-right: 0;
  width: 100%;
  min-width: 75px;
  min-height: 40px;
  position: relative;
  display: flex;
  border-radius: 4px;
  box-shadow: rgba(255, 255, 255, 0.6) 0px 0px 0px 1px inset;
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
  outline: 0;
  padding: 4px;
  cursor: pointer;
  opacity: 1;
  font-weight: 300;
  min-width: 168px;
}
.family_main__header-item:hover {
  background-color: rgba(255, 255, 255, 0.5);
}
.family_main__header-item-text {
  max-width: 100%;
  font-size: 20px;
  line-height: 28px;
  margin: 0 40px 0 35px;
}
.family_main__header-item-letter {
  position: absolute;
  width: 24px;
  min-width: 22px;
  margin: 5px;
  height: 24px;
  border-radius: 2px;
  font-size: 12px;
  line-height: 16px;
  border-radius: 2px;
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(4, 1, 3, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  font-weight: 700;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.family_main__header-item-letter-hover {
  display: none;
}
.family_main__header-block + .main__button {
  margin: 16px 0;
}
.family_main__button {
  width: fit-content;
  position: relative;
  font-family: inherit;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  outline: none;
  border: 1px solid transparent;
  margin: 16px auto;
  box-shadow: rgba(0, 0, 0, 0.1) 0 3px 12px 0;
  padding: 6px 14px;
  min-height: 40px;
  background-color: var(--main-btn-color);
  color: rgb(255, 255, 255);
  border-radius: 4px;
}
.family_main__button:hover {
  background-color: var(--main-hover-color);
}
.family_main__button-svg {
  margin-left: 8px;
  display: block;
  fill: rgb(255, 255, 255);
  transition: fill 0.2s ease 0s;
}
.family_main__button-text {
  margin: 0;
  max-width: 100%;
  font-weight: unset;
  font-size: 20px;
  line-height: 28px;
}

.footer__inner {
  width: 100%;
  display: flex;
  -webkit-box-pack: start;
  justify-content: flex-start;
  flex-direction: row-reverse;
  font-family: sans-serif;
  padding: 24px;
  pointer-events: none;
  position: absolute;
  bottom: 0;
  left: 0;
}
.footer__wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  width: auto;
  box-shadow: none;
  border-radius: 4px;
  user-select: none;
  line-height: 0;
  background-color: transparent;
  pointer-events: auto;
  white-space: nowrap;
}
.footer__nav {
  display: flex;
  flex-direction: row-reverse;
  border-radius: 4px;
  background-color: var(--main-btn-color);
}
.footer__btn {
  font-weight: 700;
  cursor: pointer;
  outline: none;
  border: 1px solid transparent;
  width: 36px;
  min-width: 36px;
  height: 32px;
  justify-content: center;
  background-color: var(--main-btn-color);
  color: rgb(255, 255, 255);
  border-radius: 4px;
}
.footer__btn:hover {
  background-color: var(--main-hover-color);
}
.footer__btn-span-svg {
  display: block;
  fill: rgb(255, 255, 255);
  transition: fill 0.2s ease 0s;
  margin: auto;
}
.footer__divider {
  background-color: rgba(255, 255, 255, 0.3);
  width: 1px;
  height: 100%;
}
.footer .submit__button {
  width: fit-content;
}

.mob {
  display: none;
}

@media (max-width: 568px) and (orientation: landscape) {
  .family_main__header {
    display: inline-block;
  }
}
@media (max-width: 568px) {
  .mob {
    display: block;
  }
  .desc {
    display: none;
  }
  .container {
    max-width: 540px;
    margin: 0 auto;
  }
  .submit__button {
    width: 100%;
  }
  .family_main__container {
    padding: 0;
  }
  .family_main__header {
    padding: 20px 30px 60px;
    text-align: left;
  }
  .family_main__header-title {
    font-size: 30px;
    line-height: 38px;
    font-weight: 300;
  }
  .family_main__header-item-text {
    font-size: 20px;
    line-height: 28px;
    font-weight: 300;
  }
  .family_main__button-text {
    font-size: 16px;
    line-height: 24px;
  }
  .family_main__num {
    right: 23px;
    top: 32px;
  }
  .family_main__num-number {
    font-weight: unset;
    font-size: 14px;
    line-height: 20px;
  }
  .family_main__num-svg {
    margin-left: 3px;
  }
  .family_main__num-inner {
    display: flex;
    align-items: flex-start;
  }
  a {
    width: 100%;
  }
  .footer__inner {
    flex-direction: revert;
    width: 100%;
    background-color: rgba(47, 44, 41, 0.8);
    z-index: 10;
    padding: 8px;
  }
}
@media (max-width: 575px) {
  .family_main__header-title div {
    font-size: 18px;
    line-height: 28px;
  }
  .family_main__header-title h1 {
    font-size: 18px;
    line-height: 22px;
  }
  .big {
    margin-bottom: 3px;
  }
}
.family_main__header-item a {
  display: flex;
  width: 100%;
}

/*# sourceMappingURL=family-quiz.css.map */
