.paper {
  min-height: 80vh;
  line-height: var(--paper-line-height);
  display: flex;
  flex-direction: column;
  background-image: url("../gfx/papier.jpg");
  background-size: cover;
  box-shadow: 3px 3px 10px black;
}
.paper .tiny-text {
  font-size: 50%;
}
.paper > .header {
  position: relative;
  margin-left: var(--paper-margin-left);
  margin-right: var(--paper-margin-right);
  height: 4rem;
  padding: 0 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  border-left: 1px solid var(--paper-border-line-color);
  border-right: 1px solid var(--paper-border-line-color);
  font-weight: bold;
  font-size: 180%;
}
.paper > .header > .corner {
  font-size: 0.8rem;
  position: absolute;
  top: 0.9rem;
  left: calc(10px - var(--paper-margin-left));
}
.paper > .footer {
  margin-left: var(--paper-margin-left);
  margin-right: var(--paper-margin-right);
  height: 3rem;
  padding: 0 1rem;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  border-left: 1px solid var(--paper-border-line-color);
  border-right: 1px solid var(--paper-border-line-color);
  font-size: 200%;
}
.paper > .content {
  position: relative;
  z-index: 0;
  flex-grow: 1;
  padding: 0 1rem;
  padding-top: calc(3px + var(--paper-line-height));
  padding-bottom: var(--paper-line-height);
  margin-left: var(--paper-margin-left);
  margin-right: var(--paper-margin-right);
  border-left: 1px solid var(--paper-border-line-color);
  border-right: 1px solid var(--paper-border-line-color);
}
.paper > .content > p {
  margin-bottom: var(--paper-line-height);
}
.paper > .content > ul {
  margin-bottom: var(--paper-line-height);
}
.paper > .content > h3 {
  margin-bottom: var(--paper-line-height);
}
.paper > .content .list,
.paper > .content .ingredients-list {
  margin-bottom: var(--paper-line-height);
}
.paper > .content .list > *,
.paper > .content .ingredients-list > * {
  display: flex;
  flex-direction: row;
}
.paper > .content .list > *::before,
.paper > .content .ingredients-list > *::before {
  padding-right: 1rem;
  content: "\f111";
  height: var(--paper-line-height);
  font: normal normal normal 6px/var(--paper-line-height) ForkAwesome;
}
.paper > .content .note {
  color: red;
  z-index: 1;
  float: left;
  width: 0;
  white-space: nowrap;
  translate: calc(0rem - var(--paper-margin-left)) 0rem;
}
.paper > .content > .sticky-note {
  color: red;
  z-index: 1;
  float: right;
  width: 0;
  white-space: nowrap;
  translate: calc(0.9rem + var(--paper-margin-right));
  writing-mode: sideways-rl;
  text-orientation: upright;
  position: sticky;
  top: 6em;
}
.paper > .content::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(0rem - var(--paper-margin-left));
  right: calc(0rem - var(--paper-margin-right));
  content: " ";
  background-image: url("./../gfx/paper_background.png");
}

@font-face {
  font-family: "NanumPenScript";
  src: url("./fonts/NanumPenScript-Regular.ttf") format("truetype");
}
*.polaroid {
  position: relative;
  width: var(--polaroid-width);
  height: var(--polaroid-height);
  box-shadow: 3px 3px 10px black;
  border-radius: 0.2rem;
  background-color: #f0eee9;
}
*.polaroid > .photo {
  position: absolute;
  left: 5%;
  top: 5%;
  width: 90%;
  height: 75%;
  border-radius: 0.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
}
*.polaroid > .photo img {
  max-width: 100%;
  max-height: 100%;
}
*.polaroid > .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "NanumPenScript";
  font-size: 1.5rem;
  position: absolute;
  top: 80%;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem;
  text-align: center;
}

:root {
  --paper-border-line-color: #ed1f1fc3;
  --paper-margin-left: 3rem;
  --paper-margin-right: 2rem;
  --paper-line-height: 25px;
  --polaroid-scale-factor: 0.5;
  --polaroid-width: calc(34rem * var(--polaroid-scale-factor));
  --polaroid-height: calc(42rem * var(--polaroid-scale-factor));
  --polaroid-photo-width: calc(30.625rem * var(--polaroid-scale-factor));
  --polaroid-photo-height: calc(31.25rem * var(--polaroid-scale-factor));
}

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

body {
  padding: 1rem;
  /* overflow: hidden; */
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
  background-color: #555;
}
@media (max-width: 640px) {
  body {
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
}

a,
a:visited {
  color: rgb(56, 56, 226);
  text-decoration: none;
}

a:hover {
  color: rgb(34, 34, 175);
}

li {
  margin-left: 1rem;
}

.only-on-small {
  display: none;
}
@media (max-width: 640px) {
  .only-on-small {
    display: inline;
  }
}

.clickable {
  cursor: pointer;
  color: rgb(56, 56, 226);
}
.clickable:hover {
  color: rgb(34, 34, 175);
}

.paper {
  height: -moz-max-content;
  height: max-content;
  max-width: 30rem;
}

*.polaroid-collection {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: stretch;
  min-width: calc(var(--polaroid-width) * 1);
  max-width: calc(var(--polaroid-width) * 2.1);
  flex-shrink: 2;
  flex-wrap: wrap;
  left: -1rem;
}
*.polaroid-collection > .slot {
  cursor: pointer;
  min-height: 5rem;
  max-height: var(--polaroid-height);
  height: 10rem;
}
*.polaroid-collection > .slot:hover {
  z-index: 1;
}
*.polaroid-collection > .slot.focus {
  transform: rotate(0);
  position: fixed;
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  background-color: rgba(0, 0, 0, 0.7137254902);
  top: 0;
  left: 0;
  rigth: 0;
  bottom: 0;
  z-index: 100;
}
*.polaroid-collection > .slot.focus .polaroid {
  transition-duration: 500ms;
  aspect-ratio: 34/42 !important;
  flex-grow: 0;
  width: auto;
  height: auto;
  margin: auto;
  margin-top: 0.5rem;
  max-width: 96vw;
  max-height: 96vh;
}
@media (max-width: 640px) {
  *.polaroid-collection {
    left: 0;
    width: 110%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  *.polaroid-collection > .slot {
    flex: none;
  }
  *.polaroid-collection > .slot .polaroid {
    width: calc(var(--polaroid-width) * 0.6);
    height: calc(var(--polaroid-height) * 0.6);
  }
  *.polaroid-collection > .slot .polaroid .text {
    font-size: 100%;
  }
}
*.polaroid-collection > *:nth-child(1n) {
  transform: rotate(-1deg);
}
*.polaroid-collection > *:nth-child(2n) {
  transform: rotate(4deg);
}
*.polaroid-collection > *:nth-child(3n) {
  transform: rotate(-6deg);
}
*.polaroid-collection > *:nth-child(4n) {
  transform: rotate(2deg);
}
*.polaroid-collection > *:nth-child(5n) {
  transform: rotate(-4deg);
}
*.polaroid-collection > *:nth-child(6n) {
  transform: rotate(3deg);
}
*.polaroid-collection > *:nth-child(7n) {
  transform: rotate(-8deg);
}
*.polaroid-collection > *:nth-child(8n) {
  transform: rotate(8deg);
}
*.polaroid-collection > *:nth-child(9n) {
  transform: rotate(-4deg);
}
*.polaroid-collection > *:nth-child(10n) {
  transform: rotate(10deg);
}/*# sourceMappingURL=styles.css.map */