@font-face {
    font-family: 'Geo';
    src: url('./webfonts/geo/Geo-Regular.woff2') format('woff2'),
        url('./webfonts/geo/Geo-Regular.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@keyframes rain {
    0% {
        background-position: bottom;
    }
    100% {
        background-position: top;
    }
}



* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: #111;
    background-image: url(./BackgroundStitch.png);
    background-size: cover;
    background-position: bottom center;
    background-attachment: fixed;
}

.rain {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background-image: url(./Rain.png);
    background-size: cover;
    background-position: bottom center;

    animation-name: rain;
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;

    opacity: 0.4;
}

.container {
    position: relative;
    height: 100vh;
    background-image: url(./YumemiStitch.png?v=2);
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 1em;
}

.text {
    font-family: 'Geo', monospace;
    font-size: 3em;
    color: white;
}

.text strong {
    font-weight: normal;
    text-transform: uppercase;
}

.text p {
    padding-bottom: 2em;
}

.text p:nth-child(even) {
    text-align: right;
}

@media (max-width: 1024px) {
    .text {
        font-size: 2em;
    }
}

@media (max-height: 1200px) {
    .text p {
        padding-bottom: 1em;
    }
}

@media (max-height: 820px) {
    .text {
        font-size: 1.5em;
    }
}