@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  /* --green: #48AC98; */
  --green: #3462b8;
  --hover: #8d2828;
}
* {
  user-select:none;
  -webkit-user-select: none; /* Safari */

}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.greens {
  color: var(--green);
}

a {
  text-decoration: none;
}

/* main page */
#main-page header {
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 40px 0px; */
}

h1 {
  font-family: "Inter";
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0%;
  text-align: center;
  margin-bottom: 12px;
}

#main-page .subtitle {
  font-family: "Inter";
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0%;
  text-align: center;
  margin-bottom: 24px;
}

#main-page .subtitle .green {
  font-weight: 700;
}

#main-page video {
  max-width: 100%;
  margin: 4px auto;
}

/* bot */
#bot .bot-wrapper {
  min-height: 100vh;
}

#bot .bot-wrapper section {
  background: #F7F8FA;
  border-radius: 16px;
  margin: 0px 16px 16px 16px;
  position: relative;
  min-height: 80vh;
  padding: 40px 16px 12px;
}

#bot .bot-wrapper section h2 {
  font-family: "Inter";
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0%;
  text-align: center;
  margin-top: 15vh;
}

#bot header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0px;
}

#bot section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#bot .variants,
#bot .variants-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
}

#bot .variants-group {
  padding: 0px 12px;
}

#bot .varian-item {
  width: 100%;
  height: 64px;
  border-radius: 32px;
  border: 1px solid #0B550736;
  background: #fff;
  padding: 22px 19px 22px 28px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color: #0000006E;
  cursor: pointer;
}

#bot .varian-item p {
  max-width: 360px;
  font-family: "Inter";
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0%;
  vertical-align: middle;
}

#bot .varian-item:hover {
  border: 1px solid var(--hover);
  color: var(--green);
}

#bot .reg-item {
  background: linear-gradient(90deg, #a12424 0%, #b83434 100%);
  border: 1px solid #34B84336;
  box-shadow: 12px 6px 26.7px 0px #34B8433D;
  color: #fff;
  background-size: 200% auto;
  transition: all 0.5s ease;
}

#bot .reg-item:hover {
  background: var(--hover);
  color: #fff;
  background-position: right center;
  background-size: 200% auto;
}

#how-work [data-id="var1"],
#how-salary [data-id="var2"],
#how-time [data-id="var3"],
#registration [data-id="reg"] {
  border: none !important;
  background: #fff !important;
  height: 0 !important;
  padding: 0 !important;
}

.answer {
  padding: 40px 16px 34px 16px;
}

.answer-header {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.answer-header .top {
  background: var(--green);
  border-radius: 19px;
  padding: 11px 20px;
  color: #fff;
  font-family: "Inter";
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0%;
  margin-bottom: 16px;
}

.answer-text .text {
  font-family: "Inter";
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0%;

}

#how-work .answer-text .text {
  margin-left: 16px;
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.btn-div {
  max-width: 240px;
  height: 48px;
  margin: 0 auto;
}

/* lead-form */

lead-form .leadform {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

lead-form .leadform input {
  height: 44px;
  border-radius: 10px;
}

lead-form .leadform button {
  height: 50px;
  background: linear-gradient(90deg, #24A132 0%, #34B843 100%);
  border-radius: 8px;
  font-family: "Inter";
}

/* button */
.button {
  display: flex;
  column-gap: 10px;
  width: 100%;
  height: 48px;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  border-radius: 36px;
  font-family: "Inter";
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  text-align: center;
  position: relative;
  cursor: pointer;
  border: none;
}

.button span {
  display: flex;
}

.green-btn {
  background: var(--green);
  overflow: hidden;
  position: relative;
  animation: glowing 2s infinite linear;
}

.check::after {
  color: #fff;
  background-color: var(--green);
  position: absolute;
  z-index: 2;
  height: calc(100% - 6px);
  width: calc(100% - 6px);
  top: 3px;
  left: 3px;
  align-items: center;
  display: flex;
  justify-content: center;
  column-gap: 10px;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  text-align: center;
  border-radius: 36px;
  font-size: 16px;
  line-height: 24px;
  background-position-y: 8px;
  content: "Obțineți acces";
}

.check::before {
  content: "";
  position: absolute;
  border-color: var(--green);
  z-index: 1;
  left: -50%;
  top: -50%;
  width: 200%;
  height: 200%;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 50% 50%, 50% 50%;
  background-position: 0 0, 100% 0, 100% 100%, 0 100%;
  background-image: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 1) 50%,
      rgba(255, 255, 255, 0) 100%);
  -webkit-animation: rotate 2s linear infinite;
  animation: rotate 2s linear infinite;
}

@-webkit-keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

.desc {
  display: none;
}

@media(max-height: 560px) {
  #bot .bot-wrapper section h2 {
    top: 10vh;
  }
}

