@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");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");
@font-face {
  font-family: "Digital-7";
  src: url("../font/Digital-7.eot");
  src: url("../font/Digital-7.eot?#iefix") format("embedded-opentype"),
    url("../font/Digital-7.woff2") format("woff2"),
    url("../font/Digital-7.woff") format("woff"),
    url("../font/Digital-7.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Digital-7 Mono";
  src: url("../font/Digital-7Mono.eot");
  src: url("../font/Digital-7Mono.eot?#iefix") format("embedded-opentype"),
    url("../font/Digital-7Mono.woff2") format("woff2"),
    url("../font/Digital-7Mono.woff") format("woff"),
    url("../font/Digital-7Mono.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
* {
  padding: 0;
  margin: 0;
  /* font-family: "Poppins", sans-serif; */
  font-family: "Roboto", sans-serif;
  /* font-family: "Playfair Display", serif; */
  font-weight: 800;
}
body {
  text-align: center;
  background-color: black;
  color: #fff;
  padding: 0;
  margin: 0;
  overflow-x:hidden;
  overflow-y:hidden;
}
.container {
  padding: 0 20px;
  margin: 0 auto;
  max-width: 1480px;
  width: 100%;
}
.header_section {
  border-bottom: 1px solid;
}
.header_about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}
.header_about .logo {
  width: 20%;
  text-align: left;
}
.header_about .logo img {
  max-width: 90px;
}
.main_title {
  margin-bottom: 0;
}
.main_title .heading {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}
.title_hindi {
  display: block;
  font-size: 30px;
  color: #fff;
  font-weight: 600;
}
.section-text {
  margin: 0;
  color: white;
  font-weight: 800;
  font-size: 24px;
  animation: 1s blinker linear infinite;
  -webkit-animation: 1s blinker linear infinite;
  -moz-animation: 1s blinker linear infinite;
  color: red;
}
.section_title .title_hindi {
  animation: 1s blinker linear infinite;
  -webkit-animation: 1s blinker linear infinite;
  -moz-animation: 1s blinker linear infinite;
  color: red;
}
.kilometer_info {
  animation: 1s blinker linear infinite;
  -webkit-animation: 1s blinker linear infinite;
  -moz-animation: 1s blinker linear infinite;
}
@-moz-keyframes blinker {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes blinker {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blinker {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.section_title {
  margin-bottom: 5px;
}
.header_left span {
  display: block;
  font-size: 24px;
  color: #fff;
  font-weight: 800;
}
.track-container {
  padding: 0;
}
/* .track-container {
  width: 100%;
  margin: 20px auto 0;
  position: relative;
  height: 690px;
} */
.speed_section {
  display: flex;
  align-items: center;
  justify-content: end;
  /* gap: 110px; */
  padding: 20px 30px 0;
  /* position: relative; */
  background-color: #428bca;
}
.top_track_section,
.bottom_track_section {
  padding:0;
}

.track-1.track-2{
  overflow-x: hidden;
  background-color: #428bca;
}
.train_track {
  display: flex;
  align-items: center;
  position: relative;
 
}
.track_direction {
  display: inline-block;
  font-size: 25PX;
  color: #fff;
  font-weight: 600;
  padding: 10px 0 0;
}
.track_bg {
  height: 45px;
}
.small_container {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}
.poll_container {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: 650px;
  width: 100%;
  padding: 40px 0 30px;
  margin: 0 auto;
}
.track_line1 {
  width: 80%;
  height: 25px;
  background-image: url("../images/main_track.png");
  background-repeat: repeat-x;
  background-position: center center;
  background-size: contain;
  position: relative;
}
.track_line {
  width: 100%;
  height: 25px;
  background-image: url("../images/red_track1.png");
  background-repeat: repeat-x;
  background-position: center center;
  background-size: contain;
  position: relative;
}
.track_line3 {
  width: 80%;
  height: 25px;
  background-image: url("../images/main_track.png");
  background-repeat: repeat-x;
  background-position: center center;
  background-size: contain;
  position: relative;
}
.top_track_section{
  padding:30px 0 0;
}
.station {
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding: 20px 20px 0;
    position: relative;
    margin-bottom: 15px;

}
/* .station-1{
  background-color: #428bca;

} */
.stationLine {
  position: absolute;
  left: 0;
  bottom: 5px;
  background-image: url("../images/grass.png");
  background-repeat: repeat-x;
  background-position: center center;
  background-size: contain;
  /* top: 0px; */
  width: 100%;
  height: 45px;
}
.station-1 img, .station-2 img {
 
  margin-bottom: 30px;
  max-width: 185px;
  position: relative;
  z-index:-1;
}
.station-1,
.station-2 {
   margin-top : 50px;
  position: relative;
  display: flex;
  align-items: end;
}
.station_name {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 25PX;
  line-height: 1;
  font-weight: 800;
  color: black;
}
.speed_dial img {
  max-width: 150px;
}
.speed_dial {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  width: auto;
  margin-top: 0;
  /* margin-bottom: 10px; */
}
.table-section {
  margin: 20px 0 0;
}
td {
  padding: 10px;
}
.triangle-up {
    width: 0;
    height: 0;
    border-left: 90px solid transparent;
    border-right: 90px solid transparent;
    border-bottom: 150px solid #fec600;
    position: relative;
    margin: 0 0 auto;
}
.kilometer_info {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
}
.speed_title {
  display: block;
  font-size: 20px;
  line-height: 1;
  color: #000;
  font-weight: 800;
  margin: 5px 0;
}
.digital_font {
  font-size: 45px !important;
  font-weight: 800 !important;
}
.speed_dial .kilometer_text {
  display: block;
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
  text-align: center;
  width: 100%;
  letter-spacing: 2px;
  color: #000;
}
.track-bottom {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 150px;
  padding: 20px 50px 0;
}
.kilometer-mark img {
  max-width: 70px;
}
.kilometer-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.kilometer-mark .kilometer_text {
  font-size: 18px;
  color: #fff;
  text-align: center;
  word-wrap: break-word;
  width: 100px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
.heading1 {
  display: block;
  font-weight: 800;
  font-size: 25PX;
  color: #fff;
  /* writing-mode: vertical-rl;
  text-orientation: upright; */
  border-bottom: 2px solid #fff;
  /* letter-spacing: -3px; */
  padding-bottom: 0;
}
.heading2 {
  display: block;
  font-weight: 800;
  font-size: 25PX;
  color: #fff;
  padding-top: 0;
}
.remark_box {
  color: #fff;
  font-weight: 800;
  line-height: 1.3;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  width: 60%;
  margin: 20px auto;
}
.remark_box .remark_title {
  color: #000;
  background: #fec600;
  width: 100%;
  padding: 5px 0;
  font-size: 25PX;
  font-weight: 800;
}
.remark_box .remark_text {
  display: block;
  padding: 10px;
  font-size: 25PX;
}
.information_box {
  color: #fff;
  font-weight: 800;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  width: 15%;
  background: #fec600;
  /* position: absolute; */
  /* left: 40%; */
  /* top: 40px; */
  /* transform: translateX(-50%); */
  width: auto;
  max-width: 450px;
}
.information_box .information_title {
  color: #000;
  width: 100%;
  padding: 10px 0;
  font-size: 20px;
  font-weight: 800;
  border-bottom: 2px solid #000;
}

.information_box .information_text {
  display: block;
  padding: 10px;
  font-size: 20px;
  color: #000;
  width: 400px;
}
#container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 10px;
}
input,
button {
  display: block;
  margin: 0 auto;
  padding: 5px;
  font-size: 14px;
}
#sliderContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 20px;
}

#sliderContainer input[type="range"] {
  width: 200px;
}

#rangeValue {
  text-align: center;
  margin-top: 10px;
}

.down_train {
  width: 40%; /* Train size */
  height: 100px;
  overflow: hidden;
  background-image: url("../images/down_dir_train.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  position: absolute;
  top: -80px;
  /* right: -80em; */
  transform: translateX(1550px);
  z-index: 99;
}

.up_train {
  width: 40%; /* Train size */
  height: 100px;
  overflow: hidden;
  background-image: url("../images/up_dir_train.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  position: absolute;
  transform: translateX(620px);
  top: -80px;
  /* left: -80em; */
  z-index: 99;
}
@keyframes moveTrainUp {
  0% {
    transform: translateX(-100%); 
    animation-timing-function: linear; 
  }
  25%{
    transform: translateX(-22%); 
  }
  75%{
    transform: translateX(80%);
   
  }
  /* 85% {
    transform: translateX(75%); 
  } */
  100% {
    transform: translateX(250%); 
    animation-timing-function: linear; 
  }
}
@keyframes moveTrainDown {
  0% {
    transform: translateX(250%);
    animation-timing-function: linear;
  }
  25%{
    transform: translateX(175%); 
  
  }
  75%{
    transform: translateX(60%); 
 
  } 
  /* 85% {
    transform: translateX(75%); 

  } */

  100% {
    transform: translateX(-100%); 
    animation-timing-function: linear;
  }
}

.rwd-table {
  width: 95%;
  margin: 0 auto;
  max-width: 100%;
  border-collapse: collapse;
}

.rwd-table tr:first-child {
  border-top: none;
  background: #428bca;
  color: #fff;
}

.stickytableheader {
  position: fixed;
  width: 95%;
  top: 0;
  
}

.rwd-table tr {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background-color: #f5f9fc;
}

.rwd-table tr:nth-child(odd):not(:first-child) {
  background-color: #ebf3f9;
}

.rwd-table th {
  display: none;
}
.rwd-table td:first-child {
  margin-top: 0.5em;
}

.rwd-table td:last-child {
  margin-bottom: 0.5em;
}

.rwd-table td:before {
  content: attr(data-th) ": ";
  font-weight: 800;
  width: 120px;
  display: inline-block;
  color: #000;
}

.rwd-table th,
.rwd-table td {
  text-align: left;
}

.rwd-table {
  color: #333;
  border-radius: 0.4em;
  overflow: hidden;
}

.rwd-table tr {
  border-color: #bfbfbf;
}
.rwd-table th,
.rwd-table td {
  padding: 0.5em 1em;
}
.rwd-table tr:nth-child(2) {
  border-top: none;
}
.rwd-table tr:hover:not(:first-child) {
  background-color: #d8e7f3;
}
.rwd-table td:before {
  display: none;
}
.rwd-table th,
.rwd-table td {
  display: table-cell;
  padding: 0.25em 0.5em;
}
.rwd-table th:first-child,
.rwd-table td:first-child {
  padding-left: 0;
  width: 100px;
}
.rwd-table th:nth-child(02),
.rwd-table td:nth-child(02) {
  width: 750px;
}
.rwd-table th:nth-child(03),
.rwd-table td:nth-child(03) {
  width: 300px;
}
.rwd-table th:nth-child(04),
.rwd-table td:nth-child(04) {
  width: 300px;
}
.rwd-table th:nth-child(05),
.rwd-table td:nth-child(05) {
  width: 350px;
}
.rwd-table th:nth-child(06),
.rwd-table td:nth-child(06) {
  width: 400px;
  color: red;
}
.rwd-table th:last-child,
.rwd-table td:last-child {
  padding-right: 0;
  width: 800px;
}
.rwd-table th,
.rwd-table td {
  padding: 5px !important;
  font-size: 20PX;
  font-weight: 700;
  text-align: center;
  line-height:1;
}
/* Table change animation */
.slide-out {
  animation: slideOut 1s forwards; /* Animation lasts for 1 second */
}

@keyframes slideOut {
  0% {
    transform: translateX(0); /* Start from the current position */
  }
  100% {
    transform: translateX(-100%); /* Slide out to the left */
  }
}
.slide-in {
  animation: slideIn 1s forwards;
}
@keyframes slideIn {
  0% {
    transform: translateX(100%); /* Start off-screen to the right */
  }
  100% {
    transform: translateX(0); /* End at current position */
  }
}
/* ------------- */

.blink {
  animation: blink-highlight 1s infinite;
  -webkit-animation: blink-highlight 1s infinite;
  -moz-animation: blink-highlight 1s infinite;
}

@-webkit-keyframes blink-highlight {
  0%,
  100% {
    background-color: #fff080;
  }
  50% {
    background-color: #fec600;
  }
}

@keyframes blink-highlight {
  0%,
  100% {
    background-color: #fff080;
  }
  50% {
    background-color: #fec600;
  }
}

@-moz-keyframes blink-highlight {
  0%,
  100% {
    background-color: #fff080;
  }
  50% {
    background-color: #fec600;
  }
}

