/* --------------------------------
  WHY CRYPTOMARKET PAGE NEW STYLES
----------------------------------- */

.why-cryptomkt-header-section {
  display: flex;
  align-items: center;
  height: 340px;
}

/* Main why section */
.why-cryptomkt-why-section img {
  width: 500px;
}

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

.why-cryptomkt-card {
  border: 2px solid #e1e1e1;
  border-radius: 0;
  padding: 30px 15px;
}

.why-cryptomkt-card img {
  margin-bottom: 20px;
}

/* Freedom section */
@media only screen and (max-width: 767px) {
  .why-cryptomkt-freedom-section > .grid:nth-child(2) > div:nth-child(2) {
    order: -1;
  }
}

/* ranking section */
.ranking-card,
.ranking-card:hover,
.ranking-card:focus {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 180px;
  padding: 15px;
  text-decoration: none;
}

.ranking-card:hover,
.ranking-card:focus {
  border: 2px solid #1a24ff;
}

/* Comment section */
.comments-carousel {
  position: relative;
  margin-top: 40px;
}

.carousel-arrow-left,
.carousel-arrow-right {
  position: absolute;
  top: 50%;
  font-size: 2rem;
}

.carousel-arrow-left {
  left: -7%;
}

.carousel-arrow-right {
  right: -7%;
}

.carousel-card {
  display: flex;  
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  height: 450px;
  margin: 20px 0;
}

.carousel-card img {
  width: 80px;
  border-radius: 50px;
  margin-bottom: 20px;
}

@media only screen and (min-width: 1024px) and (max-width: 1359px) {
  .carousel-arrow-left {
    left: -2%;
  }
  
  .carousel-arrow-right {
    right: -2%;
  }
}

/* Simple section */
.why-cryptomkt-simple-feature-item {
  display: flex;
}

.why-cryptomkt-simple-feature-item i {
  margin-right: 20px;
}

.why-cryptomkt-simple-feature-item .title {
  margin-bottom: 5px;
}

@media only screen and (max-width: 1023px) {
  .why-cryptomkt-simple-section > .grid > div:nth-child(2) { 
    order: -1;
  }
}

/* Security section */
.security-card img {
  margin-bottom: 20px;
}

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