
.footer {
  background: var(--Onyx);

  position: relative;

  z-index: 10;
}

.footer__container {
  position: relative;
}

.footer_body {
  padding-top: 70px;
  padding-bottom: 48px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
}

.footer_logo_and_more {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer_logo_and_more > div {
  padding-left: 10px;
}

.footer_fallback_logo {
  width: 202px;
}

.footer_social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;

  flex: 1;

  
}

.footer_social > .footer_title,
.footer_social > .footer_socials {
  display: none;
}

.footer_watchword {
  color: var(--White-50);

  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;

  width: 75%;
}

.footer_socials {
  display: flex;
  align-items: center;
  gap: 21px;
}

.footer_socials a svg rect {
  transition: all 0.4s ease;
}

.footer_socials a svg:hover rect {
  fill: var(--Aquamarine);
}

.footer_social_license {
  color: var(--White-50);

  font-size: 21.172px;
  font-style: normal;
  font-weight: 400;
  line-height: 26.466px;

  grid-column: 1 / span 2;
}

.footer_company {
  padding-top: 10px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;

  flex: 1;

  
}

.footer_title {
  color: var(--White-50);

  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 26.466px;
  text-transform: uppercase;
}

.company_link {
  color: var(--White);

  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;

  transition: all 0.4s ease;
}

.company_link:hover {
  color: var(--Aquamarine);
}

.legal_link {
  color: var(--White-80);

  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;

  transition: all 0.4s ease;
}

.legal_link:hover {
  color: var(--Aquamarine);
}

.footer_legal,
.footer_connect {
  padding-top: 10px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;

  flex: 2;

  
}

.connect_section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;

  width: 100%;
}

.connect_form {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 27px;

  width: 100%;
}

.footer_connect_input {
  padding: 16px 0px;

  color: var(--White-50);

  font-size: 21px;
  font-style: normal;
  font-weight: 400;
  line-height: 26.5px;

  background: transparent;

  outline: none;
  border: none;
  border-bottom: 2px solid var(--White);

  flex: 4;
  border-radius: none;
}

.footer_connect_input:-webkit-autofill {
  -webkit-text-fill-color: var(--White-50);
}

.footer_connect_button {
  padding: 12px 48px;

  border-radius: 31.759px;
  border: 1px solid var(--White);

  color: var(--White);

  font-size: 21px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;

  flex: 1;
}

.footer_early_access {
  color: var(--Black);

  font-size: 21px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;

  padding: 13px 26.5px;

  border-radius: 32px;
  background: var(--Aquamarine);
}

.footer_download {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 32px;
  gap: 24px;
}

.footer_download > img {
  cursor: pointer;
}

.footer_buttons {
  padding-top: 49px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
}

.footer_cat {
  position: absolute;
  pointer-events: none;
  z-index: 3;

  top: -333px;
  right: 170px;
  

  
}

@media (max-width: 1000px) {
  .footer_cat {
    right: -45px;
  }
}

@media (max-width: 900px) {
  .footer_body {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  .footer_legal {
    grid-column: 1 / span 1;
  }
  .footer_connect {
    grid-column: 2;
  }

  .footer_connect > .footer_title,
  .footer_connect > .footer_socials {
    display: none;
  }

  .footer_social > .footer_title,
  .footer_social > .footer_socials {
    display: block;
    margin-left: 10px;
  }

  .footer_legal {
    padding-left: 10px;
  }
}

@media (max-width: 650px) {
  .footer_body {
    grid-template-rows: auto;
    gap: 24px;
    grid-template-columns: 50% 50%;
  }

  .footer_social_license {
    grid-column: 1 / span 2;
  }

  .footer_download {
    width: calc(100% - 24px);
    padding: 0px;
  }

  #app_store_download,
  #play_market_download {
    width: 100%;
  }

  .footer_cat {
    transform: scale(0.75);

    top: -302px;
    right: -75px;
  }

  .footer_buttons,
  .connect_form {
    flex-direction: column;
    align-items: stretch;
  }

  .footer_buttons {
    gap: 25px;
    padding-top: 25px;
  }
}

@media (max-width: 450px) {
  .footer_social_license {
    font-size: 14px;
    line-height: 16px;
  }
}
