@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap');

body, html {
  margin: 0;
  padding: 0;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  background-color: #09334f;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
  position: relative;
}

.container {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.svg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 470px;
  z-index: 5;
}

#yetiSVG, #lightSVG {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#yetiSVG {
  overflow: hidden;
}

#lightSVG {
  overflow: visible;
}

.content {
  position: absolute;
  top: 5rem;
  left: 25rem;
  right: 2rem;
  color: #FFF;
  text-align: left;
  z-index: 10;
}

.content h3 {
  margin: 0 0 1rem;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
}

.content p {
  font-size: 1.25rem;
  font-weight: normal;
  line-height: 1.5;
  color: #d1e2ed;
}

@media (max-width: 1024px) {
  .content {
    left: 20rem;
  }
}

@media (max-width: 768px) {
  .svg-container {
    width: 100%;
    max-width: 450px;
    height: auto;
    aspect-ratio: 600 / 470;
  }

  .content {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    padding: 380px 2rem 2rem; /* Give room for the Yeti which is fixed top-left */
    text-align: center;
  }

  .content h3 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .content {
    padding-top: 320px;
  }

  .content h3 {
    font-size: 2rem;
  }
  
  .content p {
    font-size: 1.125rem;
  }
}

@media (max-height: 600px) and (orientation: landscape) {
  .svg-container {
    width: 300px;
  }
  .content {
    left: 18rem;
    top: 2rem;
    padding-top: 0;
    text-align: left;
  }
}