body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #0f0f0f;
  color: #f5f5f5;
  overflow-x: hidden;
}


header {
  background: #1a1a1a;
  text-align: center;
  padding: 2em 1em;
  border-bottom: 3px solid #e63946;
}

img {
  width: 100%;
  height: auto;
  display: block;
}


h1 {
  font-size: 5em;
  color: #f52536;
  margin: 0;
  font-family: fantasy;
}

nav ul {
  font-size: 1.5rem;
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.5em;
  margin-top: 1em;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #e63946;
}

.card:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 20px rgba(255,59,63,0.3);
    }

.content-section {
  padding: 5em 1em;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 1rem;
}


.card {
  background: #1a1a1a;
  padding: 1.5em;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(230, 57, 70, 0.3);
}

.card p {
  color:#e63946;
  font-size: 1.5rem;
}

a {
  color: #e63946;
  font-size: 1.2rem;
  text-decoration: none;
}

.card a {
  display: inline-block;
  margin-top: 1em;
  color: #e63946;
  text-decoration: none;
  font-weight: bold;
}

form {
  margin-top: 1em;
}

input {
  padding: 0.5em;
  color: #e63946;
  width: 200px;
  border-radius: 5px;
  border: none;
}

button {
  padding: 0.6em 1em;
  background: #e63946;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background: #ff4d5a;
}

footer {
  text-align: center;
  padding: 1.5em;
  background: #1a1a1a;
  border-top: 2px solid #e63946;
  font-size: 0.9em;
}

.top {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;     /* Centers vertically */
  padding-top: 15px;
}

.card img {
  width: 100%;
}

.content-section {
  color: #e63946;
  font-family: fantasy;
  font-size: 2rem;
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  nav ul {
    font-size: 1rem;
  }

  .content-section {
    padding: 2em 0.5em;
    font-size: 1.2rem;
  }

  .card p {
    font-size: 1rem;
  }

  a {
    font-size: 1.1rem;
  }
}
