html,
body {
  overflow-x: hidden;
}

/* ================= NAVBAR (INDEX STYLE) ================= */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #111827;
  border-radius: 10px;
  width: 95%;
  margin: 16px auto;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.navbar ul {
  display: flex;
  list-style: none;
  width: auto;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.navbar ul li {
  margin-left: 0;
}

.navbar ul li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2rem;
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.navbar ul li a:hover {
  color: #000000;
  background-color: #ffffff;
}

.logo {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 50px;
  border-radius: 15px;
}

.login-container {
  display: flex;
  align-items: center;
  width: auto;
  gap: 8px;
}

.login-container i {
  font-size: 2rem;
  color: #ffffff;
  padding: 6px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.login-container i:hover {
  background-color: #fff;
  color: #000000;
}

.login-btn,
.register-btn {
  padding: 0.5rem 1rem;
  background-color: #ffffff;
  color: #000000;
  border: 2px solid #ffffff;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.login-btn:hover,
.register-btn:hover {
  background-color: #000000;
  color: #ffffff;
}

/* ================= PAGE CONTENT ================= */

h1 {
  text-align: center;
  margin: 30px;
  font-size: 40px;
  font-family: "Dancing Script", cursive;
  font-weight: bold;
}

.container {
  background-color: #ededed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: min(900px, 92%);
  margin: 30px auto;
  padding: 30px 20px;
  border-radius: 12px;
  box-sizing: border-box;
}

.image img {
  width: 100%;
  border-radius: 10px;
}

.disc h3 {
  text-align: center;
  font-size: 32px;
  margin-top: 20px;
}

.par {
  min-height: 40vh;
  height: auto;
  width: 85%;
  margin: 20px auto;
  line-height: 1.8;
  text-align: center;
}

.title-one,
.title-two {
  font-size: 18px;
  text-align: center;
  margin-bottom: 15px;
}

.title-one {
  margin-bottom: 30px;
}

/* ================= FOOTER ================= */

footer {
  background-color: #111827;
  color: #fff;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  margin-top: 80px;
  border-radius: 10px;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px 30px;
}

footer div {
  max-width: 350px;
}

footer h3 {
  font-size: 24px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

footer h3:hover {
  transform: translateY(-3px);
  color: #f97316;
}

footer p {
  font-size: 15px;
  margin: 10px 0;
  color: #d1d5db;
  line-height: 1.6;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin: 10px 0;
}

footer ul li a {
  text-decoration: none;
  color: #d1d5db;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
}

footer ul li a:hover {
  padding-left: 8px;
  color: #f97316;
  transform: translateX(5px);
}

footer i {
  margin-right: 10px;
  color: #f97316;
  font-size: 16px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

  .navbar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .navbar ul {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
  }

  .navbar ul li a {
    width: 100%;
  }

  .login-container {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .par {
    width: 95%; 
  }

  footer {
    text-align: center;
  }
}

@media (max-width: 420px) {
  .navbar ul li a {
    font-size: 1.05rem;
  }

  .login-container i {
    font-size: 1.6rem;
  }
}
