/* Reset some default styles */
body,
h1,
h4,
p {
  margin: 0;
  padding: 0;
}

/* Add a background color and center align the content */
body {
  background-color: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-family: Arial, sans-serif;
}

/* Style the header */
header {
  text-align: center;
  margin-bottom: 2rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.2rem;
  color: #535151;
  padding: 10px 75px 10px 75px;
}

h5 {
  font-size: 1.2rem;
  color: #535151;
  padding: 10px 75px 10px 75px;
}

/* Style the footer */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  padding: 1rem 0;
  text-align: center;
}

footer p {
  color: #fff;
  font-size: 0.9rem;
}

footer a {
  color: #fff;
  text-decoration: none;
}

.closed {
  margin-bottom: 75px;
}

img {
  max-width: 100%;
  height: auto;
}

/* Media query for screens below 375px */
@media only screen and (min-width: 375px) {
  h1 {
    font-size: 3.2rem;
  }

  h4 {
    font-size: 2.3rem;
  }

  footer p {
    font-size: 1.5rem;
  }
}

@media only screen and (min-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }

  h4 {
    font-size: 1.5rem;
  }

  footer p {
    font-size: 0.9rem;
  }

  img {
    max-width: 50%;
  }
}
