body,
html {
    font-size: 16px;
    font-family: 'Lato', sans-serif;
}

body {
    background-color: #FFFFFF;
    height: 100%;
    width: 100%;
    margin: 0;
}

h2,
h3,
p,
li {
    color: #8f8f8f;
}

li {
    margin-left: 1.5rem;
}

ul {
    margin-bottom: 1rem;
}

h2 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 100%;
}

p {
    margin-bottom: 1.5rem;
}

.headline {
    position: relative;
    margin-bottom: 3rem;
}

.headline::after {
    content: "";
    position: absolute;
    bottom: -1rem;
    left: 0;
    display: inline-block;
    width: 3rem;
    border-bottom: 1px solid #3099d3;
}

.strong {
    font-weight: 900;
}

.container {
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
    text-align: left;
    overflow: hidden;
}


.header {
    .logo {
        padding-top: 1rem;
        padding-bottom: 1rem;

        .logo-img {
            max-width: 35rem;
        }
    }

    .menu {
        background: #eae6e7;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

.headerImg {
    background: url("../img/header-image.jpg") center no-repeat;
    background-size: cover;
    height: 35rem;
    width: 100%;
}

@media screen and (max-width: 1024px) {
    .headerImg {
        height: 20rem;
    }
}

.footer {
    background: #eae6e7;
    padding-top: 2rem;
    padding-bottom: 2rem;

    .container {
        text-align: center;
    }
}

.link {
    text-transform: uppercase;
    text-decoration: none;
    padding-right: 2rem;
    color: #a6a4a5;
    font-weight: 900;

    &:hover {
        color: #3099d3;
    }
}


.boxes {
    display: flex;
    flex-wrap: wrap;

    .box {
        /*flex: 0 1 calc(20% - 4px);*/
        width: calc(20% - 4px);
        background: #f8f8f8;
        color: #888888;
        margin: 2px;

        .box-inner {
            padding: 2rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            .icon {
                border-radius: 50%;
                background: #3099d3;
                height: 4rem;
                width: 4rem;
                min-height: 4rem;
                min-width: 4rem;
                margin-bottom: 1rem;
                display: flex;
                justify-content: center;
                align-items: center;

                .icon-img {
                    height: 2rem;
                    width: 2rem;
                }
            }
        }
    }
}

@media screen and (max-width: 700px) {
    .boxes .box {
        width: calc(50% - 4px);
    }
}

.icon-headline {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    width: 100%;

    .icon {
        border-radius: 50%;
        background: #3099d3;
        height: 4rem;
        width: 4rem;
        min-height: 4rem;
        min-width: 4rem;
        display: flex;
        justify-content: center;
        align-items: center;

        .icon-img {
            height: 2rem;
            width: 2rem;
        }
    }

    .text {
        color: #8f8f8f;
        font-size: 1.2rem;
        margin-left: 1rem;
        width: 100%;
        font-weight: 900;
    }
}

.content {
    margin-bottom: 2rem;
}

.contact {
    display: flex;

    .content-left {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
        width: 25%;
        margin-right: 3rem;

        .contact-img {
            width: 12rem;
        }
    }

    .content-right {
        .block {
            display: flex;
            flex-direction: row;
            margin-bottom: 1.5rem;

            .icon {
                width: 1.5rem;
                margin-right: 1rem;
            }

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

@media screen and (max-width: 600px) {
    .contact {
        .content-left {
            width: unset;

            .contact-img {
                width: 8rem;
            }
        }
    }
}

.jquery-modal {
    z-index: 1000;
}

.modal {
    max-width: 800px;
}

@media screen and (max-width: 640px) {
    .modal {
        max-width: 90%;
    }
}

.modal-content h1 {
    position: relative;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    text-align: center;
    color: #8f8f8f;
}

.modal-content h1:after {
    content: "";
    position: absolute;
    border-top: 2px solid #3099d3;
    left: 42%;
    bottom: 0;
    width: 15%;
    height: 0;
}

.modal-content h2 {
    font-size: 1.2rem;
    padding-top: 1.5rem;
}

.modal-content h2,
.modal-content h3 {
    text-align: left;
}

.modal-content p {
    color: #b2b2b2;
}

.modal-content p strong{
    padding-top: 1rem;
    color: #000000;
}

.modal-content ul,
.modal-content li {
    color: #b2b2b2;
}

.modal-content a {
    color: #3099d3;
    text-decoration: none;
}

.modal-content-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
