@font-face {
    font-family: "cozette";
    src: url(fonts/CozetteVector.woff2);
    font-weight: normal;
}

@font-face {
    font-family: "Maple Mono";
    src: url(fonts/MapleMono-Regular.ttf.woff2) format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Maple Mono";
    src: url(fonts/MapleMono-Bold.ttf.woff2) format("woff2");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Maple Mono";
    src: url(fonts/MapleMono-Italic.ttf.woff2) format("woff2");
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Maple Mono";
    src: url(fonts/MapleMono-BoldItalic.ttf.woff2) format("woff2");
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

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

* {
    margin: 0px;
    padding: 0px;
}
body {
    margin: 0px;
    padding: 0px;
    min-height: 100vh;
    background-color: transparent;
    image-rendering: pixelated;
}
body::before {
    top: -32px;
    left: -32px;
    right: -1000px;
    bottom: -32px;
    position: fixed;
    filter: url(#water-ripple);
    content: "";
    display: block;
    background-image: url("img/bg_water.png");
    z-index: -1;
}
main {

    max-width: 768px;
    margin: auto;
}

header {
    margin-top: 16px;
    text-align: center;
    text-shadow: 0px 0px 12px #e0def4;
    -webkit-text-stroke: #e0def4 4px;
    paint-order: stroke fill;
}

#page {
    padding: 16px 32px;
    background-color: #26233add;
    backdrop-filter: blur(8px);
    border: 4px solid #e0def4;
    box-sizing: border-box;
    margin: 32px 0px;
    border-radius: 16px;
    filter: drop-shadow(#e0def4 0px 0px 10px);
}

h1 {
    color: #018e71;

    font-family: "Maple Mono", monospace;
    font-weight: bold;
    font-style: italic;
}

h2 {
    color: #ebbcba;
    font-family: "Maple Mono", monospace;
}

h3 {
    color: #8a7fff;
    font-family: "Maple Mono", monospace;
}

p, li {
    font-family: "Maple Mono", monospace;
    font-size: 16px;
    color: #e0def4;
    list-style-position: inside;
    list-style-type: "- ";
    margin: 8px 0px;
}

footer p{
    -webkit-text-stroke: #e0def4 2px;
    paint-order: stroke fill;
    font-family: "cozette", monospace;
    font-size: 13px;
    color: #232136;
    text-align: center;
    text-shadow: 0px 0px 4px #e0def4;
}

footer a:link {
    color: #232136;
    text-decoration: underline;
}

footer a:visited {
    color: #232136;
    text-decoration: underline;
}

footer a:hover {
    color: #393552;
    text-decoration: none;
}

#bismuth-profile {
    float: left;
    max-width: 30%;
    margin-right: 16px;
}


#artified-content {
    height: 100%;
    padding: 20px;
}

#artified {
    position: relative;
    max-width: 550px;
    margin: 0px auto;
}
#artified-hidden {
    max-height: 0px;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

#artified:focus-within #artified-hidden {
    max-height:300px;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

#artified-content h3 {
    font-family: "EB Garamond", serif !important;
    color: #ffffff;
    font-weight: 600;
    mix-blend-mode: difference;
    font-size: 26px;
    font-weight: 500;
}

#artified-content p {
    font-family: "EB Garamond", serif;
    mix-blend-mode: difference;
    color: #ffffff;
    text-indent: 25px;
}

#artified-content h4 {
    font-family: "Verdana", Arial, sans-serif;
    mix-blend-mode: difference;
    font-size: 24px;
    color: #ffffff;
    font-weight: normal;
}
#artified a, #artified a:link, #artified a:hover, #artified a:active, #artified a:visited {
    color: #ffffff;
}
#artified a:hover {
    text-decoration: none;
}

#artified-card-a {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: #000000;
    clip-path: polygon(1% 2%, 99% 2%, 99% 98%, 1% 98%);
    overflow: hidden;
}

#artified-card-b {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: #ffffff;
    clip-path: polygon(3% 0%, 100% 3%, 97% 100%, 0% 97%);
}

#artified-spin {
    position: absolute;
    top: -500%;
    bottom: -500%;
    left: 50%;
    right: -500%;
    background-color: #ffffff;
    transform-origin: 0% 50%;
    transform: rotate(70deg);
    transition: all 0.5s cubic-bezier(.23,.06,.17,1.27);

}

#artified:focus-within #artified-spin {
    transform: rotate(240deg);
    transition: all 0.4s cubic-bezier(.23,.06,.17,1.27);
}

#changelog-box {
    margin: 16px auto;
    background-color: papayawhip;
    width: 350px;
    border-top: 2px solid papayawhip;
    border-left: 2px solid papayawhip;
    border-right: 2px solid salmon;

    border-bottom: 2px solid salmon;
}

details {
    font-family: "cozette";
    font-size: 13px;
    color: darkslategray;
}

summary {
    background-image: linear-gradient(to right, pink, turquoise);
    height: 17px;
}

#window-decorations {
    float: right;
    margin: 2px 2px;
}
summary::marker {
    content: " > ";
}

details[open] summary::marker {
    content: " v ";
}

#changelog {
    position: relative;
    background-color: black;
    overflow: auto;
    max-height: 128px;
    display: flex;
    flex-direction: column-reverse;
    padding: 8px;
}

#changelog p {
    color: green;
    font-family: "cozette", monospace;
    font-size: 13px;
    margin: 0px;
}
