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

body.home-page {
  background-color: white;
  position: relative;
}

html,
body {
  height: 100%;
}

body.section {
  background: rgb(251, 251, 251);
  background: radial-gradient(
    circle,
    rgba(251, 251, 251, 1) 0%,
    rgb(223, 223, 223) 100%
  );
}

.background-image {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: 15%;
  margin-bottom: 150px;
}

@media screen and (min-width: 700px) {
  .background-image {
    margin-bottom: 0;
  }
}

.parent-box {
  position: absolute;
  width: 100%;
  top: 0;
}

@media screen and (min-width: 700px) {
  .parent-box {
    width: 600px;
    right: 0;
  }
}

.welcome-text {
  font-family: "Love Ya Like A Sister";
  background-color: white;
  width: 90%;
  margin: auto;
  border-radius: 16px;
  padding: 32px 48px;
  background-image: url("/images/ruled-notebook-background.jpg");
  color: #404040;
}

.welcome-text > h1 {
  font-family: "Love Ya Like A Sister";
  font-weight: normal;
}

@media screen and (min-width: 700px) {
  .welcome-text > h1 {
    font-size: 40px;
    line-height: 44px;
  }
}

.welcome-text > p {
  font-family: "Life Savers";
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
}

.text-red {
  color: rgba(255, 0, 61, 1);
}

.text-yellow {
  color: rgba(255, 199, 0, 1);
}

.text-blue {
  color: rgba(0, 84, 209, 1);
}

.text-green {
  color: rgba(47, 182, 0, 1);
}

.website-name {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Life Savers";
  font-weight: 700;
  text-align: center;

  font-size: 30px;
  letter-spacing: 5px;
  margin-top: 15px;
  margin-bottom: 250px;
}

@media screen and (min-width: 700px) {
  .website-name {
    font-size: 30px;
    letter-spacing: 15px;
    margin-top: 60px;
    margin-bottom: 60px;
  }
}

.home-page-links {
  text-align: center;
}

.home-page-link-parent {
  display: inline-block;
  width: 200px;
  margin: 50px;
}

.home-page-link-box {
  display: inline-block;
  background-color: white;
  width: 200px;
  height: 200px;
  border-radius: 16px;
  border-width: 1px;
  border-style: solid;
  border-color: #909090;
  transition: all 150ms; /*cubic-bezier(0.53, -1.16, 0.46, 1.98);*/
  box-shadow: 0px 3px 4px 0px rgba(70, 70, 70, 0.3);
}

.home-page-link-parent:hover .home-page-link-box-left {
  box-shadow: 0px 15px 30px 0px rgba(70, 70, 70, 0.2);
  transform: scale(1.1) rotate(-3deg) translate(0, -20px);
}

.home-page-link-parent:hover .home-page-link-box-right {
  box-shadow: 0px 15px 30px 0px rgba(70, 70, 70, 0.2);
  transform: scale(1.1) rotate(3deg) translate(0, -20px);
}

.home-page-link-image {
  width: 178px;
  height: 178px;
  margin: 10px;
  border-radius: 11px;
  object-fit: cover;
}

.home-page-link-label {
  display: inline-block;
  width: 100%;
  text-align: center;
  font-family: "Love Ya Like A Sister";
  font-weight: normal;
  margin-top: 16px;
  font-size: 40px;
  color: #404040;
  transition: all 150ms;
}

.home-page-link-parent:hover .home-page-link-label {
  color: rgba(255, 0, 61, 1);
  transform: scale(1.1);
}

.raised-panel {
  box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.25);
}

