@keyframes appear {
  from {
    opacity: 0;
    scale: 0.5;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

.block, #block, .card5 {
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

html {
  scroll-behavior: smooth;
}

body { 
    font-family: Arial, Century Gothic, sans-serif;
    color: #333; 
    background-color: #fff; 
    margin: 0;
    padding: 0;
    accent-color: #ff2020;
}

header {
	background-color: #000;
	padding: 10px;	
	color: #fff;
}

header h1 {
  color: #fff;
  font-size: 35px;
  width: 80%;
  padding-left: 10px;
}

a:link { 
  text-decoration: none; 
} 
a:visited { 
  text-decoration: none; 
} 
a:hover { 
  text-decoration: none; 
} 
a:active { 
  text-decoration: none; 
  color: #ff2020;
}

nav {
  height: 80px;
  background-color: #000;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 10;
  padding: 30px;
  padding-bottom: 40px;
  padding-top: 40px;
}

nav a, li a {
  color: #fff;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

nav a:hover {
  background-color: #FF2020;
  border-radius: 8px; 
  height: 50px;
}

nav svg {
  fill: #fff;
}

#sidebar-active {
  display: none;
}

.open, .close {
  display: none;
}

.open:hover, .close:hover {
  background-color: grey;
  border-radius: 8px; 
}

#a {
  margin-right: auto;
}

.links-container {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#image {
	width: 150px;
  margin-left: 30px;
}

.header {
	display: flex;
	align-items: center;
}

.mySlides2 {
    display: none;
}

img {
    vertical-align: middle;
}

.slideshow-container2 {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.dot2 {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: none;
  transition: background-color 0.6s ease;
}

.active2 {
  background-color: #717171;
}

.fade2 {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

#card {
  background-color: #f9f9f9;
  border: 1px solid #ddd; 
  border-radius: 8px; 
  padding: 20px; 
  width: 550px;
  height: 210px;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: 10px;
}

#card #b, #card3 #b {
  font-size: 16px;
}

#container {
  display: flex; 
  flex-wrap: wrap; 
  gap: 20px; 
  justify-content: center;
}

#wrap {
  padding: 10px;
  padding-bottom: 60px;
  background-color: #fff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#card h2 { 
  margin-bottom: 15px; 
  color: red;
}

#img {
  max-width: 300px;
}

#container2 {
  display: flex; 
  flex-wrap: wrap; 
  gap: 20px; 
  justify-content: center;
}

#wrap2 {
  background-color: #f9f9f9;
  padding: 60px 0;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#card2 {
  background-color: #fff;
  border: 1px solid #ddd; 
  border-radius: 8px; 
  width: 300px; 
  text-align: center; 
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: 10px;
}

#card2:hover { 
  transform: translateY(-10px); 
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

#h2 {
  font-size: 30px;
  color: #FF2020;
  margin-bottom: 20px;
}

#b {
  margin-top: 10px;
}

#icon {
  margin-bottom: 10px;
}

#card3 {
  background-color: #fff;
  border: 1px solid #ddd; 
  border-radius: 8px; 
  padding: 20px; 
  width: 300px;
  height: 185px;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: 10px;
  margin: 10px;
}

a, div h1 {
  color: #FF2020;
}

#card5 {
  background-color: #333;
  border: 3px solid #ddd; 
  border-radius: 10px; 
  padding: 5px; 
  padding-bottom: 50px;
  width: 300px;
  height: 430px;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: 10px;
  margin: 10px;
  color: #fff;
}

#card5 h1 {
  color: #fff;
}

#newsimg {
  border-radius: 10px;
}

#card5 p {
  font-size: 18px; 
  font-family: serif; 
  font-weight: bold;
}

#card5 h1 {
  font-size: 20px;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 2px solid #ccc;
    margin: 10px;
    padding: 0;
}

#hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 2px solid #ccc;
    margin: 50px;
    margin-left: 150px;
    margin-right: 150px;
    padding: 0;
}

#card5:hover { 
  transform: translateY(-10px); 
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

