.about {
  margin-top: 20px;

  height: 100%;
  display: flex;
  background: linear-gradient(to bottom, #323232 0%, #3f3f3f 40%, #1c1c1c 150%),
    linear-gradient(
      to top,
      rgba(255, 255, 255, 0.4) 0%,
      rgba(0, 0, 0, 0.25) 200%
    );
  background-blend-mode: multiply;
  color: white;
  perspective: 1000px;
}

.about-heading {
  width: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.about-content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  font-size: 1.2rem;
  margin-left: 20px;
  width: 90%;
  margin-right: 10px;
}

.about-heading h1 {
  writing-mode: vertical-lr;
  font-size: 3rem;
  background-color: transparent;
  overflow: hidden;
}

.about-heading-text {
  display: inline-block;
  transform: translateX(100%);
}

.about-hide {
  background-color: transparent;
  overflow: hidden;
}

.about-content-text {
  display: inline-block;
  transform: translateY(100%);
}

.methods {
  background-color: white;
  height: 70%;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  padding: 15px;
  opacity: 0;
}

.methods h2 {
  margin-top: 5px;
  font-weight: 500;
  color: black;
  opacity: 0;
}

.methods h3 {
  font-weight: 500;
  color: black;
  opacity: 0;
}

.card-container {
  margin-bottom: 10px;
  transform-style: preserve-3d;
  width: 90%;
  height: 90%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
}

.card- {
  background-color: rgb(0, 123, 255);
  height: 195px;
  width: 200px;
  padding: 15px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
  transform: translateY(150%);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.fab {
  font-size: 80px;
  transition: all 0.5s ease;
}

.card-text {
  text-align: center;
  font-size: 16px;
  transition: all 0.5s ease;
}

@media only screen and (max-width: 768px) {
  .card- {
    height: 150px;
  }

  .fab {
    font-size: 50px;
  }

  .card- p {
    font-size: 14px;
  }

  .about-heading h1 {
    font-size: 1.5rem;
  }

  .methods {
    overflow: scroll;
  }

  .card-container {
    overflow: scroll;
  }
  .about-content-text {
    font-size: 15px;
  }
  .method-heading {
    font-size: 20px;
  }

  .method-heading-2 {
    font-size: 12px;
  }

  .card-container::-webkit-scrollbar {
    width: 8px;
  }

  .card-container::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: rgba(0, 123, 255, 0.76);
  }
}
