/* GLOBAL */
body {
    font: 17px / 1.5 -apple-system, BlinkMacSystemFont, sans-serif;

    padding: 0;
    margin: 0;

    background-color: #ffffff;

    color: #2C2C2E;
}

input:focus, textarea:focus {
    outline: none;
}

.container {
    width: 80%;
    overflow: hidden;
    margin: auto;
}

.title-container {
    width: 80%;
    margin: auto;
    padding: 32px 0;
    overflow: hidden;
}

.title-container h1 {
    font-size: 24px;
    text-transform: uppercase;
    font-weight: bold;
}

/* HEADER */
header {
    background-color: #3967A5;
    position: relative;
}

header img {
    width: 64px;
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
}

header nav {
    float: right;
    height: 100%;
    padding: 32px 0;
}

header nav #dropdown-menu {
    visibility: hidden;
}

header nav ul {
    list-style-type: none; /* Remove bullets */
    padding: 0;
    margin: 0;
}

header nav ul li {
    display: inline; /* Display horizontally */
    padding-left: 16px;
}

header nav ul li a {
    color: #ffffff;

    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;

    padding: 6px 8px;
}

header nav ul li a:hover {
    background-color: #ffffff;
    color: #3967A5;
    border-radius: 8px;
}

/* SHOWCASE */
#showcase {
    position: relative;
    background-color: #3967A5;
    color: #ffffff;
}

#showcase #showcase-text {
    float: left;
    padding: 50px 0;
}

#showcase #showcase-text h1 {
    font-size: 55px;
}

#showcase #showcase-text h3 {
    font-size: 20px;
}

#showcase #showcase-text #appstore-badge {
    min-height: 40px;
    min-width: 135px;
}

#showcase #promo-img {
    position: absolute;
    height: 100%;
    float: right;
    bottom: 0%;
    right: 10%;
}

/* FEATURES */
#features {
    padding-bottom: 64px;
}

#features .feature-item {
    box-sizing: border-box;
    width: 33.33%;
    float: left;
    padding-right: 64px;
}

#features .feature-item h3 {
    font-weight: bold;
    font-size: 22px;
    color: #3967A5;
}

/* CONTACT */
#contact {
    background-color: #E5E5EA;
    padding-bottom: 32px;
}

#contact .title-container {
    padding-top: 32px;
}

#contact #subject-input {
    width: 100%;
    margin: 8px 0;
    min-height: 30px;
    border: 1px solid gray;
    font-size: 15px;
    padding: 8px;
    font-weight: bold;
    border-radius: 4px;
    box-sizing: border-box; /* Resize with padding in mind */
}

#contact #message-input {
    width: 100%;
    padding: 8px;
    margin: 0;
    resize: none;
    border: 1px solid gray;
    min-height: 200px;
    font-size: 15px;
    border-radius: 4px;
    box-sizing: border-box; /* Resize with padding in mind */
}

#contact #submit-button {
    float: right;
    border: none;
    min-width: 150px;
    min-height: 32px;
    background-color: #3967A5;
    color: #ffffff;
    font-size: 17px;
    font-weight: bold;
    margin: 16px 0;
    border-radius: 8px;
}

#contact #success-message {
    float: left;
    font-size: 17px;
    margin: 16px 0;
    visibility: hidden;
}

/* FOOTER */
footer {
    margin-top: 32px;
    background-color: #3967A5;
    color: #ffffff;
    padding: 16px 0;
}

footer p {
    float: left;
}

footer a {
    float: right;

    color: #ffffff;

    text-decoration: none;
}

/* MEDIACLASSES */
@media only screen and (max-width: 768px) {
    body p {
        font-size: 15px;
    }

    #showcase #promo-img {
        float: none;
    }

    header img {
        position: relative;
        top: -50%;
        transform: (0, 50%);
        margin: auto;
    }

    header nav {
        float: none;
        height: auto;
    }

    header nav #dropdown-menu {
        visibility: visible;
    }

    header nav ul li {
        display: block;
        padding: 8px 0 0 0;
    }

    /* SHOWCASE */
    #showcase #showcase-text {
        padding-top: 0px;
    }

    #showcase #promo-img {
        position: relative;
        width: 100%;
        float: none;
        text-align: center;
        right: 0%;
    }

    /* FEATURES */
    #features .feature-item {
        float: none;
        width: 100%;
        padding: 0;
    }

    #features .feature-item h3 {
        font-size: 17px;
    }

    #contact #success-message {
        margin: 8px 0 0;
        float: right;
    }

    footer a {
        float: none;
    }
}