@import url("https://fonts.googleapis.com/css2?family=DotGothic16&family=Pixelify+Sans:wght@400..700&family=Rubik&family=Space+Grotesk:wght@400;700&display=swap");

@font-face {
    font-family: "Cozette";
    src: url(/assets/fonts/CozetteVector.woff2);
}

:root {
    --text-color: #664e64;
    --text-color-accent: #793a73;

    --bg-color: #ffffff;
    --bg-sec-color: #f0d8e3;

    color: var(--text-color);
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: none;
    font-smoothing: none;
}

a {
    color: var(--text-color-accent);
    text-decoration: none;
    font-size: 16px;
}

#topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background-color: var(--bg-sec-color);
    text-align: center;
    padding: 24px 16px 16px 16px;
}

body {
    margin: 0;
    position: relative;
    font-family: "Cozette", "DotGothic16", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: var(--bg-color);
    background-image: url(assets/images/bg-v1-dithered-3levels-colored-big.png);
    text-align: center;
    background-position: center;
    background-repeat: repeat-y;
}

.content-main {
    height: 1312px;
}

#content {
    position: relative;
    display: inline-block;
    min-width: 720px;
    max-width: 1280px;
    width: 100vw;
    padding: 128px 32px 32px 32px;
    text-align: left;
}

#right {
    position: absolute;
    right: 32px;
    top: 128px;
    text-align: right;
}

#chicken-microwave {
    position: absolute;
    right: 32px;
    top: 424px;
}

#chris-chan {
    position: absolute;
    right: 172px;
    top: 436px;
    text-align: right;
}

#error-container,
#counter-container,
#counter-container-reloads,
#counter-container-chart,
#footer {
    position: absolute;
    text-align: center;
    left: 0px;
    min-width: 720px;
    max-width: 1280px;
    width: 100vw;
}

#counter-container {
    top: 560px;
}

#counter-container-chart {
    top: 720px;
}

#counter-container-reloads {
    top: 996px;
}

#counter {
    background: transparent;
    border: none;
    width: 600px;
}

#footer {
    top: 1280px;
}

.link-container {
    margin: 8px;
    padding: 8px;
    width: max-content;
    border: var(--bg-sec-color) 1px solid;
}

.project-title {
    font-size: 24px;
}

.project-header {
    display: flex;
    margin-top: 32px;
    margin-bottom: 26px;
}

.project-info-right {
    margin-left: auto;
    text-align: right;
}

.project-info-left {
    margin-right: auto;
    text-align: left;
}

.separator {
    width: 100%;
    height: 0px;
    border-bottom: var(--text-color-accent) dashed 2px;
}

.text-underline {
    text-decoration: wavy underline;
}

.flag {
    border: 1px solid var(--bg-sec-color);
    margin-bottom: -1px;
}

#error-container {
    font-size: 24px;
    font-weight: bold;
}

#image-2x {
    image-rendering: pixelated;
    transform-origin: center center;
    transform: scale(2);
}

#garden-banner-container {
    text-align: center;
}

#garden-side-decoration-left,
#garden-side-decoration-right {
    background-image: url(/garden/assets/images/garden-flowers.png);
    height: 100vh;
    position: absolute;
    width: 768px;
}

#garden-side-decoration-left {
    top: 0px;
    left: 0px;
}

#garden-side-decoration-right {
    top: 0px;
    right: 0px;
    transform: scaleX(-1);
    background-position-y: 200px;
}

/* Mobile specific */
@media only screen and (hover: none) and (pointer: coarse) {
    #topbar {
        height: 96px;
    }
    .topbar-link {
        font-size: 72px;
        margin-left: 24px;
        margin-right: 24px;
    }
    #content {
        margin-top: 200px;
    }
    #profile-pic {
        width: 0px;
    }
    body {
        font-size: 48px;
        background-image: url(assets/images/bg-v1-dithered-3levels-colored-big-2x.png);
    }
    #chris-chan {
        top: 700px;
        right: 320px;
    }
    #chicken-microwave {
        top: 690px;
        width: 256px;
        image-rendering: pixelated;
    }
    #counter-container {
        top: 950px;
    }
    #counter-container-reloads {
        top: 1730px;
    }
    #counter-container-chart {
        top: 1150px;
    }
    #footer {
        top: 2900px;
    }
    a {
        font-size: 48px;
    }
    #garden-banner {
        width: 1024px;
    }
    #eightyeightbythirtyone {
        height: 62px;
    }
    #counter-chart {
        width: 1200px;
    }
    .flag {
        height: 34px;
    }
    .project-title {
        font-size: 128px;
    }
}
