@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  background: #f3f6fb;
  padding: 20px;
  scroll-behavior: smooth;
}

#preloader {
  position: fixed;
  inset: 0;
  background: #f3f6fb;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

.spinner {
  border: 5px solid #ccc;
  border-top-color: #2f80ed;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: #2f80ed;
}

.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  padding: 8px 14px;
  border-radius: 10px;
  background: white;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: #e9ecef;
}

.nav-link.active {
  background: #2f80ed;
  color: white;
}

.nav-link.locked {
  opacity: 0.6;
  cursor: not-allowed;
  position: relative;
}

.tooltip {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: white;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
  white-space: nowrap;
}
.nav-link.locked:hover .tooltip {
  opacity: 1;
}

.team-panel {
  display: flex;
  gap: 8px;
  align-items: center;
}

button {
  background: #2f80ed;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

select,
input {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  transition: all 0.3s ease;
}

select:focus,
input:focus {
  outline: none;
  border-color: #2f80ed;
  box-shadow: 0 0 5px rgba(47, 128, 237, 0.3);
}

.hero {
  background: linear-gradient(135deg, #2f80ed, #56ccf2);
  color: white;
  padding: 60px 20px;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  margin: 0 auto 20px auto;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 25px;
  opacity: 0.9;
}

.btn-start {
  display: inline-block;
  background: white;
  color: #2f80ed;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-rules {
  display: inline-block;
  background: white;
  color: #2f80ed;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-start:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


.btn-rules:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

main {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.map-card,
.question-card,
.leaderboard {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

#map {
  height: 350px;
  margin-top: 15px;
  border-radius: 10px;
  overflow: hidden;
}

.input-group {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.input-group input {
  flex: 1;
}

.custom-file-upload {
  display: inline-block;
  padding: 10px 15px;
  cursor: pointer;
  background: #e9ecef;
  color: #333;
  border-radius: 10px;
  margin-top: 15px;
  transition: 0.3s;
  text-align: center;
  width: 100%;
  font-weight: 600;
}

input[type=file] {
  display: none;
}

#photoPreview {
  display: none;
  max-width: 100%;
  margin-top: 15px;
  border-radius: 10px;
}

.teamRow {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.bio-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
  text-align: justify;
}

.bio-title {
  text-align: center;
}

.bio-hero {
  display: flex;
  align-items: center;
  gap: 30px;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.bio-photo-wrapper {
  flex: 0 0 180px;
}

.bio-img {
  width: 180px;
  height: 180px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 15px;
  border: 4px solid #2f80ed;
  display: block;
}

.bio-headline h1 {
  font-size: 2em;
  color: #333;
  margin-bottom: 8px;
}

.bio-headline .subtitle {
  color: #2f80ed;
  font-weight: 600;
  font-size: 1.1em;
}

.bio-date {
  margin-top: 10px;
  font-weight: 700;
  color: #777;
  letter-spacing: 1px;
}

.bio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bio-card {
  text-align: justify;
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}
.bio-card:hover {
  transform: translateY(-5px);
}
.bio-card .card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.bio-card .card-header h3 {
  color: #2f80ed;
  font-size: 1.3em;
}
.bio-card .card-header .card-icon {
  font-size: 1.5em;
}
.bio-card p {
  line-height: 1.7;
  color: #444;
  font-size: 1em;
}

@media (max-width: 850px) {
  .bio-grid {
    grid-template-columns: 1fr;
  }
  .bio-hero {
    flex-direction: column;
    text-align: center;
  }
}
.presentationPage {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.slideBox {
  width: 60%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.slideBox img {
  width: 100%;
  transition: 0.4s ease-in-out;
  display: block;
}

.fade {
  opacity: 0;
  transform: scale(0.97);
}

/* Бургер меню */
.burger-menu {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f0f0f0;
  color: #333;
  z-index: 1001;
}

.burger-menu:hover {
  background: #e0e0e0;
  transform: none;
}

.mobile-team-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: right 0.3s ease;
  padding: 80px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-team-menu.active {
  right: 0;
}

.mobile-team-menu .menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.mobile-team-menu.active .menu-overlay {
  opacity: 1;
  visibility: visible;
}

.mobile-team-menu button {
  width: 100%;
  padding: 12px;
  text-align: center;
  font-size: 14px;
}

.mobile-team-menu select {
  width: 100%;
  margin-bottom: 5px;
}

.mobile-team-menu .menu-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  font-size: 28px;
  color: #666;
  padding: 5px;
  width: auto;
}

.mobile-team-menu .menu-close:hover {
  background: none;
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  body {
    padding: 10px;
  }
  .header {
    flex-wrap: wrap;
    gap: 10px;
  }
  .logo {
    order: 1;
  }
  .burger-menu {
    display: block;
    order: 2;
  }
  .team-panel {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    display: none;
  }
  .nav {
    position: static;
    transform: none;
    width: 100%;
    order: 4;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .nav-link {
    padding: 6px 12px;
    font-size: 14px;
  }
  .hero h1 {
    font-size: 1.5em;
  }
  .hero p {
    font-size: 1em;
  }
  .btn-start {
    padding: 10px 20px;
  }
  .input-group {
    flex-direction: column;
  }
  .presentationPage {
    flex-direction: column;
  }
  .slideBox {
    width: 90%;
  }
  .tooltip {
    display: none;
  }
}/*# sourceMappingURL=styles.css.map */