header {
  display: inline;
}

/*======================================================================================================================================================================================================================================*/

/* style untuk bagian atas */

.fhtop {
  display: flex;
  background-color: rgb(14, 13, 13);
  height: 20px;
  justify-content: flex-end;
  padding-top: 3px;
}

.fhtop ul {
  list-style: none;
  font-size: 60%;
  display: flex;
  justify-content: center;
  width: 55%;
}

.fhtop ul li a {
  text-decoration: none;
  color: rgb(165, 165, 165);
}

.fhtop ul li a:hover {
  color: rgb(243, 242, 242);
}

.fhtop ul li img {
  width: 8%;
  padding-right: 4px;
}

/*======================================================================================================================================================================================================================================*/

nav {
  display: flex;
  background-color: #00b9ad;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  height: 60px;
  z-index: 9999;
  justify-content: space-around;
  align-items: center;
  padding: 0 60px 0 60px;
}

nav .logo {
  font-family: "Suez One", serif;
  letter-spacing: 0.5px;
}

.logo a {
  text-decoration: none;
  color: rgb(205, 220, 41);
  font-size: 1em;
}

.logo p {
  line-height: 0.5px;
  font-size: 0.63em;
  color: rgb(205, 220, 41);
}

nav ul {
  display: flex;
  width: 65%;
  justify-content: space-between;
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  font-size: 85%;
  color: white;
  font-family: "Ubuntu", sans-serif;
}

nav ul li a:hover {
  color: rgb(205, 220, 41);
  font-size: 100%;
}

nav ul li .active {
  color: rgb(205, 220, 41);
}

.dropdown-menu {
  display: none;
  position: absolute;
  margin-top: 0;
  background-color: rgb(205, 220, 41);
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.2);
}

.dropdown-menu a {
  color: white;
  font-size: 75%;
  padding-left: 7px;
  text-decoration: none;
  display: block;
}

.dropdown-menu a:hover {
  background-color: white;
  color: rgb(205, 220, 41);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.animasi-slide-in {
  display: inline-block;
  position: relative;
  padding-bottom: 3px;
}
.animasi-slide-in:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  transition: width 0s ease, background 0.5s ease;
}
.animasi-slide-in:after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: rgb(205, 220, 41);
  transition: width 0.5s ease;
}
.animasi-slide-in:hover:before {
  width: 100%;
  background: rgb(205, 220, 41);
  transition: width 0.5s ease;
}
.animasi-slide-in:hover:after {
  width: 100%;
  background: transparent;
  transition: all 0s ease;
}

/*======================================================================================================================================================================================================================================*/

/* Hamburger Menu */

.menu-toggle {
  display: none;
  flex-direction: column;
  height: 20px;
  justify-content: space-between;
  position: relative;
}

.menu-toggle input {
  position: absolute;
  width: 40px;
  height: 28px;
  left: -6px;
  top: -4px;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 4px;
  background-color: black;
  border-radius: 4px;
  transition: all 0.5s;
}

/* Hamburger Menu Animation */

.menu-toggle span:nth-child(2) {
  transform-origin: 0 0;
}

.menu-toggle span:nth-child(4) {
  transform-origin: 0 100%;
}

.menu-toggle input:checked ~ span:nth-child(2) {
  background-color: rgb(179, 161, 2);
  transform: rotate(45deg) translate(-1px, -1px);
}

.menu-toggle input:checked ~ span:nth-child(4) {
  background-color: rgb(179, 161, 2);
  transform: rotate(-45deg) translate(-1px, 0);
}

.menu-toggle input:checked ~ span:nth-child(3) {
  opacity: 0;
  transform: scale(0);
}

/*======================================================================================================================================================================================================================================*/

.head h5 {
  font-size: 1.3em;
  font-family: "Ubuntu", sans-serif;
  color: grey;
}

.head h1 {
  font-size: 2.3em;
  font-weight: bold;
  font-family: "Source Serif Pro", serif;
  color: #42413e;
}

/*======================================================================================================================================================================================================================================*/

.card {
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2);
}

.fh1 h5 {
  font-size: 1.2em;
  font-weight: bold;
  font-family: "Tinos", serif;
  color: black;
}

.fh1 p {
  font-size: 1em;
  font-family: "Tinos", serif;
  color: grey;
}

/*======================================================================================================================================================================================================================================*/

.fh2 {
  background-color: #00b9ad;
  padding: 50px 30px 50px 30px;
}

.fh2 img {
  padding-bottom: 20px;
}

.fh2 h2 {
  font-size: 1.5em;
  font-weight: bold;
  font-family: "Tinos", serif;
  margin-top: 70px;
  color: black;
}

.fh2 p {
  font-size: 1em;
  text-align: left;
  font-family: "Tinos", serif;
  color: black;
}

.fh2 a {
  text-decoration: none;
}

.list a p:hover {
  color: rgb(252, 0, 0);
}

.list p {
  color: blueviolet;
  font-size: 0.9em;
  font-family: "Tinos", serif;
}

