/* fonts */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;800&display=swap");

* {
  font-family: "Plus Jakarta Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
}

section {
  padding: 50px;
}

/* navbar */
nav {
  display: flex;
  justify-content: space-between;
  background-color: rgb(255, 255, 255);
  height: 60px;
  width: 100%;
  position: fixed;
  z-index: 2;
  opacity: 0.9;
  transition: 500ms ease-in-out;
}

nav:hover {
  opacity: 1;
}

nav .logo {
  display: flex;
  text-decoration: none;
  color: rgb(0, 0, 0);
}

nav .logo h1 {
  font-weight: 800;
  font-size: 4vmin;
  margin-top: 14px;
}

nav .logo img {
  width: 50px;
  height: 50px;
  margin-top: 5px;
  margin-right: 5px;
  margin-left: 15px;
}

nav ul {
  display: flex;
  list-style: none;
  width: 400px;
  justify-content: space-evenly;
}

nav ul li a {
  text-decoration: none;
  color: black;
  font-size: 1.1em;
}

nav ul li a:hover {
  color: #56ab91;
}

/* menu */
.menu-toggle span {
  display: block;
  width: 38px;
  height: 3px;
  margin-left: -60px;
  background-color: rgb(0, 0, 0);
  border-radius: 3px;
  transition: all 0.3s;
  z-index: 1;
}

.menu-toggle input {
  position: absolute;
  width: 50px;
  left: -75px;
  top: -5px;
  height: 38px;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  height: 23px;
  margin-top: 15px;
  justify-content: space-between;
  position: relative;
}

/* animasi menu */
.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(0, 0, 0);
  transform: rotate(45deg) translate(-5px, -4px);
}
.menu-toggle input:checked ~ span:nth-child(4) {
  background-color: rgb(0, 0, 0);
  transform: rotate(-45deg) translate(-1px, 0px);
}
.menu-toggle input:checked ~ span:nth-child(3) {
  opacity: 0;
  transform: scale(0);
}

/* header */
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.header img {
  width: 100%;
  margin-top: 60px;
  opacity: 0.9;
  transition: 500ms ease-in-out;
}

.header img:hover {
  opacity: 1;
}

.header h1 {
  text-align: center;
  position: absolute;
  color: #fff;
  font-weight: 800;
  font-size: 7vmin;
}

.header h1 span {
  color: rgb(255, 52, 52);
  transition: 500ms ease-in-out;
}

.header h1 span:hover {
  color: rgb(255, 0, 0);
  cursor: pointer;
}

/* tentang kami */
#tentangKami .container .tentang {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.container .tentang p span {
  font-weight: 600;
  font-size: 3.5vmin;
}

#tentangKami .container .visi {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

#tentangKami .container .visi p {
  margin-left: 50px;
}

.container .visi p span {
  font-weight: 600;
  font-size: 3.5vmin;
}

#tentangKami .container .misi {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-left: -100px;
}

#tentangKami .container .misi ul span {
  font-weight: 600;
  font-size: 3.5vmin;
}

#tentangKami .container .misi ul {
  margin-right: 20px;
}

/* tim kami */
#timKami {
  background-color: #91baad;
}

#timKami .teks {
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 50px;
}

#timKami .tim h2 {
  color: #fff;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
  font-size: 4vmin;
}

#timKami .tim .gambar {
  display: flex;
  justify-content: center;
  align-items: center;
}

#timKami .tim .gambar img {
  border-radius: 10px;
  width: 100%;
  margin: 5px;
  opacity: 0.8;
  transition: 0.5s ease-in-out;
  box-shadow: 4px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

#timKami .tim .gambar img:hover {
  opacity: 1;
}

#timKami .tim a {
  display: grid;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-top: 50px;
  margin-bottom: 30px;
}

#timKami .tim button {
  background: none;
  width: 180px;
  height: 40px;
  color: white;
  border: none;
  background-color: #181b1b;
  border-radius: 20px;
  transition: 500ms ease-in-out;
  font-size: 15px;
}

#timKami .tim button:hover {
  cursor: pointer;
  background-color: #242727;
  transform: scale(0.95);
}

/* galeri */
#galeri h2 {
  text-align: center;
  font-size: 4vmin;
  margin-top: 50px;
  margin-bottom: 50px;
}

#galeri .galeri {
  width: 100%;
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  margin-bottom: 100px;
}

#galeri .galeri img {
  border-radius: 10px;
  margin: 5px;
  opacity: 0.9;
  box-shadow: 2px 4px 16px 0px rgba(0, 0, 0, 0.2);
  transition: 0.5s ease-in-out;
}

#galeri .galeri img:hover {
  opacity: 1;
}

/* siklus */
#galeri .siklus {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: -30px;
  margin-bottom: 50px;
}

#galeri .siklus div {
  background-color: #91baad;
  text-align: center;
  color: #fff;
  border-radius: 20px;
  width: 345px;
  margin: 40px;
  box-shadow: 4px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

#galeri .siklus div img {
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}

