body {
  @media screen and (max-width: 767px) {
    padding: 10px 10px;
  }
}

/* Common entry styles */

h1 {
  font-family: "Audiowide", sans-serif;
  font-size: 1.8rem;
  color: var(--secondary-color);
  text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff,
    2px 2px #fff, -2px -2px #fff, 2px -2px #fff, -2px 2px #fff;

  @media screen and (min-width: 1400px) {
    font-size: 2.2rem !important;
  }
}

h2 {
  font-family: "Audiowide", sans-serif;
  font-size: 1.2rem;
  color: #FFD38D;
  text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff,
    2px 2px #fff, -2px -2px #fff, 2px -2px #fff, -2px 2px #fff;

  @media screen and (min-width: 1400px) {
    font-size: 1.6rem !important;
  }
}

pre {
  border-radius: 8px;
}

.page-title-container {
  position: relative;
  display: flex;
  width: 100%;
}

#content {
  width: -webkit-fill-available;
  position: relative;
  padding: 64px;
  background-color: var(--transparent-white-color);
  border: 1px solid var(--text-color);
  border-radius: 16px 0 16px 16px;

  @media screen and (max-width: 767px) {
    border-top-right-radius: 16px;
    padding: 16px;
  }
}

#content img {
  border-radius: 8px;
}

#text-container {
  padding: 8px 32px 32px 32px;
  background-image:  linear-gradient(#FBA25040 1px, transparent 1px), linear-gradient(to right, #FBA25040 1px, #FFFFFF40 1px);
  background-size: 20px 20px;
  background-color: var(--transparent-white-color);
  border-radius: 16px;
  border: 1px solid var(--secondary-color);
}

/* Tutorials styles */

.page-title-container > #title-tutorials {
  @media screen and (min-width: 933px) {
    position: absolute;
    top: -140px;
  }

  @media screen and (min-width: 768px) and (max-width: 932px) {
    position: absolute;
    top: -130px;
    width: 50%;
  }

  @media screen and (max-width: 767px) {
    width: 55%;
  }
}

/* Reviews styles */

.page-title-container > #title-reviews {
  @media screen and (min-width: 933px) {
    position: absolute;
    top: -160px;
  }

  @media screen and (min-width: 768px) and (max-width: 932px) {
    position: absolute;
    top: -160px;
    width: 40%;
  }

  @media screen and (max-width: 767px) {
    width: 55%;
  }
}

.banner {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: 0 0;
}

.images-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.images-container > .scrollable {
  width: fit-content;
  max-width: 100%;
  overflow: auto;
  display: flex;
  align-items: end;
  gap: 16px;
}

.images-container > .scrollable > img {
  object-fit: contain;
  max-height: 350px;
  width: auto;

  @media screen and (max-width: 767px) {
    max-width: 80%;
    height: auto;
  }
}

/* Site Notes styles */

.page-title-container > #title-site-notes {
  @media screen and (min-width: 933px) {
    position: absolute;
    top: -130px;
  }

  @media screen and (min-width: 768px) and (max-width: 932px) {
    position: absolute;
    top: -130px;
    width: 50%;
  }

  @media screen and (max-width: 767px) {
    width: 55%;
  }
}

/* Microblog styles */

.microblog-container {
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.microblog-container h1 {
  margin-bottom: 0;
}

.microblog-container button {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.microblog-container img {
  @media screen and (max-width: 992px) {
    max-width: 100%;
  }
}

.microblog-container img:hover {
  box-shadow: 0 0 4px var(--secondary-color);
}


.section {
  position: relative;
  border: 1px solid var(--text-color);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}

.section > .entry-title {
  background-color: #AF423120;
  border-bottom: 1px solid var(--text-color);
  padding: 8px 0 8px 16px;
  border-radius: 16px 16px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section > .entry-content {
  background-image:  linear-gradient(#FBA25040 1px, transparent 1px), linear-gradient(to right, #FBA25040 1px, #FFFFFF40 1px);
  background-size: 20px 20px;
  background-color: var(--transparent-white-color);
  padding: 8px 16px;
  border-radius: 0 0 16px 16px;
}

.two-column {
  display: flex;
  gap: 16px;
  align-items: center;

  @media screen and (max-width: 992px) {
    flex-direction: column;
  }
}

.section h2 {
  margin: 0;
}

.section p {
  font-family: 'SourGummyFont', Fallback, sans-serif;
  font-weight: 400;
  font-style: normal;
  text-shadow: none;
}

/* Modal styles */

.image-viewer {
  top: 0;
  border: none;
  height: 100%;
  width: -webkit-fill-available;
  background: #96628980;
  position: fixed;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container {
  max-height: 80%;
  position: relative;
  display: flex;
  justify-content: center;
}

.image-viewer-image {
  object-fit: cover;
  background-size: 100% 100%;
  background-position: 0px 0px,0px 0px,0px 0px,0px 0px,0px 0px;
  background-image: radial-gradient(49% 81% at 45% 47%, #FFFFFF45 0%, #073AFF00 100%),radial-gradient(113% 91% at 17% -2%, #FD83FFFF 1%, #FF000000 99%),radial-gradient(142% 91% at 83% 7%, #FFD38DFF 1%, #FFFFFF94 99%),radial-gradient(142% 91% at -6% 74%, #FF83DEFF 1%, #FF000000 99%),radial-gradient(142% 91% at 111% 84%, #FFFFFFFF 0%, #F700FFFF 100%);
  border-radius: 16px;
  box-shadow: 0 0 4px #b366ff;
  padding: 4px;
}

.close-button {
  border: none;
  background: transparent;
  border-radius: 16px;
  padding: 4px 8px;
  position: absolute;
  top: -10%;
  right: 10%;
  z-index: 3;
  cursor: pointer;
  font-size: 36px;
  color: #fafafa;
}

/* Decoration */

#clippy {
  position: fixed;
  bottom: -40px;
  left: -40px;
  z-index: -1;
}

#rover {
  position: fixed;
  bottom: -10px;
  right: 0;
  mix-blend-mode: multiply;
  z-index: -1;
}

#background-img {
  position: fixed;
  z-index: -2;
  height: 100vh;
  mix-blend-mode: soft-light;
  top: -32px;
}