/* Text Component */
.text {
  /* padding: 0px 100px; */
  box-sizing: border-box;
  width: 100%;
}

.text img {
  max-width: 100%;
  height: auto;
}

/* Based Component */
.based, .hanging {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  padding: 0px 100px;
  align-self: stretch;
  box-sizing: border-box;
}

.maintitle {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  align-self: stretch;
}

.city {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  align-self: stretch;
}

.line {
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background-color: var(--Text-color, #ffe4e4);
  box-sizing: border-box;
}

.arrow {
  padding-top: 4px;
}

#live-clock {
  font-family: "Spot Mono";
  font-size: 24px;
  /* color: var(--Text-color, #ffe4e4); */
  color: var(--neon);
}

/* History Component */
.history, .hanging-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.history > div {
  display: flex;
  align-items: center;
  gap: 20px;
  align-self: stretch;
}

.history .title {
  display: flex;
  width: 143px;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.link {
  text-decoration: none;
  color: var(--neon);
  position: relative;
}

.link::after {
  content: ""; 
  position: absolute;
  left: 0;
  bottom: -2px; 
  width: 0; 
  height: 2px; 
  background-color: var(--neon);
  border-radius: 2px;
  transition: width 0.6s ease; 
}

.link:hover::after {
  width: 100%; 
}
@media (max-width: 1068px) {
  /* Based Component */
  .based, .hanging {
    padding: 0px 50px;
  }
  .text {
    padding-top: 70px;
  }
}

@media (max-width: 734px) {
  /* Text Component */
  .text {
    margin-top: 100px;
  }

  .text img {
    max-width: 100%;
    height: auto;
  }

  /* Based Component */
  .based, .hanging {
    padding: 0px 30px;
  }

  .based .bodymain, .hanging .bodymain {
    font-size: 16px;
    font-weight: 700;
  }
  .maintitle {
    gap: 0;
  }

  .maintitle .large{
    font-size: 20px;
    width: 95px;
    margin-right: 9px;
  }

  #live-clock {
    font-size: 20px;
    margin-left: 20px;
    font-weight: 700;
  }

  .arrow svg {
    width: 19px;
  }

  .history .title {
    width: 125px;
    flex: 0 0 125px;
  }
}