h1 {
    font-size: 1.75rem;
}

h2 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
}

.text-wrapper a {
    color: black;
    text-decoration: underline;
}

.text-wrapper a:hover {
    color: #00818A;
}

.flex {
    position: relative;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.image-container {
    width: fit-content;
    height: 100%;
    margin: auto 0;
    text-align: center;
}

.logo {
    width: 100%;
    height: auto;
    padding: 10% 10% 0 10%;
}

.text-wrapper {
    width: 100%;
    padding: 16px 5% 32px;
}

.text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.flex * {
    flex: 1 1 auto;
}

.pink {
    background-color: #78013B;
    color: white;
}

.green {
    background-color: #00818A;
    color: white;
}

.no-wrap {
  text-wrap: nowrap;
}

#back {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
}

@media screen and (min-width: 576px) {
    .flex {
        align-items: center;
    }

    .logo {
        height: auto;
        width: 90%;
        padding: 40px 10% 0;
    }
}

@media screen and (min-width: 576px) and (min-height: 400px) {
    .logo {
        height: auto;
        width: 90%;
    }
}

@media screen and (min-width: 768px) {
    .flex {
        flex-direction: row;
    }

    .text-wrapper {
        padding: 40px 5%;
    }

    .flex .text-wrapper {
        width: 60%;
        padding: 40px 5%;
    }

    .image-container {
        width: 40%;
        padding: 5% 0 5% 5%;
        text-align: center;
    }

    .logo {
        width: 100%;
        height: auto;
        padding: 0;
    }
}

@media screen and (min-width:992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    p {
        font-size: 1.25rem;
    }
    
    .text-wrapper {
        padding: 40px 64px;
    }
}

@media screen and (min-width: 1400px) {
    .flex {
        align-items: stretch;
    }

    .image-container {
        padding-left: max(69.9px, 10%);
        height: unset;
    }

    .flex .image-container, .flex .text-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo {
        max-width: 500px;
    }

    .flex .text-wrapper {
        padding-right: max(69.9px, 10%);
    }
    
    .block-body > .text-wrapper {
        padding-left: max(69.9px, 10%);
        padding-right: max(69.9px, 10%);
    }

    #back {
        padding: 48px 5%;
    }
}