@import url("https://fonts.googleapis.com/css?family=DM+Sans:400,500,700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: 'DM Sans', sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;  
}

body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
  background-color: #f0f0f0;
  min-height: 100vh;
  align-items: center;
  position: relative;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  background-image: url('imgs/header2.webp');
  opacity: 0.9;
  position: relative;
  min-height: 100px; 
  height: auto;
  overflow: hidden; 
  cursor: pointer; 
}


.header .timer {
  position: absolute;
  left: 20px;
  transform-origin: left;
}




.header .auth {
  position: absolute;
  right: 20px;
  z-index: 2000;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-image: url('imgs/header2.webp');
  color: white;
  width: 100%;
  opacity: 0.9; 
  height: 90px;
  padding: 20px 20px 20px 60px;
}


.main-container {
  display: flex;
  justify-content: center;
  
  width: 100%;
  min-height: 100vh;
  
  background-size: cover;
  flex: 1;
  
}

.main-content-title {
  color: #ffffff;
}

.main-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto; 
  margin-top: 20px;
  margin-bottom: 60px;
  position: relative;
  
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.card {
  
  margin: 20px;
  width: 400px;
  height: 550px;
  transition: transform 0.5s ease;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  perspective: 1000px;
  
  
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.card.active:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-front {
  background: #fff;
}


.card-back {
  background-color: rgba(255, 255, 255, 0.47); 
  color: #333333; 
  display: grid;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #1d3557; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transform: rotateY(180deg);
}

.card-back-info-item {
  display: flex;
  align-items: center;
  padding: 15px;
  border-radius: 5px;
  background-color: rgba(249, 249, 249, 0.74); 
  margin-bottom: 12px;
  border-bottom: 1px solid #1d3557; 
}

.card-back-info-item .info-icon {
  font-size: 1.6em;
  color: #e63946; 
  margin-right: 15px;
}

.card-back-info-item .info-content .info-title {
  font-size: 1em;
  font-weight: bold;
  color: #1d3557; 
  text-transform: uppercase;
  margin-bottom: 4px;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

input[type="radio"] {
  display: none;
}


#item-1:checked ~ .cards #song-1,
#item-2:checked ~ .cards #song-2,
#item-3:checked ~ .cards #song-3,
#item-4:checked ~ .cards #song-4,
#item-5:checked ~ .cards #song-5 {
  transform: translateX(0) scale(1.2);
  z-index: 3;
}

#item-1:checked ~ .cards #song-2,
#item-2:checked ~ .cards #song-3,
#item-3:checked ~ .cards #song-4,
#item-4:checked ~ .cards #song-5,
#item-5:checked ~ .cards #song-1 {
  transform: translateX(40%) scale(0.8);
  opacity: 0.6;
  z-index: 1;
}

#item-1:checked ~ .cards #song-5,
#item-2:checked ~ .cards #song-1,
#item-3:checked ~ .cards #song-2,
#item-4:checked ~ .cards #song-3,
#item-5:checked ~ .cards #song-4 {
  transform: translateX(-40%) scale(0.8);
  opacity: 0.6;
  z-index: 1;
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  padding-left: 60px;
  height: 100px;
  
}


.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.37);
  justify-content: center;
  align-items: center;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
}


.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: rgba(247, 255, 253, 0.91);
  padding: 20px;
  border-radius: 10px;
  width: 70%;
  height: 95%;
  text-align: center;
  overflow-y: auto; 
  position: relative;
  scrollbar-width: thin; 
  scrollbar-color: #9edff1 #ffffff; 
}


.modal-content::-webkit-scrollbar {
  width: 8px; 
}

.modal-content::-webkit-scrollbar-thumb {
  background-color: #9edff1; 
  border-radius: 4px; 
}

.modal-content::-webkit-scrollbar-track {
  background-color: #ffffff; 
}


.modal-card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
}

.tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.tablinks {
  padding: 15px 20px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  color: #555;
  background-color: #f0f0f0;
  border: none;
  border-right: 1px solid #ddd;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  cursor: pointer;
  flex: 1;
  transition: background-color 0.3s, color 0.3s;
}

.tablinks:first-child {
  border-top-left-radius: 8px;
}

.tablinks:last-child {
  border-right: none;
}

.tablinks.active {
  background-color: #fff;
  color: #333;
  border-bottom: 2px solid white;
}

.tablinks:not(.active):hover {
  background-color: #e0e0e0;
}

.tabcontent {
  display: none;
  max-height: 80vh; 
  overflow-y: auto; 
  padding: 10px;
  scrollbar-width: thin; 
  scrollbar-color: #bfbfbd #ffffff; 
}

