body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.content {
  width: 100%;
  height: 100vh;
  max-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #17223b;
}
.content ul {
  list-style-type: none;
  margin: 0;
  padding: 26px 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 2px;
  grid-row-gap: 2px;
}

.content ul li {
  padding: 10px 16px;
  margin: 2px;
  background-color: #ff6768;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease-in;
}
.content ul li:hover {
  background-color: #fc4b4b;
  transition: all 0.3s ease-in;
}

.content ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease-in;
}

.content ul li:hover a {
  color: #263859;
  transition: all 0.3s ease-in;
}

@media (max-width: 645px) {
  .content ul {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
}
@media (max-width: 510px) {
  .content ul {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
  }
}
@media (max-width: 345px) {
  .content ul {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
  }
  .content ul li {
    padding: 10px 5px;
  }
}
