@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

*::selection {
  background: #add8e6;
}

html {
  scroll-behavior: smooth;
}

.max-width {
  max-width: 1300px;
  padding: 0 80px;
  margin: auto;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 10px;
  background: #add8e6;
}

::-webkit-scrollbar-thumb {
  border-radius: 20px;
  background: #add8e6;
  box-shadow: inset 2px 2px 2px rgba(255, 255, 255, 0.25),
    inset -2px -2px -2px rgba(0, 0, 0, 0.25);
}

.navbar {
  position: fixed;
  width: 100%;
  padding: 30px 0;
  font-family: "Ubuntu", sans-serif;
  transition: all 0.3s ease;
  z-index: 99999;
}

.navbar.sticky {
  padding: 15px 0;
  background: #add8e6;
}

.navbar .max-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo a {
  color: #fff;
  font-size: 35px;
  font-weight: 600;
}

.navbar .logo a span {
  background: #add8e6;
  transition: all 0.3s ease;
}

.navbar.sticky .logo a span {
  color: #fff;
}

.navbar .menu li {
  list-style: none;
  display: inline-block;
}

.navbar .menu li a {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  margin-left: 25px;
  transition: color 0.3s ease;
}

.navbar .menu li a:hover {
  color: #add8e6;
}

.navbar.sticky .menu li a:hover {
  color: #fff;
}

.menu-btn {
  color: #fff;
  font-size: 23px;
  cursor: pointer;
  display: none;
}

.scroll-up-btn {
  position: fixed;
  height: 45px;
  width: 42px;
  background: #add8e6;
  right: 30px;
  bottom: 10px;
  text-align: center;
  line-height: 45px;
  color: #fff;
  z-index: 9999;
  font-size: 30px;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.scroll-up-btn.show {
  bottom: 30px;
  opacity: 1;
  pointer-events: auto;
}

#particles-js {
  height: 100vh;
  width: 100%;
  position: absolute;
}

.home {
  display: flex;
  background: #121212 no-repeat center;
  background-size: cover;
  background-attachment: fixed;
  height: 100vh;
  color: #fff;
  min-height: 500px;
  font-family: "Ubuntu", sans-serif;
}

.home .max-width {
  margin: auto 0 auto 150px;
}

.home .home-content .text-1 {
  font-size: 27px;
}

.home .home-content .text-2 {
  font-size: 75px;
  font-weight: 600;
  margin-left: -3px;
}

.home .home-content .text-3 {
  font-size: 40px;
  margin: 5px 0;
}

.home .home-content .text-3 span {
  color: #add8e6;
  font-weight: 500;
}

.this-is-pain {
  position: absolute;
  display: inline-block;
  background: #add8e6;
  color: #fff;
  font-size: 25px;
  padding: 12px 36px;
  margin-top: 20px;
  border-radius: 6px;
  border: 2px solid #add8e6;
  transition: all 0.3s ease;
}

.this-is-pain:hover {
  background: none;
  color: #add8e6;
}

.this-is-pain2 {
  position: absolute;
  display: inline-block;
  background: #add8e6;
  color: #fff;
  font-size: 25px;
  padding: 12px 36px;
  margin-top: 20px;
  margin-left: 180px;
  border-radius: 6px;
  border: 2px solid #add8e6;
  transition: all 0.3s ease;
}

.this-is-pain2:hover {
  background: none;
  color: #add8e6;
}

.hamburger {
  position: relative;
  display: block;
  width: 35px;
  cursor: pointer;

  appearance: none;
  background: none;
  outline: none;
  border: none;
}

.hamburger .bar,
.hamburger:after,
.hamburger:before {
  content: "";
  display: block;
  width: 100%;
  height: 5px;
  background-color: #fff;
  margin: 6px 0px;
  transition: 0.4s;
}

.hamburger.is-active:before {
  transform: rotate(-45deg) translate(-8px, 6px);
}

.hamburger.is-active:after {
  transform: rotate(45deg) translate(-9px, -8px);
}

.hamburger.is-active .bar {
  opacity: 0;
}

