html, body {
  margin: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

body {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  color: #fff;
}

.main-text-wrapper{
  text-align: left;
  margin: 0.5rem;
}

.container {
  background: linear-gradient(to bottom, #2b2d42 0%, #262626 calc(100vh - 9.375rem), #2b2d42 calc(100vh - 3.75rem), #2b2d42 100vh);
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h1 {
  font-size: 2.25rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.125rem;
  text-shadow: 0.125rem 0.125rem 0px rgba(0,0,0,0.1);
  padding-top: 2rem;
  margin-top: 0;
}

.text-box {
  text-align: center;
  margin-top: 6.25rem;
  margin: 0 auto 0.625rem auto;
  padding: 0.625rem;
  background-color: #dfdfdf;
  border-radius: 0.625rem;
  box-shadow: 0px 0px 0.625rem rgba(0,0,0,0.3);
  display: block;
}

.random-text {
  margin-bottom: 0.625rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #f64f59;
  text-transform: uppercase;
  margin: auto;
}

.random-text-footer {
  font-size: 1.125rem;
  font-weight: bold;
  color: #322020;
  margin-top: 0.625rem;
}

#new-text-button {
  margin-top: 1.25rem;
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: 0.3125rem;
  background-color: #f64f59;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#new-text-button:hover {
  background-color: #d90429;
}

.die-begint {
  font-size: 1.125rem;
  font-weight: bold;
  color: #ff6f61;
}

@media only screen and (max-width: 1000px) {
  .random-text {
    font-size: 1.3rem;
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .random-text-footer {
    font-size: 0.875rem;
  }
  #new-text-button {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    height: 3rem;
  }
  p.hide-on-mobile {
    display: none;
  }
}

@media only screen and (max-width: 450px) {

  h1 {
    font-size: 2rem;
  }
  .random-text {
    font-size: 1rem;
    line-height: 1.2;
  }
  .text-box{
    margin: 1.4rem;
  }

  .random-text-footer {
    font-size: 0.75rem;
  }
  #new-text-button {
    font-size: 0.875rem;
    padding: 0.375rem 0.875rem;
  }
  

}

@media only screen and (max-width: 250px) {
  p{
    display:none
  }
}