@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f4f6f9;
  color: #333;
  line-height: 1.6;
  padding: 0 15px;
}

header {
  text-align: center;
  background: linear-gradient(135deg, #0078ff, #00c6ff);
  color: white;
  padding: 40px 20px;
  border-radius: 12px;
  margin: 30px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 900px;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

header h2 {
  font-weight: 300;
}

section {
  background: white;
  margin: 25px auto;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
  max-width: 900px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

section:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

section h3 {
  color: #0078ff;
  margin-bottom: 12px;
  border-bottom: 2px solid #0078ff;
  display: inline-block;
  padding-bottom: 5px;
  font-weight: 600;
}

ul, ol {
  margin-left: 25px;
  margin-top: 8px;
}

li {
  margin-bottom: 6px;
}

#picture img {
  display: block;
  margin: 15px auto;
  border-radius: 10px;
  width: 250px;
  height: auto;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

#picture img:hover {
  transform: scale(1.05);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

table th, table td {
  padding: 12px;
  text-align: center;
  border: 1px solid #ccc;
}

table th {
  background-color: #0078ff;
  color: white;
}

table tr:nth-child(even) {
  background-color: #f2f2f2;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

form label {
  font-weight: 600;
}

form input[type="text"],
form input[type="email"],
form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
}

form input[type="radio"],
form input[type="checkbox"] {
  margin-right: 5px;
}

form input[type="submit"] {
  background: #0078ff;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  margin-top: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

form input[type="submit"]:hover {
  background: #005fcc;
}

a {
  color: #0078ff;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #005fcc;
  text-decoration: underline;
}

audio, iframe {
  display: block;
  margin: 15px auto;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

::selection {
  background: #0078ff;
  color: white;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  #picture img {
    width: 80%;
  }
  table th, table td {
    font-size: 0.9rem;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #121212;
    color: #e4e4e4;
  }
  section {
    background: #1e1e1e;
    box-shadow: 0 3px 10px rgba(255,255,255,0.05);
  }
  header {
    background: linear-gradient(135deg, #005fcc, #0094ff);
  }
  table th {
    background-color: #0094ff;
  }
  a {
    color: #33aaff;
  }
}


/* FOOTER */
footer {
  text-align: center;
  background: transparent;
  padding: 10px 0;
  color: #888;
  font-size: 14px;
}