/* Any time this file is updated, increment the version in template_generator.py */

@font-face {
    font-family: "UnifrakturCook";
    src: url("https://cindercube.net/resource/fonts/UnifrakturCook-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "IM Fell English";
    src: url("https://cindercube.net/resource/fonts/IMFellEnglish-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "EB Garamond";
    src: url("https://cindercube.net/resource/fonts/EBGaramond-VariableFont_wght.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

body {
    background-color: #ffe2bf;
    background-image: linear-gradient(135deg, #fff3df 0%, #ffe2bf 70%, #d9823b 100%);
    background-attachment: fixed;
    color: black;
    font-family: "IM Fell English", monospace;
    font-weight: 400;
}

.homepage-intro .center {
    position: relative;
    z-index: 1;
}

.homepage-intro.page-leaving .center {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.page-intro {
    position: fixed;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background: #000;
}

html.internal-navigation .page-intro {
    background: transparent;
}

.homepage-intro.bar-complete .page-intro {
    animation: intro-screen 0.1s ease-out both;
}

.page-intro-line {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 6px;
    background: #ff8a1f;
    box-shadow: 0 0 8px #ff8a1f, 0 0 28px #ff8a1f, 0 0 64px #ff8a1f;
    transform-origin: center center;
    transform: scaleX(0.08);
    animation: intro-line-progress 12s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.homepage-intro.page-loaded .page-intro-line {
    animation: none;
}

@keyframes intro-line-progress {
    0% {
        transform: scaleX(0.08);
    }
    100% {
        transform: scaleX(0.85);
    }
}

@keyframes intro-screen {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@media (prefers-reduced-motion: reduce) {
    .homepage-intro,
    .homepage-intro .center,
    .homepage-intro .page-intro,
    .homepage-intro .page-intro-line {
        animation: none;
    }

    .homepage-intro .page-intro {
        display: none;
    }
}

.center {
    margin: auto;
    width: calc(100% - 40px);
    max-width: 1020px;
}

.logo {
    box-shadow: 0 0 12px 0 #00000088;
    width: 150px;
    height: 150px;
    background-color: #00000033;
    background-image: linear-gradient(to top, orange, black);
    background-repeat: no-repeat;
    transition: background-position 0.3s ease, color 0.3s ease, border 0.3s ease;
    color: black;
}

.logo:hover {
    background-position-y: 150px;
}

.logo:active {
    background-color: #00000088;
}

@font-face {
    font-family: "inter";
    src: url("https://cindercube.net/resource/fonts/Inter-VariableFont_slnt%2Cwght.ttf");
}

.landing-title {
    font-family: "inter", sans-serif;
    font-size: 96px;
    text-align: start;
    margin: 0;
    padding: 0;
}

.no-link-deco > a {
    color: black;
    text-decoration: none; /* no underline */
}

.landing-subtitle {
    font-family: "inter", sans-serif;
    margin: 0;
    padding: 0;
    text-align: start;
}

.landing-title-box {
    box-shadow: 0 0 12px 0 #00000088;
    height: 150px;
    padding-left: 20px;
    width: 100%;
    box-sizing: border-box;
    background-color: #00000033;
    background-image: linear-gradient(to top, orange, black);
    background-repeat: no-repeat;
    transition: background-position 0.3s ease, color 0.3s ease;
    color: white;
}

.landing-title-box:hover {
    background-position-y: 150px;
    color: black;
}

.landing-title-box:active {
    background-color: #00000088;
}

.header-container {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
}

.divider-container {
    height: 100px;
    border: 1px solid black;
    box-shadow: 0 0 12px 0 #00000088;
    box-sizing: border-box;
    margin-top: 20px;
    align-items: center;
    display: flex;
    background-color: black;
}

.divider-title {
    font-family: "inter", sans-serif;
    font-size: 60px;
    margin-left: 20px;
    color: white;
}

.page-title {
    position: relative;
    min-height: 132px;
    margin-top: 20px;
    padding: 18px 28px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: linear-gradient(90deg, #000 0%, #090704 62%, #5a2505 86%, orange 100%);
    box-shadow: 0 0 12px #00000088;
}

.page-title::after {
    content: "";
    position: absolute;
    inset: 0 0 0 58%;
    background: linear-gradient(90deg, #00000000 0%, #ffa50033 62%, #ffa50099 100%);
    pointer-events: none;
}

.page-title-copy {
    position: relative;
    z-index: 1;
}

.page-title h1 {
    margin: 0;
    color: white;
    font-family: "inter", sans-serif;
    font-size: 60px;
    line-height: 0.95;
}

.page-title-icon {
    position: relative;
    z-index: 1;
    width: 104px;
    height: 104px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 12px 28px #00000099;
}

.body-container {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.body-header-4 {
    font-family: "inter", sans-serif;
    text-align: start;
}

.category-box-3 {
    border: 1px solid #00000033;
    box-sizing: border-box;
    width: 388px;
    height: 388px;
    text-align: left;
    padding: 20px;
    background-image: linear-gradient(to top, black, black);
    background-position-y: 388px;
    background-repeat: no-repeat;
    transition: background-position 0.3s ease, color 0.3s ease;
}

.category-box-3-alt {
    border: 1px solid #00000033;
    /*background-color: #00000033;*/
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    width: 388px;
}

.category-box-3-alt > p, .category-box-3-alt > li, .category-box-3-alt > div > p, .category-box-3-alt > div > li {
    font-size: 10pt;
}

.body-image-1 {
    height: 184px;
    width: 184px;
    display: block;
    object-fit: cover;
}

.body-text-1 {
    margin-top: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

.body-container-vert {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px 30px;
    align-content: baseline;
}

.glass-btn-container {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.btn-socket {
    width: 184px;
    height: 188px;
    border-radius: 10%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2px;
    box-sizing: border-box;
    background: #00000012;
    box-shadow: inset 0 -3px 6px #00000026, inset 0 2px 4px #ffffff33;
    border: 1px solid #0000001a;
    overflow: visible;
}

.glass-img-btn {
    position: relative;
    display: block;
    width: 184px;
    height: 184px;
    border-radius: 10%;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
    border: 1.5px solid #ffffff59;
    cursor: pointer;
    background: #ffffff00;
    box-shadow: 0 2px 6px #00000026;
    transition: transform 0.08s cubic-bezier(0.2, 0, 0, 1),
                box-shadow 0.08s cubic-bezier(0.2, 0, 0, 1),
                border-color 0.3s ease,
                background-color 0.2s ease;
}

.glass-img-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    transition: filter 0.15s ease;
}

.glass-img-btn::before,
.glass-img-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10%;
    pointer-events: none;
}

.glass-img-btn::before {
    z-index: 2;
    background: linear-gradient(to bottom, #ffffff80 0%, #ffffff33 20%, #ffffff00 45%);
    box-shadow: inset 0 4px 6px #ffffff99;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.glass-img-btn::after {
    z-index: 1;
    background: radial-gradient(circle 60px at var(--mouse-x, 10%) var(--mouse-y, 10%),
                #ffffff8c 0%, #ffffff1f 50%, #00000000 100%);
    box-shadow: inset 0 -2px 6px #00000026;
    opacity: 0.65;
    transition: opacity 0.3s ease;
}

.glass-img-btn:hover {
    border-color: #ffffff8c;
    background-color: #ffffff1f;
}

.glass-img-btn:hover img {
    filter: brightness(1.05);
}

.glass-img-btn:hover::before,
.glass-img-btn:hover::after {
    opacity: 1;
}

.glass-img-btn:active {
    transform: translateY(-4px);
    box-shadow: 0 0 0 #00000000;
    border-color: #ffffff33;
    background-color: #0000001f;
}

.glass-img-btn:active::before {
    opacity: 0.5;
}

.glass-img-btn:active img {
    filter: brightness(0.9);
}

.glass-img-btn:focus-visible {
    outline: 3px solid #ff8a1f;
    outline-offset: 4px;
}

h3 {
    font-family: "inter", sans-serif;
}

.btn-label {
    color: inherit;
    font-family: inherit;
    font-size: 2em;
    font-family: "UnifrakturCook", sans-serif;
    /* text-transform: lowercase; */
    letter-spacing: normal;
}

.list-container {
    border: 1px solid #00000033;
    padding: 20px;
    margin-top: 20px;
}

.contact-container {
    width: 100%;
    box-sizing: border-box;
    border-color: #00000066;
    background: #fff0dc;
}

@media (max-width: 700px) {
    .page-title {
        min-height: 112px;
        padding: 16px 18px;
    }

    .page-title h1 {
        font-size: 40px;
    }

    .page-title-icon {
        width: 76px;
        height: 76px;
    }
}

.contact-form-wrapper iframe {
    display: block;
    width: 100%;
    height: 900px;
    max-width: 100%;
    border: 0;
    margin: 0 auto;
}

.contact-form-wrapper {
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    border: 1px solid #00000033;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px #ffffff, 0 3px 8px #0000001f;
    overflow: hidden;
}

.drawing-box {
    border: 1px solid black;
    box-shadow: 0 0 12px 0 #00000088;
    width: 490px;
    height: 490px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: black;
    flex-direction: column;
}

.drawing-img {
    max-height: 400px;
    max-width: 400px;
    border-radius: 5%;
}

.bottomtext {
    color: #00000033;
    font-size: 12px;
}

.bottomtext > a {
    color: #00000088;
    text-decoration: none; /* no underline */
}

#clicker {
    background-color: lightgreen;
}

.beeg-beeg-button {
    background-color: deepskyblue;
    font-size: 24px;
    font-weight: bold;
    font-family: "inter", sans-serif;
    padding: 16px;
    border-radius: 32px;
    border-color: deepskyblue;
    box-shadow: 0 0 12px 0 #00000088;
    color: white;
    text-shadow: -1px 1px 2px darkgrey;
}

.beeg-beeg-button:hover {
    filter: brightness(70%);
}

.beeg-beeg-button:active {
    filter: brightness(50%);
}

.tags {
    font-style: italic;
    color: #666;
}