@import url('https://fonts.googleapis.com/css2?family=Allura&family=Baskervville:ital,wght@0,400..700;1,400..700&family=UnifrakturMaguntia&display=swap');

body {
    text-transform: lowercase;
    background-color: #000;
    color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

#header {
    text-align: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#header h1 {
    font-family: UnifrakturMaguntia, cursive;
    text-transform: none;
    font-weight: normal;
    font-size: 5em;
}

.material-symbols-outlined {
    font-size: 3em !important;
}

h3 {
    font-family: Allura, cursive;
    font-weight: normal;
    font-size: 2.5em;
}

.hl {
    border: none; /* Removes the default browser border */
    height: 2px; /* Sets the thickness of the line */
    background-color: #333; /* Sets the color */
    width: 50%; /* Sets the width */
    margin: 20px auto;
}

/* #region Messages section */
#messages {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 30%;
    margin: 0 auto;
}

#messages p {
    font-family: Baskervville, serif;
    font-size: 1.5em;
    margin: 0 auto;
    text-align: justify;
}
/* #endregion */

/* #region iOS Messages section */

    .chat-container {
      width: 100%;
      max-width: 500px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    /* Date Stamp */
    .date-stamp {
      text-align: center;
      font-size: 12px;
      color: #fff;
      margin: 10px 0 5px;
      position: relative;
      text-transform: none;
    }

    .date-stamp span {
      padding: 0 10px;
      position: relative;
    }

    .date-stamp::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      height: 1px;
    }

    /* Message Row */
    .message-row {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .message-row.sent {
      align-items: flex-end;
    }

    .message-row.received {
      align-items: flex-start;
    }

    /* Sender Name */
    .sender-name {
      font-size: 11px;
      color: #888;
      margin: 0 10px;
    }

    /* Bubble */
    .bubble {
      max-width: 75%;
      padding: 10px 14px;
      border-radius: 18px;
      font-size: 14px;
      line-height: 1.4;
      word-wrap: break-word;
    }

    .sent .bubble {
      background: #0078ff;
      color: white;
      border-bottom-right-radius: 4px;
    }

    .received .bubble {
      background: #ffffff;
      color: #333;
      border-bottom-left-radius: 4px;
      box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }

    /* Time under bubble */
    .msg-time {
      font-size: 10px;
      color: #aaa;
      margin: 0 10px;
    }

    .link-bubble:hover {
        background: #e6e6e6;
    }

    .link-title {
        font-weight: 600;
        margin-bottom: 2px;
    }

    .link-url {
        font-size: 0.8rem;
        color: #555;
    }
/* #endregion */

/* #region photos section */
#photos img {
  width: 25vw;
  height: auto;
  margin: auto;
}

#photos figure {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#photos {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    margin: 20vh auto auto auto;
    width: 100%;
}

#photos h3 {
    margin: 0;
}

.photos {
    display: flex;
    flex-direction: rows;
    align-items: center;
    margin: auto;
    gap: 10px;
}

.photo-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#photos p, #photos h3  {
  text-align: center;
}

/* #endregion */

/* #region loves section */
#loves {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 20vh auto 20vh auto;
    width: 100%;
    text-align: center;
}
#loves h3 {
    margin: 0;
}

#loves ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

/* #endregion */

/* #region our songs */

#songs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 20vh auto 10vh auto;
    text-align: center;
    width: 100%;
}

#songs p {
  margin: 0;
}

/* #endregion */

/* #region our movies */

#movies {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 20vh auto 10vh auto;
    text-align: center;
    width: 100%;
}

#movies img {
    width: 15vw;
    height: auto;
}

.movie-photos {
    align-items: center;
    margin: auto;
    gap: 10px;
    flex-direction: row;
    display: flex;
    flex-direction: row;
}

/* #endregion */

/* #region our memes */
#memes {
    align-items: center;
    gap: 20px;
    margin: 20vh auto 10vh auto;
    text-align: center;
    width: 100%;
}

.meme-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.memes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

video {
  width: 20vw;
  height: auto;
}

/* #endregion */

/* #region Footer and countup timer */

footer {
    text-align: center;
    position: sticky;
    bottom: 0;
    width: 100%;
    background-color: black;
    padding: 0.5vh 0 5vh 0;
}

#countup {
    font-family: Allura, cursive;
    font-size: 1.5em;
    margin-top: 20px;
}

/* #endregion */

/* #region mobile responsiveness */
@media (max-width: 1200px) {
    #messages {
        width: 90%;
    }

    #messages p {
        text-align: center;
        margin: 0;
        font-size: 1.25em;
    }

  #countup {
    font-size: 1.25em;
  }

  #photos img {
    width: 80vw;
  }

  .photos{
    display: block;
  }
  #loves {
    width: 80%;
  }

  .movie-photos, .meme-section{
    flex-direction: column;
  }
  #movies img, #memes video {
    width: 50vw;
  }

  #movies p, #memes p {
    font-size: 1.25rem;
  }

  .movie-posters {
    flex-direction: column;
  }

}
/* #endregion */