.btn{
    align-self: center;
    margin-top: 10px;
    display: inline-block;
    font-weight: 400;
    background: var(--second-color);
    border: 1px solid transparent;
    color: var(--bg-color);
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.project-description-container{
    position:relative;
    width: 100%;
    height: 500px;
    background: var(--primary-color);
    background-size: 400%;
    margin-top: 100px;
    align-items: center;
    text-align: center;
    padding-top: 10px;
}
.project-description-overlay-container{
    position: relative;
    background: rgba(0,0,0,.5);
    height: 100%;
    padding-right: 20px; 
     padding-left: 20px;
}
.category-name{

    -webkit-text-stroke: 3px black;
}
.project-description-overlay-middle-align{
    padding-top: 96px;
    padding-bottom: 96px;
    padding-left: 1%;
    padding-right: 1%;
}
.btn-container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup-modal-container{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 500; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.popup-modal-content{
    background-color: #fefefe;
    margin: auto; /* 15% from the top and centered */
    position: fixed; /* Stay in place */
    padding: 20px;
    border: 1px solid #888;
    width: 100%; /* Could be more or less, depending on screen size */
    height: 100%;
    overflow: auto;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.4s

}
.importance-container{
    
    padding: 10px;
    margin-top: 0;
    width: 100%;
    height: fit-content;
    background:white;
    position: relative;
}

.importance-sub-title{
    font-size: 30px;
    border-bottom:2px groove #23d5ab;
}
.project-importance-details{
    position:relative;
    text-align: center;
    font-size: 1.2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(457px,auto));
    justify-content: center;
    gap:1.5rem;

}
.importance-details-box{

    box-shadow: 0 4px 14px hsl(355deg 25% 15%/10%);
    padding: 5px;
    border-radius: 0.5rem;

}
.donate-link-container{
    text-align: center;
    position: absolute;
    display: flex;
    flex-direction: column;
    display: block;
    bottom: 0;
    margin-top: 10px;
    width: 100%;
    padding: 10px;
}
.donate-link{
    width: 400px;
    text-align: center;
    color: var(--bg-color);
    background: var(--second-color);
    font-size: 1rem;
    padding: 10px;
    border-radius: 50px;
}
.donate-link a{
    width: 100%;
}
.donate-link:hover{
    background: var(--bg-color);
    color: var(--primary-color);
    border:1px solid var(--primary-color);
}
.page-content-container{
    height: 600px;
    width: 100%;
    background-image:var(--container-color) ;
    background-size: 800px 100%;
    background-repeat: no-repeat;
    background-position: right;
    background-color: #cccccc;
}
.popup-modal-middle{
    background-color: #fefefe;/* 15% from the top and centered */
    padding: 20px;
    width: 100%; /* Could be more or less, depending on screen size */
    overflow: auto;
    max-height: 500px;
    animation-name: animatetop;
    animation-duration: 0.4s;
   

}
.popup-modal-middle iframe{
    height: 383px;
    max-height: 383px;
    width: 100%;

}
.popup-modal-header{
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 30px;
}
.popup-modal-header-text{
    display: block;
}
.popup-modal-close{
    font-weight: bolder;
}
.popup-modal-close:hover,
.popup-modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
/* Add Animation */
@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
  }
.projects-view-container{
    padding: 20px;
}
.projects-view-inner-container{
    
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(auto,400px));
    justify-content: center;
    gap:1.5rem;
}
.projects-bottom-container{
    padding: 10px;
    width: 100%;
    position:relative;
    min-height: 194px;
}
.projects-view-box{
    background: var(--bg-color);
    box-shadow: 0 4px 14px hsl(355deg 25% 15%/10%);
    border-radius: 0.5rem;
    align-items: center;
    display: flex;
    flex-direction: column;
    
    position: relative;
    min-height: 595px;
}
.prj-view-index{
    min-height: 455px;
}

.completed-projects-gallery-container{
    text-align: justify;
    font-size: 1.2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,auto));
    justify-content: center;
    gap:1.5rem;

}

.completed-projects-gallery-box{
    
    background: var(--bg-color);
    box-shadow: 0 4px 14px hsl(355deg 25% 15%/10%);
    border-radius: 0.5rem;
    align-items: center;
    display: flex;
    padding: 10px;
    flex-direction: column;
    position: relative;
    transition: 1s;
}
.completed-project-img{
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 0.5rem;
}
.completed-project-name{
    width: 100%;
    text-align: center;
    font-size: large;
}

.projects-view-box-gallery {
    background: var(--bg-color);
    box-shadow: 0 4px 14px hsl(355deg 25% 15%/10%);
    border-radius: 0.5rem;
    align-items: center;
    display: flex;
    flex-direction: column;
    position: relative;

}
.projects-view-box-gallery iframe{
width: 100%;
height: 100%;
}
.completed-projects-gallery-box:hover{
    background: var(--second-color);
    color: white;

}
.completed-projects-gallery-box:hover div{
    color: white;

}
.completed-project-name{
    color: var(--text-color);
}
.completed-project-name a{
    color: var(--text-color);
    transition: 1s;
}
.projects-view-box-name{
    width: fit-content;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    color: var(--bg-color);
    background: var(--second-color);
    border-radius: 10px;
}
.projects-view-box-img{
    width: 100%;
   max-height: 250px; ;
}
.completed,.funded{
    color: var(--bg-color);
    position: absolute;
    margin: 0;
    background: #1b7c28;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 10px;
}
.pending,.underrequest{
    color: var(--bg-color);
    position: absolute;
    margin: 0;
    background: #000000;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 10px;
}
.inprogress{
    color: var(--bg-color);
    position: absolute;
    margin: 0;
    background: var(--second-color);
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 10px;
}
.add-gallery-photo{
    display: block;
}
.project-details{
    position: relative;
    display:-webkit-inline-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
  }
  .tooltiptext {
    position: absolute;

  }
  /* Tooltip text */
  .project-details .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
   height: 600px;
   width: 600px;
    /* Position the tooltip text - see examples below! */
    z-index: 1000;
  }
  
  /* Show the tooltip text when you mouse over the tooltip container */
  .project-details:hover .tooltiptext {
    background: #1b7c28;
    visibility: visible;
  }
  
  
  .search-container{
    display: flex;
    margin: 10px;
  }
  .search-btn{
    margin-top: 0px;
  }
  
  @media(max-width:416px){
    .project-description-container {
        height: 414px;
    }
    .project-importance-details {
        grid-template-columns: repeat(auto-fit,minmax(288px,auto));
    }
  }
  @media(max-width:390px){
    .post-title {
      font-size: 1rem;
  
    }
    .post-description {
      font-size: 12px;
    }
  }
  @media(max-width:320px){
    .popup-modal-header {
        font-size: 25px;
    }
.project-gallery-details{
    font-size: 13px;
}
.projects-view-container {
    padding: 2px;
}
.projects-view-box-name {
    padding: 5px;
    font-size: 13px;
    border-radius: 10px;
  }}