.mobile-nav {
  font-family: "Ubuntu", sans-serif;
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  min-height: 100vh;
  display: block;
  z-index: 98;
  background-color: #121212;
  padding-top: 120px;
  transition: 0.4s;
}

.mobile-nav.is-active {
  left: 0;
}

.mobile-nav a {
  display: block;
  max-width: 200px;
  margin: 0 auto 16px;
  text-align: center;
  padding: 12px 16px;
  background-color: #121212;

  color: #fff;
  text-decoration: none;
}

.mobile-nav a:hover {
  background-color: #add8e6;
  border-radius: 20px;
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }

  .hamburger {
    display: none;
  }
}

section {
  padding: 100px 0;
}

section .title {
  position: relative;
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 60px;
  padding-bottom: 20px;
  font-family: "Ubuntu", sans-serif;
}

section .title::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 220px;
  height: 3px;
  background: #121212;
  transform: translateX(-50%);
}

section .title::after {
  position: absolute;
  bottom: -12px;
  left: 50%;
  font-size: 20px;
  color: #add8e6;
  padding: 5px;
  background: #fff;
  transform: translateX(-50%);
}

.features,
.contributors {
  color: #fff;
  background: #121212;
  font-family: "Poppins", sans-serif;
}

.features,
.contributorss {
  color: #fff;
  background: #121212;
  font-family: "Poppins", sans-serif;
}

.features .title::before,
.contributors .title::before {
  background: #fff;
}

.features .features-content,
.stats .stats-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.card {
  width: 300px;
  height: 350px;
  background: #222;
  text-align: center;
  border-radius: 10px;
  padding-top: 20px;
  padding-bottom: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  justify-content: center;
  margin: auto;
  margin-bottom: 50px;
}

.card.show {
  transform: translateX(0);
  opacity: 1;
}

.card:hover {
  background: #add8e6;
}

.card:hover i {
  color: #fff;
}

.card .box {
  transition: all 0.3s ease;
}

.card:hover .box {
  transform: scale(1.05);
}

.card i {
  font-size: 50px;
  color: #add8e6;
  transition: color 0.3s ease;
}

.card .text {
  font-size: 25px;
  font-weight: 500;
  margin: 10px 0 7px 0;
  color: #fff;
}

/* Walas */
.contributorss .cardd {
  background: #222;
  border-radius: 6px;
  padding: 25px 35px;
  transition: all 0.3s ease;
  overflow: hidden;
  height: 300px;
  width: 300px;
  /* Mengurangi lebar kartu */
  margin: 0 auto;
  /* Tetap di tengah */
  align-items: center;
}

.contributorss .cardd:hover {
  background: #add8e6;
}

.contributorss .cardd .boxx {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
}

.contributorss .cardd:hover .boxx {
  transform: scale(1.05);
}

.contributorss .cardd .text {
  font-size: 25px;
  font-weight: 500;
  margin: 10px 0 7px 0;
}

.contributorss .cardd img {
  height: 150px;
  width: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #add8e6;
  transition: all 0.3s ease;
}

.contributorss .cardd:hover img {
  border-color: #fff;
}

