/* 

LAYOUT MADE BY POEMPUPPY 

https://pomepuppy.neocities.org
poempuppy [at] gmail.com 

*/

@import url('https://fonts.googleapis.com/css2?family=DotGothic16&display=swap');

@font-face {
    font-family: pixel;
    src: url("./assets/fonts/Windows Regular.ttf");
}

@media (min-width: 768px) {
    .site-wrapper {
        zoom: 1.3;
    }
}


:root {
    --light-pink: #ffeaf1;
    --dark-pink: #ffd8ec;
    --txt-color: #828282;
    --main-content-bg: white;
    /* フォントサイズ調整 */
    --base-font-size: 18px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    cursor: url("https://cdn.cursors-4u.net/previews/pink-paw-print-820c6758-32.webp") 32 32, auto !important;
}

body {
    min-height: 100dvh;
}

img.emoji {
    font-size: 1.2em;
    width: 1em;
    height: 1em;
    vertical-align: -0.1em;
    margin-right: 3px;
}

body,
body * {
    cursor: inherit !important;
}

body {
    margin: 0;
    padding: 25px;
    display: flex;
    justify-content: safe center;
    align-items: center;
    font-family: 'pixel', 'DotGothic16', sans-serif;
    color: var(--txt-color);
    font-size: var(--base-font-size);
    flex-direction: column;
    font-size: 13px;
}

body {
    background-color: #fce7f1;
    background-image:
        radial-gradient(circle, #ffffff75 2px, transparent 2px),
        radial-gradient(circle, #ffffff75 2px, transparent 2px);

    background-size: 24px 24px;
    background-position: 0 0, 12px 12px;

    animation: bg-scroll 1.5s linear infinite;
}

@keyframes bg-scroll {
    from {
        background-position: 0 0, 12px 12px;
    }

    to {
        background-position: 24px 0, 36px 12px;
    }
}

p {
    margin-top: 0;
    margin-bottom: 0;
}

p:last-child {
    margin-bottom: 0;
}

span.ghost-text {
    opacity: 38%;
    text-decoration: line-through;
}

.smaller {
    font-size: 85%;
}

.marker {
    background: linear-gradient(transparent 65%, #ffabd5 65%, #ffabd5 90%, transparent 90%);
}

ul {
    margin: 0;
    padding-left: 2em;
}

hr {
    border: none;
    border-top: 1px dashed #828282;
    width: 95%;
    margin: 15px auto;
}

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

.site-wrapper {
    width: 100%;
    max-width: 450px;
}

.main-content {
    position: relative;

    border: 8px solid transparent;
    border-image-source: url("./assets/border.png");
    border-image-slice: 7 fill;
    border-image-repeat: round;
    padding: 12px;
    gap: 15px;
    display: flex;
    flex-direction: column;
    border-radius: 999px;
}

.corner-ribbon {
    position: absolute;
    top: -35px;
    left: -100px;
    width: 205px;
    height: auto;
    z-index: 10;
    pointer-events: none;
    transform: rotate(13deg);
    opacity: 0.6;
}

header {
    width: 100%;
    height: 120px;
    background-image: url("./assets/banner.png");
    border-radius: 10px;
    border: 1px solid var(--dark-pink);
}

.profile-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: -45px;
    margin-left: 10px;
    flex-wrap: wrap;
}

.profile-name-section {
    margin-top: 40px;
}

.name {
    font-size: 20px;
}

.text-bounce {
    animation: text-bounce 2.1s steps(1) infinite;
}

.text-hop {
    animation: text-hop 0.8s steps(1) infinite;
}

@keyframes text-bounce {
    0%, 49% {
        transform: translateY(0);
    }

    50%, 100% {
        transform: translateY(-2px);
    }
}

@keyframes text-hop {
    0%, 24% {
        transform: translate(0, 0);
    }

    25%, 49% {
        transform: translate(1px, -1px);
    }

    50%, 74% {
        transform: translate(0, 0);
    }

    75%, 100% {
        transform: translate(-1px, -1px);
    }
}

.pfp {
    width: 100px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #eabccb;
    flex-shrink: 0;
}

nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
    margin-top: 10px;
    justify-content: center;
}

button {
    padding: 5px 18px;
    border: 1px solid var(--dark-pink);
    border-radius: 12px;
    background: var(--light-pink);
    color: var(--txt-color);
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: .25s ease;
    cursor: url('https://cdn.cursors-4u.net/previews/pink-paw-print-820c6758-32.webp') 32 32, auto !important;
    font-size: 15px;
}

button:hover {
    background: var(--dark-pink);
    color: white;
}

.btn-pixel {
    width: 20px;
    height: 20px;
}

.box {
    background-color: var(--light-pink);
    border: 1px solid var(--dark-pink);
    border-radius: 8px;
    padding: 12px;
}

.art {
    width: 100%;
    aspect-ratio: 1;
    border: 2px dotted var(--dark-pink);
    background-color: white;
    padding: 10px;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 5px;
}

.pic-title {
    text-align: center;
    margin-bottom: 10px;
}

img {
    overflow: auto;
}

.credits {
    font-size: 11px;
    margin-top: 10px;
    padding-bottom: 10px;
    padding-right: 5px;
    padding-left: 5px;
}

@media (min-width: 768px) {
    .credits {
        font-size: 130%;
    }
}

.banners {
    margin-top: 10px;
    opacity: 0.8;
    filter: brightness(1.15);
}

.copyright-mark {
    position: relative;
    top: 0.9px;
}

/* mobile stuff */
@media (max-width: 500px) {
    body {
        padding: 15px;
    }

    header {
        height: 140px;
    }

    .pfp {
        width: 120px;
    }

    .profile-row {
        flex-direction: column;
        align-items: center;
        margin-top: -70px;
    }

    .profile-name-section {
        margin-top: 0;
    }

    p.name {
        text-align: center;
        margin-bottom: 25px;
    }

    nav {
        justify-content: center;
        margin-top: 0px;
    }

    button {
        width: 100%;
        justify-content: center;
    }

    .corner-ribbon {
        top: -30px;
        left: -84px;
        transform: rotate(5deg);
    }
}

html,
body {
    overflow-x: hidden;
}

/* bubbles */

#aero-bubbles {
    position: fixed;
    top: 0;
    left: 0;

    width: 100vw;
    height: 100svh;

    overflow: hidden;
    pointer-events: none;
    z-index: 9999;

    contain: layout paint;
}

