.homepage-main {
  position: relative;
}

.homepage-main .homepage-heading {
  padding-top: 150px;
  padding-bottom: 150px;
  height: 640px;
}

@media only screen and (max-width: 767px) {
  .homepage-main .homepage-heading {
    height: 900px;
    margin-bottom: 300px;
    padding-top: 120px;
  }
  
  .homepage-main .homepage-heading.country-heading {
    padding-top: 90px;
  }
}

/* Crypto datatable section */
.homepage-crypto-datatable-section {
  position: relative;
  top: -200px
}

.homepage-crypto-datatable-heading .country-flag {
  position: absolute;
  left: 0;
  right: 0;
  top: -25px;
  margin: auto;
}

.homepage-crypto-datatable-heading .description {
  margin-top: 20px;
}

@media only screen and (max-width: 767px) {
  .homepage-crypto-datatable-section {
    top: -700px
  }
}

/* Media and features section */
.homepage-main .homepage-social-media-section {
  padding-bottom: 80px;
}

.homepage-main .homepage-features-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.homepage-main .homepage-features-heading a {
  text-decoration: none;
}

@media only screen and (max-width: 767px) {
  .homepage-main .homepage-social-media-section {
    position: absolute;
    top: 1500px;
  }
}

/* Payment methods section */
.homepage-payment-methods-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.homepage-feature-card img {
  margin-right: 20px;
}

.homepage-feature-card .title {
  margin: 0;
}

@media only screen and (max-width: 1023px) {
  .homepage-feature-card img {
    width: 60px;
  }
}

/* Rates section */
.rates-card {
  background: #1924ff;
  background: linear-gradient(150deg, rgba(25,36,255,1) 30%, rgba(0,0,0,1) 100%);
}

@media only screen and (max-width: 767px) {
  .rates-card {
    background: linear-gradient(180deg, rgba(25,36,255,1) 70%, rgba(0,0,0,1) 110%);
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .rates-card > div:last-child {
    order: -1;
  }
}

@media only screen and (max-width: 1023px) {
  .rates-card img {
    width: 100%;
  }
}

/* Payment methods section */
.payment-method-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.payment-method-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 15px;
  width: 23%;
  margin: 1%;
}

.payment-method-card img {
  margin-bottom: 20px;
}

.payment-method-card p {
  margin: 0;
}

@media only screen and (max-width: 1023px) {
  .payment-method-card {
    width: 48%;
    margin: 2% 0;
  }

  .payment-method-card:nth-child(2n - 1) {
    margin-right: 4%;
  }
}

@media only screen and (max-width: 767px) {
}

/* Why buy cryptocurrencies */
.why-buy-crypto-card a {
  text-decoration: none;
}

/* Exchange pro section */
.home-cryptomarket-pro-section {
  background: #151515;
  margin-bottom: 250px;
}

.home-cryptomarket-pro-layout {
  background: radial-gradient(circle, rgba(7,20,140,1) 0%, rgba(21,21,21,1) 80%);
  background-position-y: -600px;
  background-repeat: no-repeat;
  padding-top: 80px;
  padding-bottom: 80px;
  margin: auto;
  max-height: 1100px;
  max-width: calc(1170px + 15%);
}

.home-cryptomarket-pro-heading .title {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

.home-cryptomarket-pro-features {
  position: relative;
  top: 70px
} 

.home-cryptomarket-pro-feature-card {
  background-color: #222222;
  border: 2px solid #4c4c4c;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 350px;
}

@media only screen and (max-width: 1023px) {
  .home-cryptomarket-pro-section {
    margin-bottom: 500px;
  }

  .home-cryptomarket-pro-layout {
    width: 100%;
  }

  .home-cryptomarket-pro-heading .title,
  .home-cryptomarket-pro-heading img {
    width: 100%;
  }

  .home-cryptomarket-pro-heading .button-cta {
    margin-top: 20px;
  }

  .home-cryptomarket-pro-feature-card {
    min-height: 280px;
  }
}

@media only screen and (min-width: 767px) and (max-width: 1023px) {
  .home-cryptomarket-pro-section {
    margin-bottom: 250px;
  }

  .home-cryptomarket-pro-layout {
    max-height: 900px;
  }
}