.tabcontent.active {
  display: block;
}


.tabcontent::-webkit-scrollbar {
  width: 8px;
}

.tabcontent::-webkit-scrollbar-thumb {
  background-color: #9edff1;
  border-radius: 4px;
}

.tabcontent::-webkit-scrollbar-track {
  background-color: #ffffff;
}


.info-panel::-webkit-scrollbar {
  width: 8px;
}

.info-panel::-webkit-scrollbar-thumb {
  background-color: #ffffff;
  border-radius: 4px;
}

.info-panel::-webkit-scrollbar-track {
  background-color: rgba(158, 223, 241, 0.56);
}

.video-container {
  position: relative;
  width: 80%;  
  padding-top: 45%; 
  margin: 0 auto 20px auto; 
  overflow: hidden;
  text-align: center;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
}

.gallery-carousel {
  position: relative;
  width: 100%;
  max-width: 80%; 
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-slide {
  display: flex;
  transition: transform 0.5s ease;
  justify-content: center;
  align-items: center;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 70vh; 
  object-fit: contain;
  margin: auto;
}


.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%; 
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px; 
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); 
  transition: background-color 0.3s, transform 0.3s; 
  z-index: 2;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8); 
  transform: translateY(-50%) scale(1.1); 
}

.prev {
  left: 10px; 
}

.next {
  right: 10px; 
}

.prev i, .next i {
  font-size: 24px; 
}

.donation {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tablinks.become-community-member {
  background-color: #ff0000;
  color: white;
}

.tablinks.become-community-member.active {
  background-color: #FF4500;
}


.donation-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 1000px; 
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; 
}

.donation-carousel .carousel-slide {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#canvas {
  width: 100%;
  height: 100%;
  display: block; 
  object-fit: cover; 
}

.donation-carousel img {
  max-width: 100%;
  max-height: 100%; 
  object-fit: contain;
  margin: auto;
}


.social-links {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
}

.social-links a {
  margin: 0 10px;
  text-decoration: none;
  color: #007bff;
  font-size: 24px;
}

.social-links a:hover {
  color: #0056b3;
}


.expanded img {
  width: 80%;
  height: 80vh;
  object-fit: contain;
}

.back-button {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 10px 20px;
  background-color: #FF4500;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: none;
}

.expanded .back-button {
  display: block;
}

h2 {
  margin-bottom: 20px;
  color: #25570f;
  text-shadow: 1px 1px #bdd1d7;
}


.accomplishment-list,
.competition-list {
  list-style: none;
  padding: 0;
}

.accomplishment-item,
.competition-item {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
}

.accomplishment-item::before,
.competition-item::before {
  content: '●'; 
  color: rgba(221, 239, 239, 0.98); 
  font-size: 1.5em;
  margin-right: 10px;
}



.modal-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
  margin: 20px auto;
  padding: 20px;
  width: 80%;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
  opacity: 0;
  transform: scale(0.9); 
  animation: fadeIn 0.5s forwards ease-in-out; 
}


.modal-card .card-icon {
  font-size: 60px;
  color: #d0e8e6;
  margin-bottom: 15px;
}


.modal-card .card-content {
  text-align: center;
}


.modal-card .card-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #25570f;
  text-shadow: 2px 2px #bdd1d7;
}


.modal-card .card-text {
  font-size: 18px;
  margin-bottom: 5px;
  color: #333;
}


@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.9); 
  }
  100% {
    opacity: 1;
    transform: scale(1); 
  }
}


.modal-card:hover {
  transform: scale(1.05); 
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); 
  cursor: pointer; 
}


@keyframes pulse {
  0% {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  50% {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  }
  100% {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
}


.modal-card.attention {
  animation: pulse 1.5s infinite;
}


.athlete-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 15px; 
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}



.athlete-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 15px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  opacity: 0.3%;
}



.athlete-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 15px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}


.info-item {
  display: flex;
  align-items: center;
  justify-content: center; 
  flex-direction: column; 
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}


.info-icon {
  font-size: 30px; 
  margin-bottom: 10px;
  color: #d0e8e6;
}


.info-content-modal {
  text-align: center; 
}


.info-title-modal {
  font-size: 18px;
  font-weight: bold;
  color: #25570f;
  margin-bottom: 5px;
  white-space: nowrap; 
}

.info-detail-modal {
  font-size: 16px;
  color: #333;
  font-weight: bold;
  word-wrap: break-word; 
}


.flag-icon {
  width: 30px;
  height: auto;
  vertical-align: middle;
  margin-left: 5px;
}


.info-item:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}


@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


.auth-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.auth-modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 400px;
  max-width: 90%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  text-align: center;
}

