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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Patrick Hand', cursive;
    font-size: 18px;
    line-height: 32px;
    background-color: #fffef8;
    background-image:
        linear-gradient(#e8e8e8 1px, transparent 1px),
        linear-gradient(90deg, #e8e8e8 1px, transparent 1px);
    background-size:
        100% 32px,
        100% 32px;
    background-position:
        0 0,
        0 0;
    min-height: 100vh;
    padding: 32px 40px 40px 80px;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ffb3b3;
    z-index: 1000;
}

.snowflake {
    position: fixed;
    top: -100px;
    z-index: -1;
    pointer-events: none;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}

main {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding-top: 40px;
}

p {
    margin-bottom: 32px;
    color: #333;
    padding-left: 8px;
    line-height: 32px;
    font-size: 18px;
}

h1 {
    margin-bottom: 32px;
    color: #333;
    padding-left: 8px;
    line-height: 32px;
    font-size: 18px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-bottom: 40px;
}

.card {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #ffb3b3;
    border-radius: 18px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}