@font-face {
  font-family: "windsor_probold";
  src: url("windsorprobold-webfont.woff2") format("woff2"),
    url("windsorprobold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Futura Medium";
  font-style: normal;
  font-weight: normal;
  src: local("Futura Medium"), url("FuturaMedium.woff") format("woff");
}
body {
  font-family: "windsor_probold", "Arial", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  color: #e9bc21;
  /* Nuevo fondo con imagen */
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)),
    url("background.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}
.container {
  text-align: center;
  /* background: rgba(0, 0, 0, 0.7); */
  padding: 30px;
  /* border-radius: 15px; */
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); */
}
h1 {
  text-shadow: 4px 4px 2px rgb(0, 0, 0);
  font-size: 10vw;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
  filter: blur(1px);
  margin: 20px;
}
h3,
h4,
h5 {
  filter: blur(0.65px);
  text-shadow: 1px 1px 1px rgb(0, 0, 0);
  font-family: "Futura Medium", Verdana;
  letter-spacing: 2px;
}
#table-op * {
  text-align: left;
}
#table-all {
  width: 100%;
  display: inline;
}
#table-op {
  padding: 20px;
  background: #00000090;
  border-radius: 12px;
}
.btn {
  font-size: 1.6rem;
  color: #fff;
  text-decoration: none;
  background-color: #ff0000;
  padding: 15px 30px;
  border-radius: 10px;
  border: 2px solid #ff0000;
  transition: all 0.3s ease;
  display: inline-block;
  font-family: "windsor_probold", "Arial", sans-serif;
  margin-left: 50px;
  margin-right: 50px;
  text-shadow: 1px 1px 1px rgb(0, 0, 0);
}
.btn:hover {
  background-color: #cc0000;
  border-color: #cc0000;
  transform: translateY(-3px);
}
.btn:active {
  background-color: #b30000;
  transform: translateY(0);
}

/* Add to existing CSS */
.difficulty {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-difficulty {
  font-size: 1.4rem;
  color: #fff;
  text-decoration: none;
  background-color: #1a237e;
  padding: 12px 25px;
  border-radius: 8px;
  border: 2px solid #3949ab;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-difficulty:hover {
  background-color: #3949ab;
  transform: translateY(-2px);
}

.btn-difficulty.active {
  background-color: #d32f2f;
  border-color: #d32f2f;
}

.btn-about {
  display: block;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #e9bc21;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
  text-shadow: 1px 1px 1px rgb(0, 0, 0);
}

.btn-about:hover {
  opacity: 0.8;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  overflow-y: auto;
}

.modal-content {
  position: relative;
  max-width: 800px;
  margin: 50px auto;
  padding: 40px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid #e9bc21;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #e9bc21;
  font-size: 2.5rem;
  text-decoration: none;
}

.modal-section {
  margin-bottom: 2.5rem;
}

.modal-section a {
  color: #fff;
  text-decoration: none;
}

.modal-section h2 {
  color: #e9bc21;
  border-bottom: 2px solid #e9bc21;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.modal-section p,
.modal-section ul,
.modal-section ol {
  color: #fff;
  line-height: 1.6;
  font-size: 1.1rem;
  font-family: verdana;
}

#arrow-keys {
  width: auto;
  border-collapse: collapse;
  text-align: center;
  margin: auto;
}

#arrow-keys td {
  vertical-align: bottom;
  text-align: center;
  padding: 5px;
}

#arrow-keys img {
  display: block;
  margin: 0 auto;
  width: 100%;
}

#arrow-keys it {
  font-style: italic;
}

#turn-left-key {
  text-align: right !important;
}

#turn-right-key {
  text-align: left !important;
}

@media (max-width: 1200px) {
  h1 {
    text-shadow: 2px 3px 1px rgb(0, 0, 0);
    filter: blur(0.6px);
  }

  h3,
  h4,
  h5 {
    filter: blur(0.55px);
  }
}
