:root {
    --primary: #2962FF;
    --secondary: #FF0000;
}
  
html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'PT Sans', sans-serif;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

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

.clear {
    display: block;
    clear: both;
    width: 100%;
}

.clear-50 {
    display: block;
    clear: both;
    width: 100%;
    height: 50px;
}

section {
    display: block;
    clear: both;
    padding: 125px 0;
    text-align: center;
}

.hasribbon section {
    padding: 50px 0 125px;
}

p {
    font-family: 'PT Sans', sans-serif;
    line-height: 1.6;
    font-size: 17px;
    color: #666;
    margin: 0 0 30px 0;
}

p:last-child {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'PT Sans Narrow', sans-serif;
    margin: 0 0 30px 0;
    font-weight: 400;
    font-size: 35px;
    padding: 0;
    line-height: 1.2;
}

h3 {
    font-size: 25px;
    margin: 30px 0;
}

#signup h3 {
    font-size: 35px;
    margin: 0 0 30px;
}

h6 {
    font-size: 30px;
}

.button {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
    width: 150px;
    text-align: center;
    height: auto;
    padding: 10px 20px;
    text-decoration: none;
    -webkit-transition: 300ms ease all;
    transition: 300ms ease all;
    display: block;
    clear: both;
    margin: 0 auto;
    font-size: 16px;
    font-size: 400;
}

.button.green {
    border: 2px solid var(--primary);
    color: #fff;
    background-color: var(--primary);
    width: 200px;
    height: auto;
    padding: 10px 20px;
    text-decoration: none;
}

input:hover[type="submit"],
.button:hover,
.button:focus,
.button.green:hover,
.button.green:focus {
    border: 2px solid var(--secondary);
    color: #fff;
    background-color: var(--secondary);
}

.textlink {
    color: var(--primary);
    text-decoration: none;
    -webkit-transition: 300ms ease color;
    transition: 300ms ease color;
}

.textlink:hover,
.textlink:focus {
    color: var(--primary);
}

ul {
    float: left;
    width: 100%;
    margin: 30px 0 50px 0;
    padding: 0;
    list-style: none;
}

ul li {
    float: left;
    width: 32%;
    margin: 0 2% 0 0;
    padding: 0 20px;
    list-style: none;
}

ul li:last-child {
    margin-right: 0;
}

.row {
    float: left;
    width: 100%;
}

.left {
    float: left;
    width: 50%;
    text-align: left;
    padding: 0 20px;
}

.right {
    float: right;
    width: 50%;
    text-align: left;
    padding: 0 20px;
}

.white-bg {
    background-color: #fff;
}

.grey-bg {
    background-color: #f8f8f8;
}

header {
    background-color: #fff;
    padding: 25px 0;
}

footer {
    background-color: #222;
    padding: 25px 0;
}

footer p {
    margin: 0;
    color: #fff;
    font-size: 13px;
    text-align: center;
}

#hero {
    background-image: url('img/hero.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 125px 0;
    text-align: left;
    position: relative;
    z-index: 1;
}

#hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

#hero .container {
    position: relative;
    z-index: 3;
}

#hero h1 {
    color: #fff;
}

#hero p {
    color: #fff;
}

#testimonial {
    padding: 0;
}

#testimonial .container {
    position: relative;
    padding: 125px 0;
}

#testimonial img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 450px;
}

.left img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.pull-left {
    float: left;
    clear: none;
}

.pull-right {
    float: right;
    clear: none;
}

.logo {
    height: 50px;
    width: 200px;
    background-repeat: no-repeat;
    background-size: contain;
    overflow: hidden;
    text-indent: -9999px;
    display: block;
    float: left;
}

#signup {
    padding: 75px 0;
}

#testimonial img.reviews {
    float: left;
    width: 150px;
    position: relative;
    right: auto;
    bottom: auto;
    height: auto;
    margin: 30px 0 0 0;
}

#content i.material-icons {
    font-size: 50px;
    padding: 20px;
    color: var(--secondary);
    border-radius: 50%;
    border: 5px solid var(--primary);
}

.textlink i.material-icons {
    font-size: 20px;
    color: var(--secondary);
    float: left;
    margin: 0 10px 0 0;
}

form {
    display: block;
    max-width: 90%;
    width: 600px;
    margin: 0 auto;
}

label {
    float: left;
    width: 100%;
    margin: 0 0 10px 0;
}

input[type="text"],
input[type="email"] {
    float: left;
    width: 100%;
    border: 1px solid #ddd;
    background-color: #fff;
    padding: 15px 20px;
    margin: 0 0 20px 0;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    font-family: 'PT Sans', sans-serif;
    color: #222;
}

img.ribbon {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 0 0 50px 0;
}

textarea {
    float: left;
    width: 100%;
    border: 1px solid #ddd;
    background-color: #fff;
    padding: 20px 20px;
    margin: 0 0 20px 0;
    height: 200px;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    font-family: 'PT Sans', sans-serif;
    color: #222;
}

input[type="submit"] {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
    width: 150px;
    text-align: center;
    height: auto;
    padding: 10px 20px;
    text-decoration: none;
    -webkit-transition: 300ms ease all;
    transition: 300ms ease all;
    display: block;
    clear: both;
    margin: 0 auto;
    cursor: pointer;
    line-height: 1.6;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    font-size: 400;
}

@media all and (max-width:1000px) {

    .container {
        max-width: 90%;
    }

}

@media all and (max-width:900px) {

    .left,
    .right {
        width: 100%;
        text-align: center;
    }

    #additional .left {
        margin: 0 0 30px 0;
    }

    #testimonial img {
        display: none;
    }

    #testimonial img.reviews {
        display: block;
        float: none;
        margin: 30px auto 0;
    }

    .textlink i.material-icons {
        top: 3px;
        float: none;
        position: relative;
    }

    .pull-left,
    .pull-right {
        float: none;
    }

    header .pull-right {
        float: right;
    }

}

@media all and (max-width:700px) {

    ul li {
        width: 100%;
        margin: 0 0 30px 0;
    }

    ul li:last-child {
        margin: 0 0 0 0;
    }

}

@media all and (max-width:450px) {

    .logo {
        width: 100%;
        height: 90px;
        background-position: center center;
        margin: 0 0 30px 0;
    }

    header .button {
        width: 100%;
    }

}

@media all and (max-width:350px) {

    .logo {
        height: 70px;
    }

}