/*======================================================================================================================================================================================================================================*/

.fh2-3 {
  margin-top: 100px;
}

.fh2-3 img {
  width: 100%;
}

/*======================================================================================================================================================================================================================================*/

.fh3 {
  padding: 50px;
}

.fh3-1 {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding: 20px;
}

.about {
  display: flex;
  flex-direction: column;
  width: 60%;
}

.about h5 {
  font-size: 1.7em;
  font-weight: bold;
  font-family: "Open Sans Condensed", sans-serif;
  color: black;
}

.about p {
  font-size: 1.2em;
  font-family: "Open Sans Condensed", sans-serif;
  color: black;
}

.about a {
  text-decoration: none;
}

.about a h5:hover {
  color: rgb(0, 17, 255);
}

/*======================================================================================================================================================================================================================================*/

.fh4 {
  background-color: #cddc29;
  padding: 50px 0 0 0;
}

.fh4 h5 {
  color: white;
}

.fh4 h1 {
  color: white;
}

.sub-fh4 {
  height: 30rem;
}

.sub-fh4 img {
  padding-bottom: 10px;
}

.fh4-1 {
  bottom: 1rem;
  color: rgb(214, 214, 214);
}

/*======================================================================================================================================================================================================================================*/

/* CSS untuk tampilan slides TESTIMONI */

.fh4-1 h4 {
  font-size: 20px;
  font-weight: bold;
  font-style: italic;
  color: whitesmoke;
  margin: 50px 0;
  line-height: 30px;
  font-family: "Open Sans Condensed", sans-serif;
}

.fh4-1 span {
  font-style: 1em;
  font-weight: lighter;
  font-style: normal;
  color: whitesmoke;
  font-family: "Open Sans Condensed", sans-serif;
}

/*======================================================================================================================================================================================================================================*/

.fh6 {
  background-color: rgb(36, 35, 37);
}

.fh6 p {
  padding: 50px 50px;
  color: rgb(240, 238, 238);
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 20px;
}

.sub-fh6 {
  padding: 70px 20px;
}

.sub-fh6 h1 {
  color: white;
  font-size: 1.8em;
  padding-bottom: 30px;
}

.fh6 a {
  font-size: 15px;
  text-decoration: none;
  color: grey;
}

.fh6 a:hover {
  color: white;
}

.sub-fh6 p {
  padding: 0;
  line-height: 8px;
  color: rgb(240, 238, 238);
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 20px;
}

/*======================================================================================================================================================================================================================================*/

/* style untuk halaman penunjang */

.fh-breadcrumb {
  background-color: #feffa6;
  height: 50px;
}

.fh-breadcrumb ol li {
  padding-top: 10px;
  font-size: 1.1em;
  font-family: "Tinos", serif;
  color: black;
}

.fh-breadcrumb ol li a {
  text-decoration: none;
}

.fh-breadcrumb ol li a:hover {
  color: rgb(252, 0, 0);
}

.fhpnj1 img {
  padding-top: 20px;
}

.fhpnj1 h5 {
  font-family: "Tinos", serif;
  font-size: 1.2em;
  font-weight: bold;
}

.fhpnj1 ol li {
  font-family: "Tinos", serif;
  font-size: 1em;
  color: black;
}

.fhpnj1 ul li {
  font-family: "Tinos", serif;
  font-size: 1em;
  color: black;
}

.fhpnj1 ul li a {
  text-decoration: none;
}

/*======================================================================================================================================================================================================================================*/

/* style untuk halaman penelitian */

.pnltian-1 img {
  float: left;
  padding-right: 10px;
}

.pnlt p {
  font-family: "Tinos", serif;
  font-size: 18px;
  text-align: justify;
}

.pen1 p {
  font-size: 13px;
  font-style: italic;
  color: rgb(252, 0, 0);
}

.pen2 {
  text-align: left;
  color: rgb(0, 140, 255);
}

.pen3 p {
  font-size: 15px;
  font-style: italic;
  font-weight: bold;
}

.pen4 p {
  font-size: 17px;
}

.pen5 img {
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
}

.pen4 h6 {
  font-size: 13px;
}

/*======================================================================================================================================================================================================================================*/

/* style untuk halaman pengabdian */

.abdi1 h2 {
  font-size: 28px;
}

.abdi1 p {
  font-size: 18px;
  text-align: justify;
  font-family: "Tinos", serif;
}

.abdi2 {
  padding-top: 50px;
  background-color: rgb(218, 214, 214);
}

.img-hover-zoom--brightness img {
  transition: transform 1s, filter 0.5s ease-in-out;
  transform-origin: center center;
  filter: brightness(50%);
}

.img-hover-zoom--brightness:hover img {
  filter: brightness(100%);
  transform: scale(1.1);
}

/*======================================================================================================================================================================================================================================*/

/* style untuk halaman pendidikan dan pengajaran */

.fhpendpeng1 h3 {
  font-family: "Tinos", serif;
  color: black;
}

