/* Variables */
:root{
  --cont-top-img: 225px;
  --cont-top-link-size: 25px;
  --container-max-width: 1000px;
  --section-padding: 20px;
  --bg-color: #32455f;
  --text-color: antiquewhite;
  --font-size-base: 18px;
}



* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--font-size-base);
  margin: 0;
  padding: 0;
}

body {
  background-color: #435165;
  color: var(--text-color);
  line-height: 1.6;
}


.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.top {
  background-color: var(--bg-color);
  padding: var(--section-padding);
  border-radius: 8px;
  text-align: center;
}

.middle-section a {
  /* font-size: var(--cont-top-link-size); */
  /* text-decoration: none; */
  color: rgb(181, 88, 184);
  /* background-color: #555; */
  /* padding: 10px 20px; */
  /* border-radius: 5px; */
  /* display: inline-block; */
  /* transition: background-color 0.2s ease; */
}
.top a:hover {
  background-color: cyan;
  color: black;
}
.top img {
  max-height: 35px;
  max-width: 50px;
}

/* Shared middle section styles */
.middle-section {
  background-color: var(--bg-color);
  padding: var(--section-padding);
  border-radius: 8px;
  text-align: center;
}

/* Optional specific styles for themed sections */
.middle-section p {
  margin-bottom: 10px;
}
.middle-section img {
  max-height: 475px;
  max-width: 475px;
  width: 100%; /* or any custom size */
  height: 100%; 
  object-fit: contain;
}
.down-img {
  /* max-height: 35px;
  max-width: 35px; */
  width: 100%; /* or any custom size */
  height: 100%; 
  object-fit: contain;
}


.middle-section details {
  background-color: #2c3b50;
  border-radius: 6px;
  padding: 10px 15px;
  cursor: pointer;
}

.middle-section summary {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 8px;
}

.middle-section summary:hover {
  color: cyan;
}

.image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.image-grid img {
  max-width: 100%;
  width: 300px;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.middle-section img {
  display: block;
  margin: 10px auto;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}