.footer-app,
.footer-stret {
  max-width: 250px;
}

/* Reset and base styles  */
* {
  padding: 0px;
  margin: 0px;
  border: none;
  font-family: sans-serif;
  font-weight: 400;
  font-style: normal;
  scroll-behavior: smooth;
}

.users-item img {
  width: 80px;
  border-radius: 50%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: sans-serif;
  font-weight: 400;
  font-style: normal;
}

.fs-20 {
  font-size: 20px;
}

/* Links */

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

a:hover {
  text-decoration: none;
}

/* Common */

footer,
header,
section {
  display: block;
}

h1,
h2,
h3,
p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img {
  max-width: 100%;
  height: auto;
}

/* Form */

.container {
  margin: 0 auto;
  max-width: 733px;
  width: 100%;
}

/* header */
.header {
  padding: 12px 72px;
  display: flex;
  gap: 24px;
  align-items: center;
}

.header-burger {
  width: 24px;
  height: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.header-burger i {
  width: 100%;
  height: 3px;
  background-color: #2785ff;
  border-radius: 5px;
}

@media screen and (max-width: 768px) {
  .header {
    padding: 12px;
  }
}

/* form */

.form {
  padding: 30px 16px;
  width: 100%;
  background-color: #2785ff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fom-title {
  margin-bottom: 20px;
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
  color: #fff;
}

.form-wrapper {
  margin: 0 auto;
  max-width: 398px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-input {
  padding: 13px 41.37px;
  width: 100%;
  background-color: #fff;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 400;
  line-height: 21.6px;
  color: #000;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .fom-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
  }
}

/* users */

.users {
  padding: 20px 10px;
  background-color: #f9f9f9;
}

.users .container {
  max-width: 796px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.users-title {
  font-size: 25px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
}

.users-subtitle {
  margin-bottom: 20px;
  padding: 0 20px;
  font-size: 19px;
  font-weight: 500;
  line-height: 26px;
  text-align: center;
}

.users-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 12px;
  grid-row-gap: 12px;
}

.users-title {
  margin-bottom: 20px;
}

.users-item {
  padding: 16px;
  gap: 14px;
  display: flex;
  align-items: flex-start;
  background-color: #ececec;
  border-radius: 9px;
}

.users-item__text {
  display: flex;
  gap: 2px;
  flex-direction: column;
  align-items: flex-start;
  color: #232323;
}

.users-item__text-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 21.6px;
}

.users-item__text-subtitle {
  font-size: 14px;
  font-weight: 400;
  line-height: 16.8px;
}

.users-item__text-content {
  font-size: 16px;
  font-weight: 400;
  line-height: 19.2px;
  text-align: left;
}

.users-item__text-content span {
  font-size: 16px;
  font-weight: 600;
  line-height: 19.2px;
  color: #f85858;
}

@media screen and (max-width: 768px) {
  .users-list {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(6, 1fr);
  }
}

/* acardion */
.acardion {
  padding: 20px 16px;
  background-color: #f9f9f9;
}

.acardion-title {
  margin-bottom: 20px;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 25px;
  font-weight: 600;
  line-height: 30.48px;
  text-align: center;
}

.acardion-item {
  margin-bottom: 20px;
  border-radius: 7.74px;
  cursor: pointer;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(145, 145, 145, 0);
  -moz-box-shadow: 0px 0px 10px 0px rgba(145, 145, 145, 0);
  box-shadow: 0px 0px 10px 0px rgba(145, 145, 145, 0);
  transform: scale(1);
  transition: all 0.3s ease-in-out;
}

.acardion-item:hover {
  -webkit-box-shadow: 0px 0px 10px 0px rgba(145, 145, 145, 1);
  -moz-box-shadow: 0px 0px 10px 0px rgba(145, 145, 145, 1);
  box-shadow: 0px 0px 10px 0px rgba(145, 145, 145, 1);
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}

.acardion-item:last-child {
  margin-bottom: 0;
}

.acardion-item__title {
  padding: 12.89px 22px;
  display: flex;
  gap: 13px;
  background-color: #ececec;
  align-items: center;
  border-radius: 7.74px;

  font-size: 18px;
  font-weight: 400;
  line-height: 21.6px;
}

.acardion-item__content {
  padding: 15px 22px;
  background-color: #2785ff;
  display: none;
  font-size: 12px;
  font-weight: 400;
  line-height: 14.4px;
  text-align: left;
  color: #fff;
}

