* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    font-size: 16px;
    color: #177bc7;
    font-family: 'Nunito', sans-serif;
}

a {
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: none;
}

main {
    width: 100%;
    max-width: 768px;
    margin: auto;
    text-align: center;
    position: relative;
}

header {
    position: relative;
    z-index: -1;
}

img {
    width: 100%;
    vertical-align: middle;
}

section {
    max-width: 90%;
    margin: 1.5rem auto;
}

h1 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

h2 {
    color: #e49c46;
    font-weight: 900;
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

p span {
    color: #e49c46;
    font-weight: 900;
}

.smaller {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 4rem;
}

.smaller a {
    color: #177bc7;
    font-weight: 900;
    display: inline-block;
    line-height: 1.1;
    border-bottom: 2px solid #177bc7;
}

.subtitle {
    font-size: 1.65rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.contact-btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    border-top: 2px solid #2db3e5;
    padding-top: 0.5rem;
    margin: 0 auto 1.5rem auto;
}

.contact-btns p {
    width: 100%;
    font-size: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 900;
}

.contact-btns a {
    display: inline-block;
}

.btn-container {
    border: 2px solid #177bc7;
    border-radius: 100px;
    padding: 0.75rem 1.25rem;
    margin: auto;
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-container a:first-child {
    border-right: 2px solid #177bc7;
    padding-right: 0.5rem;
}

.btn-container a:last-child {
    padding-left: 0.5rem;
}

footer img {
    max-width: 380px;
}

@media screen and (max-width: 582px) {
    h2, .subtitle, .contact-btns p {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    .smaller {
        font-size: 0.8rem;
        max-width: 300px;
        margin: 1rem auto 4rem auto;
    }

    .btn-container {
        border: none;
        flex-direction: column;
        width: 100%;
    }

    .btn-container a:first-child {
        margin-bottom: 1.5rem;
    }

    .btn-container a:first-child,
    .btn-container a:last-child {
        border: none;
        padding: 0;
        border: 2px solid #177bc7;
        border-radius: 100px;
        padding: 0.25rem 2rem;
        width: 100%;
        min-height: 88px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-container a img {
        max-width: 250px;
    }
}