body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  cursor: none;
  padding: 0%;
  margin: 0%;
  
}

.backgrounds {
  padding: 0%;
  margin: 0%;
  z-index: -5;
  background-size: cover;
  background-image: linear-gradient(bottom, (0, 0, 0, 0), (0, 0, 0, 1));
  
}

.background {
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  width: 100%;
}
.showing {
  opacity: 1;
}

.box {
  border-radius: 10px;
  border: 0.2vh solid rgb(255, 255, 255,0.3);
  text-align: center;
}

.box2 {
  padding: 10px 20px;
  backdrop-filter: blur(3px) saturate(220%);
  background-color: #0000008a;
  border-radius: 30px;
  box-shadow: 0 32px 32px rgba(0, 0,0,0.5);
  border: 0.2vh solid rgb(255, 255, 255,0.3);
}

.bg-1 {
  opacity: 1;
}

.bg-2 {
  opacity: 0;
}


.main-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 25px;
  padding: 0 40px;
  height: calc(100vh - 240px);
  align-items: start;
}

#clock {
  font-size: 150px;
  font-weight: 800;
  margin: 10px 0 5px 0;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
  text-align: center;
  align-self: center;
  z-index: 1;
}

.welcome-container {
  text-align: center;
  margin: 0 0 10px 0;
}

h3, .detail-label, .weather-icon {
  font-size: 2vh;
  font-weight: 600;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  padding: 10px 25px;
  display: inline-block;
}

.weather-widget {
  padding: 20px;
  height: fit-content;
}


.weather-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 43%;
  margin-bottom: 15px;
}

h2 {
  font-size: 24px;
  font-weight: 700;
  color: white;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

#weather-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.current-weather {
  text-align: center;
  margin-bottom: 20px;
}

.temperature {
  font-size: 52px;
  font-weight: 800;
  margin: 8px 0;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.weather-desc {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 5px;
  color: white;
}

.weather-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 15px;
}

.weather-detail {
  padding: 12px;
  text-align: center;
}



.weather-forecast {
  margin-top: 20px;
}

.forecast-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  opacity: 0.9;
  color: white;
}

.forecast-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.bus-section {
  height: fit-content;
  display: flex;
  flex-direction: column;
}

.bus-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
}

.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 8px 0 4px 0;
  padding: 0;
}

.slide-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.slide-dot.active {
  background: #ff7ea7;
  border-color: #ff7ea7;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 126, 167, 0.4);
}

.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.stop-title {
  font-size: 28px;
  margin: 4px 0 15px 0;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.bus-table {
  width: 100%;
}

.bus-row {
  display: grid;
  grid-template-columns: 120px 100px 1fr 110px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 22px;
  align-items: center;
  color: white;
  min-height: 50px;
}

.bus-exact {
  font-weight: 600;
  opacity: 0.95;
  color: #4cd964;
  font-size: 20px;
}

.bus-line {
  background: #ff7ea7;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: bold;
  color: white;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(243, 74, 128, 0.4);
  font-size: 18px;
  min-width: 70px;
  text-align: center;
}

.bus-dest {
  padding-left: 12px;
  font-weight: 500;
  opacity: 0.95;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: white;
  font-size: 20px;
}

.bus-time {
  text-align: right;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: bold;
  color: white;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
  font-size: 18px;
  min-width: 70px;
}

.bus-time.soon {
  background: rgba(255, 80, 80, 0.4);
  box-shadow: 0 4px 12px rgba(255, 80, 80, 0.45);
  color: #ffe6e6;
}

.bus-time.medium {
  background: rgba(230, 165, 0, 0.45);
  box-shadow: 0 4px 12px rgba(230, 165, 0, 0.45);
  color: #fff8c4;
}

.bus-time.later {
  background: rgba(60, 200, 90, 0.4);
  box-shadow: 0 4px 12px rgba(60, 200, 90, 0.45);
  color: #e6ffed;
}


.main-content {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 25px;
}

#clock {
  font-size: 120px;
}

.temperature {
  font-size: 44px;
}

.bus-row {
  grid-template-columns: 110px 90px 1fr 100px;
  font-size: 20px;
  padding: 12px 0;
}

.stop-title {
  font-size: 24px;
}

.bus-time {
  font-size: 18px;
}



@keyframes scrollAnim {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes scroll {
  from {translate: 0;}
  to {translate: -100%;}
}

.announcement-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  white-space: nowrap;
  overflow-x: auto;
  position: relative;
  padding: 10px 20px;
  backdrop-filter: blur(5px) saturate(220%);
  background-color: #0000008a;
  box-shadow: 0 32px 32px rgba(0, 0,0,0.5);
  border-bottom: 0.2vh solid rgb(255, 255, 255,0.3);
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  animation: scroll 30s linear infinite;
  padding-right: 1em;
}

.announcement-text {
  flex: 0 0 5em;
  font-size: 24px;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.credit-container {
  align-self: center;
  text-align: center;
  position: fixed;
  bottom: 2%;
  margin: 10px 0 5px 0;
  backdrop-filter: blur(5px) saturate(220%);
  background-color: #0000008a;
  border-radius: 18px;
  box-shadow: 0 32px 32px rgba(0, 0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.164);
  transition: all 0.5s ease;
  border: 0.2vh solid rgb(255, 255, 255,0.3);
}

.credit-text {
  font-size: 14px;
  font-weight: 500;
  color: rgb(255, 255, 255);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  padding: 6px 15px;
  display: inline-block;
}

::-webkit-scrollbar {
  display: none;
}

* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}


* {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}