* {
  margin: 0;
  padding: 0;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}
html,
body {
  scroll-behavior: smooth;
}

/* header start */
header {
  width: 100%;
  height: 4.5rem;
  padding: 1.5rem;
  box-sizing: border-box;
  background: white;
  display: flex;
  align-items: center;
  box-shadow: 0 5px 10px #3f3f3f27;
  justify-content: center;
  position: fixed;
  top: 0;
  z-index: 9999999;
}

header .wrap {
  display: flex;
  width: 100%;
  max-width: 90rem;
  align-items: center;
  justify-content: space-between;
}

header .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

header .logo img {
  width: 44px;
}

/* header end */

.logo p {
  font-size: 20px;
  font-weight: 600;
}

.menu {
  width: 60rem;
}

.menu ul {
  list-style: none;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.menu li a {
  text-decoration: none;
  font-size: 20px;
  color: rgba(16, 38, 66, 0.788);
  align-items: center;
  display: flex;
  padding: 5px 12px;
  border-radius: 10px;
}

.menu li a:hover {
  background: rgba(28, 114, 226, 0.788);
  color: white;
}
i.fa-solid,
i.fa-brands {
  margin-right: 10px;
}

/* header end */

/* hero start */
.hero {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10em;
}
.hero .left {
  width: 45rem;
  margin-left: 4rem;
}

.left .desc {
  margin: 14px 0;
}

.left a {
  padding: 10px 20px;
  background: rgba(22, 22, 88, 0.877);
  color: white;
  font-size: 17px;
  font-weight: bold;
  border: none;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
}

.left a:hover {
  background: rgb(8, 8, 233);
}
.hero video {
  width: 85vh;
  border-radius: 0.5rem;
  height: 100vh;
  margin-right: 2rem;
}
/* hero end */

main {
  width: 100%;
  max-width: 90rem;
  margin: auto;
}

/* prodi start */
#prodi .list-prodi {
  display: flex;
  width: 100%;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

.list-prodi .item-prodi {
  width: 20rem;
  padding: 30px 10px 20px 10px;
  background: rgba(108, 162, 233, 0.178);
  margin-top: 1rem;
  border-radius: 1rem;
  text-align: center;
  text-decoration: none;
}

.item-prodi strong {
  font-weight: 900;
  border-bottom: 2px solid blue;
}

.list-prodi .item-prodi:hover {
  background: rgba(78, 146, 235, 0.445);
}

.item-prodi i.fa-solid {
  font-size: 3rem;
  padding: 10px 20px 10px 10px;
  background: blue;
  border-radius: 1rem;
  color: white;
  width: 50px;
  margin-bottom: 10px;
}

/* prodi end */

/* contact start */
#kontak .wrap {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
}

#kontak .item {
  padding: 10px;
  font-size: 18px;
  text-decoration: none;
  margin: 10px;
  border: 2px solid rgba(63, 61, 236, 0.74);
  border-radius: 10px;
}

/* contact end */

/* ormawa start */
#ormawa table td {
  padding: 0.5rem;
}

table a {
  padding: 1rem;
  background: rgba(63, 61, 236, 0.74);
  text-decoration: none;
  color: white;
  border-radius: 0.5rem;
}
/* ormawa end */

/* form start */

#daftar {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 70%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin: 4rem auto 1rem;
}

#daftar .wrap {
  max-width: 600px;
  margin: 0 auto;
}

#daftar form {
  display: flex;
  flex-direction: column;
}

#daftar h2 {
  text-align: center;
  color: #333;
}

#daftar .item {
  margin-bottom: 20px;
}

#daftar label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

#daftar input,
#daftar textarea {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#daftar .jk {
  padding: 1rem;
  display: flex;
}

#daftar .jk input {
  width: 100px;
}
#daftar .item .peminatan {
  display: flex;
  flex-wrap: wrap;
}
.item .peminatan div {
  display: flex;
  gap: 1rem;
  margin-right: 1rem;
}
.item button {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  background: blue;
  color: white;
  cursor: pointer;
}
/* form end */

/* footer start */
footer {
  margin-top: 5rem;
  padding: 2rem;
  color: white;
  text-align: center;
  background: black;
}
/* footer end */

/* Media query untuk perangkat mobile */
@media screen and (max-width: 768px) {
  header {
    height: auto;
    box-sizing: border-box;
    padding: 1rem;
    display: none;
  }

  /* nav mobile */
  nav.mobile {
    padding: 1rem;
    background: rgba(28, 114, 226, 1);
    color: white;
    display: flex;
    z-index: 9999;
    justify-content: space-between;
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }
  nav.mobile a {
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  nav.mobile a i {
    margin-bottom: 0.5rem;
    font-size: 32;
  }

  video {
    box-sizing: border-box;
    padding: 1rem;
  }

  .hero {
    flex-direction: column-reverse;
    gap: 2rem;
  }

  main {
    box-sizing: border-box;
    padding: 1rem;
  }

  .hero .left {
    width: 80%;
    margin-left: 0;
    padding: 2rem;
  }

  .hero video {
    width: 100%;
    height: auto;
    margin-right: 0;
  }

  .list-prodi .item-prodi {
    width: 100%;
  }
  form h2 {
    margin-bottom: 1rem;
  }

  #kontak .item {
    width: 100%;
  }

  table td a {
    padding: 0.2rem;
    line-height: 1.5rem;
    border-radius: 0;
  }
  #daftar {
    width: 90%;
  }

  #daftar .jk {
    padding: 0;
  }

  #daftar .wrap {
    max-width: 100%;
  }

  #daftar .item .peminatan {
    flex-direction: column;
  }

  footer {
    padding-bottom: 6rem;
  }
}
