:root {
  --primary: #0a0d1a;
  --secondary: #e1062c;
  --highlight: #00aaff;
  --text: #ffffff;
  --background: #f7f7f7;
  --font: 'Arial', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

body {
  background-color: var(--background);
  color: var(--primary);
  line-height: 1.6;
}

/* Header + nav */
header {
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  font-size: 1.8rem;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--secondary);
}

/* Hamburger menu */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

/* Hero/slideshow */
.slideshow-container {
  max-width: 2000px;
  position: relative;
  margin: auto;
  overflow: hidden;
}

.fade {
  animation-name: fade;
  animation-duration: 1.8s;
}

@keyframes fade {
  from {opacity: .7}
  to {opacity: 1}
}

@media (max-width: 768px) {
  .slideshow-container {
    background-size: cover;
  }

  .fade {
    width: 160%;
    object-fit: cover;
  }

  .centered h1{
    font-size: 1rem !important;
  }

  .centered p {
    font-size: 0.8rem;
  }
}

.mySlides {
  display: none;
}

.centered {
  position: absolute;
  text-align: center;
  text-shadow: 3px 3px 3px #000;
  color: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Dots */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.active, .dot:hover {
  background-color: #717171;
}

.section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member img {
  width: 60%;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.sponsor-logos {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.sponsor-logos img {
  max-height: 80px;
}

.logoBlad {
  max-width: 150px;
  width: auto;
  height: auto;
}

@media (max-width: 768px) {
  .logoBlad img {
    max-width: 90px;
  }
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: auto;
  text-align: left;
}

input, textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

button {
  padding: 0.8rem;
  background: var(--secondary);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #b71c2b;
}

footer {
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  position: relative;
}

.footer-content {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-45%);
}

.social-icon {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

.footer-text {
  font-size: 1rem;
  margin: 0;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: var(--primary);
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    padding: 1rem 0;
    text-align: center;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .hero h1, .centered h1 {
    font-size: 1.8rem;
  }

  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 0.5fr));
    gap: 1rem;
    margin-top: 2rem;
  }

  .sponsor-logos {
    flex-direction: column;
    gap: 1rem;
  }

  .section {
    padding: 2rem 1rem;
  }

  .social-icon {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}
}
