@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
  font-family: BungeeSpice-Regular;
  src: url(/assets/font/BungeeSpice-Regular.ttf);
  font-weight: 400;
}

body {
  font-family: 'Poppins', sans-serif; /* Font hiện đại hơn */
  background-image: url(/assets/img/background-tet-14_99e6c27f97d947c0ad745992ccdc2c86_1024x1024.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  overflow: hidden;
}

/* Hamburger Menu */
.hamburger-menu {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 100;
  font-size: 30px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  color: #fff;
}

.hamburger-menu.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background-color: #333;
  color: #fff;
  z-index: 101;
  display: flex;
  flex-direction: column;
  transition: left 0.3s ease;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

.side-menu .menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #444;
}

.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-menu ul li {
  padding: 15px 20px;
  border-bottom: 1px solid #444;
}

.side-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

.side-menu ul li a:hover {
  color: #f39c12;
}

.side-menu #close-btn {
  font-size: 25px;
  cursor: pointer;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: none;
}

.overlay.active {
  display: block;
}

ul span {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 15px 20px;
  line-height: 3.7;
  color: #398DFF;
}

 footer a{
  color: #fff!important;
  text-decoration: underline 1.8px #D0D0D0!important;
}

ion-icon {
  margin-top: .5rem;
}

.container {
  text-align: center;
  padding: 20px;
  background: hsla(0, 5%, 92%, 0.93);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

h1 {
  font-family: 'BungeeSpice-Regular';
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #4a4a4a;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  animation: fadeIn 2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.time {
  background: #FFFFFF;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 80px;
  transform: scale(1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.time:hover {
  transform: scale(1.1); /* Phóng to khi hover */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.time span:first-child {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: #2B2A2A;
}

.time span:last-child {
  font-size: 1rem;
  color: #2B2A2A;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.volume-control {
  position: fixed;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 5px 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.volume-control label {
  font-size: 1.5rem;
  margin-right: 10px;
  cursor: pointer;
}

#volume-slider {
  -webkit-appearance: none;
  width: 100px;
  height: 5px;
  background: #e63946;
  outline: none;
  border-radius: 5px;
  cursor: pointer;
}

#volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  background: #4a4a4a;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}


@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }
  .time {
    width: 35px;
    padding: 11px 13px;
  }
  .time span:first-child {
    font-size: 1.5rem;
  }
  .time span:last-child {
    font-size: 0.8rem;
  }
}

footer {
  position: absolute;
  bottom: 1px;
  color: #fff;
}
