/*-------------------------------------------------------------------------------- FONTS ----------*/

@font-face {
  font-family: "Monogram";
  src: url("/assets/fonts/monogram.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "LadyLiefy";
  src: url("/assets/fonts/Lady-Liefy-OldeTome.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Pixel monospace";
  src: url("/assets/fonts/Mona12.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Typewriter";
  src: url("/assets/fonts/XTypewriter-Regular.woff2") format("woff2"),
    url("/assets/fonts/XTypewriter-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Headlines";
  src: url("/assets/fonts/realisticnature.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Default Serif";
  src: url("/assets/fonts/dayroman.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "KoPub Batang";
  src: url("/assets/fonts/KoPubBatang.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Handwritten Hangul";
  src: url("/assets/fonts/SingleDay.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/*-------------------------------------------------------------------------------- BODY ----------*/

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #EEF3E8;
    font-family: "Pixel monospace", monospace;
    font-size: 1.5rem;
    color: #43415F;
}

/*-------------------------------------------------------------------------------- SIDEBAR ----------*/


.sidebg{
    background-image: url('/assets/images/pixel-border.png');
    background-repeat: repeat-y;
    background-position: top right;
    width: 376px;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

.side{
    background-color: transparent;
    width: 256px;
    padding: 1rem;
}

.site-name {
    font-family: "LadyLiefy", cursive;
    font-weight: 700;
    font-size: 3rem;
    text-align: center;
    letter-spacing: 0.05em;
    color: #43415F;
    text-shadow: 2px 2px 0 #E9DC53,
        4px 4px 0 #CAA174,
        -2px -2px 0 #ADB54E,
        -4px -4px 0 #6B9DCB;
    line-height: 1;
    margin-top: -1.5rem;
    margin-bottom: 1.5rem;
}

.side ul{
    list-style: none;
}

.side li{
    margin-bottom: 0.5rem;
    box-shadow: 2px 2px 0 #43415F,
        -2px -2px 0 #43415F;
    transition: transform 0.15s ease;
    font-size: 1rem;
}

.side li:hover{
    transform: scale(1.1);
}

.side a{
    display: block;
    width: 100%;
    text-decoration: none;
    padding: 0.2rem 0.5rem;
    color: #EEF3E8;
    transition: box-shadow 0.15s ease;
}

.side li a:hover{
    background-color: #fffefc;
}

.side li:nth-child(1) a{ background-color: #6B9DCB; }
.side li:nth-child(2) a{ background-color: #4677A6; }
.side li:nth-child(3) a{ background-color: #585584; }
.side li:nth-child(4) a{ background-color: #705d88; }
.side li:nth-child(5) a{ background-color: #b06483; }
.side li:nth-child(6) a{ background-color: #AF5C55; }
.side li:nth-child(7) a{ background-color: #CAA174; }
.side li:nth-child(8) a{ background-color: #E6DA72; }
.side li:nth-child(9) a{ background-color: #83996d; }
.side li:nth-child(10) a{ background-color: #50685e; }

.side li:nth-child(11),
.side li:nth-child(12) { 
    background-color: transparent; 
    color: #43415F;
    text-align: center;
    box-shadow: none;
    font-size: 0.7rem;
}

.side li:nth-child(11) a,
.side li:nth-child(12) a{ color: #43415F; }
.side li a:hover{ color: #43415F; }

.lang-flags{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    list-style: none;
    outline: none;
    padding: 0;
    margin-bottom: 1rem;
}

.lang-flags li{
    margin-bottom: 0;
    box-shadow: none;
}

.lang-flags a{
    display: block;
    width: auto;
    padding: 0;
    background-color: transparent !important;
    box-shadow: none;
}

.lang-flags a:hover{
    background-color: transparent !important;
}

.lang-switch-label{
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #43415F;
}


/*-------------------------------------------------------------------------------- MAIN PAGE ----------*/

.container{
    margin-left: 256px;
    color:#302522;
    min-height: 100vh;
    padding: 2rem;
    background-color: var(--container-bg-color);
    background-image: var(--container-bg-image);
}

h1 {
    font-family: "LadyLiefy", cursive;
    color: #EEF3E8;
    font-size: 4rem;
    margin: 0 4rem 1.5rem;
    text-shadow: 2px 2px 0 #6B9DCB, 
        4px 4px 0 #4677A6, 
        -2px -2px 0 #6B9DCB, 
        -4px -4px 0 #4677A6;
}

h2 {
    color: #ADB54E;
    font-family: "LadyLiefy", cursive;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

h3 {
    color: #ADB54E;
    margin-bottom: 2rem;
}

h4 {
    color: #ADB54E;
    margin-bottom: 2rem;
}

a {
    color: #E9DC53;
}

p {
    text-align: justify;
    margin-top: 0.5rem;
}


/*-------------------------------------------------------------------------------- LAYOUTS ----------*/

/*---------- ABOUT PAGE --------------------------------------------------------------------------------*/

.about-layout {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
  max-width: 480px;
}

.about-layout + .stamp-sheet {
  margin-top: 3rem;
}

.about-layout .app-container {
  margin-top: 4.5rem;
  transform: rotate(-4deg);
}

/*---------- HOME PAGE --------------------------------------------------------------------------------*/

.home-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin-left: 100px;
}

.home-column--right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.home-block h2 {
    margin-bottom: 0.75rem;
}

.home-block__frame {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}

.home-block--favourites {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.favourites-frame {
    flex-direction: column;
    gap: 1.5rem;
    min-height: auto;
    padding-top: 0.5rem;
}

.favourites-top {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.home-columns h1{
    color: black;
    text-shadow: none;
    font-size: 2rem;
    margin: 0 0 0;
}

.home-columns h2{
    color: black;
    text-shadow: none;
    font-size: 1.35rem;
    margin: 0 0 0;
    text-align: center;
}

.home-columns h3{
    color: #EEF3E8;
    font-weight: 700;
    font-size: 2.25rem;
    margin-top: -4rem;
    text-shadow: 2px 2px 0 #83996d, 
        4px 4px 0 #50685e, 
        -2px -2px 0 #83996d, 
        -4px -4px 0 #50685e;
}

.home-columns h4{
    margin-top: -2rem;
}

.home-columns a{
    color: black;
    text-shadow: none;
    font-weight: 100;
    font-size: 0.75rem;
    margin: 0 0 0;
    text-align: center;
    font-family: "Default Serif", serif;
}

.home-column p{
    text-indent: 1em;
    line-height: 1.375em;
    text-align: justify;
    font-size: 0.75em;
}


.home-column .page img {
    display: block;
    width: 100%;
    max-height: 200px;
    margin: 0.5rem auto;
    object-fit: cover;
    filter: grayscale(100%) sepia(15%) blur(0.02em) contrast(110%) brightness(90%);
}

.home-column .page img:hover {
    filter: grayscale(0%);
}

@media (max-width: 700px) {
    .home-columns {
        grid-template-columns: 1fr;
    }
}

/*--------------------------------------------------------------------------------  CURSORS & EMOJIS  ----------*/

body {
    cursor: url('/assets/images/cursors/default.png') 8 8, auto;
}

p, li, span {
  cursor: url('/assets/images/cursors/text.png') 16 16, text;
}

a, a * {
    cursor: url('/assets/images/cursors/pointer.png') 16 16, pointer;
}

.emoji {
    font-size: 1.5rem;
    font-family: "Pixel monospace", monospace;
}

/*--------------------------------------------------------------------------------  MONTH NAVIGATION  ----------*/

.month-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6em;
    margin-bottom: 1em;
}

.month-nav a {
    text-decoration: none;
    display: block;
    padding: 0.2rem 0.5rem;
}

.month-nav a:hover {
    text-decoration: underline;
    transform: scale(1.25);
}

/*--------------------------------------------------------------------------------  GUESTBOOK  ----------*/

.guestbook-frame {
    max-width: 650px;
    margin: 0 auto;
}

.guestbook-frame iframe {
    display: block;
    width: 100%;
    border: none;
}