@import url("https://fonts.googleapis.com/css?family=Lato:300,700,300italic,700italic");

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

:root {
    --color-black: #000;
    --color-grey1: #979fa7;
    --color-grey2: #657685;
    --color-grey3: #414d58;

    --color-primary: #1f68fc;
    --color-primary-hover: #0652ea;

    --color-success: #37b487;
    --color-success-hover: #2b976f;
    --color-warning: #ff8928;
    --color-warning-hover: #e77313;
    --color-warning-light: #ffe4cd;
    --color-danger: #dd4747;
    --color-danger-hover: #b92525;
    --color-danger-light: #ffe6e6;

    /* NOTE: Safari does not allow user-installed fonts https://stackoverflow.com/questions/59986432/safari-user-installed-fonts-dont-render */
    /* prettier-ignore */
    --font-main: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
    /* https://github.com/tailwindcss/tailwindcss/blob/b5e3f20a9cc89a417fc18e0844394485ce9a5ad9/src/plugins/css/preflight.css#L68 */
    line-height: 1.5;
    /* Prevents iOS from adjusting text size randomly... */
    -webkit-text-size-adjust: 100%;
    /*
    Allows the body to have min-height:100% which allows flex to take up 100% of the viewport
    and correctly works with mobile browsers (where 100vh includes toolbars).
    */
    height: 100%;
}

body {
    font-family: var(--font-main);
    overflow-wrap: break-word;
    /* Allows child elements to stretch to fill the remaining height */
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

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

a {
    text-decoration: none;
}

/* Allows child elements to stretch to fill the remaining height */
.fullHeightPassThrough {
    display: flex;
    flex: 1;
    flex-direction: column;
}

/***************************************************************************************************
* HEADER
***************************************************************************************************/
#header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
}

#header .logo {
    width: 100%;
    max-width: 300px;
}

#header .button_link {
    display: flex;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
    border-radius: 10px;
    padding: 20px 0;
    font-weight: bold;
    width: 200px;
}

#header .button_link:hover {
    background: var(--color-primary-hover);
}

#header .button_link .icon {
    width: 24px;
    margin: 0 10px 0 0;
}

/***************************************************************************************************
* HEADER
***************************************************************************************************/
main {
    margin: 40px;
}

main h1 {
    text-align: center;
    max-width: 600px;
    font-size: 1.2em;
    line-height: 1.45;
    margin: 0 auto 40px;
}

main h2 {
    font-size: 1.2em;
    line-height: 1.45;
    margin: 40px 0 0;
    text-align: center;
}

/***************************************************************************************************
* BANNER
***************************************************************************************************/
#banner {
    overflow: hidden;
    display: flex;
    justify-content: center;
    margin: 0 10px 40px;
}

#banner img {
    max-width: 900px;
    width: 100%;
    overflow: hidden;
}

/***************************************************************************************************
* FOOTER
***************************************************************************************************/
#footer {
    padding: 40px;
    background: #1c1c1c;
    display: flex;
    justify-content: center;
}

#footer_content {
    color: #fff;
    display: flex;
    width: 100%;
    max-width: 1000px;
    font-size: 14px;
}

#footer_content > div:not(:last-child) {
    padding: 0 120px 0 0;
}

#footer__links > div {
    margin: 0 0 15px;
}

#footer .footer__title {
    display: block;
    padding: 0 0 15px;
    font-size: 21px;
}

#footer .contact__section {
    margin: 10px 0;
}

#footer a {
    color: #fff;
}

@media screen and (max-width: 450px) {
    #footer {
        padding: 20px;
    }

    #footer_content {
        flex-direction: column;
    }

    #footer_content > div:not(:last-child) {
        margin: 0 0 30px 0;
    }
}
