* {
    box-sizing: border-box;
}

body {
    background-color: lightpink;
    font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    padding: 1rem;
    margin: 0;
}
h1, p {
    margin-top: 0;
}

h1 {
    font-family: cursive;
    color:deeppink;
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    font-weight: 500;
    line-height: 1.5;
}

p:last-of-type {
    margin-bottom: 0;
}

.card {
    background-color: #fff;
    max-width: 500px;
    padding: 1.2rem;
    border: 6px dashed lightblue;
}

.signature {
    text-align: end;
    font-family: cursive;
}

@media all and (min-width: 500px) {
    h1 {
        font-size: 44px;
    }
    p {
        font-size: 20px;
    }
    .card {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        min-width: 400px;
        padding: 2rem;
    }
    .signature {
        font-size:24px;
    }
}