/* General Styling */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Source Serif 4", Times, serif;
    font-size: 18px;
    line-height: 32px;
    scroll-behavior: smooth;
}

@media screen and (max-width: 991px) {
    body {
        font-size: 16px;
    }
}

h1 {
    font-family: "Work Sans", Arial, Helvetica, sans-serif;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.16px;
    line-height: 56px;
    margin: 2rem 0;
    max-width: 800px;
}

@media screen and (max-width: 991px) {
    h1 {
        font-size: 36px;
        line-height: 44px;
    }
}

h2 {
    font-family: "Work Sans", Arial, Helvetica, sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    margin: 2rem 0;
    max-width: 800px;
}

@media screen and (max-width: 991px) {
    h2 {
        font-size: 24px;
        line-height: 28px;
    }
}

h3 {
    font-family: "Work Sans", Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    margin: 2rem 0;
    max-width: 800px;
}

@media screen and (max-width: 991px) {
    h3 {
        font-size: 18px;
        line-height: 24px;
    }
}

p {
    max-width: 800px;
    margin: 2rem 0;
}

img {
    width: 100%;
    height: auto;
}

a {
    color: #1C5DBA;
    text-decoration: underline;
    font-style: italic;
    font-weight: 600;
}

a:hover {
    color: #19405B;
}

/* Tophat */
.iowa-tophat,
.iowa-tophat .iowa-tophat-inner a {
    color: #fff;
    text-decoration: none
}

.iowa-tophat {
    background: #171818;
    font-family: "Work Sans", Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.02rem;
    width: 100%
}

.iowa-tophat .iowa-tophat-inner {
    width: 100%;
    padding: 0 3rem;
    height: 48px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center
}

.iowa-tophat .iowa-tophat-inner a {
    font-style: normal;
}

.iowa-tophat .iowa-tophat-inner a:last-child {
    margin-left: 1.5rem
}

.iowa-tophat .iowa-tophat-inner a:hover {
    text-decoration: none;
    border-bottom: 2px solid #fff
}

.iowa-tophat .iowa-tophat-inner .iowa-tophat-how-you-know {
    font-weight: 900
}

@media screen and (max-width: 991px) {
    .iowa-tophat {
        font-size: 12px
    }

    .iowa-tophat .iowa-tophat-inner {
        padding: 0 1rem
    }

    .iowa-tophat .iowa-tophat-inner a:last-child {
        margin-left: 1rem
    }

    .iowa-tophat .iowa-tophat-inner .iowa-tophat-right {
        display: none
    }
}

/* Header/Footer */
#footer,
#header {
    margin: 4rem 0;
}

#footer section,
#header section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

#footer img,
#header img {
    width: 200px;
    height: auto;
    margin-right: 0;
    margin-bottom: 2rem;
}

@media screen and (min-width: 991px) {

    #footer img,
    #header img {
        margin-right: 2rem;
        margin-bottom: 0;
    }
}

#footer p,
#header p {
    font-family: "Work Sans", Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    margin: 0;
}

@media screen and (min-width: 991px) {

    #footer section,
    #header section {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 0;
    }

    #header img {
        margin-bottom: 0;
    }
}

/* Sections Margins */
#section-1,
#section-1-image,
#section-2,
#section-2-image,
#step-2-tips {
    margin: 4rem 0;
}

@media screen and (max-width: 959px) {
    #section-2 {
        margin-bottom: 0;
    }
}

/* Step Dividers */
#step-1-divider,
#step-2-divider,
#step-3-divider {
    position: relative;
}

#step-1-divider::after,
#step-2-divider::after,
#step-3-divider::after {
    content: "";
    height: 1px;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: -1;
}

#step-1-divider::after {
    background-color: #70C8B8;
}

#step-2-divider::after {
    background-color: #19405B;
}

#step-3-divider::after {
    background-color: #C6D667;
}

/* General Adjustments */
/* Steps Images */
#steps-images img {
    display: block;
    width: 80%;
    margin: 0 auto;
}

@media screen and (max-width: 959px) {
    #steps-images img {
        width: 60%;
    }
}

/* Section 2 text over background */
#section-2-second-image {
    position: relative;
}

#section-2-second-image>div p:nth-child(2) {
    font-weight: 600;
}

#section-2-second-image>div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-right: 60rem;
}

@media screen and (max-width: 1199px) {
    #section-2-second-image>div {
        padding-right: 50rem;
    }
}

@media screen and (max-width: 991px) {
    #section-2-second-image>div {
        padding-right: 30rem;
    }
}

@media screen and (max-width: 767px) {
    #section-2-second-image {
        margin: 6rem 0;
    }

    #section-2-second-image>div {
        left: 3rem;
        transform: translateY(-50%);
        right: 3rem;
        background: white;
        border-radius: 5px;
        border: 1px solid #C6D667;
        padding: 1rem 3rem;
    }
}

@media screen and (max-width: 540px) {
    #section-2-second-image {
        margin: 10rem 0;
    }
}

/* Step 3 image over curved background with text */
#step-3-image {
    position: relative;
    overflow: hidden;
    padding-bottom: 4rem;
}

#step-3-image img {
    width: 400px;
    margin: 0 auto;
    display: block;
}

#step-3-image p {
    margin: 0 auto;
    max-width: 520px;
}

#step-3-image .bg-circle {
    position: absolute;
    display: block;
    width: 150%;
    height: 500px;
    background-color: #C6D667;
    z-index: -1;
    border-radius: 50%;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
}

/* Resources / Footer */
#resources {
    background-color: #19405B;
    overflow: hidden;
    padding: 4rem 0;
    padding-bottom: 6rem;
    text-align: center;
    color: white;
}

#resources div h2,
#resources div h3,
#resources div p {
    max-width: unset;
}

#resources a {
    color: white;
}

#resources div section {
    width: 100%;
}

#resources div section article a {
    color: white;
    font-family: "Work Sans", Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
}

#resources div section article a img {
    height: 125px;
    width: auto;
}

#resources div section:nth-child(1) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#resources div section:nth-child(2) {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 3rem;
}

@media screen and (max-width: 959px) {
    #resources div section:nth-child(2) {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
}

#resources div section article {
    width: 15%;
}

@media screen and (max-width: 959px) {
    #resources div section article {
        width: 100%;
    }
}

/* Stay informed dashes */
.stay-informed {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.stay-informed:after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: calc(100% + 15px);
    width: 120px;
    height: 3px;
    /*  background-color: #B6E5C1;  */
    background-color: #ffffff;
}

.stay-informed:before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: calc(100% + 15px);
    width: 120px;
    height: 3px;
    /*  background-color: #B6E5C1;  */
    background-color: #ffffff;
}


/* Random */
@media screen and (max-width: 959px) {
    #step-2-tips ul li img {
        width: 220px;
    }
}

@media(max-width: 576px) {
    .phone-numbers span {
        display: block;
    }
}

#step-1 h2 {
    color: #1C5DBA;
    font-style: italic;
}

#step-2 h2,
#step-2 h3 {
    color: #03617A;
    font-style: italic;
}

#step-3 h2 {
    color: #19405B;
    font-style: italic;
}

#step-3 ul {
    padding: 0;
    list-style: none;
}

#step-3 ul li {
    background-image: url('../images/icons/forward.svg');
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: left 7px;
    padding-left: 24px;
    color: #19405B;
}

#step-2-tips h3 {
    color: #19405B;
}

/* Remove list style */
.no-list-style {
    list-style-type: none;
    padding: 0;
}