@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700&family=Julius+Sans+One&family=Tiny5&display=swap');

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

*::-webkit-scrollbar {
    display: none;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;

    display: flex;
    place-content: center;
    flex-direction: column;

    cursor: none;
    background-image: url("../images/home_page/1920x3240_completed_bg.png");
    background-size: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: white;
}

:root {
    /* Colors */
    --theme-color: #f6995e;

    --major-color: #fcf2fa;
    /*#fff2e7*/

    --primary-light-text-color: #fff;
    --primary-dark-text-color: #000;

    --primary-light-color: #ffa166;
    --primary-dark-color: #111;

    /* Font Sizes */
    --text-xxxl: 4rem;
    --cursor-border: #c185e8;

    --text-xxl: 2rem;
    --text-xl: 1.6rem;
    --text-lg: 1.2rem;
    --text-md: 1rem;
    --text-vmd: .8rem;
    --text-sm: 0.6rem;
}

/* Cursor Styling */
body.small-screen {
    cursor: default;
}

.clickable {
    cursor: none !important;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    transform: translateX(-50%) translateY(-50%);
    border: 2px solid #c185e8;
    border-radius: 50%;
    pointer-events: none;
    transition: height 0.3s ease, width 0.3s ease;
    z-index: 9999;
}

.custom-cursor.grow {
    width: 60px;
    height: 60px;
}

.hidden {
    display: none !important;
}

.loading {
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;

    background-color: #c185e855;

    z-index: 10000;
}

.loader {
    border-radius: 50%;
    height: 15vh;
    width: 15vh;

    border: 5px solid #c185e8;
    border-top: 5px solid #fff;
    border-bottom: 5px solid #fff;

    position: absolute;
    transform: translateX(-50%) translateY(-50%);
    top: 50%;
    left: 50%;

    animation: spinner 1s linear infinite;
}

.loader-inner {
    border-radius: 50%;
    height: 10vh;
    width: 10vh;

    border: 5px solid #c185e8;
    border-left: 5px solid #fff;
    border-right: 5px solid #fff;

    position: absolute;
    transform: translateX(-50%) translateY(-50%);
    top: 50%;
    left: 50%;

    animation: spinner 3s linear infinite;
    animation-direction: reverse;
}

@keyframes spinner {
    0% {
        transform: translateX(-50%) translateY(-50%) rotate(0deg);
    }

    100% {
        transform: translateX(-50%) translateY(-50%) rotate(360deg);
    }
}

/* NavBar */
.navbar {
    width: 100%;

    border-bottom: 1px solid #00000011;

    background-image: url("/images/home_page/dot_bg_opaque.jpeg");
    background-size: 300px;

    position: fixed;
    top: 0;
    z-index: 9999;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0px 60px;
}

.navbar .container .logo-text a {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: var(--text-xxl);

    color: black;

    letter-spacing: -1.5px;
}

.navbar .container .pc-panel a,
.navbar .container .mob-panel a {
    font-family: "Syne";
    font-weight: 700;
    font-size: var(--text-md);

    color: black;

    padding: 0 10px 0;
}

/* Mobile Menu */
.navbar .ham-btn {
    display: none;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;

    padding: 4px;

    width: 30px;
    height: 30px;

    background-color: var(--cursor-border);
    border-radius: 50%;
}

.navbar .ham-btn .top-line,
.navbar .ham-btn .bottom-line {
    background-color: #000;
    width: 15px;
    height: 2px;

}

.navbar .container .mob-panel {
    display: none;
    flex-direction: column;
    align-items: end;

    position: fixed;
    top: 0px;
    right: -100vw;

    height: 100vh;

    padding: 20px 20px 0 20px;

    background-image: url("/images/home_page/dot_bg_opaque.jpeg");
    background-size: 100px;
    border-left: 1px solid #00000011;

    transition: .3s right ease-in-out;
}

.navbar .container .mob-panel .contained {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

.navbar .container .mob-panel .close-btn {
    padding: 2px 0px 40px 0;
}

.navbar .container .mob-panel .close-btn .top-line,
.navbar .container .mob-panel .close-btn .bottom-line {
    background-color: #000;
    width: 20px;
    height: 2px;
}

.navbar .container .mob-panel .close-btn .top-line {
    transform: rotate(45deg) translateX(1px);
}

.navbar .container .mob-panel .close-btn .bottom-line {
    transform: rotate(-45deg) translateX(1px);
}

.navbar .container .mob-panel a {
    padding: 0 0 20px 0;
}

.flex-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;

    margin-top: 40px;
}

