
.farbe1 {
    text-align: center;
    font-size: 50px;
    color: white;
    font-weight: bold;
    margin-bottom: 2rem;
}

.pmemo {
    color: white;
    font-size: 30px;
    text-align: center;
    font-weight: bold;
}


.actions {
    display: flex;
    justify-content: center;
}

.actions button {
    padding: 8px 16px;
    font-size: 30px;
    border-radius: 10px;
    background-color: #FFCF17;
    color: #080823;
}

.grid-container {
  display: grid;
  justify-content: center;
  grid-gap: 16px;
  grid-template-columns: repeat(6, 210px);
  grid-template-rows: repeat(2, 210px);
  padding-bottom: 2rem;
}


.content-sectionblack {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background-color: #080823;
  min-height: 100vh;
  min-width: 100vw;
  color: white;
}

.card {
  height: 210px ;
  width: 210px;
  border-radius: 10px;
  border: none;
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.5s ease-in-out;
}

.front-image {
  width: 210px;
  height: 210px;
  border-radius: 10px;
}

.card.flipped {
  transform: rotateY(180deg);
}

.front, .back {
    backface-visibility: hidden;
    position: absolute;
    border-radius: 10px;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.card .front {
  display: flex;
  justify-content: center;
  align-items: center;
}

.card .back {
  background-image: url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='40' height='40' patternTransform='scale(2) rotate(0)'><rect x='0' y='0' width='100%' height='100%' fill='hsla(358, 100%, 43%, 1)'/><path d='M20-5V5m0 30v10m20-30v10M0 15v10'  stroke-linecap='square' stroke-width='1' stroke='hsla(48, 100%, 55%, 1)' fill='none'/><path d='M-5 40H5M-5 0H5m30 0h10M35 40h10M15 20h10'  stroke-linecap='square' stroke-width='1' stroke='hsla(340, 0%, 100%, 1)' fill='none'/></pattern></defs><rect width='800%' height='800%' transform='translate(0,0)' fill='url(%23a)'/></svg>");
  background-position: center center;
  background-size: cover;
  backface-visibility: hidden;
}

.card .front {
  transform: rotateY(180deg);
}

 /* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 809px) { 
    .grid-container {
        display: grid;
        justify-content: center;
        grid-gap: 10px;
        grid-template-columns: repeat(3, 22vw);
        grid-template-rows: repeat(6, 22vw);
        padding-bottom: 10px;
    }
    .content-sectionblack {
  padding-top: 1rem;
  padding-bottom: 2rem;
   }
.actions button {
    padding: 6px 10px;
    font-size: 25px;
    border-radius: 10px;
    background-color: #FFCF17;
    color: #080823;
}
.farbe1 {
    text-align: center;
    font-size: 30px;
    color: white;
    font-weight: bold;
    margin-bottom: 1rem;
}
.pmemo {
    color: white;
    font-size: 25px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;

}
    .content-sectionblack {
          min-height: auto;
          min-width: auto;
}
    .card {
        height: 22vw;
        width: 22vw;
        border-radius: 0,1px;
        position: relative;
        transform-style: preserve-3d;
        transition: all 0.5s ease-in-out;
    }
    .front-image {
        width: 22vw;
        height: 22vw;
        border-radius: 0,1px;
    }
}
@media only screen and (810px<= width <= 1370px) { 
    .grid-container {
        display: grid;
        justify-content: center;
        grid-gap: 10px;
        grid-template-columns: repeat(3, 130px);
        grid-template-rows: repeat(2, 130px);
        padding-bottom: 1rem;
    }

.farbe1 {
    text-align: center;
    font-size: 50px;
    color: white;
    font-weight: bold;
    margin-bottom: 1rem;
}
.pmemo {
    color: white;
    font-size: 30px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 1rem;

}
    .content-sectionblack {
          min-height: auto;
          min-width: auto;
}
    .card {
        height: 130px;
        width: 130px;
        border-radius: 10px;
        position: relative;
        transform-style: preserve-3d;
        transition: all 0.5s ease-in-out;
    }
    .front-image {
        width: 130px;
        height: 130px;
        border-radius: 10px;
    }
   
}
