* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: rgb(150,150,150);
  color: #111;
  line-height: 1.6;
}

.header {
  background: #F6FFD5;
  text-align: center;
  padding: 20px;
}

.logo {
  width: min(100%, 1000px);
  height: auto;
  display: block;
  margin: 10px auto 0;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 30px;
}
h3 {
  font-size: 20px;
}
h4
{
  font-size: 12px;
}


p {
  font-size: 16px;
}


.nav ul {
  font-size: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  display: block;
  padding: 6px 6px;
  background: red;
  color: white;
  text-decoration: none;
  border-radius: 6px;
}

.nav li.active a,
.nav a:hover {
  background: #b00000;
}

.layout {
  display: grid;
  grid-template-columns: 1fr minmax(0, 900px) 1fr;
  gap: 0;
}

.side {
  background: rgb(255,255,255);
  padding: 6px 6px;
}

.content {
  background: rgb(255,255,255);
  padding: clamp(20px, 4vw, 50px);
  min-height: 60vh;
}

.content h1 {
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 20px;
}

.content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin: 0 0 1.2em;
}

div.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

div.gallery-item {
  margin: 5px;
  border: 1px solid #ccc;
  width: calc(25% - 20px);
}
div.gallery-item2 {
  padding: 5px;
  margin: 5px;
  border: 1px solid #ccc;
  width: calc(50% - 40px);
}

div.gallery-item:hover {
  border: 1px solid #777;
}

div.gallery-item img {
  width: 100%;
  height: auto;
}

div.gallery-item div.desc {
  padding: 15px;
  text-align: center;
}

@media only screen and (max-width: 768px) {
  div.gallery-item {
    width: calc(50% - 20px);
  }
}

@media only screen and (max-width: 480px) {
  div.gallery-item {
    width: calc(100% - 20px);
  }
}
table, th, td {
  font-size: 14px;
}

td, th {

}


th {

  text-align: left;

}


.footer {
  background: rgb(120,120,120);
  text-align: center;
  padding: 24px;
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .header {
    padding: 14px;
  }

  .nav ul {
    flex-direction: column;
  }

  .nav a {
    width: 100%;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .side {
    display: none;
  }

  .content {
    padding: 24px 18px;
  }
}