



















#loading {

    text-align: center;
}









#response {
   
   
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 20px;
}


#response-press {
   
   
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 20px;
}





#response-popular-article {
   
   
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 20px;
}


#response-scholarly-review {
   
   
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 20px;
}



#response-academic-talk {
   
   
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 20px;
}






.blog-posts-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; 
}








#response-main {
   
   
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 20px;
	
	   

}


.more-link-container {
    align-self: flex-start;
    margin-top: auto;
}


.more-link {
    display: none;
	
	
	
}




.post-output{
   
   
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 20px;
	
	   

}








.blog-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 70px;
    list-style: none;
    margin: auto;
}

.blog-filters .filter-button {
    background-color: #edddc5; 
    color: #12223a;
    cursor: pointer;
    font-size: 15px;
    margin: 5px 10px 0 10px;
    padding: 10px 15px;
    font-weight: bold;
    display: inline-block;
    border-radius: 16px;
    transition: all 0.5s ease;
}



.filter-button.nature-science-pnas  {
    background-color: #cdc5ed;
}

.filter-button.peer-reviewed-journals {
    background-color: #c5d5ed;
}

.filter-button.preprints {
    background-color: #c5eddd;
}




.filter-button.nature {
	
	
	    background-color: #cdc5ed;

	
}

.filter-button.pnas {
	
	
	    background-color: #cdc5ed;

	
}

.filter-button.science {
	
	
	    background-color:#cdc5ed;

	
}

.filter-button.book-chapters-and-reviews {
    background-color: #ede1c5;
}







.filter-button.main {
    background-color: #edddc5;
} 


button.filter-button.main[data-filter="post"] {
     background-color: #c5d5ed;

}


button.filter-button.main[data-filter="press"] {
     background-color: #cdc5ed;

}



button.filter-button.main[data-filter="tribe_events"] {
     background-color: #edc5e9;

}

button.filter-button.main[data-filter="research"] {
     background-color: #cdedc5;

}


button.filter-button.main[data-filter="all"] {
     background-color: #ede1c5;

}



.press.video {
	
	
	 background-color: #cdedc5;




}




.press.article {
	
	
	 background-color: #c5d5ed;




}




.press.podcast {
	
	
	 background-color: #c5eddd;




}








.blog-filters .filter-button.active,
.blog-filters .filter-button:hover {
    transform: scale(1.1);
    
}










.no-link-borders {
    text-decoration: none !important;
    border: 0 !important;
	box-shadow: unset !important;
}	

.no-link-borders:hover  {
    text-decoration: none !important;
    border: 0 !important;
    box-shadow: unset !important;
	
}



.blog-post {
    display: flex;
    flex-direction: column;
	justify-content: center;
    background-color: #ffffff;
    width: 21vw;
	height: 25vh;
	min-width: 410px;
    padding: 1rem;
    box-sizing: border-box;
    border-radius: 20px;
    margin: 15px;
    transition: all 0.5s ease;
	position: relative;
	cursor: pointer;
	overflow: hidden;

	
	
}




.blog-post:hover {
    transform: scale(1.02);
}



.blog-post.post {
  
	
	display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;

	padding-bottom: 20px;
	
}
	
	
	
	
.blog-post.post h2 {
  margin: 1px;
  
  overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* number of lines to display */
    -webkit-box-orient: vertical;
  
  
  
  
  
}	
	


.blog-post.post .custom-featured-image {
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    z-index: 0; 
}

.blog-post.post .custom-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	object-position: center top;

	
	
}










.blog-post .category {
	
	position: absolute; 
    top: 10px; 
    right: 10px;
	z-index: 2; 
	font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #ffffff;
    padding: 4px;
    border-radius: 10px;
	margin-bottom: 10px;
	color: #12223a;



}





.blog-post.press .category.video {
   
   
       background-color: #cdedc5;

  
}



.blog-post.press .category.article {
   
   
       background-color: #c5d5ed;

  
}



.blog-post.press .category.podcast {
   
   
       background-color: #c5eddd;

  
}


.blog-post.press .category.review {
   
   
       background-color: #edddc5;

  
}




.blog-post.publications .category.nature-science-pnas {


       background-color: #cdc5ed;


}

	
	
	
.blog-post.publications .category.peer-reviewed-journals {


       background-color: 	#c5d5ed;


}


.blog-post.publications .category.preprints {


       background-color: 	#c5eddd;


}





.blog-post.publications .category.book-chapters-and-reviews {


       background-color: 	#ede1c5;


}











.blog-post .citation-start,
.blog-post .citation-end {
    color: #12223a;
    font-size: 17px;
	
	
}



