html {
  box-sizing: border-box;
  font-size: 16px;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

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

body {
  background-color: #0b060d;
  color: white;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.content {
  display: flex;
  flex-direction: column;
  height: 100svh;
  align-items: center;
  justify-content: center;
  background-image: url(./light-bg.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  padding: 135px 16px 0;
  animation: fadeIn 0.8s ease backwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.logo {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.title {
  font-style: normal;
  font-weight: 700;
  font-size: 58px;
  line-height: 68pxpx;
  background: linear-gradient(
    180deg,
    #f2f2f2 0%,
    rgba(242, 242, 242, 0.75) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  text-align: center;
  max-width: 500px;
  margin-top: auto;
}

.subtitle {
  font-style: normal;
  font-weight: 400;
  font-size: 22px;
  line-height: 28px;
  text-align: center;
  letter-spacing: 0.002em;
  color: rgba(186, 182, 191, 0.72);
  margin-top: 24px;
  max-width: 400px;
}

.formHolder {
  display: flex;
  gap: 16px;
  max-width: 620px;
  width: 100%;
  margin-top: 40px;
  position: relative;
}

.formSubmitSuccsess {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  transition: 0.2s ease;
  font-size: 20px;
  font-weight: 600;
}

.input {
  font-family: "Raleway", sans-serif;
  padding: 0 185px 0 24px;
  background: rgba(246, 236, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  outline: none;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.02em;
  height: 52px;
  flex-grow: 1;
  transition: 0.2s ease;
  color: white;
}
.input:hover {
  background-color: rgba(246, 236, 255, 0.15);
}
.input:disabled {
  opacity: 0.8;
  pointer-events: none;
}
.input:is(:-webkit-autofill, :autofill) {
  border: 1px solid #434346;
  -webkit-text-fill-color: white;
  transition: background-color 50000s ease-in-out 0s,
    color 50000s ease-in-out 0s;
}
input:-internal-autofill-selected {
  background-color: transparent !important;
}

.button {
  color: #0b060d;
  font-family: "Raleway", sans-serif;
  cursor: pointer;
  display: inline-flex;
  padding: 10px 24px;

  font-weight: 500;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.02em;

  background: white;
  border-radius: 26px;
  outline: none;
  border: none;
  user-select: none;
  transition: 0.2s ease;
  position: absolute;
  right: 2px;
  top: 2px;
}
.button:hover {
  opacity: 0.8;
}
.button:active {
  transform: scale(0.95);
}
.button:disabled {
  color: transparent;
  pointer-events: none;
  opacity: 0.8;
}
.button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background-image: url("./bouncing-circles.svg");
  background-repeat: no-repeat;
  background-position: center;
  transition: 0.2s ease;
  opacity: 0;
}
.button:disabled::after {
  opacity: 1;
}

.invisible {
  opacity: 0 !important;
  pointer-events: none;
}

.image-holder {
  display: flex;
  margin-top: auto;
  flex-shrink: 1;
  overflow: hidden;
  max-width: 900px;
  justify-content: center;
}
.promo-image {
  max-width: 100%;
}

@media screen and (max-width: 767px) {
  .title {
    font-size: 40px;
    line-height: 56px;
  }
  .subtitle {
    font-size: 16px;
    line-height: 24px;
  }
  .formHolder {
    flex-direction: column;
  }

  .button {
    position: relative;
    text-align: center;
    justify-content: center;
    padding: 12px 24px;
    top: 0;
    left: 0;
  }
}

.c-text-clip {
  background: linear-gradient(90deg, #e4b8ff 0%, #ffb48a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.grid--gradient-pattern {
  position: relative;
  background: repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.015) 0,
      rgba(255, 255, 255, 0.015) 1px,
      transparent 1px,
      transparent 25px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.015) 0,
      rgba(255, 255, 255, 0.015) 1px,
      transparent 1px,
      transparent 25px
    );
}

.blured-bg:before {
  content: "";
  position: absolute;
  width: 784px;
  height: 360px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);

  background: rgba(64, 0, 128, 0.15);
  filter: blur(100px);
}

.down-gradient {
  background: repeating-linear-gradient(
    90deg,
    rgba(30, 30, 30, 0.1) 0,
    /* Start of the black line */ rgba(30, 30, 30, 0.1) 6px,
    /* Line width: 6px */ transparent 6px,
    /* Start of the gap */ transparent 45px /* Total width (line + gap): 38px */
  );
  background-size: 300px auto;
  background-repeat: no-repeat;
  background-position: left 71px top;
}
.down-gradient::before {
  content: "";
  position: absolute;
  left: 206px;
  top: 0;
  width: 6px;
  height: 100%;
  background-color: white;
  z-index: -1;
}

@media screen and (max-width: 767px) {
  .down-gradient {
    background: none;
  }
  .down-gradient::before {
    display: none;
  }
}
