
/*   
/* Responsive columns *
@media screen and (max-width: 650px) {
    .column {
      width: 100%;
      display: block;
      margin-bottom: 5px;
    }
}

@media screen and (min-width: 650px) and (max-width: 980px) {
    .column {
      width: 50%;
    }
}

@media screen and (min-width: 980px) and (max-width: 1280px) {
    .column {
      width: 33%;
    }
}


@media screen and (min-width: 1280px) {
    .column {
      width: 25%;
    }
} */


/* Style the counter cards */
/* .card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    padding: 16px;
    text-align: center;
    background-color: #f1f1f1;
} */


.flip-card {
  background-color: transparent;
  height: 300px;
  perspective: 1000px;
  margin-bottom: 20px;
}
  
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}
  
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
  
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
  
.flip-card-front {
  background-color: rgba(187, 187, 187, 0.23);
  color: black;
}
  
.flip-card-back {
  background-color: #b4a282;
  color: white;
  transform: rotateY(180deg);
}



.firstthing h2 {
  font-size: 60px;
}


.otherthing {
  display: none;
  text-align: center;
  text-decoration: none;
}

.flex-container {
  display: flex;
  margin-top: 150px;
}

.flex-child {
    flex: 1;
    height: 300px;
    border: 2px solid yellow;
}  

.flex-child:first-child {
    margin-right: 20px;
} 

.column:hover .firstthing {
  display: none;
}

.column:hover .otherthing {
  display: block;
}






* {
  box-sizing: border-box;
}
.row {
  margin-top: 175px;
}

/* Create two equal columns that floats next to each other */
.column {
  float: left;
  border-radius: 150px;
  width: 50%;
  margin-bottom: 25px;
  height: 300px; /* Should be removed. Only for demonstration */
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    width: 100%;
  }
}






html .cards { 
  font-size: 22px; 
}
body .cards { 
  padding: 1rem; 
}

/*
.card {
  background-color: dodgerblue;
  color: white;
  padding: 1rem;
  height: 4rem;
}
*/

.cards {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}