:root {
  --white: #ffffff;
  --gray: #6d6d6d;
  --yellow: #ffbc03;
  --purple: #4100ae;
  --green: #00a131;
  --gray-alpha: rgba(251, 251, 251, 0.5);
  --black-alpha: rgba(0, 0, 0, 0.8);
  --purple-alpha: rgba(65, 0, 174, 0.8);

  --def-primary: #4e2473;
  --def-secondary: #784380;
  --def-black: #24123b;
  --def-white: #f5f5fc;
  --def-grey: #8b7c8d;
  --def-light-grey: #d8d4e3;

  --black: #24123b;
  --white: #ffffff;
  --defPinkBright: #dc267e;
  --defBlueDark: #2f1f6a;
  --defVioletDark: #210547;
  --defVioletLight: #e1c9ea;

  --white-alpha: rgba(251, 251, 251, 0.8);
  --glass-alpha: rgba(251, 251, 251, 0.1);
  --defVioletLight-alpha: rgba(225, 201, 234, 0.5);
  --defPinkBright-alpha: rgba(220, 38, 126, 0.1);

  --def-radio-button-bg: linear-gradient(
    92.3deg,
    #01be90 8.15%,
    #30c8a3 75.62%,
    #86fade 157.05%
  );

  --def-font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif;
}

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

html {
  height: 100%;
  font-size: 62.5%; /*!*/
  scroll-behavior: smooth;
  -ms-scroll-chaining: none;
  overscroll-behavior: none;
}

body {
  font-family: var(--def-font-family);
  letter-spacing: 0.03rem;
  height: 100%;
  background: conic-gradient(
    from 180deg at 99% 100%,
    var(--defPinkBright) 50deg,
    var(--defBlueDark) 120deg,
    var(--defVioletDark) 360deg
  );
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 1;
}

main {
  width: 100%;
  margin: 0 auto;
}

header {
  transition: all 0.5s;
}

h1 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  text-transform: capitalize;
  font-weight: 700;
  color: var(--white);
}

h2 {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  color: var(--white);
}

p,
ul {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  font-size: 2.2rem;
  line-height: 3.2rem;
  margin-bottom: 0.5em;
  color: var(--white-alpha);
}

button {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  color: var(--white);
  letter-spacing: 0.02rem;
}

strong {
  font-weight: 400;
}

.header {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  z-index: 100;
  position: fixed;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  top: 0;
  transition: top 0.5s ease-in-out;
}


.header-wrapper {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  height: 100px;
  width: 100%;
  padding: 0 44px;
  margin: 0 auto;
  position: relative;
  background-color: var(--defPinkBright-alpha);
  border-bottom: 1px solid var(--glass-alpha);
  opacity: 0.99;
}

.header-wrapper a {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  position: relative;
  color: var(--white);
  transition: text-shadow 0.5s ease;
}

.header-wrapper a:hover {
  color: var(--defVioletLight);
  text-shadow: 0 0 0.7px var(--defVioletLight), 0 0 0.7px var(--defVioletLight),
    0 0 0.7px var(--defVioletLight);
  transition: color 0.5s ease;
}

.header-buttons {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-self: end;
}

.header-buttons button {
  min-width: 120px;
  height: 64px;
}

@media only screen and (max-width: 574px) {
    .header-buttons {
        display: none;
      }
  }

.hidden {
  display: none;
}

.container {
  position: relative;

  margin: 0 44px;
}

.block-tagline {
  font-size: 1.8rem;
  line-height: 3.2rem;
  color: var(--defVioletLight-alpha);
}

.block-title {
  font-size: 4.8rem;
  font-size: clamp(4.2rem, 4vw, 4.8rem);
  line-height: 5.8rem;
  margin-top: 8px;
  margin-bottom: 24px;
}

.title {
  font-size: 3.2rem;
  line-height: 4.2rem;
  margin-bottom: 18px;
}

.subtitle {
  font-size: 2.4rem;
  line-height: 2.8rem;
}

.text-normal {
  font-size: 2rem;
  line-height: 2.8rem;
  letter-spacing: 0.03rem;
}

.btn {
  margin: 8px 0;
  padding: 3% 10%;
  position: relative;
  text-align: center;
  transition: 0.5s;
  background-size: 200% auto;
  border-radius: 12px;
  display: block;
  cursor: pointer;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  min-width: 280px;
  height: 64px;
}

