/* @media screen and (min-width: 400px) {
  .topcardholder {
    visibility: hidden;
  }
  .header-container {
    .topnav, .dropdown-content, .dropbtn {
      font-size: 12px;
    }
    .home {
      display: none;
    }
  }
  button {
     padding: 10px 20px;
      font-size: 12px;
      border-radius: 20px;
      width: 120px;
  }
} */

html {
  font-family: "verdana", "sans-serif";
}

@media screen and (max-width: 790px) {
  .topcardholder{
    .card {
    display: none;
  }
  }
  .timeline, .timelinetitle {
    display: none;
  }
}

/* @media screen and (max-width: 880px) {
  .topcardholder {
    visibility: hidden;
  }
} */

@media screen and (min-width: 791px) {
  .topcardholder,{
     .card {
    display: block;
     }
  }
  .header-container {
    .topnav, .dropdown-content, .dropbtn {
      font-size: 20px;
    }
  }
  .timeline, .timelinetitle {
    display: block;
  }
}

/* @media screen and (min-width: 950px) {
  .topcardholder {
    visibility: visible;
  }
} */

/* @media screen and (min-width: 1100px) {
  .topcardholder {
    visibility: visible;
  }
} */

@media screen and (max-width: 740px) {
  .topnav, .dropdown-content, .dropbtn, .topnav a, .donate {
    display: none;
  }
  .smalltopnav {
    display: block;
  }
  .smalldropdown-content {
    display: none;
  }
}

@media screen and (min-width: 741px) {
  .topnav, .dropdown-content, .dropbtn, .topnav a, .donate {
    display: block;
  }
  .smalltopnav, .smalldropdown, .smalldropdown-content, .smalldropbtn {
    display: none;
  }
}


.topnav {
  overflow: hidden;
  color: #ffffff;
  /* font-family: "verdana", "sans-serif"; */
  display: flex; /* Enables Flexbox */
  justify-content: space-between; /* Pushes flex items to the far ends */
  align-items: center;
  margin-right: 20px;
}

.header-container {
  background-size: cover;
}

.topnav a {
  float: left;
  color: #ffffff;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  /* font-family: "verdana", "sans-serif"; */
}

.topnav a:hover {
  color: #0065B2;
}

.topnav a.active {
  text-decoration: underline;
  text-decoration-color: #0065B2;
}

a:link {
  color: #ffffff;
}

a:visited {
  color: #ffffff;
}

a:hover {
  color: rgb(15, 162, 42);
}

a:active {
  color: rgb(15, 162, 42);
}

body {
    margin: 0;
    padding: 0;
}

button {
    /* font-family: "verdana", "sans-serif"; */
    background-color: #0065B2;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 20px;
    /* width: 200px; */
    width: 80%;
    max-width: 200px;
}
button:hover {
    background-color: #ABCAE9;
}

/* h1, h2, h3, h4, h5, h6, p { */
    /* font-family: "verdana", "sans-serif"; */
    /* color: #ffffff; */
/* } */

.header-content {
    color: white;
    text-align: left;
    margin-left: 70px;
    width: 50%;
    padding: 100px 20px;
}

.lower-container {
    background-image: url(./images/worldbackground.png);
    background-repeat: repeat-y;
    background-size: 100% auto;
}

.lower-content {
    text-align: center;
    color: black;
    padding:  5px;
    width: 50%;
    margin: 0 auto;
}

.footer {
    background-color: #0065B2;
    color: white;
    text-align: center;
    padding: 20px;
    /* font-family: "verdana", "sans-serif"; */
}

.page {
  min-height: 100vh;
  background-image: url("./images/worldbackground.png");
  background-repeat: repeat-y;
  background-size: 100% auto;
}

.section {
  padding: 80px 0;
}

.section-title {
  margin: 0 0 12px;
  text-align: center;
  font-size: 40px;
  font-weight: 800;
}

.section-text {
  margin: 0 auto;
  text-align: center;
  font-size: 24px;
  line-height: 1.45;
  width: min(966px, 100%);
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  border-radius: 20px;
  transition: 0.3s;
  width: 30%;
  background-color: white;
  text-align: center;
  padding-bottom: 20px;
  min-width: 200px;
}

