html {
  scroll-behavior: smooth;
}

body {
  background-color: #ededed;
}

/* Navbar */
.navbar {
  position: relative;
  z-index: 1;
}

.navbar-brand {
  font-family: Viga;
  font-size: 32px;
}

/* Jumbotron */
.jumbotron {
  background-image: url(../img/home.jpg);
  background-size: cover;
  height: 540px;
  text-align: center;
  position: relative;
}

.jumbotron .container {
  position: relative;
  z-index: 1;
}

.jumbotron::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.4));
  position: absolute;
  bottom: 0;
}

.jumbotron .display-4 {
  color: white;
  margin-top: 150px;
  font-weight: 200;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.7);
  font-size: 40px;
  margin-bottom: 30px;
}

.jumbotron .display-4 span {
  font-weight: 500;
}

/* Info Panel */
.info-panel {
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  margin-top: -100px;
  background-color: white;
  padding: 30px;
  padding-bottom: 10px;
}

.info-panel img {
  width: 80px;
  height: 80px;
  margin-right: 20px;
  margin-bottom: 20px;
}

.info-panel h4 {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: bold;
  margin-top: 8px;
}

.info-panel p {
  font-size: 14px;
  color: #ACACAC;
  margin-top: -5px;
  font-weight: 200;
}

/* Berita */
.berita {
  margin-top: 120px;
  text-align: center;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: #cecece;
  border-radius: 20px;
  padding-top: 40px;
  padding-bottom: 40px;
  padding-left: 20px;
  padding-right: 20px;
}

.berita {

  .card {
    border-radius: 25px;
    background-color: #fff;
    margin-bottom: 30px;
  }

  .image-content, .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .image-content {
    border-radius: 25px 25px 0 0;
    position: relative;
    row-gap: 5px;
    background-color: #fff;
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .card-image {
    position: relative;
    height: 180px;
    width: 95%;
    border-radius: 14px;
    padding: 3px;
  }

  .card-image .card-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 14px;
  }

  .card-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .judul-berita {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-top: 8px;
  }

  .desk-berita {
    font-size: 14px;
    color: #707070;
    text-align: center;
  }

  .button {
    border-radius: 6px;
    border: none;
    font-size: 16px;
    color: #fff;
    padding: 8px 16px;
    background-color: #4070f4;
    margin-bottom: 20px;
    margin-top: 0;
    cursor: pointer;
    transition: all 0.3 ease;
  }

  .button:hover {
    background-color: #265DF2;
    text-decoration: none;
  }

  .expand-berita {
    justify-content: center;
    margin: auto;
  }

  .expand-berita a {
    color: #707070;
  }

  .expand-berita a:hover {
    color: #265DF2;
    text-decoration: none;
  }

}


/* Persyaratan */
.persyaratan {
  margin-top: 100px;
  font-family: 'Poppins', sans-serif;
}

.persyaratan .judul-persyaratan {
  color: #333;
  text-align: center;
  font-size: 36px;
  font-weight: 500;
  font-family: Viga;
  font-size: 36px;
  margin-bottom: 20px;
}

.persyaratan .isi-persyaratan {
  margin-left: 5%;
  margin-right: 5%;
}

.persyaratan .isi-persyaratan .card {
  color: #707070;
  width: 100%;
  margin-top: 20px;
}

.persyaratan .isi-persyaratan .card table tr td {
  vertical-align: top;
}

.persyaratan .isi-persyaratan .card a {
  color: #333;
}

.persyaratan .isi-persyaratan .card a:hover {
  text-decoration: none;
}


/* Prosedur */
.prosedur {
  margin-top: 100px;
  font-family: 'Poppins', sans-serif;
}

.prosedur .judul-prosedur {
  color: #333;
  text-align: center;
  font-size: 36px;
  font-weight: 500;
  font-family: Viga;
  font-size: 36px;
  margin-bottom: 20px;
}

.prosedur .isi-prosedur {
  margin-left: 5%;
  margin-right: 5%;
}

.prosedur .isi-prosedur img {
  max-width: 100%;
}


/* Footer */
.footer {
  margin-top: 100px;
  background-image: url(../img/footer.jpg);
  background-size: cover;
  background-position: center;
  min-height: 500px;
  text-align: center;
  position: relative;
  align-items: center;
  justify-content: center;
}

.footer::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.8));
  position: absolute;
  bottom: 0;
}

.footer .judul-footer {
  margin-top: 20px;
  color: white;
  font-family: 'Viga';
  font-size: 24px;
  font-weight: 500;
  justify-content: center;
  margin: auto;
  position: relative;
  z-index: 1;
}

.footer .isi-footer {
  padding-top: 50px;
  justify-content: center;
  margin: auto;
  position: relative;
  z-index: 1;
}

.footer .isi-footer p {
  margin-top: 20px;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.footer .isi-footer img {
  width: 40px;
  height: 40px;
}


.footer .alamat-footer {
  margin-top: 20px !important;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  justify-content: center;
  margin: auto;
  position: relative;
  z-index: 1;
}

/* Utility */
.tombol {
  text-transform: uppercase;
  border-radius: 40px;
}

/* Login */
.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="email"] {
  height: 50px;
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  height: 50px;
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}


/* DESKTOP VERSION */
@media (min-width: 992px) {

  .navbar-brand, .nav-link {
    color: white !important;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.7);
    
  }

  .nav-link {
    text-transform: uppercase;
    margin-right: 24px;
  }

  .nav-link:hover::after {
    content: '';
    display: block;
    border-bottom: 3px solid #0B63DC;
    width: 50%;
    margin: auto;
    padding-bottom: 5px;
    margin-bottom: -8px;
  }

  /* Jumbotron */
  .jumbotron {
    margin-top: -75px;
    height: 640px;
  }

  .jumbotron::after {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
  }

  .jumbotron .display-4 {
    font-size: 62px;
  }

  /* Berita */
  .berita {
    text-align: left;
  }

  .card {
    width: 320px;
  }

  /* Footer */

.footer .judul-footer {
  font-size: 36px;
}

.footer .isi-footer p {
  font-size: 20px;
}

.footer .isi-footer img {
  width: 40px;
  height: 40px;
}


.footer .alamat-footer {
  font-size: 20px;
}

}