.flex-left {
    flex: 1;

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

.tab {
    display: inline-block;
    margin-left: 2em;
}

/* .flex-right {
    flex: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  
    max-height: 100%;
    overflow-y: auto;
  
    overflow: visible;
  }
  
  .flex-right img {
    max-width: 330px;
    transition: 0.3s ease;
    cursor: default;
    border: 5px solid #ffd5d4;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  
    margin: 20px 0;
  }
  
  .flex-right img:hover {
    transform: scale(1.2);
    z-index: 1;
    border-color: #f68c90;
  } */

div::-webkit-scrollbar,
div::-webkit-scrollbar-track,
div::-webkit-scrollbar-thumb {
    display: none;
}

.flex-right {
    padding: 20px 0;

    flex: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;

    max-height: 1000px;
    overflow-y: auto;

    -webkit-mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 1) 80%,
            rgba(0, 0, 0, 0));
    mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 1) 80%,
            rgba(0, 0, 0, 0));
}

.flex-right img {
    max-width: 330px;
    transition: 0.3s ease;
    cursor: default;
    border: 5px solid #ffd5d4;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    margin: 20px 0;
}

.flex-right img:hover {
    transform: scale(1.2);
    z-index: 1;
    border-color: #f68c90;
}

.box {
    background: #ffffff44;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;

    width: 100%;
}

table {
    width: 100%;
    border-spacing: 20px;
}

td {
    vertical-align: top;
}

@media screen and (max-width: 800px) {
    .flex-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;

        margin: 20px;
    }

    .flex-left,
    .flex-right {
        width: 100%;
    }

    .flex-right img {
        margin-bottom: -20px;

        margin: 20px 0;
    }

    .card {
        width: 80%;
    }

    .shelf-container {
        flex-direction: column;
        align-items: center;
    }

    .flex-right {
        max-height: none;

        -webkit-mask-image: none;
        mask-image: none;
    }

    .notice {
        padding: 0px !important;
    }

    .notice p:last-child {
        font-size: 7px !important;
    }

    .clickable {
        cursor: pointer !important;
    }

    .custom-cursor {
        display: none;
    }

    body::before {
        background: url("/images/home_page/completed_bg.png");
        cursor: none;

        margin: 0px;
        padding: 0px;

        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: -1;

        background-size: 100%;
        background-repeat: no-repeat;

        transform: translateY(15px);
    }

    body {
        cursor: default;
        /* background: none; */
        margin-top: 30px;
    }

    .navbar .container {
        padding: 0px 20px;
    }

    .navbar .container .pc-panel {
        display: none;
    }

    .navbar .ham-btn {
        display: flex;
    }

    .navbar .container .mob-panel {
        display: flex;
    }

    .footer .maxi-div {
        margin: 0;
    }

    .footer .inc {
        max-width: 70%;
    }

    .footer .inc .main-text {
        font-size: 20px;
    }

    .footer .inc .sub-text {
        font-size: 14px;
    }

    .footer .maxi-div .socials img {
        max-width: 35px;
        margin: 0 4px;
    }

    .footer .linked {
        flex-direction: column;
    }

    .footer .linked .pseudo {
        width: 100%;

        flex-direction: column;
        align-items: start;
    }

    .footer .linked a {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .footer .linked p {
        display: none;
    }

    .footer .linked .copyright {
        margin-top: 10px;
        display: block;
    }
}

.othercontent {
    background-color: #ffffff44;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    margin: 20px;

    text-align: center;
}

.othercontent h2 {
    text-align: center;
    margin-bottom: 20px;
}

.othercontent p {
    text-align: center;
}

.shelf-container {
    display: flex;
    gap: 20px;
}

.book {
    margin-top: 10px;
    width: 150px;
    height: 330px;
    background-color: #c185e8;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    border-radius: 5px;

    padding: 10px;

    transition: 0.3s ease-in-out;
    opacity: 0.8;
}

.book:hover {
    width: 200px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.book-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(5px, 0.2fr));
    padding: 10px;
}

.book:hover .book-content {
    display: flex;
    text-align: center;
    flex-direction: column;
}

.book-content .anti-content {
    display: flex;
    line-height: 1;

    padding: 0;
    margin: 0;
    line-height: 0;

    font-family: "Courier New", Courier, monospace;

    writing-mode: vertical-lr;
    text-orientation: upright;
}

.book img {
    width: 100%;
    border-radius: 5px;
    display: none;
}

.book:hover img,
.book:hover p,
.book:hover h3 {
    display: block;
}

.book:hover .anti-content {
    display: none;
}

.book h3,
.book p {
    margin: 10px 0;
    display: none;
}

.book h3 {
    font-size: 1.2em;
}

.book p {
    font-size: 0.9em;
}

