h1 {
  font-family: 'Poppins', sans-serif; /* Font modern */
  font-size: 3rem;
  color: #f9f9f9;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Efek bayangan */
  text-align: center;
  margin-bottom: 20px;
  animation: fadeIn 1.5s ease-in-out;
}


/* Animasi halus saat muncul */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
}

.hero {
  background-image: url('logo awal.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5); /* efek gelap agar teks terlihat jelas */
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.logo-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo-wrapper {
  cursor: pointer;
  overflow: hidden;
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  box-shadow: 0 0 15px rgba(158, 28, 28, 0.2);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.logo-wrapper:hover {
  transform: scale(1.08);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Hidden menu by default, with transition */
.logo-links {
  opacity: 0;
  display: flex;
  flex-direction: row; /* ⬅️ Biar menyamping */
  gap: 20px;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  transform: translateY(-10px);
  justify-content: center;
  margin-top: 20px;
}

.logo-links.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


.logo-links a {
  color: #f9f9f9;
  text-decoration: none;
  font-size: 20px;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.logo-links a:hover {
  background-color: #ffffff;
  color: black;
  transform: scale(1.05);
}

.footer {
  text-align: center;
  padding: 20px;
  background-color: #222;
  color: white;
}
/* Styling untuk perangkat dengan layar lebar (desktop) */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Media Query untuk perangkat mobile (screen dengan lebar maksimal 600px) */
@media screen and (max-width: 600px) {
    body {
        background-color: #e0f7fa; /* Ganti warna latar belakang untuk mobile */
    }

    .container {
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    h1 {
        font-size: 24px;
        text-align: center;
    }

    p {
        font-size: 14px;
        line-height: 1.6;
    }

    .nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav a {
        padding: 10px;
        margin: 5px 0;
        text-decoration: none;
        background-color: #00796b;
        color: white;
        border-radius: 5px;
        width: 100%;
        text-align: center;
    }

    .nav a:hover {
        background-color: #004d40;
    }
}

/* Media Query untuk tablet (screen dengan lebar maksimal 768px) */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 28px;
    }

    .container {
        width: 80%;
        margin: 0 auto;
    }

    .nav {
        display: flex;
        justify-content: space-around;
    }
}

/* Media Query untuk layar lebih besar (desktop) */
@media screen and (min-width: 769px) {
    .container {
        width: 60%;
        margin: 0 auto;
    }

    h1 {
        font-size: 36px;
        text-align: left;
    }

    .nav {
        display: flex;
        justify-content: space-between;
    }

    .nav a {
        padding: 10px 20px;
    }
}

@media screen and (max-width: 760px) {
  .title {
    font-size: 30px;
  }



}