@import url(https://fonts.googleapis.com/css?family=Montserrat);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
  background-color: #111; /* Dark background */
  font-family: 'Open Sans', sans-serif;
  color: #eee;
}

h1 {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 4em;
  color: #fdfdfd; /* Light text */
  -webkit-text-shadow: 0 2px 1px rgba(0, 0, 0, 0.6), 0 0 2px rgba(0, 0, 0, 0.7);
  -moz-text-shadow: 0 2px 1px rgba(0, 0, 0, 0.6), 0 0 2px rgba(0, 0, 0, 0.7);
  text-shadow: 0 2px 1px rgba(0, 0, 0, 0.6), 0 0 2px rgba(0, 0, 0, 0.7);
  word-spacing: 16px;
  line-height: 1.2;
}

p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.4em;
  font-weight: bold;
  color: #eee; /* Light text */
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  margin-top: 10px;
}

.logo {
  width: 100%;
  max-width: 350px;
  height: auto;
  margin-bottom: 20px;
}

.container {
  min-height: 100vh;
  width: 100%;
  background: #111; /* Dark background */
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}

/* Wrapper and content divs are kept for structure but layout is handled by container flex */
.wrapper {
  width: 100%;
  max-width: 800px;
}

.content {
  width: 100%;
}

.item {
  width: 100%;
}

@media only screen and (min-width: 800px) {
  h1 {
    font-size: 6em;
  }
  p {
    font-size: 1.6em;
  }
}

@media only screen and (max-width: 600px) {
  h1 {
    font-size: 2.5em; /* Smaller font for mobile */
    word-spacing: 5px; /* Reduce spacing */
  }
  p {
    font-size: 1.1em;
  }
  .logo {
    max-width: 250px; /* Smaller logo on mobile */
  }
}

@media only screen and (max-width: 350px) {
    h1 {
        font-size: 2em;
    }
}