@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');

html, body {
  margin: 0;
  height: 100%;
}

body {
  height: 100%;
}

body, .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container {
  flex-direction: column;
  padding: 2rem;
  height: 80%;
  width: 80%;
}

#logo {
  width: 100%;
  height: 100%;
  max-width: 535px;
  max-height: 703px;
  background-image: url("logo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.container h1 {
  font-family: 'Dancing Script', cursive;
  margin: 3rem;
  font-size: 2.5rem;
  text-align: center;
}

@media only screen and (max-width: 700px) {
  #logo {
    max-height: 500px;
  }

  .container h1 {
    font-size: 2.5rem;
  }
}

@media only screen and (max-width: 600px) {
  #logo {
    max-height: 400px;
  }

  .container h1 {
    font-size: 2.25rem;
  }
}

@media only screen and (max-width: 500px) {
  #logo {
    max-height: 300px;
  }

  .container h1 {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 400px) {
  #logo {
    max-height: 200px;
  }

  .container h1 {
    font-size: 1.5rem;
  }
}
