body {
    font-family: Arial, sans-serif;
    background-color: #006699;
    margin: 0;
    padding: 0;
}













/* ------------------------------------------------------------------------------------ */

/* === NAVBAR === */
.navbar {
  position: sticky;
  top: 0;
  width: 97%;
  background: #000; /* siyah */
  color: #fff;
  border-radius: 30px;
  align-items: center;
  text-align: center;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-left .logo {
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.nav-left .site-desc {
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  align-items: center;
   background: linear-gradient(135deg, #5a25d4, #a8edea);
   width: 220px;
  height: 30px;
  border-radius: 50px;
}


.nav-left .site-desc:hover {
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  align-items: center;
   background: rgb(18, 18, 143);
   color: yellow;
   width: 220px;
  height: 30px;
  border-radius: 50px;
}



.nav-right a {
  background: linear-gradient(135deg, #5a25d4, #a8edea);
  color: white;
  padding: 10px 16px;
  margin: 0 5px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.nav-right a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
   background: rgb(18, 18, 143);
   color: yellow;
}






/* Hamburger buton */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

/* Mobil görünüm */
@media (max-width: 768px) {
  .nav-right {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #5a25d4;
    text-align: center;
    margin-top: 10px;
    border-radius: 8px;
  }

  .nav-right a {
    display: block;
    margin: 10px 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-right.active {
    display: flex;
  }
}



/* ------------------------------------------------------------------------------------ */










.container {
    background-color: #b3004d;
    width: 80%;
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
    border-radius: 5px;
    color: white;
    position: relative;
}

h2 {
    text-align: center;
    color: white;
    background-color: #b3004d;
    
}

p9 {
      text-align: center;
      background-color: #e70a8b;
      color: yellow;
      font-size: 14px;
      font-weight: bolder;
     align-items: center;
     
      
    }
#question {
    background-color: #006699;
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
}



.options {
    margin-top: 15px;
}

.options button {
    display: block;
    width: 100%;
    background-color: black;
    color: white;
    padding: 10px;
    margin: 5px 0;
    border-radius: 6px;
    border: 2px solid white;
    font-weight: bold;
    cursor: pointer;
}

.options button:hover {
    background-color: #b3004d;
}

.buttons {
    margin-top: 15px;
    text-align: center;
}

#next-btn, #finish-btn, #restart-btn, #restart-btn2, #start-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

#next-btn {
    background-color: green;
    color: white;
}

#next-btn:hover {
    background-color: #b3004d;
}

#finish-btn {
    background-color: dodgerblue;
    color: white;
}

#finish-btn:hover {
    background-color: #b3004d;
}

#restart-btn, #restart-btn2 {
    background-color: orange;
    color: white;
}

#restart-btn:hover, #restart-btn2:hover {
    background-color: #b3004d;
}

label {
    display: block;
    margin-top: 10px;
    color: white;
    font-weight: bold;
}

#username {
    width: 40%;
    padding: 8px;
    border: 6px solid rgb(14, 12, 12);
    color: rgb(92, 6, 6);
    background-color: #c9f1b4;
    border-radius: 6px;
    margin-top: 5px;
    font-size: 16px;
}

#username:focus {
    border-color: rgb(65, 22, 237);
    outline: none;
}

#creator {
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 12px;
    font-style: italic;
    color: white;
}

#score {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
}

#fireworks-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}






/* 🔹 RENKLENDİRME VE SORU SAYISI  */
#progress {
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
    color: yellow;
    background-color: #000;
    padding: 8px;
    border-radius: 8px;
}

/* 🔹 RENKLENDİRME VE SORU SAYISI */
.correct {
    background-color: green !important;
    color: white;
}
.wrong {
    background-color: red !important;
    color: white;
}
/* 🔹 RENKLENDİRME VE SORU SAYISI SONU */



/* -----------------------
   EK: Zamanlayıcı görünümü
   ----------------------- */
#timer {
    margin-top: 10px;
    text-align: center;
    font-weight: bold;
    color: orange;
    background-color: #222;
    padding: 6px;
    border-radius: 8px;
}

/* -----------------------
   EK: Sonuç ekranı (küçük stil)
   ----------------------- */
#result-container {
    display: none; /* JS gösterir */
}

/* -----------------------
   EK: Fireworks canvas (tam ekran, pointer-events none)
   ----------------------- */
#fireworks-canvas {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    width: 100%;
    height: 100%;
}
