/* Reset mặc định */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  transition: background 0.3s, color 0.3s;
  padding-top: 60px;
  /* Để top bar không che nội dung */
}

/* Chủ đề */
.theme-light {
  background: #ffffff;
  color: #000000;
}

.theme-dark {
  background: #222;
  color: #ffffff;
}

.theme-blue {
  background: #2196F3;
  color: #ffffff;
}

.theme-green {
  background: #4CAF50;
  color: #ffffff;
}

/* Thanh top bar */
#top-bar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 50px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  font-size: 18px;
  z-index: 1000;
}

#time {
  font-weight: bold;
}

/* Thanh navbar */
#navbar-top {
  display: flex;
  justify-content: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  margin: 10px auto;
  max-width: 500px;
}

button {
  margin: 5px;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  font-size: 14px;
  transition: 0.3s;
}

button:hover {
  opacity: 0.8;
}

/* Các card chứa thông tin */
.card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  margin: 10px auto;
  width: 90%;
  max-width: 600px;
}

.card h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card-background-container {
  text-align: center;
  margin-bottom: 20px;
}

.card-background {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

/* Bố cục flex */
.web-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hiển thị tốt trên thiết bị di động */
@media (max-width: 600px) {
  body {
    font-size: 14px;
  }

  button {
    padding: 8px 12px;
    font-size: 12px;
  }

  .card {
    width: 95%;
  }
}