/* BASIC CSS RESET */
html {
    box-sizing: border-box;
    font-size: calc(15px + 0.390625vw);
    font-family: "Roboto", Sans-serif;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h4,
h6,
p,
ol,
ul {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

img {
    max-width: 100%;
    height: auto;
}

/* END OF BASIC CSS RESET */
/**************************************************************************/

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top-banner,
.banner-box {
    min-height: 500px;
}

.banner-box,
.services-section,
.portfolio-section {
    max-width: 1200px;
}

.top-banner {
    background-image: url(/assets/img/back1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    display: flex;
    justify-content: center;
}

.banner-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.banner-box>div {max-width: 150px;}
.banner-box h1,
.banner-box p,
.banner-box h2 {
    margin: 20px 0;
    padding: 0 10px;
    text-align: center;
}

.banner-box h1 {
    color: #fff;
}

.banner-box p a,
.banner-box h2 {
    color: #D0D8EA;
}

.banner-box h1,
.banner-box p a {
    font-weight: 600;
}

.banner-box h1 {
    font-size: 2rem;
}

.banner-box p a {
    font-size: 1.5rem;
    text-decoration: none;
}

.banner-box h2 {
    font-size: 1.1rem;
}

.services-row,
.portfolio-row {
    width: 100%;
    background-color: rgba(208, 216, 234, 0.25);
    display: flex;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

.portfolio-row {
    background-color: #fff;
}

.services-section,
.portfolio-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-boxes,
.portfolio-boxes {
    display: flex;
    flex-wrap: wrap;
    padding: 0 20px;
    justify-content: center;
}

.service-box-1,
.service-box-2,
.service-box-3,
.portfolio-box-1,
.portfolio-box-2,
.portfolio-box-3,
.portfolio-box-4 {
    width: 31%;
    padding: 50px 20px;
    margin: 1%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #fff;
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.portfolio-box-1,
.portfolio-box-2,
.portfolio-box-3,
.portfolio-box-4 {
    padding: 20px;
    width: 22%;
}

.services-section h3,
.portfolio-section h3 {
    color: #43768b;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 10px;
    text-transform: uppercase;
}

.portfolio-section h3 {
    margin: 20px 0;
}

.services-section h4,
.portfolio-section h4 {
    color: #535353;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 10px;
}

.portfolio-section h4 {
    font-size: 1rem;
    margin: 10px 0;
}

.portfolio-boxes .subtitle {
    display: block;
    font-size: .8em;
    color: #535353;
    margin-top: 10px;
}

.services-section h5,
.portfolio-section h5 {
    font-size: 1rem;
    color: #477c92;
    margin: 10px;
}

.services-section p {
    color: #585858;
    font-size: 0.8rem;
    line-height: 1.5;
    font-weight: 400;
}

.site-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    background-color: #3a3a3a;
    color: #fff;
    font-size: 0.8rem;
}

@media (max-width: 767px) {

    .services-boxes,
    .portfolio-boxes {
        flex-direction: column;
    }

    .portfolio-section {
        width: 100%;
    }

    .service-box-1,
    .service-box-2,
    .service-box-3,
    .portfolio-box-1,
    .portfolio-box-2,
    .portfolio-box-3,
    .portfolio-box-4 {
        width: auto;
    }
}