
/* Base reset & fonts */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  background-color: #faf0dd; /* pale beige */
  color: #333;
}

/* Outer container: centers and limits width */
#container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 10px;      /* 10px side “margins” on narrow screens */
  width: 100%;
  vertical-align: top;
}

/* Header & footer styling */
header, footer {
  background-color: #e9e1c8; /* slightly darker beige */
  text-align: center;
  padding: 20px 0;
}
header h1 {
  font-size: 2rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
footer p {
  font-size: 0.9rem;
}

/* Main table: 2×2 on desktop */
#main-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}
#main-table td {
  border: 0px solid #ccc;
  padding: 20px;
  font-size: 1.5rem;
  vertical-align: top;
  width: 50%;
}

/* Mobile: stack all cells vertically */
@media (max-width: 600px) {
  #main-table,
  #main-table tbody,
  #main-table tr {
	display: block;
	width: 100%;
  }
  #main-table td {
	display: block;
	width: 100%;
	margin-bottom: 10px;
  }
  .normaltext {
    font-size: 21px;
  }
}

.subcontainer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.subcell {
  display: flex;
  flex-direction: row;
  align-items: center;
  border: 0px;
  padding: 10px;
  max-width: 400px;
  width: 100%;
  box-sizing: border-box;
}

.subcell img {
  object-fit: cover;
  margin-right: 10px;
}

@media (max-width: 600px) {
  .subcell {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .subcell img {
    margin-right: 0;
    margin-bottom: 10px;
  }
}
.normaltext {
  font-family: Georgia, serif;
  text-align: justify;
  font-size: 16px;
}
