body {
  background-color: lightsteelblue;
  font-family: monospace;
  font-weight: lighter;
}

nav li:hover {
  font-weight: bolder;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  transition: 0.5s;
  background: white;
}

a:visited {
  color: rgb(60, 116, 219);
}

main h2 {
  font-family: monospace;
  font-weight: bold;
  text-align: center;
  background-color: burlywood;
}

main h3 {
  background-color: yellow;
}

main p {
  line-height: 1.5em;
  letter-spacing: 0.04rem;
  background-color: lightskyblue;
}

footer {
  justify-items: center;
  background-color: white;
}

button {
  display: block;
  margin: 0 auto;
}

.box1 h2 {
  color: red;
  background-color: white;
}

.box1 img {
  display: block;
  margin: 0 auto;
}

.box1 div {
  padding-bottom: 1em;
}

#map {
  margin: 0 auto;
  height: 300px;
  width: 400px;
}

.gallery {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 1em;
}
.gallery img {
  width: 150px;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.2s;
  margin: 0 auto;
}

.gallery img:hover {
  transform: scale(1.05);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
}

.lightbox-content {
  margin-top: 5%;
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.accordion {
  background-color: #eee;
  padding: 1em;
  border: none;
  text-align: center;
  cursor: pointer;
  width: 80%;
}

.panel {
  display: none;
  background-color: white;
  padding: 1em;
}

@media (max-width: 600px) {
  body {
    border: 0.62em double black;
  }

  header {
    border: 2px solid pink;
    background-color: slategray;
  }

  header h1 {
    text-align: center;
    background-color: greenyellow;
    font-size: 2em;
  }

  header h2 {
    text-align: center;
    background-color: yellow;
  }

  header p {
    text-align: center;
    background-color: azure;
  }

  header img {
    width: 16em;
    display: block;
    margin: 0 auto;
    margin-bottom: 0.8em;
  }

  nav {
    width: 15em;
    margin: 0 auto;
    background-color: aquamarine;
  }

  nav a:last-child {
    margin-bottom: 0;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.25em;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  p::first-letter {
    font-size: 1em;
    font-weight: bold;
  }

  main section {
    text-align: center;
    width: 90%;
    justify-self: center;
    background-color: cyan;
  }

  section img {
    min-width: 23em;
    max-width: 25em;
  }

  video {
    min-width: 15em;
    max-width: 20em;
  }

  footer h3 {
    text-align: center;
  }

  .box1 {
    width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 130%;
    text-align: center;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  body {
    border: 0.62em double magenta;
  }

  header {
    display: flex;
    border: 2px solid pink;
    background-color: slategray;
  }

  header div {
    width: 37.5%;
  }

  header h1 {
    text-align: center;
    background-color: greenyellow;
    font-size: 150%;
    align-self: center;
    margin: 0 auto;
  }

  header h2 {
    text-align: center;
    background-color: yellow;
    font-size: 100%;
  }

  header img {
    height: 9em;
    display: block;
    margin: 0 auto;
    margin-bottom: 1em;
    align-self: center;
  }

  nav {
    width: 15em;
    float: right;
    background-color: aquamarine;
  }

  nav a:last-child {
    margin-bottom: 0;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.7em;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  p::first-letter {
    font-size: 1em;
    font-weight: bold;
  }

  main section {
    text-align: center;
    width: 90%;
    justify-self: center;
    background-color: cyan;
  }

  section img {
    min-width: 14em;
    max-width: 18em;
  }

  video {
    min-width: 10em;
    max-width: 15em;
  }

  footer {
    justify-items: center;
    background-color: white;
  }

  footer h3 {
    text-align: center;
  }

  .box1 {
    width: 90%;
    display: block;
    margin: 0 auto;
    font-size: 130%;
    text-align: center;
  }

  .state1 {
    width: 30%;
  }

  .state2 {
    width: 70%;
    align-items: center;
    padding-top: 2.5%;
    justify-self: center;
  }
}

@media (min-width: 1025px) {
  body {
    border: 0.62em double black;
  }

  header {
    display: flex;
    border: 2px solid pink;
    background-color: slategray;
  }

  header h1 {
    text-align: center;
    background-color: greenyellow;
    font-size: 150%;
    align-self: center;
    margin: 0 auto;
  }

  header h2 {
    text-align: center;
    background-color: yellow;
    font-size: 100%;
  }

  header img {
    height: 9.5em;
    display: block;
    margin: 0 auto;
    margin-bottom: 0.8em;
    align-self: center;
  }

  header nav {
    margin-left: 15%;
    width: 10em;
  }

  nav {
    width: 10em;
    float: right;
    background-color: aquamarine;
  }

  nav a:last-child {
    margin-bottom: 0;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  p::first-letter {
    font-size: 1em;
    font-weight: bold;
  }

  main section {
    text-align: center;
    width: 70%;
    justify-self: center;
    background-color: cyan;
  }

  section img {
    min-width: 18em;
    max-width: 25em;
  }

  video {
    min-width: 10em;
    max-width: 15em;
  }

  footer {
    justify-items: center;
    background-color: white;
  }

  footer h3 {
    text-align: center;
  }

  .box1 {
    width: 50%;
    display: block;
    margin: 0 auto;
    font-size: 130%;
    text-align: center;
  }

  .state1 {
    width: 30%;
  }

  .state2 {
    width: 70%;
    align-items: center;
    padding-top: 0.5%;
    justify-self: center;
  }
}
