/* style.css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f8f9fa;
  color: #2d3748;
  line-height: 1.6;
  padding: 20px;
  max-width: 500px;
  margin: 0 auto;
}

.safe-exit {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e53935;
  color: white;
  border: none;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  z-index: 1000;
}

button {
  background: #4285f4;
  color: white;
  border: none;
  padding: 14px;
  margin: 12px 0;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
}

button:hover {
  opacity: 0.9;
}

input {
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
}

.quiz-option {
  background: #e2e8f0;
  text-align: left;
  margin: 8px 0;
}

.quiz-option.correct {
  background: #c6f6d5;
  border-left: 4px solid #38a169;
}

h1 {
  margin: 20px 0;
  color: #2b6cb0;
}

h2 {
  margin: 20px 0 10px;
  color: #2d3748;
}

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-video {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter:brightness(0,8);
  z-index: -1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  padding: 20px;
  max-width: 80%;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-content button {
  background: #fff;
  color: #e53935;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
}

.hero-content button:hover {
  background: #f8f9fa;
  transform: scale(1.05);
}

.login-form {
  margin-top: 40px;
  padding: 20px;
  background: rgba(255,255,255,0.95);
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.lesson-container {
  padding: 20px;
}

#nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

#nav-buttons button {
  flex: 1;
  margin: 0 5px;
  padding: 12px;
  font-size: 16px;
}

.quiz-option.incorrect {
  background: #fed7d7;
  border-left: 4px solid #e53e3e;
}

#result button {
  background: #38a169;
  margin-top: 20px;
}
#start-quiz-btn {
  background: #3182ce;
  color: white;
  border: none;
  padding: 14px 24px;
  margin: 20px 0;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  width: 100%;
}

#start-quiz-btn:hover {
  background: #2c5282;
  transform: scale(1.02);
  transition: transform 0.2s;
}