body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
}

header {
  background-color: #000;
  padding: 1.5em 1em;
  border-bottom: 2px solid #ff0000;
}

.header-container {

  display: flex;
  max-width: 1000px;
  flex-wrap: wrap;
  text-align: left;
}

.logo {
  width: 80px;
  height: 80px;
  margin-right: 1em;
  background-color: #a6a6a6;
  border: 1px #ff0000;
  border-radius: 60px;
}

.title-block {
  display: flex;
  flex-direction: column;
  
}

.title-block h1 {
  font-size: 2em;
  margin: 0;
  color: #fff;
}

.tagline {
  font-size: 1em;
  color: #ff0000;
  margin-top: 0.3em;
  justify-content: center;
  flex-direction: column;
  display: flex;
}

/* General Header Styles */
header {
  background-color: #000;
  padding: 1.5em 1em;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #ff0000;
  transition: border-bottom 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Logo Hidden by Default */
.logo {
  width: 60px;
  height: 60px;
  margin-right: 1em;
  border-radius: 60px;
  background-color: #a6a6a6;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Title and Tagline */
.title-block {
  flex: 1;
  text-align: left;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.title-block h1,
.title-block p {
  margin: 0;
}

/* Navigation */
nav {
  display: flex;
  gap: 1em;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

nav a {
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}

nav a:hover {
  border-color: #ff0000;
  color: #ff0000;
}

/* Visibility Utility Classes */
.hide {
  opacity: 0;
  visibility: hidden;
}

.show {
  opacity: 1;
  visibility: visible;
}

section {
  padding: 2em 1em;
  max-width: 900px;
  margin: auto;
}

h2 {
  color: #ff0000;
  margin-bottom: 0.5em;
  text-align: center;
}

.btn {
  background-color: #ff0000;
  color: #fff;
  padding: 0.75em 1.5em;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
}

.button:hover {
  background-color: #cc0000;
  transform: scale(1.1);
  transition-duration: 0.2s;
}

.winners {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.winner-card {
  background-color: #111;
  padding: 1em;
  margin: 1em;
  border-radius: 8px;
  text-align: center;
  width: 200px;
}

.gallery {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.gallery img {
  margin: 1em;
  border: 3px solid #ff0000;
  border-radius: 10px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  max-width: 500px;
  margin: auto;
  margin-top: 2em;
}

form input,
form textarea {
  padding: 0.8em;
  border: none;
  border-radius: 5px;
  background-color: #222;
  color: #fff;
}


form button {
  align-self: center;
}

footer {
  background-color: #111;
  text-align: center;
  padding: 1em;
  font-size: 0.9em;
  color: #aaa;
  border-top: 2px solid #ff0000;
}

.footer-tagline {
  color: #ff0000;
  margin-top: 0.5em;
  font-style: italic;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #111;
  padding: 1.5em 1em;
  border-bottom: 2px solid #ff0000;
  transition: all 0.3s ease;
}

body.scrolled header {
  border-bottom: none;
}

.logo {
  width: 80px;
  height: 80px;
  margin-right: 1em;
  background-color: #a6a6a6;
  border-radius: 60px;
  transition: all 0.3s ease;
  display: none;
}

body.scrolled .logo {
  display: block;
  margin: 0 auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 10px;
}

.title-block,
nav {
  transition: all 0.3s ease;
}

body.scrolled .title-block,
body.scrolled nav {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}