:root {
  --primary-color: #1b006d;
  --secondary-color: #fca311;
  --txt-color: #e5e5e5;
  --bg-color: #080808;
}

* {
	max-width: 800px ;
	margin: auto ;
}

h1, h3 {
  margin: 10px 0;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
}

p {
  margin-bottom: 20px;
}

label {
  font-weight: bold;
  margin: 5px 0;
  text-align: left;
  width: 100%;
}

input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: none;
  border-radius: 5px;
  background: var(--txt-color);
  color: var(--bg-color);
  font-size: 1em;
}

input:focus {
  outline: 2px solid var(--secondary-color);
}

img {
  margin: auto;
  display: block;
}

body {
  background: var(--bg-color);
  color: var(--txt-color);
  font-family: "Poppins", sans-serif;
}

.header ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.header li {
  float: left;
}

.header li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.header li a:hover {
  font-weight: bold;
}

.content {
  font-weight: bold;
}

.content img {
  margin-top: 20px;
  margin-bottom: 20px;
}

.poster {
  height: 50%;
}

/* News */
.news-card {
  background: var(--bg-color);
  color: var(--txt-color);
  border: 1px solid var(--txt-color);
  border-radius: 10px;
  overflow: hidden;
  margin: 20px;
  max-width: 600px;
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: scale(1.05);
}

.news-img {
  width: 100%;
  height: auto;
}

.news-content {
  padding: 15px;
}

.news-title {
  margin: 10px 0;
  font-size: 1.5em;
  text-transform: uppercase;
}

.news-description {
  font-size: 1em;
  line-height: 1.5;
  color: var(--txt-color);
  margin-bottom: 8px;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 5px;
}

.news-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px auto;
  max-width: 800px;
}

/* About */
.list ul {
  margin-bottom: 20px;
}

.list li {
  margin-bottom: 8px;
}

/* Application form */
.content a {
  display: inline-block;
  color: var(--txt-color);
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
  margin-top: 10px;
}

.content a:hover {
  background: var(--secondary-color);
  color: var(--bg-color)
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .header ul {
    flex-direction: column;
    gap: 10px;
  }

  .content {
    padding: 20px;
  }

  h1 {
    font-size: 2rem;
  }

  p, li {
    font-size: 1rem;
  }

  img {
    max-width: 75vw;
  }
}
