:root {
  /* Definir colores para el tema claro */
  --background-color: #F2F2F2;
  --text-color: #333;
}

@font-face {
  font-family: Benzin-Regular ;
  src: url(../fonts/BenzinRegular.ttf);
}

@font-face {
  font-family: Benzin-Bold ;
  src: url(../fonts/BenzinBold.ttf);
}

@font-face {
  font-family: Benzin-ExtraBold ;
  src: url(../fonts/BenzinExtraBold.ttf);
}

/* Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    color-scheme: light;
  }
  
  body {
  margin: 0;
  padding: 0;
  background: #000;
  font-family: Arial, sans-serif;
  color: white;
  display: flex;
  justify-content: center;
  background-image:url(../img/bg.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: black;
}

.container,  #trivia-container {
  width: 100%;
  max-width: 400px;
  text-align: center;
  padding-top: 30px;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

h2, label, .btn {
  font-family: "Benzin-Bold";
}

h1 {
  font-size: 2.8rem;
  color: #FAB71D;
  font-family: "Benzin-ExtraBold";
}

h2 {
  font-size: 1.5rem;
  color: #FAB71D;
}

p, h6 {
font-size: 14px;
    color: #FAB71D;
    font-family: "Benzin-Regular";
    margin-top: 1rem;
    max-width: 90%;
    margin: 1rem auto;
}

label {
  font-size: 1.2rem;
}

.form {
  margin-top: 1rem;
}

/* LOGOS */
.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  height: 20vh;
  flex-direction: column;
  margin-top: 1rem;
}

.logos img {
  width: 200px;
}

.main {
  display: flex;
    flex-direction: column;
    height: 60vh;
    justify-content: center;
}

.title {
  font-weight: bold;
  margin-bottom: 2rem;
}

/* CAMPOS */
.field {
  display: flex;
    justify-content: end;
    align-items: center;
    background: linear-gradient(to right, #ff8a00, #ffaf00);
    padding: 8px 10px;
    margin-bottom: 2px;
}

.field label {
  font-weight: bold;
  color: #000;
  font-size: 16px;
  margin-right: 0.5rem;
}

.field input {
  width: 60%;
  padding: 5px;
  border: none;
  outline: none;
  font-size: 16px;
  background: #000;
  color: white;
  font-family: 'Benzin-Bold';
}

/* BOTÓN */
.btn {
    margin-top: 20px;
    width: 50%;
    padding: 8px 0;
    background: #ffaf00;
    border: none;
    color: #000;
    font-weight: bold;
    font-size: 15px;
    /* border-radius: 2px; */
    cursor: pointer;
    border: 3px solid orange;
    text-transform: uppercase;
}

.btn:hover {
  opacity: 0.9;
}

/****** TRIVIA *********/

    .option-btn {
      display: block;
      width: 100%;
      padding: 12px;
      margin: 8px 0;
      border-radius: 6px;
      border: none;
      background: #e0e0e0;
      cursor: pointer;
      font-size: 16px;
    }
    .option-btn.correct { background: #8BC34A; color: white; }
    .option-btn.incorrect { background: #F44336; color: white; }
    #play-btn {
      display: none;
      margin: 0 auto;
      text-transform: uppercase;
    }

.question-text {
  font-family: "Benzin-Regular";
  margin: 20px 0;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #ffcb4c;
}

.option-btn {
  font-family: "Benzin-Bold";
  width: 85%;
  background: linear-gradient(to right, #ff8a00, #ffb800);
  color: #000;
  padding: 14px 12px;
  text-align: left;
  font-weight: bold;
  border: none;
  margin: 3px auto;
  font-size: 14px;
  cursor: pointer;
  position: relative;
  border-radius: 0;
  font-size: 16px;
  padding-left: 2rem;
}

/* Puntas amarillas */
.option-btn::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 28px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 20px solid #ffb800;
}

.option-btn.correct {
  background: #8BC34A !important;
  color: white;
}

.option-btn.incorrect {
  background: #F44336 !important;
  color: white;
}

.option-btn.correct::after {
  border-left-color: #8BC34A;
}

/* Triángulo rojo */
.option-btn.incorrect::after {
  border-left-color: #F44336;
}

/******** DADOS ***********/

#numForm {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

#new-post {
  display: none;
  margin: 1rem auto;
}

.field-dado {
  width: 80%;
}

.container-dados {
  max-width: 600px;
}

/*** Previa ****/

#previa p {
  text-align: left;
  width: 80%;
  margin: 1rem auto;
  font-size: 18px;
}

#disclaimer {
  font-size: 11px;
}