
.myGallery {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.myGallery img {
  width: 100%;
}
.myGallery .item {
  overflow: hidden;
}

.myGallery .item img {
  display:  flex;
  vertical-align: middle;
}
.myGallery .caption2
{
  
}
.myGallery .caption {
  display:  flex;
  margin: 0;
  padding: 1em;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 100%;
  overflow: auto;
  box-sizing: border-box;
  transition: transform 0.5s;
  transform: translateY(100%);
  background: rgba(0, 0, 0, 0.7);
  color: rgb(255, 255, 255);
}

.myGallery .item:hover .caption {
  transform: translateY(0%);
}
img {
  width: auto ;
  max-width: 100% ;
  height: auto ;
}
.header   
{ 
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  background: #333333;
  color: white;
  align-content: center;
  font-size: 32px;
  font-size: 5vw;
  font-size: min(max(16px, 4vw), 32px);
  font-weight: 900;
  align-items: center;
  padding:  10px;
}
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}
.sticky + .content {
}
.headertext   
{ 
  display: flex;
  flex-direction: row;
  font-family: Arial, sans-serif;
  background: #333333;
  color: white;
  justify-content: space-evenly;
  align-content: center;
  font-size: larger;
}
.nav
{
  background: #444444;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  padding: 8px;
}
.navitem
{
  display: flex;
  flex-direction: row;
  font-size: 2em;
  color: white;
}
.flex-wrapper {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
}
.facebookcolor  { color: #3b5999; }
.twittercolor   { color: #00acee; }
.pinterestcolor { color: #ca2127; }
.linkedincolor  { color: #0077b5; }
.whatsappcolor  { color: #3fbb50; }
.emailcolor     { color: #888888; }
.redditcolor    { color: #ED001C; }
.instagramcolor { color: #9b6954; }

.content 
{
  padding: 16px; 
}
.main   
{ 
  display: flex;
  flex-direction: column;
  align-content: center;
  font-family: Arial, sans-serif;
  margin-top: 100px;

}
.blogbox
{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.blog
{
  display: flex;
  flex-direction: row;
  padding: 20px;
  align-items: center;
  font-family: Arial, sans-serif;

}
.blogtext
{
  display: flex;
  flex-direction: column;
  margin-left: 20px;
  margin-right: 20px;
  font-family: Arial, sans-serif;
}
.summarytext
{
  display: flex;
  flex-direction: column;
  padding-left: 5px;
  font-family: Arial, sans-serif;
}
.blogimage
{
  display: flex;
  flex-direction: row;
}
.footer   
{ 
  display: flex;
  flex-direction: column;
  align-content: space-between;
  align-items: center;
  font-family: Arial, sans-serif;
  background: #DDDDDD;
  justify-content: space-evenly;
}
.tags
{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.tagsold
{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 5px;
  margin:  5px;
}
.taganchor
{
    text-decoration: none !important;
}
.tag
{
  display: flex;
  flex-direction: row;
  padding-right: 5px;
  font-size: small;
}


.tagold
{
  display: flex;
  flex-direction: row;
  background-color: DarkBlue;
  color: White;
  border-radius: 10px;
  padding-left: 5px;
  padding-right: 5px;
  padding: 5px;
  margin:  1px;
  margin-right: 10px;
  justify-content: space-evenly;
}



.crop {
  min-width: 60px; 
  height:300px; 
  object-fit: contain;
}
.crop2 {
  min-width: 60px; 
  object-fit: cover;
  width: 100%;
  height: 230px;
  border-radius: 5px 5px 0 0;
}

/* NEW BIT */

/* Add a black background color to the top navigation */
.topnav {
  background: #444444;
/*  background-color: #333; */
  overflow: hidden;
  font-family: Arial, sans-serif;

}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}


/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

.displaycard {
  display: ;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  width: 40%;
  max-width: 300px;
  min-width: 300px;
  border-radius: 5px;
  margin:  10px;
}

.displaycard:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.displayimg {
  border-radius: 5px 5px 0 0;
}

.displaycontainer {
  padding: 2px 16px;
}
a:link {color:#1877F2;}         /* Unvisited link  */
a:visited {color:#1877F2;}      /* Visited link    */
a:hover {color:#1877F2;}       /* Mouse over link */
a:active {color:#1877F2;}      /* Selected link   */


#card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  height: 55vh;
  width: 80%;
  margin: 2px;
  border-radius: 3px;
  transition: all 200ms ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-actions {
  margin: 8px;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}