.footer {
    width: 100%;
    height: auto;

    background-image: url("/images/home_page/dot_bg_opaque.jpeg");
    background-size: 400px;
    background-color: #b5e893;

    background-blend-mode: difference;
    /* background-color: #c185e8; */

    /* height: 80vh; */

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

.footer .maxi-div {
    width: 100%;

    margin-bottom: 50px;

    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;

    padding: 10px 15px;
}

.footer .inc {
    max-width: 50%;
}

.footer .inc .main-text {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Courier New', Courier, monospace;
    font-size: 24px;
    font-weight: bold;

    letter-spacing: 8px;

    margin-bottom: 5px;
}

.footer .inc .main-text span {
    margin-right: 5px;
}

.footer .inc .sub-text {
    color: rgba(255, 255, 255, 0.8);
    font-family: FuturaPT;
    font-size: 16px;
}

.footer .maxi-div .socials {
    padding: 10px 0;

    color: white;
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.footer .maxi-div .socials img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    margin: 0 8px;

    opacity: 0.8;
}

.footer .maxi-div .socials .invert {
    filter: invert(1);
}

.footer .linked {
    width: 100%;

    padding: 10px 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer .linked .pseudo {
    display: flex;
}

.footer .linked a,
.footer .linked p {
    font-family: FuturaPT;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 100;
}

.footer .linked p {
    font-weight: bolder;
    font-size: 18px;
    padding: 0 10px;
}

.footer .linked .copyright {
    font-family: FuturaPT;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;

    font-weight: 100;
    padding: 0;
}

/* Utilities */
.container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 60px;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

@font-face {
    font-family: "Suisseintl";
    src: url("https://assets.website-files.com/62d0cfd0298820c06a8ebb26/62d0d1b06e8bed25b80eb4b6_62a300b973c161205fc2e4bc_SuisseIntl-Book.woff2") format("woff2"),
        url("https://assets.website-files.com/62d0cfd0298820c06a8ebb26/62d0d1b06761bb0e100c2626_62a300b973c161b1c9c2e4c7_SuisseIntl-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Mobile Menu */

.navbar .ham-button {
    background: none;
    border: none;

    cursor: pointer;
    display: none;
}

.navbar .ham-button .ham-line {
    height: 3px;
    width: 20px;

    margin: 6px 0;
    background: var(--primary-light-text-color);
}

.navbar .mobile-menu {
    display: none;
}

.navbar .mobile-menu .main-menu {
    position: fixed;

    display: flex;
    align-items: center;
    flex-direction: column;

    list-style: none;

    font-size: 18px;
    height: 100vh;
    width: 50vw;

    background: var(--primary-dark-color);

    transition: right 0.3s ease-in-out;
}

.navbar .mobile-menu .main-menu .main-menu-items {
    padding: 15px;
}

.navbar .mobile-menu .main-menu a {
    text-decoration: none;

    color: var(--primary-light-text-color);
    font-size: var(--text-md);
    font-weight: 900;
    font-family: "Courier New", Courier, monospace;
}

@media only screen and (max-width: 770px) {
    .navbar .container #pc_menu {
        display: none;
    }

    .navbar .ham-button {
        display: block;
    }

    .navbar .mobile-menu {
        display: flex;
    }

    .active {
        right: 0vw;
    }

    .deactive {
        right: -100vw;
    }

    .book {
        width: 200px;
    }

    .book:hover {
        width: 250px;
        height: 370px;
    }
}

/* Utilities */
[data_text]::after {
    content: attr(data_text);
}

/* Login Button */
.button-57 {
    position: relative;
    overflow: hidden;
    border: none;
    color: var(--primary-dark-color);
    display: inline-block;
    font-size: var(--text-md);
    font-family: 'Syne';
    font-weight: bold;
    line-height: var(--text-sm);
    padding: 15px 20px;
    text-decoration: none;
    background: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.button-57 span:first-child {
    position: relative;
    transition: color 600ms cubic-bezier(0.48, 0, 0.12, 1);
    z-index: 10;
}

.button-57 span:last-child {
    color: black;
    display: block;
    position: absolute;
    bottom: 0;
    transition: all 500ms cubic-bezier(0.48, 0, 0.12, 1);
    z-index: 100;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translateY(225%) translateX(-50%);
    height: 12px;
    line-height: 13px;
}

.button-57:after {
    content: "";
    position: absolute;
    bottom: -50%;
    left: 0;
    width: 105%;
    height: 100%;
    background-color: black;
    transform-origin: bottom center;
    transition: transform 600ms cubic-bezier(0.48, 0, 0.12, 1);
    transform: skewY(9.3deg) scaleY(0);
    z-index: 50;
}

.button-57:hover:after {
    transform-origin: bottom center;
    transform: skewY(9.3deg) scaleY(2);
}

.button-57:hover span:last-child {
    transform: translateX(-45%) translateY(-70%);
    opacity: 1;
    transition: all 900ms cubic-bezier(0.48, 0, 0.12, 1);
}

@font-face {
    font-family: FuturaPTBold;
    src: url(/font/FuturaPTBold.woff) format("woff");
    font-display: swap
}

@font-face {
    font-family: FuturaPT;
    src: url(/font/FuturaPT.woff) format("woff");
    font-display: swap
}