@font-face {
  font-family: "RegalSans";
  src: url('../fonts/Nunito-Regular.ttf');
}
body {
  background-color: #330000;
  color: #ffd700;
  font-family: "RegalSans", "Arial", sans-serif;
  font-size: 18px;
}
.border_info {
  max-height: 350px;
  width: 100%;
}
.brand, .home_header, .section, .home_ld_table, .last_result_table, .livedraw_table {
  text-align: center;
}

.home_header h1 {
  color: #ffcc00;
  text-shadow: 2px 2px #800000;
  overflow: hidden;
  white-space: nowrap;
  border-right: .15em solid #ffd700;
  margin: 0 auto;
  letter-spacing: .1em;
  margin-top: -120px;
  margin-bottom: 80px;
  animation: 
    typing 4s steps(40, end) infinite,
    blink-caret .75s step-end infinite;
}

.menu {
  padding: 0;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
}
.menu li {
  list-style-type: none;
}
.menu li a {
  display: block;
  padding: 15px;
  text-decoration: none;
  color: #ffd700;
  text-shadow: 1px 1px #800000;
}
.menu li a.active {
  color: #330000;
  background-color: #ffd700;
  border: 2px solid #b8860b;
  border-radius: 10px;
  margin: 5px;
  box-shadow: 2px 2px 5px #b8860b;
}

.sidebar, .content {
  background-color: #4d0000;
  padding: 30px 0;
  border-right: 2px solid #800000;
}

.tshadow {
  text-shadow: 2px 2px 2px #800000;
}

footer {
  text-align: center;
  padding: 10px 0;
  margin-top: 20px;
  text-shadow: 1px 1px 2px #b8860b;
}

#preloader {
  overflow: hidden;
  background: linear-gradient(135deg, #800000 0%, #330000 100%);
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: fixed;
  z-index: 9999;
  color: #ffd700;
}

#preloader .jumper {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 50px;
  height: 50px;
}

#preloader .jumper > div {
  background-color: #ffd700;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  position: absolute;
  opacity: 0;
  animation: jumper 1s 0s linear infinite;
}

#preloader .jumper > div:nth-child(2) {
  animation-delay: 0.3s;
}
#preloader .jumper > div:nth-child(3) {
  animation-delay: 0.6s;
}

.changeLang {
  padding: 8px 20px;
  background: #800000;
  border: 1px solid #ffd700;
  border-radius: 5px;
  color: #ffd700;
}

/* Animation keyframes */
@keyframes jumper {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(0);
  }
}

@keyframes typing {
  0% { width: 0 }
  75% { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #ffd700; }
}

@keyframes blinking {
  0%, 100% { color: #ffd700; }
  50% { color: #b8860b; }
}

/* Tables */
.table {
  color: #ffd700;
  background-color: #330000;
}

.table th {
  background-color: #800000;
  color: #ffd700;
}

.table tbody tr td {
  vertical-align: middle;
  background-color: #4d0000;
}

.table tbody tr.odd td {
  background-color: #660000;
}

.table tbody tr.even td {
  background-color: #800000;
}

.consolation, .starter {
  width: 48%;
  display: inline-block;
  text-align: center;
}

.about_title {
  background-color: #800000;
  text-align: center;
  border-radius: 20px;
  box-shadow: 2px 2px 5px #b8860b;
  padding: 10px 20px;
  color: #ffd700;
}

.about_content {
  margin: 20px;
  background-color: #4d0000;
  border: 2px solid #ffd700;
  padding: 15px;
  border-radius: 15px;
  color: #ffd700;
  text-align: left;
}

.about_content h3 {
  margin: 10px 0;
}

.about_list li {
  list-style-type: none;
  padding-left: 20px;
  position: relative;
}

.about_list li:before {
  content: '🏵️';
  position: absolute;
  left: 0;
  top: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
  .home_header h1 {
    font-size: 30px;
    margin-top: -90px;
    margin-bottom: 70px;
  }
}
@media (max-width: 767px) {
  .menu li {
    display: block;
    width: 100%;
  }
  .home_header h1 {
    font-size: 24px;
    margin-top: -70px;
    margin-bottom: 60px;
  }
}
@media (max-width: 575px) {
  .consolation, .starter {
    width: 100%;
  }
}
