@font-face {
    font-family: 'MS PMincho';
    src: url('assets/fonts/MS-PMincho.woff2') format('woff2'),
        url('assets/fonts/MS-PMincho.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

*,
*:before,
*:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

:root {
    box-sizing: border-box;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    position: relative;
    color: #000000;
    background: #ffffff;
    min-height: 100%;
}

body {
    font-family: 'MS PMincho';
    font-weight: normal;
    font-style: normal;
    position: relative;
    min-height: 100vh;
    font-size: 100%;
    /* line-height: 1.5; */
    margin: 0 auto 0 auto;
    max-width: 512px;
}

header {
    padding-top: 2rem;
}

@media (width <= 40rem) { 
    body {
        padding: 1.25rem .75rem 1.25rem .75rem;
    }

    header {
        padding-top: 0rem;
    }
 }

h1,
h2,
h3,
h4,
h5,
h6,
p {
    all: unset;
    font-size: 1rem;
}

h3 {
    font-weight: bold;
}

a {
    color: blue;
    font-size: 1rem;
    text-decoration: underline;
    display: inline;
    width: fit-content;
}

.space-y>*:not(:last-child) {
    margin-bottom: 1rem;
}

.space-x>*:not(:last-child) {
    margin-right: 0.5rem;
}

.scrolling-words-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.scrolling-words-content {
    display: inline-block;
    animation: scroll-words 100s linear infinite;
}

@keyframes scroll-words {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

.scrolling-words-content.reverse {
    animation: scroll-words-reverse 100s linear infinite;
}

@keyframes scroll-words-reverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}