.aero-bubble {
    position: absolute;
    top: -50px;
    border-radius: 50%;

    background:
        radial-gradient(circle at 28% 22%,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.55) 7%,
            transparent 18%),
        conic-gradient(from 20deg,
            rgba(255, 120, 180, 0.22),
            rgba(255, 220, 120, 0.18),
            rgba(120, 255, 210, 0.18),
            rgba(120, 190, 255, 0.2),
            rgba(190, 140, 255, 0.2),
            rgba(255, 120, 180, 0.22));

    border: 1px solid rgba(255, 255, 255, 0.8);

    box-shadow:
        inset 3px 3px 7px rgba(255, 255, 255, 0.5),
        inset -4px -5px 8px rgba(180, 120, 255, 0.15),

        4px 6px 8px rgba(90, 70, 120, 0.18),
        0 0 7px rgba(255, 255, 255, 0.3);

    opacity: 0;

    animation:
        bubble-fall var(--fall-speed) linear infinite,
        bubble-sway var(--sway-speed) steps(12) infinite;

    filter: contrast(1.15) saturate(1.2);

}

@keyframes bubble-fall {
    0% {
        top: -60px;
        opacity: 0;
    }

    8% {
        opacity: 0.55;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        top: 110vh;
        opacity: 0;
    }
}

@keyframes bubble-sway {
    0% {
        margin-left: 0;
    }

    25% {
        margin-left: 25px;
    }

    50% {
        margin-left: 0;
    }

    75% {
        margin-left: -25px;
    }

    100% {
        margin-left: 0;
    }
}