/* Replace SCSS variables with CSS variables */
:root {
  --text-color: #1d1e22;
  --bg-color: oklab(77.47500000000001% -0.12707 0.02522);
  --bg-color2: white;
  --text-font: "Google Sans", Roboto, RobotoDraft, Helvetica, Arial, sans-serif;
}

body {
  background-color: var(--bg-color);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  box-sizing: border-box;
}

#quote-box {
  padding: 20px;
  width: 90%;
  max-width: 500px;
  margin: 50px auto 0 auto;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background-color: var(--bg-color2);
  box-sizing: border-box;
}

#text, #author {
  font-family: var(--text-font);
  color: var(--text-color);
  word-break: break-word;
}

#text {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 20px;
}

#author {
  text-align: right;
  margin-bottom: 10px;
  font-size: 1em;
}

#new-quote {
  background: linear-gradient(to right, #ff416c, #ff4b2b);
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  font-size: 1em;
  margin: 0 auto;
  cursor: pointer;
  border-radius: 5px;
  display: block;
}

a {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(to right, #1DA1F2, #0F1419);
  color: white;
  font-size: 1em;
  text-decoration: none;
  border-radius: 5px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

a:hover {
  background: linear-gradient(to right, #0F1419, #1DA1F2);
}

h1, p {
  text-align: center;
  font-family: var(--text-font);
}

h1 {
  font-size: 2em;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 10px;
}

p {
  font-size: 1.1em;
  color: #333;
  margin-bottom: 25px;
  margin-left: 10px;
  margin-right: 10px;
}

/* Responsive styles */
@media (max-width: 600px) {
  #quote-box {
    padding: 10px;
    margin-top: 20px;
  }
  h1 {
    font-size: 1.5em;
  }
  #text {
    font-size: 1em;
  }
  #author {
    font-size: 0.95em;
  }
  #new-quote, a {
    font-size: 0.95em;
    padding: 8px 12px;
  }
  p {
    font-size: 1em;
  }
}