/* ANGGOTA KELAS */
.contributors .carousel .cardd {
  background: #222;
  border-radius: 6px;
  padding: 25px 35px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.contributors .carousel .cardd:hover {
  background: #add8e6;
}

.contributors .carousel .cardd .boxx {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
}

.contributors .carousel .cardd:hover .boxx {
  transform: scale(1.05);
}

.contributors .carousel .cardd .text {
  font-size: 25px;
  font-weight: 500;
  margin: 10px 0 7px 0;
}

.contributors .carousel .cardd img {
  height: 150px;
  width: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #add8e6;
  transition: all 0.3s ease;
}

.contributors .carousel .cardd:hover img {
  border-color: #fff;
}

/* Class Position  */
.badges {
  padding: 5px 10px;
  border: none;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
}

.badges:hover {
  cursor: pointer;
}

.badges.kmwkm {
  background: #4169e1;
}

.badges.kebersihan {
  background: #121212;
  color: #e5eeef;
  border: none;
}

.badges.bendahara {
  background: #ff1476;
  color: #121212;
}

.badges.sekretaris {
  background: #315dd4;
}

.badges.keamanan {
  background: #0047ca;
  color: #222;
}

.badges.keagamaan {
  background: #f4d03f;
  color: #222;
}

.badges.absensi {
  background: #45b39d;
  color: #222;
}

.owl-dots {
  text-align: center;
  margin-top: 20px;
}

.owl-dot {
  height: 13px;
  width: 13px;
  margin: 0 5px;
  outline: none !important;
  border-radius: 50%;
  border: 2px solid #add8e6 !important;
  transition: all 0.3s ease;
}

.owl-dot.active {
  width: 35px;
  border-radius: 14px;
}

.owl-dot.active,
.owl-dot:hover {
  background: #add8e6 !important;
}

footer {
  font-family: "Poppins", sans-serif;
  background: #121212;
  padding: 20px 23px;
  color: #fff;
  text-align: center;
}

footer span a {
  color: #add8e6;
  text-decoration: none;
}

footer span a:hover {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .home .max-width {
    margin-left: 0px;
  }
}

@media (max-width: 1000px) {
  .max-width {
    padding: 0 50px;
  }
}

@media (max-width: 950px) {
  .menu-btn {
    display: block;
    z-index: 999;
  }

  .menu-btn i.active:before {
    content: "\f00d";
  }

  .navbar .menu {
    position: fixed;
    height: 100vh;
    width: 100%;
    left: -100%;
    top: 0;
    background: #121212;
    text-align: center;
    padding-top: 80px;
    transition: all 0.3s ease;
  }

  .navbar .menu.active {
    left: 0;
  }

  .navbar .menu li {
    display: block;
  }

  .navbar .menu li a {
    display: block;
    display: inline-block;
    margin: 20px 0;
    font-size: 25px;
  }

  .home .home-content .text-2 {
    font-size: 70px;
  }

  .home .home-content .text-3 {
    font-size: 35px;
  }

  .home .home-content a {
    font-size: 23px;
    padding: 10px 30px;
  }

  .card {
    width: calc(50% - 10px);
    margin-bottom: 20px;
  }
}

@media (max-width: 690px) {
  .max-width {
    padding: 0 25px;
  }

  .home .home-content .text-2 {
    font-size: 60px;
  }

  .home .home-content .text-3 {
    font-size: 32px;
  }

  .home .home-content a {
    font-size: 20px;
    padding: 9px 25px;
  }

  .card {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .home .home-content .text-2 {
    font-size: 50px;
  }

  .home .home-content .text-3 {
    font-size: 27px;
  }
}

.loader-wrapper {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #222;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: fixed;
}

.longfazers {
  position: absolute;
  width: 100%;
  height: 100%;
}

.longfazers span {
  position: absolute;
  height: 4px;
  width: 20%;
  background: #add8e6;
}

.longfazers span:nth-child(1) {
  top: 20%;
  animation: lf 0.6s linear infinite;
  animation-delay: -5s;
}

.longfazers span:nth-child(2) {
  top: 40%;
  animation: lf2 0.8s linear infinite;
  animation-delay: -1s;
}

.longfazers span:nth-child(3) {
  top: 60%;
  animation: lf3 0.6s linear infinite;
}

.longfazers span:nth-child(4) {
  top: 80%;
  animation: lf4 0.5s linear infinite;
  animation-delay: -3s;
}

@keyframes lf {
  0% {
    left: -200%;
  }

  100% {
    left: 200%;
    opacity: 0;
  }
}

@keyframes lf2 {
  0% {
    left: -200%;
  }

  100% {
    left: 200%;
    opacity: 0;
  }
}

@keyframes lf3 {
  0% {
    left: -200%;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes lf4 {
  0% {
    left: -200%;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

/* MENU */

/* Walas */
.cardclasss {
  width: 500px;
  height: 530px;
  background: #222;
  text-align: center;
  border-radius: 6px;
  padding: 20px 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  margin: 10px;
  overflow: hidden;
}

.cardclasss:hover {
  transform: scale(1.05);
}

.cardclasss img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.card-content h3 {
  margin: 0;
  font-size: 18px;
}

.card-content p {
  margin-top: 8px;
  font-size: 14px;
  color: #fff;
}

.cardclasss:hover {
  background: #add8e6;
}

.cardclasss:hover i {
  color: #fff;
}

.cardclasss .box {
  transition: all 0.3s ease;
}

.cardclasss:hover .box {
  transform: scale(1.05);
}

.cardclasss i {
  font-size: 50px;
  color: #add8e6;
  transition: color 0.3s ease;
}

.cardclasss .text {
  font-size: 25px;
  font-weight: 500;
  margin: 10px 0 7px 0;
  color: #fff;
}

/* IMAGE SLIDE */

.slider-container {
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 10px;
}

.slider-container img {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  border: 10px solid #add8e6;
  transition: transform 0.2s;
}

.slider-container img:hover {
  transform: scale(1.1);
}

.slider-container:hover {
  transform: scale(1);
  z-index: 2;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 100%;
}

.slide img {
  width: 100%;
  height: auto;
}

/* VIDEO SLIDE */

.video-slider-container {
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 10px;
}

.video-slider-container video {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  border: 10px solid #add8e6;
  transition: transform 0.2s;
}

.video-slider-container video:hover {
  transform: scale(1.1);
}

.video-slider-container:hover {
  transform: scale(1);
  z-index: 2;
}

.video-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.video-slide {
  flex: 0 0 100%;
}

.video-slide video {
  width: 100%;
  height: auto;
}

.video-navigation {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

.video-navigation button {
  padding: 8px 12px;
  background-color: transparent;
  color: #3498db;
  border: 1px solid #3498db;
  cursor: pointer;
  transition: background-color 0.3s;
}

.video-navigation button:hover {
  background-color: rgba(52, 152, 219, 0.1);
}

/* Random */
.textt {
  padding-left: 550px;
  padding-bottom: 50px;
}

/* Link file */
.linkfile {
  margin-right: auto;
  font-size: 20px;
}

/* top */
#back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#back-to-top:hover {
  background-color: #0056b3;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
}

/* Style untuk setiap kartu */
.cardclassp5 {
  width: 500px;
  height: 530px;
  background: #222;
  text-align: center;
  border-radius: 6px;
  padding: 20px 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  margin: 10px;
  overflow: hidden;
}

.cardclassp5 img:hover {
  transform: scale(1.06);
  transition: all 0.3s ease-in-out;
}

.cardclassp5 img {
  width: 300px;
  height: auto;
  max-width: 100%;
  margin-bottom: 10px;
}

.card-content h3 {
  margin: 0;
  font-size: 18px;
}

.card-content p {
  margin-top: 8px;
  font-size: 14px;
  color: #fff;
}

.cardclassp5:hover {
  background: #add8e6;
}

.cardclassp5:hover i {
  color: #fff;
}

.cardclassp5 .box {
  transition: all 0.3s ease;
}

.cardclassp5:hover .box {
  transform: scale(1.05);
}

.cardclassp5 i {
  font-size: 50px;
  color: #add8e6;
  transition: color 0.3s ease;
}

.cardclassp5 .text {
  font-size: 25px;
  font-weight: 500;
  margin: 10px 0 7px 0;
  color: #fff;
}

.links {
  color: white;
  text-align: center;
}

/* Info  */
.icon-text {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.logo-image,
.address-image {
  width: 40px;
  margin-right: 10px;
}

.icon-text span {
  font-size: 18px;
  color: white;
}

/* FORM */
.message-container {
  background-color: #f0f0f0;
  color: #333;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 400px;
  margin: auto;
}

h1 {
  margin-top: 0;
  font-size: 24px;
  text-align: center;
}

.message-form {
  display: flex;
  flex-direction: column;
}

.message-form label {
  margin-bottom: 5px;
}

.message-form input[type="text"],
.message-form textarea {
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  width: 100%;
}

.message-form textarea {
  resize: vertical;
}

.message-form button {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
}

.message-form select {
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  width: 100%;
}

.message-form button:hover {
  background-color: green;
}

@media (max-width: 600px) {
  .message-container {
    width: 90%;
  }
}