@media(min-width: 1300px) {
  .desc {
    display: unset;
  }

  /* main page */
  #main-page {
    /* background: url(../img/Ellipsemain.png) top left 3vw no-repeat; */
    background: linear-gradient(270deg, #FFFFFF 52.5%, #f7dddd 98.81%);
    padding-bottom: 140px;
  }

  #main-page header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 46px 0px; */
  }

  #main-page header .small-btn {
    width: 72px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Inter";
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0%;
    text-align: center;
    color: #fff;
    background: var(--green);
    border-radius: 36px;
    border: none;
    margin-right: 70px;
    cursor: pointer;
  }

  #main-page section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }


  #main-page section .main-text {
    width: 40%;
  }

  #main-page section .main-video {
    width: 60%;
  }

  h1 {
    font-weight: 700;
    font-size: 64px;
    line-height: 72px;
    letter-spacing: 0%;
    margin-bottom: 28px;
    text-align: left;
  }

  #main-page .subtitle {
    font-size: 30px;
    line-height: 36px;
    text-align: left;
    margin-bottom: 80px;
  }

  #main-page video {
    max-width: 100%;
    margin: unset;
  }

  .btn-div {
    max-width: unset;
    width: 382px;
    height: 56px;
    margin: 0;
  }

  /* button */
  .button {
    height: 56px;
    width: 382px;
    border-radius: 36px;
    font-size: 20px;
    line-height: 32px;
  }

  .check::after {
    border-radius: 36px;
    font-size: 20px;
    line-height: 32px;
    background-position-y: 20px;
    content: "Obțineți acces";
    background-image: url("../images/arrow.png");
    background-position-x: 253px;
    background-size: 32px auto;
    justify-content: start;
    padding-left: 77px;
  }

  .check::before {
    content: "";
    position: absolute;
    border-color: var(--green);
    z-index: 1;
    left: -50%;
    top: -50%;
    width: 200%;
    height: 200%;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: 50% 50%, 50% 50%;
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
    background-image: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 0) 100%);
    -webkit-animation: rotate 2s linear infinite;
    animation: rotate 2s linear infinite;
  }

  /* bot */
  #bot {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    padding: 5vh 0 0 0;
  }

  #bot .bot-wrapper {
    background: #F7F8FA;
    max-width: 1200px;
    width: 100%;
    border-radius: 16px;
    padding: 0px 108px;
    min-height: unset;
  }

  #bot .bot-wrapper section {
    background: transparent;
    border: unset;
    margin: 0;
    position: relative;
    min-height: 70vh;
    padding: 0;
  }

  #bot .bot-wrapper section h2 {
    font-size: 35px;
    line-height: 48px;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    margin-top: unset;
  }

  #bot .footer {
    position: absolute;
    top: 160px;
    bottom: unset;
  }

  #bot .footer-move {
    top: unset;
    bottom: 26px;
  }

  #bot .variants {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  #bot .variants-group {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  #bot .variants-group {
    padding: unset;
  }

  #bot .varian-item {
    width: 488px;
    border-radius: 32px;
    border: 1px solid #0B550736;
    padding: 22px 19px 22px 28px;
    height: 64px;
  }

  #bot .varian-item p {
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0%;
    vertical-align: middle;

  }

  /* header .logo {
    width: 140px;
    height: 44px;
  } */

  #bot header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 26px 0px;
  }

  #bot header div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
  }

  #bot header div p {
    font-family: "Inter";
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;

  }

  #bot .message-wrapper {
    width: 100%;
    margin-top: 32px;
    display: flex;
    gap: 16px;
  }

  #bot .message-input {
    width: 100%;
    height: 50px;
    border: 0.5px solid #CFCFCF;
    border-radius: 25px;
    background: #FFFFFF;
    box-shadow: 0px 7px 15px 0px #0000000D;
    padding: 9px 21px 9px 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }

  #bot .message-input .smile {
    width: 32px;
    height: 32px;
  }

  #bot .message-input input {
    font-family: "Inter";
    background: transparent;
    outline: none;
    border: none;
    color: #78787C;
  }

  #bot .message-input input::placeholder {
    color: #AEAEAE;
  }

  /* #bot .message-input .buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
  } */

  #bot .message-wrapper button {
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #bot .message-input .attach-btn {
    width: 32px;
    height: 32px;
    margin-left: auto;
    background: transparent;
  }

  #bot .audio-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #c55454;
    /* border: 0.5px solid #CFCFCF; */
    border: none;
    box-shadow: 0px 7px 15px 0px #0000000D;
  }

  #how-work [data-id="var1"],
  #how-salary [data-id="var2"],
  #how-time [data-id="var3"],
  #registration [data-id="reg"] {
    height: 64px !important;
    padding: 22px 19px 22px 28px !important;
    background: transparent !important;
  }

  .answer {
    padding: 0px 0px 80px 0px;
    min-height: 720px;
  }

  .answer-header {
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
  }

  .answer-header .top {
    padding: 11px 24px;
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 0px;
  }

  .answer-header .bootm {
    font-family: "Inter";
    font-weight: 600;
    font-size: 14px;
    line-height: 30px;
    color: var(--green);
    background: #F4F4FE;
    box-shadow: 0px 0px 4px 0px #00000040;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
  }

  .answer-body {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 11px;
    width: 100%;
  }

  .answer-body .img {
    width: 36px;
    height: 36px;
    border: 1px solid #E9E9E9;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 9px;
  }

  .answer-text {
    width: 100%;
  }

  .answer-text .text {
    font-size: 18px;
    line-height: 26px;
  }

  .answer-text .images {
    display: none;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-top: 16px;
  }

  .answer-text .images img {
    width: 18px;
    cursor: pointer;
  }

  #how-work .answer-text .text {
    margin-left: 16px;
  }

  .answer-text .text ol {
    list-style: none;
    counter-reset: li;
    padding-left: 0;
  }

  .answer-text .text li {
    position: relative;
    padding-left: 28px;
  }

  .answer-text .text li::before {
    counter-increment: li;
    content: counter(li) ". ";
    position: absolute;
    left: 0;
    top: 0;
    color: #000;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease-in;
  }

  .answer-text .text li.has-text::before {
    opacity: 1;
  }


  .mob {
    display: none;
  }
}