html,
body {
  box-sizing: border-box;
  overflow-x: hidden;
  min-height: 0;
}

.login {
  color: black;
  border: 2px solid #0494e3;
  text-decoration: none;
  border-radius: 20px;
  padding: 5px 20px;
}

main {
  min-height: 520px !important;
  background: rgb(4, 148, 227);
  background: linear-gradient(171deg, rgba(4, 148, 227, 1) 0%, rgba(4, 148, 227, 1) 50%, rgba(255, 255, 255, 1) 100%);
}

.jumbotron-content {
  background-image: url("../diskusi/img/connect.png");
  border-bottom-left-radius: 100px;
  padding: 2.5% 4%;
}

.jumbotron-text h1 {
  font-size: 4vw;
  font-weight: 700;
  margin-bottom: 50px;
}

.jumbotron-text p {
  text-transform: uppercase;
  color: #555555;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 10px;
  opacity: 72%;
}

.jumbotron-text a {
  background-color: #0494e3;
  color: white;
  border-radius: 50px;
  padding: 15px 41px;
  border: none;
  margin-top: 20px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

.jumbotron-content a:hover {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  background-color: #0884c8;
}

.jumbotron-img img {
  width: 100%;
}

/* FITUR */

.fitur {
  padding: 90px 0;
}

.fitur > h1 {
  font-size: 30px;
  font-weight: 700;
  color: white;
}

.fitur > p {
  font-size: 18px;
  font-weight: 500;
  color: white;
}

.fitur > .row {
  margin-top: 5%;
}

.fitur .card {
  padding: 5% 4%;
  border-radius: 10px 10px 0 0;
}

.fitur .card h3 {
  font-size: 23px;
  color: #0494e3;
  margin-top: 20px;
  margin-bottom: 35px;
}

.fitur .card p {
  font-size: 13px;
}

/* EXPLORE */

.explore {
  margin-top: 100px;
}

.pertanyaan {
  background-color: #fff;
  padding-top: 70px;
  background-image: url("../diskusi/img/explore-bg.png");
  height: 600px;
}

.pertanyaan > h1 {
  font-size: 30px;
  font-weight: 700;
  color: #0494e3;
}

.pertanyaan > p {
  font-size: 18px;
  font-weight: 500;
  color: black;
  margin-bottom: 100px;
}

.pertanyaan > a {
  width: 20%;
  font-size: 15px;
  font-weight: 700;
  border: none;
  background-color: #fc8c74;
  color: white;
  border-radius: 20px;
  padding: 20px;
  display: block;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
  text-decoration: none;
  margin: auto;
  text-align: center;
}

.icon-cards {
  margin-top: 30px;
  position: absolute;
  left: 50%;
  width: 180px;
  height: 160px;
  transform: translate(-50%, -50%);
  perspective: 1000px;
}

.icon-cards__content {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: translateZ(-145px) rotateY(0);
  -webkit-animation: carousel 10s infinite cubic-bezier(1, 0.015, 0.295, 1.225) forwards;
  animation: carousel 10s infinite cubic-bezier(1, 0.015, 0.295, 1.225) forwards;
  vertical-align: middle;
}

.icon-cards__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 250px;
  background: #0494e3;
  opacity: 0.95;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-cards__item:nth-child(1) {
  transform: rotateY(72deg) translateZ(145px);
}

.icon-cards__item:nth-child(2) {
  transform: rotateY(144deg) translateZ(145px);
}

.icon-cards__item:nth-child(3) {
  transform: rotateY(216deg) translateZ(145px);
}

.icon-cards__item:nth-child(4) {
  transform: rotateY(288deg) translateZ(145px);
}

.icon-cards__item:nth-child(5) {
  transform: rotateY(360deg) translateZ(145px);
}

/* Animation */
@-webkit-keyframes carousel {
  0%,
  15% {
    transform: translateZ(-145px) rotateY(0);
  }
  25%,
  40% {
    transform: translateZ(-145px) rotateY(-72deg);
  }
  50%,
  65% {
    transform: translateZ(-145px) rotateY(-144deg);
  }
  75%,
  90% {
    transform: translateZ(-145px) rotateY(-216deg);
  }
}
@keyframes carousel {
  0%,
  15% {
    transform: translateZ(-145px) rotateY(0);
  }
  25%,
  40% {
    transform: translateZ(-145px) rotateY(-72deg);
  }
  50%,
  65% {
    transform: translateZ(-145px) rotateY(-144deg);
  }
  75%,
  90% {
    transform: translateZ(-145px) rotateY(-216deg);
  }
}

.text-truncate-container > a {
  -webkit-line-clamp: 5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media only screen and (max-width: 576px) {
  .jumbotron-content {
    height: 35vh;
    border-bottom-left-radius: 50px;
  }

  .jumbotron-img img {
    width: 100%;
  }

  .jumbotron-text h1 {
    font-size: 5vw;
    margin-bottom: 10px;
  }

  .jumbotron-text p {
    font-size: 8px;
    letter-spacing: 3px;
  }

  .jumbotron-text a {
    padding: 5px 15px;
    font-size: 10px;
  }

  .fitur .card {
    padding: 2% 3%;
    border-radius: 10px 10px 0 0;
  }

  .fitur > h1,
  .pertanyaan > h1 {
    font-size: 1rem;
  }

  .fitur > p,
  .pertanyaan > p,
  .pertanyaan > a {
    font-size: 0.7rem;
  }

  .fitur .card h3 {
    font-size: 2.5vw;
    margin-bottom: 10px;
  }

  .fitur .card p {
    font-size: 2vw;
  }

  .pertanyaan > a {
    width: 70vw;
  }

  .explore {
    height: 30vh;
  }
}

@media (min-width: 576px) and (max-width: 768px) {
  .jumbotron-text h1 {
    margin-bottom: 3vw;
  }

  .jumbotron-text p {
    font-size: 10px;
    letter-spacing: 5px;
  }

  .jumbotron-text a {
    padding: 5px 15px;
    font-size: 2vw;
  }

  .fitur > h1 {
    font-size: 2.5vw;
  }

  .fitur > p {
    font-size: 2vw;
  }

  .fitur .card {
    padding: 1% 3%;
  }

  .fitur .card h3 {
    font-size: 2.5vw;
    margin-bottom: 10px;
  }

  .fitur .card p {
    font-size: 2vw;
  }

  .explore {
    height: 30vh;
  }

  .explore a {
    font-size: 2vw;
  }
}