.auth-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #fffcfc;
}


.auth-modal-content form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-modal-content form label {
  text-align: left;
  font-weight: bold;
}

.auth-modal-content form input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.auth-modal-content form button {
  padding: 10px;
  background-color: #3f99a1;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.auth-modal-content form button:hover {
  background-color: #2d7c84;
}


.auth {
  display: flex;
  gap: 15px;
}

.auth a {
  text-decoration: none;
  font-size: 24px;
  color: #ffffff;
}

.auth a:hover {
  color: #25570f;
}

.auth i {
  cursor: pointer;
}



.popup-ad {
  display: none; 
  position: fixed; 
  background-color: rgba(255, 255, 255, 0.95);
  /* width: 90%;  */
  overflow-y: auto;
  width: 800px; 
  height: 400px; 
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  z-index: 9999; 
  top: 20%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  padding: 20px;
  align-items: center;
  justify-content: space-between;
  transition: opacity 0.3s ease-in-out;
}

.qfix-popup-ad {
  top: 10% !important;
  height: 200px !important;
}

.popup-ad-image {
  width: 40%;
  border-radius: 10px;
}

.popup-ad-text {
  width: 50%;
  padding: 10px;
  font-family: 'Arial', sans-serif;
  text-align: left;
}

.qfix-popup-ad-text {
  width: 100% !important;
}

.popup-ad-text h2 {
  font-size: 36px;
  color: #333;
}

.popup-ad-text p {
  font-size: 18px;
  color: #666;
  line-height: 1.5;
}

.popup-ad.show {
  display: flex; 
  opacity: 1;
}

.popup-ad.hide {
  opacity: 0; 
  display: none; 
}


.news-updates {
  text-align: center;
  margin: 40px 20px;
}

.social-widgets iframe, .social-widgets .twitter-timeline {
  margin: 20px;
}


.schedule-results-section {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.schedule-results-columns {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

.schedule-results-column {
  flex: 1;
}

.schedule-results-column .modal-card {
  padding: 20px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  margin-bottom: 20px; 
}

.schedule-results-column .card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.schedule-results-column .accomplishment-list {
  list-style: none;
  padding-left: 0;
}

.schedule-results-column .accomplishment-item {
  margin-bottom: 8px;
  font-size: 1.2em;
}

.schedule-results-column i.card-icon {
  font-size: 2em;
  color: #d0e8e6;
  margin-bottom: 15px;
}


.schedule-results-column .modal-card {
  padding: 20px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  margin-bottom: 20px; 
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.schedule-results-column .modal-card:hover {
  transform: scale(1.05); 
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); 
}

.schedule-results-column .card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: bold;
}

.schedule-results-column .accomplishment-list {
  list-style: none;
  padding-left: 0;
}

.schedule-results-column .accomplishment-item {
  margin-bottom: 8px;
  font-size: 1.2em;
}

.schedule-results-column i.card-icon {
  font-size: 2em;
  color: #d0e8e6;
  margin-bottom: 15px;
  transition: color 0.3s ease; 
}

.schedule-results-column .modal-card:hover i.card-icon {
  color: #9ec1b3; 
}


.info-modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.info-modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  width: 60%;
  max-height: 90%;
  overflow-y: auto;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
}

.info-close {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}


.faq-content {
  display: flex;
  flex-direction: column;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  background-color: #7ec5d6;
  color: white;
  padding: 15px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.3s;
}

.faq-question i {
  margin-right: 10px;
  font-size: 20px;
}

.faq-question:hover {
  background-color: #61bdc4;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: #f9f9f9;
  
  border-left: 5px solid #8cd7e2;
  border-radius: 0 0 8px 8px;
  transition: max-height 0.4s ease-out, padding 0.3s ease-out;
}

.faq-answer p {
  margin: 40px;
}

.faq-answer ul {
  margin: 40px;
  list-style-type: disc;
  padding-left: 20px;
}


.faq-answer.open {
  max-height: 300px;
  
}


.info-modal-content::-webkit-scrollbar {
  width: 8px;
}

.info-modal-content::-webkit-scrollbar-thumb {
  background-color: #bfbfbd;
  border-radius: 4px;
}

.info-modal-content::-webkit-scrollbar-track {
  background-color: #ffffff;
}


.footer-links a {
  color: #ffffff; 
  text-decoration: none; 
  font-weight: bold; 
  padding: 0 10px; 
  transition: color 0.3s ease; 
}


.footer-links a:hover {
  color: #ffcc00; 
  text-decoration: underline; 
}

