@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;700&display=swap");

* {
  font-family: "Poppins", sans-serif;
  top: 0;
  margin: 0;
}

/* effect scroll */
.nav-color {
  background-color: #001185;
}
.nav-link-color {
  color: white !important;
}
.button-secondary-color {
  background-color: #fff !important;
  color: #0d6efd !important;
}

.animFadeInUp {
  animation: fadeInUp 0.5s;
}
.animFadeInDown {
  animation: fadeInDown 0.5s;
}
/* end effect scroll*/

/* Navbar */
.navbar {
  z-index: 999;
}

.navbar-brand {
  font-weight: 700;
}

.nav-link {
  font-size: 16px;
  color: black;
}

.nav-linkScroll {
  font-size: 16px;
  color: white;
}

.nav-link.active {
  font-weight: 700;
  color: #001185;
}

.bg-light {
  background-color: #fff !important;
}

.button-secondary {
  width: 133px;
  height: 40px;
  background-color: #0d6efd;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 700;
  border-radius: 20px;
}

/* End Navbar */

/* Hero Section */
#hero {
  height: 90vh;
  width: 100%;
  background-size: cover;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../img/hero.jpg");
  position: relative;
}
.hero-text-fooldal {
  text-align: center;
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* End Hero Section*/

/* Panduan */
.mycard {
  position: relative;
}

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: 0.5s ease;
  backface-visibility: hidden;
  border-radius: 10px;
}

.middle {
  transition: 0.5s ease;
  opacity: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

#klik,
#klik2 {
  color: white;
  border-bottom: 1px solid white;
}

.mycard:hover .image {
  opacity: 0.3;
}

.mycard:hover {
  opacity: 1;
}

.mycard:hover #klik,
.mycard:hover #klik2 {
  color: #000;
  border-bottom: 1px solid black;
}
/* end Panduan */

/* Contact */
#contact {
  background-size: cover;
  background-repeat: no-repeat;
}

#contact .overlay {
  background: rgba(0, 0, 0, 0.5);
}

#contact h6 {
  color: #000;
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
  margin: 19px 0 14px 0;
}

.contact a {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  text-decoration: none;
  margin-left: 16px;
}

.link-rumah {
  font-size: 16px;
  line-height: 18px;
  color: #000;
  line-height: 20px;
  text-decoration: none;
}

.card-contact {
  width: 100%;
  height: 445px;
  background: #0d6efd;
  border-radius: 5px;
  padding: 52px 48px;
  box-shadow: 0 20px 20px 0px rgb(0, 0, 0, 0.7);
}

.card-contact h2 {
  font-size: 40px;
  line-height: 60px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 21px;
}

h2 {
  font-size: 40px;
  line-height: 60px;
  font-weight: 600;
  color: #0d6efd;
}

.form-control-contact {
  background: #fff;
  height: 75px !important;
  border-radius: 0;
}

.form-floating label {
  color: grey;
  font-size: 16px;
  line-height: 18px;
}

.button-contact {
  width: 100%;
  height: 75px;
  background: #fff;
  border: none;
  font-size: 24px;
  line-height: 36px;
  color: #001185;
  font-weight: 600;
}

/* vs */
@media (max-width: 768px) {
  .button-secondary {
    width: 100%;
    height: 40px;
    background-color: #001185;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 700;
    border-radius: 20px;
  }
  #hero {
    text-align: center;
  }

  #hero a {
    width: 60%;
  }

  #contact {
    text-align: center;
  }

  .card-contact {
    width: 100%;
    height: 545px;
    background: #001185;
    border-radius: 5px;
    padding: 52px 48px;
    box-shadow: none;
  }

  #judul {
    font-size: 35px;
    line-height: 45px;
    margin-bottom: 20px;
  }

  #welcome {
    font-size: 15px;
    line-height: 30px;
    margin-bottom: 20px;
  }

  footer {
    margin-top: 20px;
  }
}
