@import url("https://fonts.googleapis.com/css2?family=Rowdies&display=swap");

/* CONTENT-BOX vs BORDER-BOX */

[class$="-box"] {
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ea5b4853;
  border: 17px outset tomato;
}

.content-box {
  box-sizing: content-box; /* default */
  padding: 2rem;
}

.border-box {
  box-sizing: border-box;
  padding: 2rem;
}

/* -------------------------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Rowdies", cursive;
  color: #262626;
}

.container {
  width: 100%;
  height: 100%;
  border: 16px ridge #ff6550;
  background: #ffe7e7;
  text-align: center;
}

.sub-container {
  margin-top: 3rem;
  width: 100%;
  height: 80%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-items: center;
  align-items: center;
  gap: 3rem;
}