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

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

/* Links */

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

a:hover {
  text-decoration: none;
}

/* Common */

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

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

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

img {
  vertical-align: top;
}

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

address {
  font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

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

button,
input[type="submit"] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

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

label {
  cursor: pointer;
}

legend {
  display: block;
}

.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;
}

.form-input::placeholder {
  color: #707275;
  opacity: 1;
}

.form-btn {
  padding: 18.57px 17.24px;
  background-color: #3ee343;
  border-radius: 574.55px;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  color: #ffffff;
  text-transform: uppercase;

  box-shadow: 0 0 0 0 rgba(255, 255, 255, 1);
  transform: scale(1);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@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-title span {
  color: blue;
  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;
}

.users-btn {
  margin-top: 20px;
  padding: 12.89px 21.92px;
  border: 1px solid #232323;
  border-radius: 81px;
  font-size: 18px;
  font-weight: 400;
  line-height: 21.6px;
  color: #232323;
}

@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-family: "Montserrat", sans-serif;
  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__active .acardion-item__title {
  border-radius: 7.74px 7.74px 0px 0px;
}

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

.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: space-between;
}

.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;
}

.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 {
    display: grid;
    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;
}

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

.js-form-reg-op {
  /* display: flex; */
  animation: op;
  /* animation-delay: 1s; */
  animation-duration: 1s;
}

.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;
}

.js-form-age-hd {
  animation: hd;
  animation-duration: 0.4s;
}

@keyframes op {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  80% {
    transform: scale(0.8);
    opacity: 0.8;
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hd {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}