.fhpendpeng1 h5 {
  text-align: left;
  font-family: "Tinos", serif;
  font-size: 1.1em;
  font-weight: bold;
  color: black;
}

.fhpendpeng1 h6 {
  color: rgb(252, 0, 0);
  font-family: "Tinos", serif;
}

.fhpendpeng1 p {
  font-size: 1.2em;
  color: black;
  text-align: justify;
  font-family: "Tinos", serif;
}

.fhpendpeng1 p a {
  text-decoration: none;
}

.fhpendpeng1 p a:hover {
  color: rgb(252, 0, 0);
}

/*======================================================================================================================================================================================================================================*/

/* responsive breakpoint */

/* untuk ukuran tablet */

@media screen and (max-width: 768px) {
  .fhtop {
    display: none;
  }

  nav ul {
    font-size: 1.3em;
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    height: 73vh;
    justify-content: space-evenly;
    flex-direction: column;
    background-color: rgb(37, 37, 37);
    transform: translateX(100%);
    transition: all 1s;
    opacity: 0;
  }

  nav ul.slide {
    opacity: 1;
    transform: translateX(0);
  }

  nav ul li a {
    color: whitesmoke;
  }

  .dropdown-menu {
    height: 30vh;
    opacity: 1;
    transform: translateX(0);
  }

  .menu-toggle {
    display: flex;
  }

  .fh3-1 {
    flex-direction: column;
    padding: 0;
  }

  .about {
    width: auto;
    padding: 0 20px 0 20px;
  }

  /* Carousel base class */
  .carousel {
    margin-bottom: 4rem;
  }

  /* Since positioning the image, we need to help out the caption */
  .carousel-caption {
    bottom: 6rem;
    z-index: 10;
    color: #d6d6d6;
  }

  .carousel-caption img {
    padding-bottom: 20px;
  }

  /* Declare heights because of positioning of img element */
  .carousel-item {
    height: 30rem;
    transition: transform 5s ease, opacity 0.5s ease-in-out;
  }

  .carousel-item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 30rem;
    transition: transform 10s, filter 20s ease-in-out;
    transform: scale(1.2);
  }

  .active > img {
    transform: scale(1);
  }

  .fh4-1 {
    bottom: 2rem;
  }

  .fh4-1 img {
    width: 37%;
  }

  table {
    font-size: 0.9em;
  }
}

/* untuk ukuran mobile */

@media screen and (max-width: 576px) {
  nav ul {
    font-size: 1em;
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    height: 46vh;
    justify-content: space-evenly;
    flex-direction: column;
    background-color: rgb(37, 37, 37);
    transform: translateY(100%);
    transition: all 1s;
    opacity: 0;
  }

  nav ul.slide {
    opacity: 1;
    transform: translateY(0);
  }

  nav ul li a {
    color: whitesmoke;
  }

  .dropdown-menu {
    height: 50vh;
    opacity: 1;
    transform: translateX(0);
  }

  .menu-toggle {
    display: flex;
  }

  .fh3-1 {
    flex-direction: column;
    padding: 0;
  }

  .about {
    width: auto;
    padding: 0 20px 0 20px;
  }

  .dropdown-menu {
    height: 17vh;
  }

  /* Carousel base class */
  .carousel {
    margin-bottom: 4rem;
  }

  /* Since positioning the image, we need to help out the caption */
  .carousel-caption {
    bottom: 0.5rem;
    z-index: 10;
    color: #ffee05;
  }

  .carousel-caption img {
    width: 10%;
    padding-bottom: 10px;
  }

  .carousel-caption h1 {
    font-size: 0.5em;
  }

  .carousel-caption p {
    padding-bottom: 10px;
  }

  /* Declare heights because of positioning of img element */
  .carousel-item {
    height: 20rem;
    transition: transform 5s ease, opacity 0.5s ease-in-out;
  }

  .carousel-item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 20rem;
    transition: transform 10s, filter 20s ease-in-out;
    transform: scale(1.2);
  }

  .active > img {
    transform: scale(1);
  }

  .fh4-1 img {
    width: 50%;
  }

  .fh4-1 h4 {
    font-size: 1em;
    font-weight: bold;
    font-style: italic;
    color: black;
    margin: 10px 0;
    line-height: 30px;
  }

  table {
    font-size: 0.7em;
  }
}

/*======================================================================================================================================================================================================================================*/

/* Back to Top Pure CSS by igniel.com */
html {
  scroll-behavior: smooth;
}
.ignielToTop {
  width: 50px;
  height: 50px;
  position: fixed;
  bottom: 50px;
  right: 50px;
  z-index: 99;
  cursor: pointer;
  border-radius: 100px;
  transition: all 0.5s;
  background: #008c5f url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z' fill='%23fff'/%3E%3C/svg%3E") no-repeat center center;
}
.ignielToTop:hover {
  background: #1d2129 url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z' fill='%23fff'/%3E%3C/svg%3E") no-repeat center center;
}

.btn1 {
  color: white;
  background-color: rgb(205, 220, 41);
}
