@import url('https://fonts.googleapis.com/css2?family=Domine:wght@400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {
    background-color: #0F233F;
    display: grid;
    place-items: center;
    height: 100vh;
    margin: 0;
    padding: 0;
    color: #fff;
}

.content {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;

    > * {
        animation: load 300ms forwards;
        opacity: 0;
        animation-delay: calc(var(--index) * 300ms);
    }

    > *:nth-child(1) { --index: 1; }
    > *:nth-child(2),
    > *:nth-child(3),
    > *:nth-child(4) { --index: 2; }
}

img {
    margin-bottom: 50px;
}

h1, h2 {
    font-family: 'Domine', sans-serif;
    font-weight: 400;
    line-height: 1.3;
}

h1 {
    font-size: 34px;
    margin: 0;
}
h2 {
    font-size: 34px;
    color: #CB886E;
    margin: 40px 0;
}

p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    text-align: center;
    line-height: 28px;
}

p a {
    color: #fff;
    transition: 400ms all ease-in-out;
}

p a:hover {
    color: #CB886E;
}

@keyframes load {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media screen and (max-width: 600px) {
    img {
        margin-bottom: 30px;
    }

    h1, h2 {
        font-size: 22px;
        line-height: 1.36;
    }

    h2 {
        margin: 30px 0;
    }

    .content {
        margin: 0 40px;

        p {
            font-size: 12px;
        }
    }
}

@media screen and (max-height: 700px) {
body {
    padding: 30px 0;
}
}