@font-face {
    font-family: 'Augusta';
    src: url('./fonts/Augusta.ttf') format('truetype');
  }
  
  body {
    font-family:'Times New Roman', Times, serif;
    background-image: url('./images/main-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
    background-color: rgb(20, 27, 35);
  }

  #donate-button-container {
    display: inline-block;
    padding: 10px;
    border-radius: 5px;
    background-color: transparent;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);  /* optional, gives a slight shadow */
    color: #ffffff;
}

#instagram-button-container{
    display: inline-block;
    padding: 10px;
    border-radius: 5px;
    background-color: transparent;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);  /* optional, gives a slight shadow */
    color: #ffffff;
}

@media (max-width: 768px) {
  #instagram-button-container {
      position: absolute;
      top: auto;
      left: 75%;
      bottom: 1em;
      transform: translateX(-50%);
  }
}


#donate-button-container:hover{
    cursor: pointer;
}
#donate-button img {  /* Assuming PayPal injects an image for the button */
    max-width: 100px;  /* or whatever size you feel is right */
    width: 100%;
}
#donate-text{
  font-family: Pirate, cursive, sans-serif; 
  margin-top: -15px;
}

#donate-text-mobile{
  display: none;
}
 /* Mobile styles */
@media (max-width: 768px) {
      #donate-button img {
          max-width: 50px;
          position: relative; 
          right: -40px;
      }
      #donate-text {
        display: none;
      }

      #donate-text-mobile{
        display: block;
        position: relative; 
        right: -50px;
        margin-top: -12px;
        font-family: Pirate, cursive, sans-serif;
        padding-right: 25px;
      }
  }

#info-button-container {
  top: auto;
  bottom: 4em;
  right: 1em;
  background-color: transparent;
}


#info-button:hover{
  cursor: pointer;
}
#info-button{
  background-color: transparent;
  border: none;
  color: burlywood;
  font-family: Pirate, cursive, sans-serif;
  font-size: 18px
}

#contact-button:hover{
  cursor: pointer;
}
#contact-button{
  background-color: transparent;
  border: none;
  color: burlywood;
  font-family: Pirate, cursive, sans-serif;
  font-size: 18px
}
/* Style for the info popup */
#info-popup {
  color: white;
  font-family: Pirate, sans-serif;
  padding-left: 5px;
  word-wrap: break-word;
  width: 49%;
  display: none;
}

#contact-popup{
  color: white;
  font-family: Pirate, sans-serif;
  padding-left: 5px;
  word-wrap: break-word;
  width: 49%;
  display: none;
}
#close-info-popup{
  background-color: transparent;
  border: 1px solid white;
  color: white;
  font-family: Pirate, cursive, sans-serif;
  font-size: 18px;
  border-radius: 8px;
}

#close-contact-popup{
  background-color: transparent;
  border: 1px solid white;
  color: white;
  font-family: Pirate, cursive, sans-serif;
  font-size: 18px;
  border-radius: 8px;
}
#close-info-popup:hover{
  cursor: pointer;
}

#close-contact-popup:hover{
  cursor: pointer;
}
/* CardGrid.css */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .card {
    position: relative;
    padding-bottom: 100%;
    background-color: #e0e0e0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #ccc;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;  /* Change mouse to pointer on hover */
    transition: all 0.3s ease; /* Smooth transition for hover effect */
  }
  
  .card:hover {
    filter: brightness(80%);
  }
  
  .card-title, .card-description {
    position: absolute;
    left: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 5px;
    opacity: 0; /* Hide by default */
    transition: all 0.3s ease; /* Smooth transition for hover effect */
  }
  
  .card-title {
    top: 10px;
    font-size: 20px;
    opacity: 1;
  }
  
  .card-description {
    bottom: 10px;
    font-size: 20px;
  }

  .challenge-description{
    bottom: 10px;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
  }
  
  .card:hover, .card:hover .card-description {
    opacity: 1; /* Show on card hover */
  }
  
  /* Responsive behavior */
  @media (max-width: 600px) {
    .grid {
      grid-template-columns: 1fr;
    }
  }
  

@keyframes flyInAnimation {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

.flying-text {
    animation: flyInAnimation 0.8s ease forwards;
}

.main-title {
    font-family:'Times New Roman', Times, serif;
    font-size: 38px;
    line-height: 1.5;
    color: white;
}

.description {
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    line-height: 1.5;
    color: #a8a8a8;
}
@media (max-width: 767px) {
  .flying-text.description {
      display: none; /* hides the description on small screens */
  }

  .main-title{
    white-space: nowrap;
  }
}

