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

.permanent-marker {
    font-family: "Permanent Marker", cursive;
    font-weight: 400;
    font-style: normal;
}

summary {
    padding-top: 2rem;
}

section {
    max-width: 600px;
    text-align: center;
    margin: auto;

    h1 {
        font-size: 3em;
        font-style: italic;
    }

    p {
        color: rgb(25, 28, 31);
    }
}

.nametag {
    margin: auto;
    display: flex;
    flex-direction: column;
    border-radius: 25px;
    background: #275BA5;
    width: 22em;
    height: 14em;

    div {
        text-align: center;
    }

    .line-1 {
        font-size: 4rem;
        line-height: 3.8rem;
    }

    .line-2 {
        font-size: 2.2rem;
        line-height: 2.8rem;
    }

    .top {
        flex-shrink: 1;
        color: white;
        font-weight: bold;
        font-family: Arial, Helvetica, sans-serif;
    }

    .signature {
        background-color: white;
        color: red;
        font-size: 7rem;
        flex-grow: 1;
    }

    .bottom {
        height: 2em;
    }
}

/* handle the nametag on narrow viewports */
@media screen and (max-width: 600px) {
    .nametag {
        zoom: 0.5;
        -moz-transform: scale(0.5);
    }

}