html { font-size: 100%; }

body {
  display: grid;
  background: url('/images/tigh-nan-saor-bay.webp') #c79f72 no-repeat;
  background-size: cover;
  height: 100vh;
}

.main-page {
  display: grid;
  grid-template-rows: 1fr 1fr;
  justify-items: center;
  height: 100vh;
  padding-right: 2.5rem;
  padding-left: 2.5rem;
}

.main-page-top {
  align-self: start;
  padding-top: 4%;
}

.main-page-bottom {
  align-self: end;
  color: #ffffff;
}

h1, p {
  text-align: center;
  line-height: 1.4;
}

h1 {
  color: #ae4c37;
}

p {
  font-size: 1.2rem;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {

  .main-page-bottom {
    padding-bottom: 12%;
  }

  h1 {
    font-size: 3em;
    text-shadow: 1px 1px 0 #000000;
  }

}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {

  .main-page-bottom {
    padding-bottom: 10%;
  }

  h1 {
    font-size: 4em;
    text-shadow: 2px 2px 0 #000000;
  }

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  
  .main-page-bottom {
    padding-bottom: 8%;
  }

  h1 {
    font-size: 5em;
    text-shadow: 2px 2px 0 #000000;
  }

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

  .main-page-bottom {
    padding-bottom: 6%;
  }

  h1 {
    font-size: 6.5em;
    text-shadow: 3px 3px 0 #000000;
  }

}
