@font-face {
    font-family: 'Space Grotesk';
    src: url('fonts/SpaceGrotesk.ttf') format('truetype');
}
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat.ttf') format('truetype');
}
html {
    background-color: #fafafa;
}
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80vh;
    padding: 0 8px;
}
h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 42px;
    margin-bottom: 8px;
    animation: appear 1s ease-out forwards;
}
h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    animation: appear 1.5s ease-out forwards;
    font-size: 24px;
}
h1, h2 {
    text-align: center;
    opacity: 0;
}
.logo {
    max-width: 140px;
    margin-bottom: 24px;
    animation: appear 0.5s ease-out forwards;
}
span {
    font-style: italic;
}
@media screen and (max-width: 768px) {
    .logo {
        max-width: 120px;
    }
    h2 {
        font-size: 18px;
    }
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}