.galerie {
  --transition-time: 0.5s;
  box-sizing: border-box;
  min-height: 100vh;
  margin-top: 50%;
  
}



.cards-wrapper {
	
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 4rem;
  padding: 4rem;
  margin: 0 auto;
  width: 40vw;
}

.card {
  font-family: 'Montserrat', sans-serif;
  --bg-filter-opacity: 0.5;
  background-image: linear-gradient(rgba(0,0,0,var(--bg-filter-opacity)),rgba(0,0,0,var(--bg-filter-opacity))), var(--bg-img);
  height: 20em;
  width: 15em;
  font-size: 1.5em;
  color: white;
  border-radius: 1em;
  padding: 1em;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 5em -1em #121113;
  transition: all, var(--transition-time);
  position: relative;
  overflow: hidden;
  border: 10px solid #ccc;
  text-decoration: none;
}

.card:hover {
  transform: rotate(0);
}


.card .tags {
  display: flex;
}

.card .tags .tag {
  font-size: 0.75em;
  background: rgba(255,255,255,0.5);
  border-radius: 0.3rem;
  padding: 0 0.5em;
  margin-right: 0.5em;
  line-height: 1.5em;
  transition: all, var(--transition-time);
}

.card:hover .tags .tag {
  background: var(--color);
  color: white;
  background-color: #357266;
}

.card .date {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.75em;
  padding: 1em;
  line-height: 1em;
  opacity: .8;
}

.card:before, .card:after {
  content: '';
  transform: scale(0);
  transform-origin: top left;
  border-radius: 50%;
  position: absolute;
  left: -50%;
  top: -50%;
  z-index: -5;
  transition: all, var(--transition-time);
  transition-timing-function: ease-in-out;
}





.card:hover {
  color: var(--color);
}

.card:hover:before, .card:hover:after {
  transform: scale(1);
}

.card-grid-space .num {
  font-size: 3em;
  margin-bottom: 1.2rem;
  margin-left: 1rem;
}

.info {
  font-size: 1.2em;
  display: flex;
  padding: 1em 3em;
  height: 3em;
}

.info img {
  height: 3em;
  margin-right: 0.5em;
}

.info h1 {
  font-size: 1em;
  font-weight: normal;
}

.center{
  justify-content: center; 
  width: 99vw;
}



@media screen and (min-width:1000px) and (max-width: 1025px) {
    .galerie{
        margin-top: 150%;
    }
    
  }



@media screen and (max-width: 1285px) {
  .cards-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .snake{
    height: 70vh;
    margin-left: 30vw;
    margin-top: -41vh;
  
   }

   h1{
    font-size: 46px;
   }
}

@media screen and (max-width: 920px) {
  .cards-wrapper {
    grid-template-columns: 1fr;
  }
  .info {
    justify-content: center;
  }
  .card-grid-space .num {
    margin-left: 0;
    text-align: center;
  }

  .galerie{
    margin-top: 269vh;
}

h1{
  font-size: 4rem;
}

.snake{
  height: 54vh;
  margin-left: 30vw;
  margin-top: -27vh;

 }

 .center{
  width: 80vw;
 }
  
}

@media screen and (max-width: 500px) {
  .cards-wrapper {
    padding: 4rem 2rem;
  }
  .card {
    max-width: calc(80vw - 4rem);
  }
  
}

@media screen and (max-width: 450px) {
  .info {
    display: block;
    text-align: center;
  }
  .info h1 {
    margin: 0;
  }

  .galerie{
    margin-top: 370vh;
}

.snake{
  height: 54vh;
  margin-left: 30vw;
  margin-top: -27vh;

 }
 
}

@media screen and (max-width: 420px) {
    .info {
      display: block;
      text-align: center;
    }
    .info h1 {
      margin: 0;
    }

    .galerie{
        margin-top: 440vh;
    }

    .snake{
      height: 54vh;
      margin-left: 29vw;
      margin-top: -27vh;
  
     }

     .card h1{
      font-size: 20px;
     }

     
     
  
   

  }

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

    .galerie{
        margin-top: 544vh;
    }
   .snake{
    height: 49vh;
    margin-left: 47vw;
    margin-top: -19vh;

   }
    
  

  }

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

    .galerie{
        margin-top: 484vh;
    }
   

  }


  