#container5 {
  display: flex; 
  flex-wrap: wrap; 
  gap: 20px; 
  justify-content: center;
}

    #slider {
      position: relative;
      width: 50%;
      height: 32vw;
      margin: 150px auto;
      margin-top: auto;
      perspective: 1400px;
      transform-style: preserve-3d;
    }

    #slider label, #slider label img {
      position: absolute;
      width: 100%;
      height: 100%;
      left: 0;
      top: 0;
      display: flex;
      align-items: center;
      font-size: 70px;
      justify-content: center;
      transition: transform 400ms ease;
    }

    .imgs {
      border: 5px solid #fff;
    }

    input[type=radio] {
      position: relative;
      top: 110%;
      left: 50%;
      width: 18px;
      height: 18px;
      margin: 0 15px 0 0;
      opacity: 0.4;
      transform: translateX(-83px);
      cursor: pointer;
    }

    input[type=radio]:checked {
      opacity: 1;     
    }

    #s1:checked ~ #slider1,
    #s2:checked ~ #slider2,
    #s3:checked ~ #slider3,
    #s4:checked ~ #slider4,
    #s5:checked ~ #slider5 {
      box-shadow: 0px 13px 26px rgba(0, 0, 0, 0.3),
      0 12px 6px rgba(0, 0, 0, 0.2);
      transform: translate3d(0%, 0, 0px);
    }

    #s1:checked ~ #slider2,
    #s2:checked ~ #slider3,
    #s3:checked ~ #slider4,
    #s4:checked ~ #slider5,
    #s5:checked ~ #slider1 {
      transform: translate3d(20%, 0, -100px);
      box-shadow: 0px 13px 26px rgba(0, 0, 0, 0.3),
      0 12px 6px rgba(0, 0, 0, 0.2);      
    }

    #s1:checked ~ #slider3,
    #s2:checked ~ #slider4,
    #s3:checked ~ #slider5,
    #s4:checked ~ #slider1,
    #s5:checked ~ #slider2 {
      transform: translate3d(40%, 0, -250px);
      box-shadow: 0px 13px 26px rgba(0, 0, 0, 0.3),
      0 12px 6px rgba(0, 0, 0, 0.2);      
    }

    #s1:checked ~ #slider5,
    #s2:checked ~ #slider1,
    #s3:checked ~ #slider2,
    #s4:checked ~ #slider3,
    #s5:checked ~ #slider4 {
      transform: translate3d(-20%, 0, -100px);
      box-shadow: 0px 13px 26px rgba(0, 0, 0, 0.3),
      0 12px 6px rgba(0, 0, 0, 0.2);      
    }

    #s1:checked ~ #slider4,
    #s2:checked ~ #slider5,
    #s3:checked ~ #slider1,
    #s4:checked ~ #slider2,
    #s5:checked ~ #slider3 {
      transform: translate3d(-40%, 0, -250px);
      box-shadow: 0px 13px 26px rgba(0, 0, 0, 0.3),
      0 12px 6px rgba(0, 0, 0, 0.2);      
    }


.mySlides {
  display: none
}
img {
  vertical-align: middle;
}

.slideshow-container {
  max-width: 720px;
  position: relative;
  margin: auto;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin: -50px;
  margin-left: -80px;
  margin-right: -80px;
  color: grey;
  font-weight: bold;
  font-size: 50px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  color: #FF2020;
}

.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: #FF2020;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

p a {
  color: #fff;
  margin: 10px;
}

#abt {
  margin: 30px;
  padding: 20px;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@media only screen and (max-width: 300px) {
  .prev, .next {font-size: 11px} 
}

@media only screen and (max-width: 573px) {
  #card {
    height: 230px;
  }
}

@media only screen and (max-width: 510px) {
  #card {
    height: 240px;
  }

  #hr {
    margin-left: 50px;
    margin-right: 50px;
  }
}

@media only screen and (max-width: 446px) {
  #card {
    height: 260px;
  }
}

@media only screen and (max-width: 423px) {
  #card {
    height: 280px;
  }
}

@media only screen and (max-width: 389px) {
  #card {
    height: 300px;
  }
}

@media only screen and (max-width: 355px) {
  #card {
    height: 320px;
  }
}

footer {
  background: #333;
  color: #fff;
  padding: 30px;
  text-align: center;
}

footer p {
  margin: 0;
}

li a:hover, .dropdown:hover .dropbtn {
  background-color: #ff2020;
  border-radius: 8px;
}

li.dropdown {
  display: inline-block;
  height: 50px;  
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #333;
  width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 11; 
}

.dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left; 
}

.dropdown-content a:hover {
  background-color: grey;
  color: #fff;  
}

.dropdown:hover .dropdown-content {
  display: block; 
}

.li:hover {
  height: auto;
  border-radius: 0;
}