.btn-solid {
  border: 0px;
  box-shadow: 0px 0px 14px -7px var(--defVioletDark);
  background-image: linear-gradient(
    45deg,
    var(--defVioletDark) 0%,
    var(--defBlueDark) 51%,
    var(--defPinkBright) 100%
  );
}

.btn-solid:hover {
  background-position: right center;
  text-decoration: none;
}

.btn-solid:active {
  transform: scale(0.95);
}

.btn-outline {
  border: 1px solid var(--glass-alpha);
}

.btn-outline::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 18px;
  right: 7%;
  bottom: 34%;
  background-repeat: no-repeat;
  background-image: url(../img/ic_arrow_down.svg);
  transition: all 1s;
}

.btn-outline:hover::after {
  bottom: 28%;
}

.btn-outline:hover {
  background-position: right center;
  text-decoration: none;
  bottom: 28%;
  background: var(--glass-alpha);
}

.btn-outline:active {
  transform: scale(0.95);
}

.scroll-margin {
  scroll-margin-top: 164px;
}

.hero {
  padding-top: 156px;
}

.block-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  max-width: 1312px;
  margin: 0 auto;
  padding-bottom: 400px;
}

@media only screen and (max-width: 1024px) {
  .block-wrapper {
    display: grid;
    grid-template-columns: unset;
    justify-content: center;
    position: relative;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    max-width: 1312px;
    padding: 156px 16px;
    margin: 0 auto;
    padding-bottom: 0;
  }

  h1,
  h2,
  p {
    text-align: center;
  }
}

.block-lead {
  padding-right: 15%;
  width: 100%;
}

.buttons-wrapper {
  display: flex;
  margin-top: 32px;
  gap: 24px;
  margin-bottom: 64px;
  width: 100%;
}

@media only screen and (max-width: 1024px) {
  .block-lead {
    padding-right: 0;
    justify-items: center;
    margin-bottom: 64px;
  }
  .buttons-wrapper {
    justify-content: center;
    margin-top: 32px;
    gap: 12px;
    margin-bottom: 0;
    flex-wrap: wrap;
  }
}

.block-card {
  display: grid;
  grid-template-rows: repeat(5, auto);
  justify-self: center;
  max-width: 460px;
  height: 460px;
  padding: 16px;
  background: rgba(251, 251, 251, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  position: relative;
}

.block-card button {
align-self: end;
}

.block-card p {
  text-align: center;
  justify-self: center;
  align-self:center;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--def-grey);
}

/*******************************/

.card-form select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  border: none;
  margin: 0;
  width: 100%;
  height: 100%;
  cursor: inherit;
  line-height: inherit;
  font-style: normal;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 21px;
}

.card-form select::-ms-expand {
  display: none;
}

.card-form::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23949ba3' viewBox='0 0 16 16'%3E%3Cpath d='M8 13.1l-8-8 2.1-2.2 5.9 5.9 5.9-5.9 2.1 2.2z'/%3E%3C/svg%3E");
  height: 12px;
  width: 12px;
}

.card-form select:focus {
  outline: none;
}

.card-form {
  position: relative;
  display: grid;
  grid-template-columns: 60px 84px;
  height: 64px;
  box-sizing: border-box;
  align-items: center;
  cursor: pointer;
  align-items: center;
  font-size: 1.6rem;
  color: var(--def-black);
}

.card-crypto {
  grid-template-columns: 60px auto;
  cursor: unset;
  color: var(--def-grey);
}

.card-crypto::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23949ba3' viewBox='0 0 16 16'%3E%3Cpath d='M8 13.1l-8-8 2.1-2.2 5.9 5.9 5.9-5.9 2.1 2.2z'/%3E%3C/svg%3E");
  height: 12px;
  width: 12px;
  opacity: 0.2;
}

.card-form img {
  -o-object-fit: contain;
     object-fit: contain;
  max-height: 32px;
  max-width: 32px;
  box-sizing: border-box;
  justify-self: center;
}

.select-box-wrapper label {
  font-style: normal;
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--def-grey);
}

input {
  border: 0;
  background-color: transparent;
  padding: 0;
}

