@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

// <weight>: Use a value from 300 to 800
// <uniquifier>: Use a unique and descriptive class name

.open-sans-<uniquifier> {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

html {
    background: #212121;
    color: #fff;
}


    body {
      font-family: "Open Sans", sans-serif;
      padding: 2rem;
      max-width: 600px;
      margin: auto;
    }

.links {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
}


.links a {
    color: #fff7b3;
    background: #414141;
    border-radius: 4px;
    padding: 5px;
    display: block;
    width: fit-content;
    margin: 0 5px 10px;
    font-size: small;
    text-decoration: blink;
}


    h1 {
    text-align: center;
}


h2, h3 {
    margin: 40px 0 0 0;
}


    #question {
    margin: 30px auto 0;
    border: 1px solid #333;
    padding: 3%;
    border-radius: 10px;
    min-height: 150px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    font-size: 1.6em;
    line-height: normal;
    font-weight: 600;
    text-align: center;
    background: #4d4d4d;
}

#question {
      opacity: 0;
      transition: opacity 1s ease-in-out;
    }
    #question.visible {
      opacity: 1;
    }
    #timer {
      margin-top: 1rem;
    font-size: 1.1rem;
    color: #FFEB3B;
    text-align: center;
    }
button#getQuestion {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(59, 130, 246, 0.3), 0 2px 4px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 auto;
    display: block;
}

button#getQuestion:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4), 0 4px 8px rgba(0, 0, 0, 0.1);
}

button#getQuestion:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.25), 0 2px 4px rgba(0, 0, 0, 0.05);
}

button#getQuestion:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
  color: #f3f4f6;
}

@media (max-width: 600px) {

  #question { 
font-size: 1.3em;  } 
}