.align-right {
    text-align: right;
}

.align-center {
    text-align: center;
}

.show {
    visibility: visible;
}

.hide {
    visibility: hidden;
}

.ec__blue-bg {
    /* background-color: #34B1EE;
    z-index: 2;
    position: relative; */

    position: absolute;
    background-color: #34B1EE;
    height: 750px;
    z-index: -1;
    width: 100%;
    transform: skewY(-6.5deg);
    transform-origin: 0;
}

.ec__body {
    position: relative;
}

.ec__container {
    max-width: 960px;
}

.ec__title-text {
    font-family: 'Muli', sans-serif;
    font-size: 2.5em;
    font-weight: 800;
    color: #333333;
    line-height: 1.5em;
    text-align: center;
    margin-bottom: 30px;
}

.ec__subheading {
    color: #2785B4;
    font-family: 'Muli', sans-serif;
    font-size: 2em;
    font-weight: 700;
    line-height: 2em;
}

.ec__body-text {
    font-family: 'Muli', sans-serif;
    font-size: 1.5em;
    font-weight: 400;
    color: #333333;
    line-height: 1.5em;
    max-width: 550px;
    margin: 0 auto;
    margin-bottom: 1.5em;
}

/* Header */
.ec__header {
    padding-top: 50px;
    margin-bottom: 20px;

    font-family: 'Muli', sans-serif;
    color: #FFFFFF;
}

.ec__header__logo {
    max-width: 100px;
}

.ec__header__name {
    font-size: 3em;
    font-weight: 800;
    text-shadow: 4px 0 4px rgba(0, 0, 0, 0.25);
}

.ec__nav li {
    display: inline;
}

.ec__nav li a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.5em;
    padding-right: 1.5em;
    font-weight: 700;
}

.ec__nav li a:hover {
    text-shadow: 4px 0 4px rgba(255, 255, 255, 0.205);
}

/* Hero */
.ec__hero {
    color: #FFFFFF;
    font-family: 'Muli', sans-serif;
}

.ec__hero__content {
    padding-left: 55px;
}

.ec__hero__content h1 {
    font-size: 2em;
    font-weight: 800;
    margin-bottom: 60px;
    min-width: 240px;
    line-height: 1.2em
}

.ec__hero__content p {
    font-size: 1.5em;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.2em;
}

.ec__hero__button {
    display: block;
    text-decoration: none;
    color: #2785B4;
    margin-bottom: 30px;
    background: #ffffffff;
    font-size: 1.5em;
    font-weight: 600;
    padding: 20px 40px 20px 40px;
    border-radius: 20px;
    box-shadow: 6px 6px 14px rgba(0, 0, 0, 0.25);
    width: 230px;
    text-align: center;
}

.ec__hero__button:hover {
    box-shadow: 10px 10px 14px rgba(0, 0, 0, 0.25);
}

.ec__hero__button--inverse {
    margin: 0 auto;
    margin-top: 30px;
    width: 250px;
    background-color: #34B1EE;
    color: #ffffffff;
}

.ec__hero__phone {
    grid-area: phone;
    margin: 0 auto;
    margin-top: -50px;
    padding: 0;
}

.phone__outline {
    margin-top: 15px;
    width: 200px;
    text-align: center;
    background-color: white;
    padding: 27px 10px 15px 10px;
    border-radius: 31px;
    box-shadow: 6px 6px 14px rgba(0, 0, 0, 0.25);
    margin: 0 auto;
    margin-top: 60px;
}

.phone__button {
    width: 30px;
    height: 30px;
    border: 2px solid #34b1ee;
    border-radius: 25px;
    margin: 0 auto;
    margin-top: 0px;
    margin-top: 5px;
}

.phone__screenshot {
    border-radius: 9px;
}

.seperator {
    position: relative;
    z-index: 1;
}

