@charset "UTF-8";
/* CSS Document */

.wrapper {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: auto-fit, minmax(400px,1fr)
    margin-bottom: 2em;
  }
.box {
  background-color: #fff;
  color: #000;
  padding: 20px;
  font-size: 14px;
  border-radius: 20px;
  border: 4px solid #f9f9f9;
}
.wrapper2 {
    width: 400px;
  }
.box2 {
  background-color: #fff;
  color: #000;
  padding: 20px;
  font-size: 14px;
  border-radius: 20px;
  border: 4px solid #f9f9f9;
}
.boxX:nth-child(even) {
  background-color: #ccc;
  color: #000;
}

.box img {width: 100%;}
.box2 img {width: 100%;}
.box-title {width: 100%; font-size: 20px; font-weight: bold; text-align: center; background-color: #cc0000; color: #fff; padding: 20px 0;}

/* Screen larger than 600px? 2 column */
@media only screen and (min-width: 600px) {
.wrapperX {grid-template-columns: repeat(2, 1fr); grid-gap: 20px;}
.wrapper {display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); grid-gap: 10px; margin-bottom: 2em;}

}

/* Screen larger than 900px? 3 columns */
@media only screen and (min-width: 900px) {
.wrapperX {grid-template-columns: repeat(3, 1fr); grid-gap: 30px;}
.wrapper {display: grid; grid-template-columns: repeat(auto-fit, minmax(400px,1fr)); grid-gap: 10px; margin-bottom: 2em;}
}