@import url("https://fonts.googleapis.com/css2?family=Fugaz+One&display=swap");

@font-face {
  font-family: "MyFont";
  src: url(RingMatrix.ttf);
}

* {
  box-sizing: border-box;
  color: white;
  font-family: "MyFont";
  letter-spacing: -0.1rem;
}

body {
  overflow-x: hidden;
}

#board {
  width: 1000px;
  margin: 5rem auto;
  border: 15px solid rgb(43, 42, 42);
  position: relative;
}

#schedule {
  width: 100%;
  height: 240px;
  background-color: black;
  position: relative;
}

.arrival {
  height: 80px;
  width: 100%;
  display: flex;
  padding: 0 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 2.4rem;
  position: absolute;
  left: 0;
  z-index: 0;
}

.train-icon {
  height: 80%;
  width: auto;
}

.destination {
  width: 70%;
}

.eta {
  width: 15%;
  text-align: center;
}

#info {
  width: 100%;
  height: 40px;
  background-color: rgb(0, 42, 120);
  font-size: 1.6rem;

  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

#announce {
  width: 86%;
}

#current-time {
  width: 12%;
  text-align: center;
  letter-spacing: 0;
}

#frame-cover {
  position: absolute;
  top: -15px;
  left: -15px;
  width: calc(1000px);
  height: calc(280px + 15px * 2);
  border: 15px solid rgb(43, 42, 42);
  z-index: 1;
}

#left-cover,
#right-cover {
  position: absolute;
  top: -15px;
  width: 100%;
  height: calc(280px + 15px * 2);
  background-color: white;
  z-index: 1;
}

#left-cover {
  left: calc(-1000px + 15px);
}

#right-cover {
  left: calc(1000px - 15px);
}

#arrive-button {
  padding: 0.5rem 1.2rem;
  display: block;
  margin: 1rem auto;
  color: white;
  letter-spacing: 0;
  border: none;
  box-shadow: 1px 1px 3px gray;
  font-size: 1.4rem;
  background-color: #051a91;
  border-radius: 1rem 0 0 0;
  font-family: "Fugaz One", cursive;
  cursor: pointer;
}

#arrive-button:active {
  box-shadow: 0px 0px 1px gray;
  transform: translate(1px, 1px);
}
