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

body {
  font-family: Arial, sans-serif;
  text-align: center;
}

header {
  background-color: #333;
  color: white;
  padding: 20px 0;
}

h1 {
  font-size: 3em;
}

h2 {
  font-size: 2em;
  margin-top: 20px;
}

.comic-grid {
  margin-bottom: 20px;
}

.center {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 5px;
  padding: 5px;
  height: 100vh;
  background-color: white;
}

.container {
  position: relative;
  background-color: white !important;
  border: 1px solid black;
  height: 100%;
  overflow: visible;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.text-box {
  width: 100%;
  background: white !important;
  color: black !important;
  text-align: center;
  padding: 10px;
  font-size: 20px;
  border-top: 1px solid black;
}

@media (max-width: 768px) {
  .center {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }
  .text-box {
    font-size: 3vw;
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .center {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
}
