/*
|-----------------------------------------------------------------------|
|                                                                       |
|                                                                       |
|                     ALL CODE WROTE BY ALEX SCHUELER                   |
|           this box took longer to make than the code lol (joke)       |
|                       it look awesome sauce tho                       |
|                                                                       |
|-----------------------------------------------------------------------|

*/
/*navbar control*/

.navbar {
  padding: 20px 40px;
  background-color: rgb(0, 0, 0) !important;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
}

.navbar-brand img {
  height: clamp(40px, 5vw, 80px);
}

.navbar-nav .nav-link {
  color: white;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  padding: 10px 15px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link:active {
  transform: translateY(-2px);
  transition: 0.3s ease;
}

#mainimg {
  width: 100%;
  height: auto;
}


.card{
  text-align: center;
}

.card img{
  width: 20%;
}


.footer{
  color: #857777;
}


@media (max-width: 768px) {
  #mainimg {
    height: 50vh; /* Adjust this value as needed */
    object-fit: cover; /* Ensures the image covers the area without stretching */
  }

  .card img{
    width: 50%;
  }
}


/*dropdown customization*/

.dropdown-menu{
  padding: 10px;
  background-color: black;
  border: 1px solid rgb(128 128 128);
}

.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.dropdown-item{
  color: rgb(128 128 128);
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  text-align: center;;
}

.dropdown-item:hover, .dropdown-item:active{
  /*background-color: rgb(180, 176, 176) !important;*/
  color: rgb(191 191 191);
  background-color:rgb(24, 24, 24);
  transform: translateY(-2px);
  transition: 0.3s ease;
}

@media (max-width: 1199px){
  .dropdown-menu{
    display:block;
    margin-top: 0;
  }
}

/*animation*/ 

@media (min-width: 200px) {
  .animate {
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
  }
}

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

@-webkit-keyframes slideIn {
  0% {
    -webkit-transform: transform;
    -webkit-opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    -webkit-opacity: 1;
  }
  0% {
    -webkit-transform: translateY(1rem);
    -webkit-opacity: 0;
  }
}

.slideIn {
  -webkit-animation-name: slideIn;
  animation-name: slideIn;
}

/*end of animation*/

/*end of dropdown customization*/



/*footer*/

.footer{
  padding-top: 40px;
  border-top: 1px solid black;
  background-color: black;
  color: white;
}
.footer img{
  width: clamp(150px, 100%, 300px);
}

@media (max-width: 768px){
  .footer img{width: 50%;}
}
.footer #copyrighttag{
  text-transform: uppercase;
  font-family: 'Courier New', Courier, monospace;
}

.footer h5{
  text-transform: uppercase;
  font-weight: 600;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.footer i{
  color:rgb(211, 122, 122);
  font-size: 30px;
  padding: 0 15px;
}

.footer a{
  color: rgb(191 191 191);
  font-weight: 500;
  font-size: 18px;
  text-decoration: none;
  text-transform: uppercase;
  padding-top: 10px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.footer p{
  color: rgb(191 191 191);
}
.footer a:hover{
  color: rgb(245, 243, 243);
  transition: 0.3s ease;
}

.footer i:hover, .footer i:active{
  color: rgb(128 128 128);
  transform: translateY(-2px);
  transition: 0.3s ease;
}

/*end of footer*/

/*.img-container{
  position: relative;
  text-align: center;
  color: white;
  -webkit-text-stroke: 1px black;
  outline: black;
  text-transform: uppercase;
  font-weight: 900;
}
.img-container p{
  position: absolute;
  font-family: 'Cuprum', sans-serif;
  font-size: clamp(70px,10vw,150px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}*/

#cardimg{
  display: flex;
}

.img{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.card h5 strong{
  font-size: clamp(17.5px, 3vw, 29px);
}

.classphoto img{
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);width: clamp(50px, 100%, 800px);
}
.classphoto img:hover{
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.learn-more{
  text-transform: uppercase;
  font-weight: 600;
  font-size: clamp(17.5px, 3vw, 22.5px);
  text-align: center;
  padding: 10px 15px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  box-shadow: inset 0 0 0 0 rgb(53 121 246);
  color: rgb(53 121 246);
  margin: 0 -.25rem;
  padding: 0.25 2.55rem;
  transition: color .3s ease-in-out, box-shadow .3s ease-in-out, .3s ease-in-out;
  border: 2px solid blue;
  border-radius: 20px;
  letter-spacing: 2px;
}

.learn-more:hover{
  text-decoration: none;
  box-shadow: inset 270px 0 0 0 rgb(53 121 246);
  letter-spacing: 5px;
  color: white;
}

/*insert into all css files (make buttons look good) */

.donate{
  text-transform: uppercase;
  font-weight: 600;
  font-size: clamp(13.5px, 3vw, 16.5px);
  text-align: center;
  padding: 10px 15px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  box-shadow: inset 0 0 0 0 rgb(53 121 246);
  color: rgb(53 121 246);
  margin: 0 -.25rem;
  padding: 0.25 2.55rem;
  transition: color .3s ease-in-out, box-shadow .3s ease-in-out, .3s ease-in-out;
  border: 2px solid blue;
  border-radius: 20px;
  letter-spacing: 2px;
}

.donate:hover{
  text-decoration: none;
  box-shadow: inset 270px 0 0 0 rgb(53 121 246);
  letter-spacing: 5px;
  color: white;
}

.alert {
  padding: 20px;
  background-color: rgb(83, 157, 100);
  color: white;
  font-size: 20px;
  left: 0;
  position: fixed;
 bottom: 0;
  z-index: 1;
}

.closebtn {
margin-left: 15px;
color: white;
font-weight: bold;
float: right;
font-size: 22px;
line-height: 20px;
cursor: pointer;
transition: 0.3s;
}

.closebtn:hover {
color: black;
transform: rotate(90deg);
}
