* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: "Montserrat", sans-serif;
  min-height: 100dvh;
  width: 100%;

  display: grid;
  grid-template-rows: auto 1fr auto; /*Header and footer set to auto*/
  grid-template-columns: minmax(1, 1fr);

  margin: 0 auto;
  background: #365365;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

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

.page-title {
  text-align: center;
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.3;
  width: 100%;
  padding-top: 30px;
  color: #f4f4f4;
}

.page-title-small {
  font-size: 2.5rem;
}

.page-sub-title {
  font-weight: 300;
  color: #f4f4f4;
}

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

p {
  margin: 1rem;
}

/* HOMEPAGE */
.homepage-button {
  margin: 2rem;
}

.homepage-button:hover {
  background-color: #fea939;
}

/* GAME PAGE */

.clues-img-button {
  display: flex;

  justify-content: center;
  align-items: center;

  margin-bottom: 1rem;
}

.clues-img {
  width: 25%;
  object-fit: cover;
  border-radius: 1rem;
  transition: all 0.8s;
}

.clues-img:hover {
  transform: scale(1.1);
}

.clues-button {
  font-size: 1.5rem;
}

/* About me */

.about-me-content,
.support-me-content,
.contact-me-content,
.privacy-content,
.terms-content {
  background-color: #f4f4f4;
  margin: 2rem;
  padding: 1rem;
  border-radius: 1rem;
}

.about-links {
  color: #365365;
}

/* Support Me */

.ko-fi-container {
  border: 2px solid #fea939;
  text-decoration: none;
}

.support-ko-fi {
  text-align: center;
  text-decoration: none;
}

.support-ko-fi-icon {
  color: #365365;
  font-size: 3rem;
}

.support-ko-fi-icon:hover {
  color: #fea939;
}

/* Contact Me */
.contact-me-content {
  display: grid;
  grid-template-rows: auto auto auto; /*Header and footer set to auto*/
  grid-template-columns: minmax(1, 1fr);
}

/* Privacy & Terms */

ul {
  padding-left: 2rem;
  padding-bottom: 1rem;
}

li {
  padding-left: 2rem;
}

.privacy-terms-headings {
  font-size: 1.2rem;
  font-weight: 500;
}

@media (max-width: 767px) {
  /* Games Page */
  .clues-img {
    width: 50%;
  }
}
