* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* Ensures full-screen height on all devices */
  background-color: #f2f5f8; /* Optional: Set a background color for contrast */
}

#notfound {
  text-align: center;
  width: 100%;
  max-width: 560px; /* Restrict maximum width for large screens */
  padding: 20px; /* Add some padding for smaller screens */
}

.notfound h1 {
  font-family: 'Nunito', sans-serif;
  font-size: 65px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #151723;
  text-transform: uppercase;
}

.notfound h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 21px;
  font-weight: 400;
  margin: 0;
  text-transform: uppercase;
  color: #151723;
}

.notfound p {
  font-family: 'Nunito', sans-serif;
  color: #999fa5;
  font-weight: 400;
}

.notfound a {
  font-family: 'Nunito', sans-serif;
  display: inline-block;
  font-weight: 700;
  border-radius: 40px;
  text-decoration: none;
  color: #388dbc;
  margin-top: 20px;
}

@media only screen and (max-width: 767px) {
  .notfound h1 {
    font-size: 48px; /* Adjust heading size for smaller screens */
  }
  .notfound h2 {
    font-size: 18px;
  }
}
