/* Pengaturan Umum */
* {
  font-family: 'Poppins', sans-serif;
  line-height: 20px;
  font-size: 14px;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
body {
  margin: 0px;
  padding: 0px;
}
.layar-dalam {
  width: 1000px;
  margin: auto;
}
.layar-penuh {
  width: 100%;
}

/* pengaturan Navbar */
nav {
  z-index: 100;
  color: #fff;
  text-align: center;
  position: fixed;
  border-bottom: 1px solid #b1b1b1;
  line-height: 60px;
  width: 100%;
  transition: background-color 0.1s ease;
  background-color: #fff;
}
nav.putih {
  background-color: #fff;
}
nav .logo {
  float: left;
  position: relative;
  line-height: 55px;
  text-align: center;
}
nav .logo img {
  vertical-align: middle;
  width: 230px;
}

nav .menu {
  float: right;
  height: 60px;
  max-width: 600px;
}

nav .menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav .menu ul li {
  list-style-type: none;
  float: left;
  line-height: 60px;
}

nav ul li a {
  color: black;
  text-align: center;
  padding: 0px 16px 0px 16px;
  text-decoration: none;
  font-size: 14px;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* Pengaturan Header */
header {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  z-index: 2;
}
header video {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: -2;
  width: 100%;
  height: 100%;
}
header .intro {
  z-index: 100;
  color: #fff;
  text-align: center;
  position: relative;
  top: 50%;
}
header .intro h3 {
  font-size: 50px;
  margin: 0;
  padding: 0;
}
.tombol {
  background-color: #c86b85;
  height: 40px;
  line-height: 42px;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 0px 20px 0px 20px;
  font-size: 15px;
  border-radius: 4px;
}
header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #000;
  opacity: 50%;
  z-index: -1;
}
.tombol-menu {
  position: absolute;
  top: 1.7rem;
  right: 1rem;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
}
.tombol-menu .garis {
  height: 3px;
  background-color: black;
}
section {
  padding: 50px 0px 50px 0px;
}
section h3 {
  font-size: 20px;
  text-align: center;
}
section p {
  font-size: 14px;
  text-align: center;
}
section h3::after {
  content: '';
  width: 52px;
  display: block;
  margin: 20px auto;
}
@media screen and (max-width: 991.98px) {
  header {
    height: 40vh;
  }
  header video {
    margin-top: 60px;
    height: 80%;
  }
  section p {
    font-size: 12px;
  }
  section h3 {
    font-size: 14px;
  }
  * {
    font-size: 12px;
  }
}

/* Pengaturan Sub-header */
.sub-header {
  height: 40vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(gambar/banner.png);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}
.sub-header h1 {
  margin-top: 100px;
  text-align: center;
  font-size: 50px;
}
@media screen and (max-width: 991.98px) {
  .sub-header h1 {
    font-size: 25px;
  }
}

/*----text box----*/
.text-box {
  width: 100%;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.text-box h1 {
  font-size: 62px;
}
.text-box p {
  margin: 20px 0 40px;
  font-size: 14px;
  color: #fff;
}
.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: black;
  border: 1px solid black;
  padding: 12px 34px;
  font-size: 14px;
  background: transparent;
  position: relative;
  cursor: pointer;
  margin-top: 2%;
}
.hero-btn:hover {
  border: 1px solid #f44336;
  background: #f44336;
  transition: 1s;
}

nav .fa {
  display: none;
}

@media screen and (max-width: 991.98px) {
  .text-box h1 {
    font-size: 25px;
    position: relative;
  }
  .hero-btn {
    font-size: 12px;
  }
}
/*----------Gallery--------*/
* {
  box-sizing: border-box;
}
body {
  font-family: Verdana, sans-serif;
}
.mySlides {
  display: none;
}
img {
  vertical-align: middle;
  width: 100px;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {
    font-size: 11px;
  }
}

/* Pengaturan Umum Conten */
#aboutus,
#team,
#blog {
  text-align: center;
}
section p.ringkasan {
  font-style: italic;
  font-size: 18px;
  color: #ababab;
}
section .konten-isi p {
  font-style: normal;
}
section .konten-isi ol {
  text-align: justify;
}
nav.putih {
  background-color: #fff;
}
nav.putih .tombol-menu .garis {
  background-color: #333;
}
nav.putih ul li a {
  color: #333;
}
nav .logo img.hitam {
  display: none;
}
section.abuabu {
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(gambar/banner.png);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: white;
}
.abu-abu h3 {
  font-size: 25px;
  text-align: center;
}
/* Pengaturan Conten */
.angka,
.tim,
.blog {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
.angka h6,
.tim h6 {
  margin: 0px;
  margin-top: 20px;
  padding: 8px;
  font-size: 16px;
  font-weight: bold;
}
.angka img {
  width: 50px;
}
.angka div,
.tim div {
  text-align: center;
  width: 26%;
}
.tim img {
  width: 100%;
  box-shadow: 0px -10px 30px #ccc;
  border-radius: 5px;
  margin-top: 10%;
}
.blog .area {
  width: 47%;
  box-shadow: 0px -10px 30px #ccc;
  border-radius: 5px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.blog div.area div {
  width: 50%;
}
.blog .area .gambar {
  border-radius: 5px 0px 0px 5px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 300px;
}
.blog .area .text article {
  padding: 40px;
}
.blog .area .text article h4 {
  margin: 0px;
}
.blog .area .text article a {
  color: #333;
  text-decoration: none;
  transition: color 0.5s ease;
}
.blog .area .text article a:hover {
  color: #ccc;
}

@media screen and (max-width: 991.98px) {
  .layar-dalam {
    width: 90%;
  }
  nav .menu ul {
    display: none;
    margin-top: 60px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  nav .menu ul li {
    width: 100%;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
    line-height: 40px;
  }
  nav .menu ul li a {
    color: #333;
    font-size: 12px;
  }
  .tombol-menu {
    display: flex;
  }
  .blog .area {
    display: block;
  }
  .blog div.area div {
    width: 100%;
  }
  .blog .area .gambar {
    border-radius: 5px 5px 0px 0px;
    height: 200px;
  }
  .angka {
    display: block;
  }
  .angka div {
    width: 100%;
    padding-bottom: 30px;
  }
}

/*------Pengaturan curriculum--------*/
table,
th,
td {
  border: 1px solid black;
  border-collapse: collapse;
  text-align: center;
}
.tabel h1 {
  font-size: 14px;
  margin-top: 5%;
  text-align: center;
  color: red;
}

/*----------Footer---------*/
footer {
  position: relative;
  width: 100%;
  height: auto;
  padding: 50px 100px;
  background: #333;
}
footer h2 {
  font-size: 16px;
}
footer .container {
  width: 100%;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  grid-gap: 20px;
}
footer .container img {
  width: 230px;
}
footer .container .sec h2 {
  position: relative;
  color: #fff;
  font-weight: 500;
  margin-bottom: 15px;
}
footer .container .sec h2::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #ffeb3b;
}
.sci {
  margin-top: 20;
  display: grid;
  grid-template-columns: repeat(4, 50px);
  grid-gap: 10px;
}
.sci li {
  list-style: none;
}
.sci li a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #f44336;
  display: grid;
  align-content: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 4px;
}
.sci li a:hover {
  background: #fc807e;
}
.sci li a .fa {
  color: #fff;
  font-size: 20px;
}
.quicklinks {
  position: relative;
}
.quicklinks li {
  list-style: none;
}
.quicklinks li a {
  color: #fff;
  text-decoration: none;
  margin-bottom: 10px;
  display: inline-block;
  margin-left: -40px;
}
.quicklinks li a:hover {
  color: #ffeb3b;
}
.info {
  position: relative;
}
.info li {
  display: grid;
  grid-template-columns: 30px 1fr;
  margin-bottom: 16px;
  margin-left: -40px;
}
.info li span:nth-child(1) {
  color: #fff;
  font-size: 20px;
}
.info li span {
  color: #fff;
}
.info a {
  color: #fff;
  text-decoration: none;
}
.info a:hover {
  color: #ffeb3b;
}
.copyrightText {
  width: 100%;
  background: #333;
  padding: 8px 100px;
  text-align: center;
  color: #fff;
  border-top: 1px solid #b1b1b1;
}

@media (max-width: 991px) {
  footer {
    padding: 40px;
  }
  footer.container {
    grid-template-columns: repeat(2, 1fr);
  }
  .copyrightText {
    width: 100%;
    background: #333;
    padding: 8px 40px;
  }
}
@media (max-width: 768px) {
  footer .container {
    grid-template-columns: repeat(1, 1fr);
  }
}