.flag-icon {
  font-size: 1.5em;
  margin-right: 10px;
  vertical-align: middle;
  border-radius: 3px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

.carousel-wrapper {
  display: flex;
  position: relative;
}

.carousel-control {
  position: absolute;
  top: 80%;
  transform: translateY(-50%);
  opacity: 0.8; 
  cursor: pointer;
  z-index: 1000;
}

.carousel-control.left {
  left: 25%;
}

.carousel-control.right {
  right: 25%;
}

.carousel-button {
  width: 180px;
  height: auto;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  animation: fadeIn 1s ease-out, pulse 2s infinite;
}

.carousel-control:hover .carousel-button {
  transform: scale(1.4); 
  opacity: 0.8; 
}

.carousel-control:active .carousel-button {
  transform: scale(0.9); 
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.carousel {
  flex-grow: 1;
}


.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #3f99a1;
  color: #ffffff;
  padding: 10px;
  display: flex;
  justify-content: space-around;
  z-index: 1000;
}

.header a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  
}

.section {
  padding: 100px 50px;
  text-align: center;
}


.back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #3f99a1;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  z-index: 1000;
}

.back-to-top:hover {
  background-color: #b1babb;
}


body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: 'DM Sans', sans-serif;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px; 
  background-color: #3f99a1;
  color: #ffffff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 10;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.main-content {
  flex: 1;
  padding: 120px 20px 100px; 
  
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  
  margin: 0 auto;
  box-sizing: border-box;
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 80px; 
  background-color: #333;
  color: #ffffff;
  display: flex;
  
  
  z-index: 10;
  padding: 20px;
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
}


.nav-link {
  text-decoration: none;
  color: #004f4d;
  font-family: 'Georgia', serif;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.nav-link h1 {
  font-size: 2em;
  font-weight: 600;
  
  
  
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  animation: fadeIn 3s ease-out, pulse 20s infinite;
}


.nav-link:hover {
  
  color: #CD853F;
}

.nav-link:hover h1 {
  background-color: rgba(0, 0, 0, 0.02); 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); 
  transform: scale(1.05); 
}


@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}


.info-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 40px;
  max-width: 80%;
  width: 100%;
  min-height: 60vh; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.info-column {
  display: flex;
  flex-direction: column;
}


.collapsible-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.collapsible-header {
  font-size: 1.4em;
  font-weight: 600;
  color: #252323;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 8px;
  font-family: 'Georgia', serif;
  text-align: center;
}


.collapsible-section p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #555;
  font-family: 'Georgia', serif;
}


.info-center {
  grid-area: button;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}

.info-center-button {
  font-size: 1.2em;
  font-weight: 600;
  color: #004f4d;
  padding: 10px 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.2s, background-color 0.3s ease;
  display: inline-block;
  margin: auto;
  background-color: white;
}

.info-center-button:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
  /* background-color: rgba(0, 0, 0, 0.05); */
}

.hockey-card-back {
  background: linear-gradient(to bottom, #9edff1, #8bcee5);
  border: 1px solid #ffffff;
  border-radius: 8px;
  color: #ffffff;
  padding: 16px;
  max-width: 230px;
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hockey-card-back:hover {
  transform: scale(1.8);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  width: 200px;
  height: 284px;
}

.hockey-card-info-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #ffffff;
}

.hockey-card-info-item:last-child {
  border-bottom: none;
}

.info-title {
  font-size: 12px;
  font-weight: bold;
  color: #0a7491;
}

.info-detail {
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
}

.info-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.quest-button {
  width: 90px;
  height: auto;
  display: block;
  margin: 20px; 
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  animation: fadeIn 1s ease-out, pulse 2s infinite;
}

.quest-button:hover {
  transform: scale(1.05);
  
}


.quest-button:active {
  transform: scale(0.95); 
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}


@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#bg-video {
  position: fixed;
  top: 0;
  left: -40;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
  object-fit: cover;
  object-position: center center;
  opacity: 1; 
  filter: blur(10px) brightness(1.1) contrast(0.8);
}

.background-image {
  background: url('imgs/bg4.jpg') no-repeat center center;
  background-size: cover; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1; 
  z-index: -1; 
  filter: blur(10px) brightness(2) contrast(0.3);
}

.tcpp {
  h2 {
      margin-top: 30px;
      margin-bottom: 10px;      
  }
  li {
      margin-left: 30px;
  }
  p {
      margin-top: 5px;
      margin-bottom: 5px;
  }
}

.flag {
  height: 150px;
  position: fixed;
  top: 10px;
  right: 20px;
  z-index: 999;
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.5));
}

.hide {
  display: none;
}

.footer {
  position: relative;
  width: 100%;
  display: flex;
  background-color: #fff;
  padding-left: 60px;
  height: 100px;
}