@import 'https://fonts.googleapis.com/css?family=Lato:400,700';

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

body {
    font-family: 'Lato', sans-serif;
    background-color: hsl(214, 100%, 3.7%);
    color: white;
}

#page-wrapper {
    position: relative;
}

#header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #00060e;
    min-height: 75px;
    padding: 0px 20px;
}

#header-img {
    width: 5vw;
}

nav {
    font-weight: 400;
}

ul {
    width: 35vw;
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

li {
    list-style: none;
}

a {
    color: white;
    text-decoration: none;
}

#hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 200px;
    margin-top: 120px;
}

#hero h2 {
    margin-bottom: 20px;
}

#hero input[type="email"] {
    max-width: 275px;
    width: 100%;
    padding: 5px;
}

#hero input[type="submit"] {
    max-width: 150px;
    width: 150px;
    height: 30px;
    margin: 15px 0;
    border: 0;
    background-color: #3882F6;
    color: #E5E7EB;
    font-size: 15px;
    font-weight: 900;
}

#hero input[type="submit"]:hover {
    background-color: hsl(217, 91%, 49%);
    cursor: pointer;
}

.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

#features {
    margin-top: 30px;
}

#features .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 125px;
    width: 20vw;
}

#features .desc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 125px;
    width: 80vw;
    padding: 5px;
}

.grid {
    display: flex;
}

#how-it-works {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

#how-it-works iframe {
    max-width: 560px;
    width: 100%;
}

#pricing {
    width: 1000px;
    margin-top: 60px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: calc(100% / 3);
    margin: 10px;
    border: 1px solid #ffffff;
    border-radius: 3px;
}

.product .level {
    background-color: #00060e;
    color: white;
    padding: 15px 0;
    width: 100%;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 1px solid #ffffff;
}

.product h2 {
    margin-top: 15px;
}

.product ol {
    margin: 15px 0;
}

.product ol li {
    padding: 5px 0;
}

.product button {
    font-size: 1.2rem;
    width: 200px;
    height: 40px;
    border: 0;
    margin: 15px 0;
    background-color: #3882F6;
    color: white;
    font-weight: 400;
    cursor: pointer;
}

.product button:hover {
    background-color: hsl(217, 91%, 49%);
    transition: background-color 1s;
}

footer {
    width: 100%;
    margin-top: 30px;
    background-color: #00060e;
    padding: 20px;
}

footer ul {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

footer ul li {
    padding: 0 10px;
}

footer span {
    margin-top: 5px;
    display: flex;
    justify-content: flex-end;
    font-size: 0.9em;
    color: hsl(0, 0%, 43%);
}

@media (max-width: 900px) {
    #header {
        flex-direction: column;
        min-height: 100px;
        padding: 10px;
    }

    #header-img {
        width: 10vw;
        margin-bottom: 10px;
    }

    nav ul {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        padding: 10px 0;
    }

    #hero {
        margin-top: 250px;
        height: auto;
        padding: 20px;
    }

    #hero h2 {
        font-size: 1.5rem;
    }

    #features .grid {
        flex-direction: column;
        align-items: center;
    }

    #features .icon {
        width: 100%;
        height: 100px;
    }

    #features .desc {
        width: 100%;
        text-align: center;
    }

    #pricing {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .product {
        width: 80%;
        margin: 10px 0;
    }

    #how-it-works iframe {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    #header {
        padding: 5px;
    }

    #header-img {
        width: 15vw;
    }

    nav ul li {
        padding: 8px 0;
    }

    nav ul li a {
        font-size: 0.9rem;
    }

    #hero {
        margin-top: 240px;
        padding: 10px;
    }

    #hero h2 {
        font-size: 1.2rem;
    }

    #hero input[type="email"] {
        max-width: 200px;
    }

    #hero input[type="submit"] {
        width: 120px;
        font-size: 0.9rem;
    }

    #features {
        margin-top: 20px;
    }

    #features .icon {
        height: 80px;
    }

    #features .desc {
        height: auto;
        padding: 10px;
    }

    #how-it-works {
        margin-top: 30px;
    }

    #pricing {
        margin-top: 40px;
    }

    .product {
        width: 90%;
    }

    .product button {
        width: 150px;
        height: 35px;
        font-size: 1rem;
    }

    footer ul {
        flex-direction: column;
        align-items: center;
    }

    footer ul li {
        padding: 5px 0;
    }

    footer span {
        justify-content: center;
        text-align: center;
    }
}