.blog-post h2 {
    color: #12223a;
    font-size:20px;
    margin: 0;
	 overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  
  
	
	
	
	
	
	
	
	
}

.blog-post.press {
    background-color: #cdc5ed;
}

.blog-post.publications {
    background-color: #cdedc5;
}

.blog-post.popular-article {
    background-color: #c5eddd;
}

.blog-post.scholarly-review {
    background-color: #ede1c5;
}


.blog-post.academic-talk
 {
    background-color: #edd9c5;
}



.blog-post.blog {
    background-color: #c5d5ed;
}

.blog-post.tribe_events {
	
	    background-color: #edc5e9;

	
}










@media screen and (max-width: 1500px) {





.blog-post .category {
     
		
		
		
		
    top: 7px;
	
    right: 7px; 
	font-size: 7px;
    padding: 2px;
    border-radius: 7px;
	margin-bottom: 5px;



		
		
		
		
    }


}


@media screen and (max-width: 500px) {
    .blog-post {
       
        height: 21vh;
        min-width: 88vw;
   
    }

    .post-title {
        font-size: 17px;
    }

    .blog-post h2 {
     
        font-size: 17px;
     
		
		
    }
	
	
	.blog-post.post {
  
	
	

	
}
	
	
	
	
	

    .blog-post.post h2 {
        font-size: 17px;
        
       
		
		
		
    }

    .blog-post .citation-start,
    .blog-post .citation-end {
        font-size: 13px;
    }

    .blog-post .category {
     
		
		
		
	position: absolute; 
    top: 7px; 
    right: 7px; 
	font-size: 7px;
    padding: 2px;
    border-radius: 7px;
	margin-bottom: 5px;



		
	
		
		
		
		
		
		
		
    }

    #response {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        padding: 10px;
    }

    #response-press {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        padding: 10px;
    }

    #response-popular-article {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        padding: 10px;
    }

    #response-scholarly-review {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        padding: 10px;
    }

    .blog-posts-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    #response-main {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        padding: 10px;
    }

    .more-link-container {
        align-self: flex-end;
        margin-top: auto;
    }

    .more-link {
        display: none;
    }

    .post-output{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        padding: 10px;
    }

    .blog-filters {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 30px;
        list-style: none;
        margin: auto;
    }

    .blog-filters .filter-button {
        font-size: 12px;
        margin: 5px 10px 0 10px;
        padding: 10px 15px;
        font-weight: bold;
        display: inline-block;
        border-radius: 16px;
        
    }
} 

























.books-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  
  padding: 40px;
  
  
}

.book-grid-item {
  position: relative;
  overflow: hidden;
   box-shadow: 0 8px 15px rgba(0,0,0,0.2);
   border-radius: 20px;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   border: 0.5px solid #12223a;
	animation: fadeIn 1s ease-out forwards;

	

  
}

.book-cover {
  position: relative;
  width: 100%;
  padding-top: 150.15%; /* 333:500 aspect ratio */
  background-position: center;
  background-size: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  border-radius: 20px;

  
  
  
}

.book-grid-item:hover {
  transform: scale(1.05);


}





@media (max-width: 600px) { /* Adjust the max-width as needed */
  .books-grid-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Smaller min size */
    justify-content: center; /* Center the grid items */
  }

  .book-grid-item {
    max-width: 80%; /* Make each item take up only 80% of the grid column width */
    margin: 0 auto; /* Center the item within the column */
  }
}








/* animations */









@keyframes slide-in {
    0% {
        transform: translateX(-5%);
    }
    100% {
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slide-in 0.8s ease-out;
}





@keyframes slide-in-right {
    0% {
        transform: translateX(5%);
    }
    100% {
        transform: translateX(0);
    }
}



.slide-in-right {
    animation: slide-in-right 0.8s ease-out;
}


@keyframes slide-in-top-down {
    0% {
        transform: translateY(-10%);
    }
    100% {
        transform: translateY(0);
    }
}

.slide-in-top {
    animation: slide-in-top-down 1.2s ease-out;
}







@keyframes slide-in-bottom {
    0% {
        transform: translateY(15%);
    }
    100% {
        transform: translateY(0);
    }
}

.slide-in-bottom {
    animation: slide-in-bottom 0.8s ease-out;
}





@keyframes fadeIn {
  0% { opacity: 0.2; }
  100% { opacity: 1; }
}





.fade-in {
  animation: fadeIn 0.5s ease-in;
}

.fade-in_imagefront {

animation: fadeIn 1s ease-in;
}