.acardion-item__title-arrow {
  padding: 5px 7px 5px 9px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #328bff;
  border-radius: 3px;
}

@media screen and (max-width: 768px) {
  .acardion-item:hover {
    transform: scale(1);
  }
}

/* footer */

.footer {
  padding: 20px 72px;
  background-color: #232323;
  color: #fff;
}

.footer .container {
  max-width: 1024px;
}

.footer__first-line {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.footer-team,
.footer-stret {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-team__item,
.footer-stret__item {
  display: flex;
  gap: 5px;
  align-items: center;
}

.footer-team__item,
.footer-stret__item,
.footer-app {
  flex: 1;
}

.footer-team__item,
.footer-stret__item,
.footer-app h3 {
  font-size: 16px;
  font-weight: 400;
  line-height: 19.2px;
}

.footer-app h3 {
  margin-bottom: 10px;
}

.footer-app__list {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-team__item p {
  font-family: inherit;
  font-size: 14px;
  font-weight: 100;
  line-height: 16.8px;
}

.footer__main-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  text-align: center;
}

.footer__main-line h3 {
  font-size: 16px;
  font-weight: 400;
  line-height: 19.2px;
}

.footer-social {
  margin-top: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 27px;
}

.footer-social__item img {
  width: 25px;
  height: 25px;
}

.footer-socail__sub {
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 400;
  line-height: 16.8px;
  text-align: center;
}

.footer-company {
  font-size: 14px;
  font-weight: 400;
  line-height: 16.8px;
  text-align: center;
}

.footer-company span {
  color: #328bff;
}

.footer-app__list-item img {
  min-height: 42px;
}

@media screen and (max-width: 1140px) {
  .footer__first-line {
    flex-direction: column;
  }

  .footer-team,
  .footer-stret,
  .footer-app {
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px solid #828282;
    justify-content: center;
  }

  .footer-team__item,
  .footer-stret__item {
    justify-content: center;
    text-align: center;
  }

  .footer-team__item:first-child {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
    text-align: center;
  }

  .footer-app {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-app h3 {
    text-align: center;
  }

  .footer-app__list {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 12px;
    grid-row-gap: 12px;
  }

  .footer-app__list-item:last-child {
    grid-column-start: 1;
    grid-column-end: 4;
    display: flex;
    justify-content: center;
  }
}

.query-age {
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
}

.query-age::before {
  position: absolute;
  content: '';
  background: #3ee343;
  width: 1500px;
  height: 1500px;
  z-index: -1;
  border-radius: 50%;
}

.query-age:hover,
.query-age:focus {
  /* border: 1px solid #3ee343; */
  transition: color 0.7s all;
  transition-delay: 0.25s;
  color: #fff;
}

.query-age:before {
  top: 100%;
  left: 100%;
  transition: 0.7s all;
}

.query-age:hover::before,
.query-age:focus::before {
  top: -90px;
  left: -400px;
}

.box-reg {
  min-height: 200px;
  overflow: hidden;
}

.js-form-age {
  padding: 20px;
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 4px solid #fff;
  border-radius: 6px;
}

.jq-form-age-wrapper {
  margin: 0;
}

.acardion-item__active .acardion-item__title {
  border-radius: 7.74px 7.74px 0px 0px;
}

.acardion-item__active .acardion-item__content {
  display: block;
}

@font-face {
  font-family: 'RobotoCondensed';
  font-weight: 400;
  src: url('/fonts/RobotoCondensed-Regular.ttf');
}

@font-face {
  font-family: 'RobotoCondensed';
  font-weight: 300;
  src: url('/fonts/RobotoCondensed-Light.ttf');
}

.footer-app__list-item img {
  max-width: none;
}

.js-form-reg {
  display: none;
}

.logo_text {
  font-family: 'RobotoCondensed';
  font-weight: 400;
  font-size: 1.8rem;
  letter-spacing: -0.5px;
  color: #2785ff;
  text-shadow: 0px 0px 1px #818b99;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px;
  background-color: #0000005b;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.modal-inner {
  max-width: 450px;
  width: 100%;
  border-radius: 16px;
  padding: 20px;
  background-color: #fff;
  position: relative;
  box-shadow:
    0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
#close {
  position: absolute;
  top: 0;
  right: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

@media (width <= 568px) {
  .modal {
    padding: 16px;
  }
  .modal-inner {
    padding: 0;
  }
}