.gallery-main-box {
  width: 100vw;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.gallery-selected-item {
  width: calc(100vw - 260px);
  height: 100%;
  overflow: auto;
}

@media screen and (max-width: 700px) {
  .gallery-selected-item {
    width: 100%;
  }
}

.gallery-selected-item-box {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: none;
}

.gallery-selected-item-image {
  width: 100%;
  height: 80%;
  object-fit: cover;
}

.art-section .gallery-selected-item-image {
  object-fit: contain;
}

.gallery-selected-item-description-box {
  position: absolute;
  bottom: 30px;
  color: #404040;
  width: 100%;
}

.gallery-selected-item-description {
  font-family: "Love Ya Like A Sister";
  background-color: white;
  width: 90%;
  margin: auto;
  border-radius: 16px;
  padding: 32px 48px;
  background-image: url("/images/ruled-notebook-background.jpg");
}

.gallery-selected-item-description > h1 {
  font-family: "Love Ya Like A Sister";
  font-weight: normal;
  font-size: 40px;
  line-height: 44px;
}

.gallery-selected-item-description > p {
  font-family: "Life Savers";
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
}

@media screen and (max-width: 700px) {
  .gallery-selected-item-description {
    padding: 16px 24px;
  }

  .gallery-selected-item-description > h1 {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .gallery-selected-item-description > p {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 8px;
    max-height: 100px;
    overflow-y: auto;
  }
}

.gallery-items {
  width: 260px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  text-align: center;
}

@media screen and (max-width: 700px) {
  .gallery-items {
    display: none;
  }
}

.gallery-item {
  display: inline-block;
  width: 200px;
  margin: 30px;

  background-color: white;
  width: 200px;
  height: 200px;
  border-radius: 16px;
  border-width: 1px;
  border-style: solid;
  border-color: #909090;
  transition: all 150ms;
}

.gallery-item-left:hover {
  box-shadow: 0px 5px 20px 0px rgba(70, 70, 70, 0.2);
  transform: scale(1.1) rotate(3deg) translate(0, -10px);
}

.gallery-item-right:hover {
  box-shadow: 0px 5px 20px 0px rgba(70, 70, 70, 0.2);
  transform: scale(1.1) rotate(-3deg) translate(0, -10px);
}

.gallery-item-image {
  width: 178px;
  height: 178px;
  margin: 10px;
  border-radius: 11px;
  object-fit: cover;
  cursor: pointer;
}

.display-block {
  display: block;
}

.gallery-button {
  position: absolute;
  top: 40%;
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 25px;
  border: none;
  background-color: white;
  font-size: 30px;
  color: #404040;
  cursor: pointer;
  box-shadow: 0px 3px 4px 0px rgba(70, 70, 70, 0.3);
}

.gallery-button-back {
  left: 8px;
}

.gallery-button-next {
  right: 8px;
}

@media screen and (max-width: 700px) {
  .gallery-button {
    display: block;
  }

  .gallery-button-hidden {
    display: none;
  }
}

.background-red {
  background-color: rgb(250, 76, 117);
}

.background-yellow {
  background-color: rgb(250, 215, 90);
}

.background-blue {
  background-color: rgb(65, 122, 209);
}

.background-green {
  background-color: rgb(118, 211, 87);
}

.back-button {
  top: 8px;
  left: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(1);
  transition: transform 75ms ease;
  position: fixed;
}

.back-button:hover,
.post-list-button:hover {
  box-shadow: 0px 5px 20px 0px rgba(70, 70, 70, 0.2);
  transform: scale(1.07);
}

.back-button:active,
.post-list-button:active {
  box-shadow: 0px 5px 10px 0px rgba(70, 70, 70, 0.2);
  transform: scale(0.97);
}

.post-list-button {
  top: 8px;
  left: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(1);
  transition: transform 75ms ease;
  position: fixed;
}

body.writing-section {
  background-image: url("/images/writing-section-background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 32px 0;
}

.writing-section .post-list {
  list-style: none;
  margin-top: 32px;
  padding: 0;
}

.writing-section .post-list li {
  margin: auto;
  padding: 0;
  width: 95%;
  max-width: 768px;
  border-radius: 16px;
  color: #404040;
  background-color: white;
  background-image: url("/images/ruled-notebook-background.jpg");
  box-shadow: 0px 15px 30px 0px rgba(70, 70, 70, 0.4);
  margin-bottom: 32px;
}

.writing-section .post-list li h2 {
  font-family: "Love Ya Like A Sister";
  margin-bottom: 16px;
  font-size: 28px;
}

.writing-section .post-list li p {
  font-family: "Life Savers";
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.75;
}

.writing-section .post-list li a {
  display: inline-block;
  padding: 32px 48px;
  text-decoration: none;
  color: currentColor;
}

@media screen and (max-width: 700px) {
  .writing-section .post-list li a {
    padding: 16px 24px;
  }
}

.writing-section article {
  margin: 32px auto;
  padding: 32px;
  width: 95%;
  max-width: 992px;
  font-family: "Love Ya Like A Sister";
  border-radius: 16px;
  color: #404040;
  background-color: white;
  background-image: url("/images/ruled-notebook-background.jpg");
  box-shadow: 0px 15px 30px 0px rgba(70, 70, 70, 0.4);
}

@media screen and (max-width: 700px) {
  .writing-section article {
    padding: 16px 24px;
  }
}

.writing-section article h1 {
  font-size: 40px;
}

.writing-section article p,
.writing-section article h1 {
  margin-bottom: 32px;
}

.writing-section article p {
  font-family: "Life Savers";
  font-size: 18px;
  line-height: 1.75;
}

.writing-section article img {
  margin: 32px;
  width: 50%;
  padding: 10px;
  background-color: #fff;
  box-shadow: 0 2px 10px 0 rgba(70, 70, 70, 0.5);
  display: block;
}

.writing-section article img.float-left {
  float: left;
  margin-left: -50px;
  transform: rotate(-2deg);
}

.writing-section article img.float-right {
  float: right;
  margin-right: -50px;
  transform: rotate(2deg);
}

@media screen and (max-width: 700px) {
  .writing-section article img,
  .writing-section article img.float-left,
  .writing-section article img.float-right {
    width: 100%;
    margin: 16px 0;
    float: none;
  }
}

.writing-section .website-name {
  margin: 0;
  position: fixed;
  right: 0;
  top: 0;
  margin: 16px;
  text-shadow: 0 0 7px rgb(0, 0, 0);
  color: white;
}

@media screen and (max-width: 700px) {
  .writing-section .website-name {
    font-size: 24px;
  }
}
