@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Titan+One&display=swap');

* {
    box-sizing: border-box;
}

html {
    font-family: 'Nunito', Helvetica, Arial, sans-serif;
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
}

body,
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100svh;
    margin: 0;
    background: #232627;
}

body {
    overflow: hidden;
}

figure {
    width: 300px;
    max-width: 90%;
    margin: 0;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

h2,
h3 {
    font-family: 'Titan One', 'Nunito', Helvetica, Arial, sans-serif;
    font-weight: 300;
    letter-spacing: 0.03em;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0.5em 1em;
    color: #ffffffbf;
    border: 3px solid currentColor;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition:
        color 300ms ease,
        padding 300ms cubic-bezier(0.25, 2, 0.75, 1),
        gap 300ms cubic-bezier(0.25, 2, 0.75, 1),
        letter-spacing 300ms cubic-bezier(0.25, 2, 0.75, 1);
}

.button:hover {
    gap: 0.75em;
    padding-inline: 1.5em;
    color: #fdfcb0;
    letter-spacing: 0.1em;
}

.button i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    font-size: 1.25em;
}

@media (max-width: 640px) {
    html {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .button {
        transition: none;
    }
}
