html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
  padding-bottom: env(safe-area-inset-bottom);
  padding-top: env(safe-area-inset-top);
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  background-color: #fff9f3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
}

header {
  background-color: #fff9f3;
  text-align: center;
  margin: 0;
  padding: 0;
  padding-top: 10rem;
}

.body-wrapper {
  overflow-x: hidden;
  position: relative;
  height: 100%;
  width: 100%;
}

.landing {
  position: relative;
  min-height: 100dvh;
}

.title {
  margin: 0;
  color: black;
  font-size: 1.1rem;
  font-family: 'Arapey', serif;
  font-weight: 400;
  letter-spacing: 3px;
  word-wrap: break-word;
  padding-top: 15%;
}

.names {
  color: black;
  font-size: 3.3rem;
  font-family: 'DM Serif Display';
  font-weight: 400;
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  text-align: center;
  margin-top: 2.2rem;
  margin-bottom: 0.5rem;
}

.date {
  color: black;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 4px;
  word-wrap: break-word;
  margin: 0;
  margin-bottom: 3.3rem;
  font-family: 'Arapey';
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text {
  margin: 0rem;
  font-family: 'Nunito', sans-serif;
  color: black;
  font-size: 0.9rem;
  font-weight: 500;
  word-wrap: break-word;
  text-align: center;
  width: 17rem;
}

.flowers {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: absolute;
  bottom: 0;
  max-height: 100dvh;
  z-index: -1;
}

.flowers img {
  max-width: 450%;
  max-height: 100dvh;
  object-fit: contain;
}

.section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

a {
  align-self: center;
}

a,
a:visited,
a:hover,
a:active {
  color: inherit;
}

.mr2 {
  margin-right: 2rem;
}

/* 600px, 900px, 1200px, and 1800px */

/* MOBILE (iphone SE, for example) */
@media screen and (min-height: 0px) and (max-width: 600px) {
  header {
    padding-top: 7rem;
  }

  .title {
    font-size: 1.3rem;
    padding-top: 5%;
    padding-bottom: 0.5rem;
  }

  .names {
    font-size: 3rem;
    margin-top: 1rem;
    margin-bottom: 0rem;
  }

  .date {
    font-size: 2rem;
    margin-bottom: 0rem;
  }

  .text {
    font-size: 1.1rem;
    width: 40rem;
  }
}

/* MOBILE (IPHONE X) */
@media screen and (min-height: 750px) and (max-width: 600px) {
  header {
    padding-top: 10rem;
  }

  .title {
    font-size: 1.5rem;
    padding-top: 5%;
    padding-bottom: 0.5rem;
  }

  .names {
    font-size: 3.5rem;
    margin-top: 1rem;
    margin-bottom: 0rem;
  }

  .date {
    font-size: 2.5rem;
    margin-bottom: 3rem;
  }

  .text {
    font-size: 1.1rem;
    width: 40rem;
  }
}

/* --------------------- */

/* TABLET (small: ipad air)*/
@media screen and (min-width: 601px) {
  header {
    padding-top: 10rem;
  }

  .title {
    font-size: 1.8rem;
    padding-top: 5%;
    padding-bottom: 0.5rem;
  }

  .names {
    font-size: 3.8rem;
    margin-top: 1rem;
    margin-bottom: 0rem;
  }

  .date {
    font-size: 2.8rem;
    margin-bottom: 0rem;
  }

  .text {
    font-size: 1.1rem;
    width: 40rem;
  }
}

/* TABLET (big: ipad pro) */
@media screen and (min-width: 900px) {
  header {
    padding-top: 9rem;
  }

  .title {
    font-size: 1.7rem;
    padding-top: 5%;
  }

  .names {
    font-size: 4.7rem;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
  }

  .date {
    font-size: 3rem;
    margin-bottom: 0rem;
  }

  .text {
    font-size: 1.1rem;
    width: 40rem;
  }
}

/* --------------------- */

/* PC */
@media screen and (min-width: 1200px) {
  header {
    padding-top: 8rem;
  }

  .title {
    font-size: 1.7rem;
    padding-top: 5%;
  }

  .names {
    font-size: 4.7rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }

  .date {
    font-size: 3rem;
    margin-bottom: 0rem;
  }

  .text {
    font-size: 1.1rem;
    width: 40rem;
  }
}

/* MONITOR */
@media only screen and (min-width: 1800px) {
  .title {
    font-size: 1.9rem;
    letter-spacing: 4.5px;
    padding-top: 5%;
  }

  .names {
    font-size: 5rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
  }

  .date {
    font-size: 3.6rem;
    margin-bottom: 3.3rem;
  }

  .text {
    font-size: 1.1rem;
    width: 40rem;
  }

  .flowers img {
    max-width: 350%;
    max-height: 100dvh;
    object-fit: contain;
  }
}

/* BIG MONITOR */
@media only screen and (min-width: 2400px) {
  header {
    padding-top: 15rem;
  }

  .title {
    font-size: 3rem;
    letter-spacing: 4.5px;
    padding-top: 5%;
  }

  .names {
    font-size: 8rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
  }

  .date {
    font-size: 5rem;
    margin-bottom: 7rem;
  }

  .text {
    font-size: 1.1rem;
    width: 40rem;
  }
}