/* hubungi kami */
#hubungiKami {
  background-color: #91baad;
}

#hubungiKami .container {
  color: #fff;
  margin-top: 50px;
  margin-bottom: 100px;
}

#hubungiKami .container h2 {
  text-align: center;
  font-size: 4vmin;
  margin-bottom: 50px;
}

#hubungiKami .container form {
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
}

#hubungiKami .container .form-text {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 20px auto;
  border: 0;
  padding: 20px 30px;
  border-radius: 20px;
  outline: none;
}

#hubungiKami .container textarea.form-text {
  resize: none;
  height: 180px;
}

#hubungiKami .container form .form-btn {
  border: 0;
  background-color: #181b1b;
  color: #fff;
  padding: 10px 30px;
  border-radius: 20px;
  transition: 0.5s;
}

#hubungiKami .container form .form-btn:hover {
  cursor: pointer;
  background-color: #343636;
}

/* footer */
footer {
  padding-top: 50px;
  padding-bottom: 50px;
  display: flex;
  width: 100%;
  background-color: #56ab91;
  justify-content: space-evenly;
  color: #fff;
  font-size: 2.5vmin;
}

footer ul li {
  list-style: none;
}

footer ul li a {
  text-decoration: none;
  color: #f0f0f0;
}

footer ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

footer ul li p {
  color: #f0f0f0;
}

footer .logo {
  text-align: center;
}

footer .logo img {
  border-radius: 50%;
}

footer .dukungkami button {
  background: none;
  width: 100px;
  height: 30px;
  color: white;
  border: none;
  background-color: #181b1b;
  border-radius: 20px;
  transition: 500ms ease-in-out;
}

footer .dukungkami button:hover {
  cursor: pointer;
  background-color: #242727;
  transform: scale(0.95);
}

/* responsive */
@media only screen and (max-width: 1200px) {
  nav ul {
    display: flex;
  }

  #galeri .galeri {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }
}

@media only screen and (max-width: 960px) {
  nav ul {
    display: flex;
  }

  .header {
    width: 100%;
  }

  #tentangKami .container .tentang img {
    display: none;
  }

  #tentangKami .container .visi img {
    display: none;
  }

  #tentangKami .container .visi p {
    margin-left: 0px;
  }

  #tentangKami .container .misi img {
    display: none;
  }

  #tentangKami .container .misi p {
    margin-left: 0px;
  }

  #timKami .teks {
    display: grid;
    grid-template-columns: 1fr;
  }

  #timKami .tim .gambar {
    display: grid;
    grid-template-columns: 1fr;
  }

  #timKami .tim .gambar img {
    width: 80%;
    margin: 10px auto;
  }

  #galeri .siklus {
    display: grid;
  }
}

@media only screen and (max-width: 768px) {
  nav ul {
    display: flex;
  }

  nav .logo h1 {
    margin-top: 18px;
  }

  .menu-toggle {
    display: flex;
  }

  .header h1 {
    margin-top: 60px;
  }

  nav ul {
    position: absolute;
    right: 0;
    top: 0;
    padding-top: 10px;
    width: 100%;
    height: 50vh;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
    background-color: #fff;
    z-index: -1;
    transform: translateY(-100%);
    transition: all 0.3s ease-in-out;
    opacity: 0.9;
  }

  nav ul.slide {
    opacity: 1;
    transform: translateY(0);
  }

  #tentangKami .container .tentang p span {
    font-size: 18px;
  }

  #tentangKami .container .visi p span {
    font-size: 18px;
  }

  #tentangKami .container .misi ul span {
    font-size: 18px;
  }

  #tentangKami .container .misi ul {
    margin-left: 75px;
  }

  #timKami .tim h2 {
    font-size: 18px;
  }

  #galeri h2 {
    font-size: 18px;
  }

  #galeri .galeri {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  #galeri .galeri a {
    justify-items: center;
  }

  #galeri .galeri a img {
    width: 99%;
  }

  #galeri .siklus div {
    margin-bottom: -5px;
  }

  #hubungiKami .container h2 {
    font-size: 18px;
  }

  footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  footer .logo h2 {
    display: none;
  }

  footer .logo {
    margin-top: -20px;
  }

  footer .navigasi {
    font-size: 18px;
  }

  footer .sosmed {
    font-size: 18px;
  }

  footer .dukungkami {
    font-size: 18px;
  }
}

@media only screen and (max-width: 460px) {
  nav ul {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  nav ul {
    position: absolute;
    right: 0;
    top: 0;
    padding-top: 10px;
    width: 100%;
    height: 50vh;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
    background-color: #fff;
    z-index: -1;
    transform: translateY(-100%);
    transition: all 0.3s ease-in-out;
    opacity: 0.5;
  }

  nav ul.slide {
    opacity: 0.98;
    transform: translateY(0);
  }

  #galeri .siklus div {
    display: grid;
    grid-template-columns: 1fr;
    width: 90%;
    margin: 20px auto;
  }

  #galeri .siklus div img {
    width: 100%;
  }
}
