/* =====================
   FONTURI SI RESET
===================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0e0e0e;
  --accent: #ff8800;
  --text: #ffffff;
  --muted: #cccccc;
  --card: rgba(255,255,255,0.05);
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

/* =====================
   HEADER
===================== */
header {
  text-align: center;
  background: linear-gradient(90deg, #ff0000, #ff8800);
  padding: 50px 20px;
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2rem;
  font-weight: 500;
}

/* =====================
   BUTON ÎNAPOI LA INDEX
===================== */
.back-btn-container {
  text-align: center;
  margin: 20px 0;
}

.back-btn {
  text-decoration: none;
  background: linear-gradient(45deg, #ff8800, #ff0000);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
}

.back-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(45deg, #ff0000, #ff8800);
}

.clock-container{
  max-width:auto;
  max-height:auto;
  justify-self: center;
  align-items: center;
  margin-top: 15px;
  font-size: 1.5em;
  letter-spacing: 2px;
  text-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff;
}

/* =====================
   SECTIUNEA ABOUT
===================== */
.aboutMihai {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 20px;
  gap: 30px;
}

.profile-img {
  width: 300px;
  max-width: 80%;
  border-radius: 15px;
  border: 5px solid rgb(75,75,75);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.about-text {
  max-width: 800px;
  text-align: justify;
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 15px;
  border: 2px solid rgba(255,255,255,0.1);
  line-height: 1.6;
}

.socialMedia a{
  text-decoration: none;
  color:white;
  margin-left:10px;
  margin-right:10px;
  font-size: x-large;

}

.socialMedia {
  display: inline;
}

#quiz-container { max-width:720px; margin:auto; background:rgba(255,255,255,0.04); border-radius:12px; padding:28px; }
  button { margin:8px; padding:10px 18px; border-radius:8px; border:none; background:#0077ff; color:#fff; cursor:pointer; }
  button:disabled { opacity:0.5; cursor:not-allowed; transform:none; }
  #quiz-screen, #end-screen { display:none; }
  #progress-bar { width:100%; height:10px; background:rgba(255,255,255,0.08); border-radius:6px; margin:16px 0; overflow:hidden; }
  #progress { height:100%; width:0%; background:linear-gradient(90deg,#0077ff,#00d4ff); transition:width .3s ease; }
  .correct { color:#0f0; } .wrong { color:#f55; }

/* =====================
   DECORATIE
===================== */
.decoration img {
  position: fixed;
  left: 0;
  bottom: 0;
  max-width: 6vw;
  z-index: 1;
}

/* =====================
   FOOTER
===================== */
footer {
  text-align: center;
  padding: 30px 20px;
  background: #111;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 900px) {
  header h1 {
    font-size: 2.2rem;
  }
  header p {
    font-size: 1rem;
  }
  .profile-img {
    width: 250px;
  }
}

@media (max-width: 600px) {
  header h1 {
    font-size: 1.8rem;
  }
  .profile-img {
    width: 200px;
  }
  .about-text {
    font-size: 0.9rem;
  }
}




