* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.header {
    /* color: #c23c0c; */
    color: #05265F;
    font-family: Garamond, serif;
    font-weight: bold;
    text-align: center;
    font-size: 48px;
    margin-top: 20px;
}

.content-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 20px;
}

.main {
    margin-right: 10px;
}

.image img {
    display: block;
    width: auto;
    max-width: 100%;
}

.right {
    background: #3274B0;
    color: white;
    font-family: Garamond, serif;
    text-align: center;
    padding: 15px;
    width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 2em;
    min-height: 474px;
}

.footer {
    font-family: Garamond, serif;
    background: #EAFCFF;
    padding: 20px;
    font-size: 1.5em;
    margin-top: 10px;
    width: 894px;
}


@media only screen and (max-width: 900px) {
    body {
        align-items: center;
    }

    .header {
        font-size: 36px;
        margin: 15px 50px 0 50px;

    }

    .content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .main,
    .right {
        width: 80%;
    }

    .right {
        margin-top: 10px;
        text-align: center; 
        min-height: auto;
    }

    .footer {
        width: 80%; 
    }

    .main img {
        padding-left: 10px;
        width: 100%; 
    }
}

@media only screen and (max-width: 620px) {
    .header {
        font-size: 24px;
        margin: 15px 50px 0 50px;

    }
}