input:focus {
  outline: none;
}

/*******************************/

.card-amount {
  display: flex;
  align-items: center;
}

.card-amount input {
  width: 100%;
  height: 46px;
  font-style: normal;
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--def-black);
  padding-left: 12px;
}

.card-field {
  border-radius: 8px;
  margin-bottom: 12px;
  background-color: var(--def-white);
}

.card-title {
  color: var(--black);
  align-self: center;
  font-size: 2.4rem;
  line-height: 2.8rem;
  margin-bottom: 24px;
}

/*******************************/

.logo {
  align-self: center;
  justify-self: center;
}

.country-wrapper {
  width: 100%;
  margin: 12px auto;
  background-color: var(--white);
  border-radius: 8px;
}

.methods-items img {
  width: 7.2rem;
}

.country {
  margin: 16px 8px;
}

.methods {
  padding: 0 8px;
}

.country-title {
  height: 64px;
  display: grid;
  grid-template-columns: 32px auto;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  padding: 8px;
}

.country-title h2 {
  color: var(--black);
  font-size: 1.6rem;
  font-weight: 700;
}

@media only screen and (max-width: 1024px) {
  .country-title h2 {
    text-align: left;
  }
}

.country-title img {
  width: 32px;
  height: 32px;
}

.methods-title {
  display: flex;
  align-items: center;
  height: 32px;
  padding-left: 4px;
  margin-top: 8px;
}
.methods-title p {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--def-grey);
}

.methods-items {
  display: flex;
  justify-content: space-start;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--def-light-grey);
}

.accordion {
  cursor: pointer;
  transition: 0.4s;
  position: relative;
  background-color: var(--def-light-grey);
}

.active {
  background-color: var(--defVioletLight);
}

.accordion:after {
  content: "\02795";
  font-size: 1rem;
  opacity: 0.3;
  position: absolute;
  margin-right: 12px;
  right: 0;
}

.active:after {
  content: "\2796";
}

.panel {
  overflow: hidden;
  max-height: 0;
  transition: 0.5s ease-out;
}

/***************************/

.bottom-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  display: flex;
  opacity: 1;
  visibility: hidden;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  transition: 0.1s linear;
  z-index: 2;
}

@media only screen and (max-width: 1024px) {
  .bottom-sheet {
    position: fixed;
  }
}

.bottom-sheet-header {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 40px auto 32px;
  padding: 1rem;
  position: relative;
  align-items: center;
  gap: 12px;
}

.bottom-sheet-body .bottom-sheet-item {
  display: grid;
  grid-template-columns: 40px auto 48px;
  grid-template-rows: 64px;
  gap: 12px;
  padding: 0 1rem;
  align-items: center;
}

.bottom-sheet-body div:last-child{
    border-bottom: 0px;
}

.bottom-sheet-item {
  position: relative;
  border-bottom: 1px solid var(--def-light-grey);
}

.bottom-sheet-item:hover {
  background-color: var(--def-light-grey);
}

.rounded-circle {
  border-radius: 50%;
}

.bottom-sheet-header p {
  text-align: left;
  justify-self: left;
  align-self: unset;
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--def-grey);
  margin: 0;
}

.bottom-sheet-header span {
  display: inline-block;
  width: 32px;
  height: 32px;
}

.bottom-sheet-header span::after {
  content: "";
  top: 20px;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-image: url(/img/ic-close.svg);
  position: absolute;
}

.sheet-overlay {
  position: absolute;
  top: -230px;
  left: -1px;
  z-index: -1;
  width: 101%;
  height: 460px;
  opacity: 0;
  background: var(--def-black);
  border-radius: 8px;
}

.bottom-sheet .bottom-sheet-content {
  width: 100%;
  position: relative;
  background: #fff;
  /*height: 200px;*/
  transform: translateY(10%);
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
  transition: 0.3s ease-out;
  opacity: 0;
}

.bottom-sheet.show .bottom-sheet-content {
  transform: translateY(0%);
  opacity: 1;
}

@media only screen and (max-width: 1024px) {
  .sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0px;
  }

  .bottom-sheet .bottom-sheet-content {
    height: 70%;
    border-radius: 8px 8px 0 0;
  }
}

.bottom-sheet-item svg {
  justify-self: center;
}