/* .ec__blue-bg::after {
    content: '';
    position: absolute;
    left: 0;
    transform-origin: 100% 0;
    z-index: -1;
    transform: skewY(2.5deg);
    height: 100px;
    width: 100%;
    background: #34b1ee;
} */

.ec__about {
    margin-top: 180px;
    margin-bottom: 60px;
}

.ec__about__illustrations {
    text-align: center;
    margin-top: 100px;
}

.ec__news {
    margin-bottom: 120px;
}

.ec__news__image {
    text-align: center;
}

.ec__news__link {
    font-family: 'Muli', sans-serif;
    font-weight: 400;
    font-size: 1.5em;
    line-height: 1.5em;
    margin-bottom: 1.5em;
    display: block;
    color: #34B1EE;
    text-decoration: none;
}

.ec__team__bio {
    margin-bottom: 120px;
}

.ec__team__pic {
    text-align: center;
}

.ec__team__pic img {
    max-width: 300px;
}

.ec__team__bio-text {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}

.ec__signup-modal {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.83);
    overflow: hidden;
}

.ec__signup-card {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 5px;
}

.ec__signup-card__image {
    height: 150px;
    background-image: url(./images/Easy-EC-popup-background.jpg);
    background-position: center;
    background-size: cover;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.ec__signup-form {
    text-align: center;
}

.ec__signup-card__content {
    padding: 25px;
}

.ec__signup-card__email{
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #333333;;
    width: 265px;
}

.ec__signup-card__button {
    padding: 10px 30px 10px 30px;
    margin-top: 15px;
    border-radius: 5px;
    background-color: #34B1EE;
    border: none;
    color: white;
    cursor: pointer;
}

.ec__body-text--sign-up {
    text-align: center;
    margin-bottom: 15px;
}

.ec__signup__close-button {
    position: absolute;
    right: -10px;
    top: -10px;
    color: white;
    background-color: white;
    height: 25px;
    width: 25px;
    border-radius: 15px;
}

.ec__signup__close-button__x {
    color: black;
    font-family: 'Muli', sans-serif;
    margin-top: 1px;
    display: block;
    margin-top: -2px;
    cursor: pointer;
}

.ec__contact {
    text-align: center;
}

.ec__title-text--contact {
    margin-bottom: 0;
}

.ec__contact__link {
    color: #2785B4;
}

footer {
    text-align: center;
}

/*Bulma margin fix*/
.columns {
	margin: 0;
}

@media (max-width: 1350px) {
    .ec__blue-bg {
        height: 650px;
    }

    .ec__header {
        margin-bottom: 60px;
    }

    .ec__about {
        margin-top: 80px;
    }
}

@media (max-width: 1070px) {
    .ec__header__right {
        display: none;
    }

    .ec__title-text,
    .ec__subheading {
        text-align: center;
    }

    .ec__about {
        margin-bottom: 60px;
        margin-top: 80px;
    }

    .ec__hero {
        padding-left: 0;
        padding-right: 0;
    }

    .ec__body-text {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ec__news__link {
        padding: 10px;
    }

    .ec__hero__content h1 {
        font-size: 2.5em;
    }

    .ec__signup-card {
        width: 75%;
    }

    .ec__signup-card__email {
        width: 85%;
    }

    .ec__signup-card__image {
        height: auto;
    }
}

@media(max-width: 770px) {
    .ec__hero__content h1 {
        font-size: 2em;
    }
    
    .ec__nav {
        display: none;
    }

    .ec__hero__content  {
        text-align: center;
        padding-left: 12px;
    }
    
    .ec__hero__button {
        margin: 0 auto;
        margin-bottom: 60px;
    }

    .ec__header {
        margin-bottom: -10px;
        margin-left: -30px;
    }
}

@media screen and (min-width: 768px) {
	.columns {
	    margin-left: -0.75rem;
	    margin-right: -0.75rem;
	    margin-top: -0.75rem;
	}
}

p.dark-text{
    color: #333333;
    font-size: 1.2em;
}