.banner {
    background-position: top;
}

.inside-banner {
    margin-top: 2%;
}

.services {
    background-image: url(../../images/tile.png);
    background-color: rgba(255,255,255,0.6);
    background-blend-mode: lighten;
}

.container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 80%;
    margin: auto;
}

h2, h3 {
    text-align: center;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
}

.intro {
    width: 75%;
    margin: auto;
}

hr {
    width: 90%;
    border: 0;
    height: 1px;
    background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0)), color-stop(rgba(0, 0, 0, 0.75)), to(rgba(0, 0, 0, 0)));
    background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

.item {
    width: 55%;
    margin: 3% auto;
}

.item h3 {
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 4%;
}

.item p {
    font-size: 1.1em;
}

.image-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.image-container img {
    width: 40%;
    border-radius: 25px;
    -webkit-box-shadow: 0px 0px 36px 19px rgba(202,220,252,0.75);
            box-shadow: 0px 0px 36px 19px rgba(202,220,252,0.75);
}

.image-container p {
    width: 55%;
}

.outro {
    width: 75%;
    margin: 4% auto;
}

.outro h3 {
    margin-top: 0;
}

.buttons {
    margin: 3%;
}

@media only screen and (max-width: 1100px) {
    .inside-banner {
        margin-top: 3%;
    }

    .item {
        width: 75%;
    }

    .image-container img {
        width: 40%;
    }
}

@media only screen and (max-width: 850px) {

    .inside-banner {
        margin-top: 4%;
    }

    .container {
        width: 90%;
    }

    .intro {
        width: 85%;
    }

    .item {
        width: 70%;
    }

    .image-container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .item:nth-child(4n-7) div.image-container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
            -ms-flex-direction: column-reverse;
                flex-direction: column-reverse;
    }

    .image-container img {
        width: 70%;
        margin: 3%;
    }

    .image-container p {
        width: 85%;
    }

    .outro {
        width: 85%;
    }

}

@media only screen and (max-width: 700px) {

    .item {
        width: 85%;
    }

}