.bottom-sheet-item svg #fill {
  fill: var(--def-grey);
}

.touchable:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

a.touchable {
  text-decoration: none;
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--def-black);
  -webkit-tap-highlight-color: transparent;
}

a.touchable:hover {
  color: inherit;
}

/***************************/

[type="radio"]:checked,
[type="radio"]:not(:checked) {
  position: absolute;
  /*right: -99999px;*/
  visibility: hidden;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label {
  position: relative;
  cursor: none;
  display: inline-block;
  color: transparent;
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
  content: "";
  position: absolute;
  left: 24px;
  top: 12px;
  width: 18px;
  height: 18px;
  border-radius: 100%;
  background: var(--def-radio-button-bg);
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
  content: "";
  width: 10px;
  height: 10px;
  background: #fff;
  position: absolute;
  top: 16px;
  left: 28px;
  border-radius: 100%;
}

[type="radio"]:not(:checked) + label::before {
  opacity: 1;
  background: var(--def-light-grey);
}
[type="radio"]:checked + label:before {
  opacity: 1;
}

/***************************/

footer {
    background: conic-gradient(
      from 180deg at 99% 100%,
      var(--defPinkBright) 0deg,
      var(--defBlueDark) 150deg,
      var(--defVioletDark) 360deg
    );
  }
  
  @media only screen and (max-width: 930px) {
    .footer-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
        position: relative;
        gap: 24px;
      }

      .footer-wrapper h2 {
        text-align: left;
      }
  }


  .request-wrapper {
    display: flex;
    position: relative;
    max-width: 1312px;
    padding: 100px 44px;
    margin: 0 auto;
    gap: 10%;
  }
  
  .request-form {
    width: 50%;
  }
  
  .request-title {
    max-width: 430px;
  }
  
  input:focus ~ label,
  textarea:focus ~ label,
  input:valid ~ label,
  textarea:valid ~ label {
    font-size: 1.2rem;
    color: var(--defVioletLight-alpha);
    top: -1.9rem;
    transition: all 0.225s ease;
  }
  
  .styled-input {
    width: 100%;
    position: relative;
  }
  
  .styled-input label {
    font-size: 1.6rem;
    color: var(--white);
    padding: 3.6rem 30px 3rem 30px;
    position: absolute;
    top: 0px;
    left: 0;
    transition: all 0.25s ease;
    pointer-events: none;
  }
  
  input,
  textarea {
    padding: 30px;
    border: 0;
    width: 100%;
    font-size: 2.4rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
  }
  
  input:focus,
  textarea:focus {
    outline: 0;
  }
  
  input:focus ~ span,
  textarea:focus ~ span {
    width: 100%;
    transition: all 0.075s ease;
  }
  
  textarea {
    width: 100%;
    min-height: 15em;
  }
  
  .input-container {
    font-family: "Roboto", sans-serif;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 64px;
  }
  
  .submit-button-wrapper .btn-solid {
    width: 100%;
  }
  
  .footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-content: flex-start;
    position: relative;
    gap: 76px;
  }
  
  .footer-col1 {
    flex-grow: 1;
  }
  
  .footer-bottom {
    margin: 40px 140px;
  }
  
  @media screen and (max-width: 970px) {
    .footer-bottom {
      margin: 40px 48px;
    }
  }
  
  .footer-bottom p {
    font-size: 12px;
    line-height: 19px;
    padding-top: 4px;
    color: var(--defVioletLight-alpha);
  }
  
  .footer-col ul li a {
    color: var(--white-alpha);
  }
  
  .footer-col ul li a:hover {
    color: var(--white);
  }
  
  .footer-wrapper a {
    font-size: 16px;
    text-transform: capitalize;
    transition: all 0.3s ease;
  }
  
  .footer-wrapper h2 {
    font-size: 16px;
    color: var(--white);
    text-transform: capitalize;
    padding-bottom: 12px;
    padding-top: 16px;
  }
  
  .footer-end img:hover {
    opacity: 0.9;
  }
  
  .footer-end p {
    font-size: 12px;
    color: var(--defVioletLight-alpha);
  }
  
  .footer-end li {
    display: inline;
  }
  
  .footer-end img {
    padding-right: 8px;
    opacity: 0.5;
    transition: all 0.3s ease;
  }