@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap");

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Baloo 2", sans-serif;
}

.navbar {
  background-color: #1b961b;
}

#logo-img {
  width: 60px;
  height: 60px;
  background-color: white;
  border-radius: 50%;
}

#logo-img:hover{
  transform: scale(1.3);
  rotate: 360deg;
  transition: all 0.7s ease-in-out 0.2s;
}

#mynavbar ul li {
  margin-right: 20px;
  white-space: nowrap;
}
#mynavbar ul div {
  margin-right: 0;
}

@media (max-width:376px) {
  #logo-img{
    width: 40px;
    height: 40px;
  }
  #text-ngo{
    font-size: 14px;
  }
}


#mynavbar ul li a {
  color: white;
  font-size: 20px;
  font-weight: 500;
}
@media (max-width:769px) {
  #mynavbar ul li a{
    font-size: 16px;
  }
}


#text-ngo {
  color: rgb(255, 255, 255);
  font-weight: 600;
  margin: auto;
}

#btn {
  background-color: #ffa500;
  color: white;
  font-weight: 800;
}


.card{
  height: 400px;
  width:450px;
  margin: 10px 0;
  box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

.card:hover{
  transform: scale(1.04);
  transition: all 0.5s ease 0.2s;
}

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

.glr{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}

.card-img-overlay {
  transition: 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-img-overlay h2 {
  opacity: 0;
  background-color:  #1db01d;
  transform: translateY(-50%);
  transition: 0.5s ease-in-out;
  text-align: center;
}
.card-img-overlay p {
  opacity: 0;
  background-color:#22b722;
  transform: translateY(-50%);
  transition: 0.5s ease-in-out;
  text-align: center;
}
.card:hover .card-img-overlay h2 {
  opacity: 1;
  transform: translateY(0);
  border: 2px solid white;
  border-radius: inherit;
}
.card:hover .card-img-overlay p {
  opacity: 1;
  transform: translateY(0);
  border: 2px solid white;
  border-radius: inherit;
}



/* SMALL */
@media screen and (max-width:320px)  {
  .card{
    height: 215px;
    width: 290px;
  }
}

/* 
MEDIUM */
@media screen and (min-width:374px) {
  .card{
    height: 245px;
    width: 328px;
  }
}
/* LARGE */
@media screen and (min-width:424px) {
  .card{
    height: 255px;
    width: 384px;
  }
}

/* TABLET */
@media screen and (min-width:767px) {
  .card{
    height: 300px;
    width:350px;
  }
}
/* LAPTOP */
@media screen and (min-width:1020px) {
  .card{
    height: 275px;
    width:325px;
  }
}


/* footer */
footer {
    background-color: #28334aff;
    overflow-x: hidden;
    padding: 20px;
    color: #fff;
  }
  footer p {
    font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
    font-size: 15px;
    margin-bottom: 10px;
  }
  .tag ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 15px;
  }
  .fdiv {
    padding-bottom: 20px;
  }
  .office h1,
  .office p {
    margin: 0;
  }
  .div2 {
    padding-top: 20px;
  }
  .div2 a {
    font-size: 30px;
    margin-right: 10px;
  }
  
  .fh1 {
    font-size: 12px;
  }
  footer ul li a:hover{
    background-color: #fff;
    color: #28334aff;
    border-radius: 10px;
    }
    footer .div2 i{
    padding: 10px;
    }
    footer .div2 i:hover{
      background-color: #fff;
      color: #28334aff;
      border-radius: 10px;
      padding: 10px;
    }
  
  
  @media (min-width: 768px) {
    .list {
      margin: 20px 0px;
    }
    .office {
      margin: 20px 0px;
    }
    .div2 {
      padding-left: 0;
    }
    .para {
      margin: 20px 0px;
    }
  }