@media (max-width: 640px) {
  .card {
    width: 50%;
  }
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.cardcontainer {
  padding: 2px 16px;
}

.cardholder {
  width: 80%;
  display: flex;
  gap: 20px;
  justify-content: center; 
  flex-wrap: wrap;
  margin: 0 auto;
  /* margin-top: 20px; */
}

.topcardholder {
  width: 100%;
  display: flex;
  gap: 20px;
  justify-content: center; 
  flex-wrap: wrap;
  /* margin-top: 20px; */
  /* position: absolute; */
  /* top: 650px; */
  /* z-index: 1; */
}

.image-wrapper {
  background-color: #f0f0f0;
  height: 250px;
  overflow: hidden;
  /* margin: 15px; */
  /* padding: 15px; */
  border-radius: 20px 20px 0px 0px
}

.image-wrapper img {
  width: 100%;
  border-radius: 15px;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;     
  object-position: bottom;   
  display: block;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: black;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.timelinecontainer {
  padding: 0px 40px;
  position: relative;
  /* background-color: inherit; */
  width: 50%;
}

/* The circles on the timeline */
.timelinecontainer::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -11px;
  background-color: black;
  /* border: 4px solid #FF9F55; */
  top: 0px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.left {
  left: -80px;
}

/* Place the container to the right */
.right {
  left: 50%;
}


/* Fix the circle for containers on the right side */
.right::after {
  left: -13px;
}

/* The actual content */
.content {
  padding: 0px 10px;
  /* background-color: white; */
  position: relative;
  border-radius: 6px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
/* Place the timelime to the left */
  .timeline::after {
    left: 31px;
  }

/* Full-width containers */
  .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

/* Make sure all circles are at the same spot */
  .left::after{
    left: 100px;
  }
  .right::after{
    left: 18px;
  }

/* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }
}

.timelinecontainer a,
.timelinecontainer a:link,
.timelinecontainer a:visited,
.timelinecontainer a:active,
.timelinecontainer a:focus {
  color: black;
  text-decoration: none;
  /* font-family: "verdana", "sans-serif"; */
}

.timelinecontainer a:hover {
  color: #0065B2;
}

.smalldropbtn {
  background-color: transparent;
  color: white;
  padding: 16px;
  font-size: 20px;
  border: none;
  border-radius: 0;
  /* display: none; */
}

.dropbtn {
  background-color: transparent;
  color: white;
  padding: 16px;
  /* font-size: 20px; */
  border: none;
}

/* .smalldropdown {
  display: inline-block;
} */
/* The container <div> - needed to position the dropdown content */
.dropdown {
  /* position: relative; */
  display: inline-block;
}
.smalldropdown-content {
  display: none;
  position: absolute;
  background-color:#ABCAE9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color:#ABCAE9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}
.smalldropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
/* Links inside the dropdown */
.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
/* .dropdown-content a:hover {background-color: #ddd;} */

/* Show the dropdown menu on hover */
/* .smalldropdown:hover .smalldropdown-content {display: block;} */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
/* .smalldropdown:hover .smalldropbtn {background-color: transparent; color: #0065B2;} */
.dropdown:hover .dropbtn {background-color: transparent; color: #0065B2;}



/* * {box-sizing:border-box} */

/* Slideshow container */
.slideshow-container {
  max-width: 500px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
  color: #0065B2
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.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;
} */

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}


@media (max-width: 600px) {
  .gallery {
    flex-direction: column;
    align-items: center;
  }
}

.sponsorgallery {
  display: flex;
  justify-content: center; 
  gap: 20px;          
  max-width: 900px;
  margin: 0 auto;  
  flex-wrap: wrap;
}

.sponsorgallery img {
  max-width: 250px;
  flex: 1;
}



.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 80%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  max-width: none;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active_accordion, .accordion:hover {
  background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
.accordionpanel {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  font-size: 12px;
}

.amount-progress {
  /* font-family: "verdana", "sans-serif"; */
  border-radius: 7px; 
  width: 80%;
  height: 22px;
  box-shadow: 1px 1px 4px rgba( 0, 0, 0, 0.2 );
}