@media(max-width: 720px) {

  #newsimg {
    height: auto;
  }

  #card5 {
    height: auto;
  }

  .card6 {
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
  }
  
  video {
    height: auto;
  }

  .slideshow-container {
    margin: 10px;
  }

  .prev, .next {
    margin-left: auto;
    margin-right: auto;
    font-size: 25px;
  }


  nav {
    padding: 0;
    padding-bottom: 10px;
    padding-top: 10px;
  }

  nav a:hover {
  background-color: grey;
  border-radius: 0px; 
  height: 50px;
  color: #fff;
  }

  #image {
    width: 90px;
    margin-left: 10px;
  }

  .links-container {
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    background-color: #333;
    z-index: 10;
    box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
    transition: 0.75s ease-out;
  }

  nav a {
    box-sizing: border-box;
    height: auto;
    width: 100%;
    padding: 20px 30px;
    justify-content: center;
  }

  header {
    padding: 5px;
  }

  header h1 {
    font-size: 20px;
    padding-left: 5px;
    padding-right: 5px;
    width: 70%;
    margin-left: 8px;
  }

  .open, .close {
    display: block;
    padding: 5px;
  }

  #sidebar-active:checked ~ .links-container {
    right: 0;
  }

  #sidebar-active:checked ~ #overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
  }

a:hover, .dropdown:hover .dropbtn {
  background-color: grey;
  color: #fff;
}

.dropbtn {
  height: 50px;
}

li.dropdown {
  display: inline-block;
  width: 100%;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #333;
  width: 100%;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 11; 
}

.dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: center; 
}

.dropdown-content a:hover, .dropdown:hover {
  background-color: grey;
  color: #fff;  
}

.dropdown:hover .dropdown-content {
  display: block; 
}

.li:hover {
  height: auto;
  border-radius: 0;
}

  input[type=radio] {
      top: 130%;
      max-width: 9px;
      max-height: 9px;
      transform: translateX(-55px);
    }
}

@media only screen and (max-width: 403px) {
  header h1 {
    margin-left: 15px;
    font-size: 17px;
  }
}

@media only screen and (max-width: 368px) {
  header h1 {
    font-size: 16px;
  }
}

@media only screen and (max-width: 356px) {
  header h1 {
    font-size: 15px;
  }
}

@media only screen and (max-width: 338px) {
  header h1 {
    font-size: 14px;
  }

  #card {
    height: 330px;
  }
}

@media only screen and (max-width: 327px) {
  header h1 {
    font-size: 13px;
  }
}

@media only screen and (max-width: 310px) {
  header h1 {
    font-size: 12.5px;
  }
}

@media only screen and (max-width: 318px) {

  #image {
    margin-left: 2px;
  }

  #card {
    height: 340px;
  }
}

@media only screen and (max-width: 313px) {
  #card {
    height: 350px;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 3000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;  
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

@-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

#close:hover,
#close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  background-color: white;
}

.open-button {
  background-color: #555;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  position: fixed;
  bottom: 23px;
  right: 28px;
  width: 280px;
}

.form-container {
  max-width: 500px;
  padding: 10px;
  background-color: white;
}

.profileimg {
  border-radius: 50%;
  display: block;
  margin: auto;
  width: 50%;
  margin-bottom: 20px;
  background-color: #000;
  padding: 20px;
}

.form-container .btn {
  background-color: #1877F2;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom:10px;
  opacity: 0.8;
  border-radius: 100px;
  font-weight: bold;
}

.form-container .donate {
  background-color: #04AA6D;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom:10px;
  opacity: 0.8;
}

.form-container .btn:hover, .open-button:hover {
  opacity: 1;
}

#close {
  display: block;
}

@media only screen and (min-width: 500px) {
.form-container .btn {
  font-size: 18px;
}
}

.loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.loader-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.loader {
  height: 80px;
  aspect-ratio: 1;
  padding: 10px;
  border-radius: 20px;
  box-sizing: border-box;
  position: relative;
  mask: conic-gradient(#000 0 0) content-box exclude,conic-gradient(#000 0 0);
  filter: blur(12px);
  animation: l4-0 1.2s linear infinite alternate;
}

.loader:before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(#0000 0 5%, #C02942, #0000 20% 50%);
  animation: l4-1 1s linear infinite;
}

@keyframes l4-0 {
  to {border-radius: 50%}
}

@keyframes l4-1 {
  to {rotate: .5turn}
}