.content-box {
    padding: 0 8vw;
}

body {
    background-color: #fff;
}

@media screen and (max-width: 1300px) {
    .content-box {
        padding: 0 10px;
    }

    body {
        background-size: 1300px auto;
    }
}

@media screen and (max-width:768px) {
    header {
        text-align: center;
    }
}

#main-header {
    padding: 1rem 0 0 0;
    background: url(/img/headersp.png) top left no-repeat;
    background-size: cover;
}

#logo {
    display: inline-block;
    margin: 0 0 0 1rem;
    width: 120px;

}

#logo img {
    width: 100%;
    height: auto;
    margin: 0 20px 0;
}

#hero-header {
    padding: 3.5rem 0 8rem 0;
}

.button-main {
    background: #334FA9;
    display: inline-block;
    padding: 0.5rem 1rem 0.5rem 1rem;
    text-transform: uppercase;
    border-radius: 8px;
    margin-top: 1.3rem;
    font-family: 'Raleway', sans-serif;
    font-weight: bolder;
    color: #fff;
    box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
    border: 2px solid #334FA9;
}

.button-main:hover {
    background: #fff;
    color: #334FA9;
    border: 2px solid #334FA9;
    box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
}

.button-secondary {
    background: #fff;
    display: inline-block;
    padding: 0.5rem 1rem 0.5rem 1rem;
    text-transform: uppercase;
    border-radius: 8px;
    margin-top: 1.3rem;
    font-family: 'Raleway', sans-serif;
    font-weight: bolder;
    color: #334FA9;
    box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
    border: 2px solid #fff;
}

.button-secondary:hover {
    background: #334FA9;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
}

#cta {
    margin-top: -3vw;
    padding: 3vw 0 4vw 0;
    background: url(/img/blob1.png) top left no-repeat;
    background-size: 130%;
    margin-bottom: 4rem;
    overflow: hidden;
    clear: both;
}

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

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

#intro {
    margin-top: 3rem;
    position: relative;
    padding-bottom: 18rem;
}

#intro .column-2 {
    padding-top: 2rem;
}

.column-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    overflow: hidden;
    padding: 0 0 0.6rem 0;
}

.column-3 {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    overflow: hidden;
    padding: 0 0 0.6rem 0;
}

.column-2 > div {
    width: 48%;
    height: auto;
    margin-left: 0;
    margin-right: 0;
}

#intro-text {
    margin-top: 2rem;
    margin-left: -1rem;
}

#portrait-img {
    text-align-last: end;
    z-index: -1;
}

#portrait-img img {
    max-height: 580px;
    width: auto;
    margin-top: -2rem;
    margin-right: -1rem;
}

#quote {
    margin-top: -4rem;
    padding: 1vw 0 4vw 0;
    background: url(/img/blob2.png) top left no-repeat;
    background-size: 135%;
    position: absolute;
    z-index: 1;

}

#quote-text {
    margin-top: 4rem;
    padding: 2rem 4rem 0.5rem 4rem;
}

#quote-text p {
    margin-top: 1rem;
}

#tag {
    display: flex;
    justify-content: flex-end;
    margin-right: 12%;
    margin-top: -2rem;
    position: relative;
    z-index: 2;
    overflow: hidden;
    clear: both;
}

#quote .button-secondary {
    margin-top: 1rem !important;
}


#intro,
#copyright {
    margin: 0 auto;
    overflow: hidden;
    clear: both;
}

footer {
    margin-top: 8rem;
    overflow: hidden;
    clear: both;
    padding-top: 2rem;
    position: relative;
}

#contact {
    line-height: 1.5;
}

#contact p {
    margin-bottom: 0.4rem;
}

#contact ul li,
#email,
#street,
#street,
.tel,
#web {
    position: relative;
    margin-left: 0.5rem;
}

#contact ul li:before {
    content: "";
    position: absolute;
    display: inline-block;
    background: #334FA9;
    top: 0.3rem;
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 50%;
    vertical-align: middle;
    line-height: 1;
    left: -0.5rem;
}


.column-3 > div {
    width: 33.333%;
    height: auto;
    margin: 0 auto !important;
}

#middle,
#adress {
    margin-left: 5rem;
    line-height: 1.7;

}

#middle a,
#adress a,
.legal {
    color: #222222 !important;
    text-align: left !important;
}

#mail:before {
    content: "";
    position: absolute;
    display: inline-block;
    background: url(/img/mail.svg);
    color: #334FA9;
    top: 0.3rem;
    left: -1rem;
    width: 13px;
    height: 9px;
    vertical-align: middle;
    line-height: 1;

}

#site:before {
    content: "";
    position: absolute;
    display: inline-block;
    background: url(/img/www.svg);
    color: #334FA9;
    top: 0.1rem;
    left: -1rem;
    width: 13px;
    height: 14px;
    vertical-align: middle;
    line-height: 1;

}

#street:before {
    content: "";
    position: absolute;
    display: inline-block;
    background: url(/img/where.svg);
    color: #334FA9;
    top: 0rem;
    left: -1rem;
    width: 10px;
    height: 13px;
    vertical-align: middle;
    line-height: 1;

}

.tel:before {
    content: "";
    position: absolute;
    display: inline-block;
    background: url(/img/call.svg);
    color: #334FA9;
    top: 0.1rem;
    left: -1rem;
    width: 12px;
    height: 12px;
    vertical-align: middle;
    line-height: 1;

}

.legal {
    margin-top: 2rem;
}
.data {
     display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow: hidden;
    padding: 0 0 0.6rem 0;
}



@media screen and (max-width: 1280px) {
    .content-box {
        width: 94%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 1280px) and (min-width: 831px) {

    #logo {
        width: 80px;
    }

    #logo img {
        margin: 0;
    }

    #portrait-img img {
        max-height: 460px;
        width: auto;

    }

    #tag {
        margin-top: -1rem;
        margin-right: 10%;
    }

    #quote {
        margin-top: -6rem;
    }

    #contact ul li:before {
        top: 0.7rem;
    }

    #mail:before,
    #site:before {
        top: 0.8rem;
        left: -1.3rem;
    }

    .tel:before,
    #street:before {
        top: 0.3rem;
        left: -1.2rem;
    }

    footer {
        margin-top: 0;
    }

}

@media screen and (max-width: 830px) and (min-width: 769px) {
    #quote {
        margin-top:-6rem;
    }
     #contact ul li:before{
        left:-0.7rem;
        top:1rem;
    }
    #mail:before,
    #site:before, #steet:before{
        left: -1.4rem;
        top: 0.7rem;
    }
     #portrait-img {
    text-align-last: center!important;
    }
    
}

@media screen and (max-width: 768px) {

    .content-box {
        padding: 0;
        margin: 0 auto;
    }

    #logo {
        width: 130px;
        margin: -30px 0 0 -15px;
        display: block;
    }

    #main-header {
        padding: 1rem 0 0 0;
        background: url(/img/headerspmobil.png) right center no-repeat;
        background-size: 130%;

    }

    #hero-header {
        padding: 1rem 0 2rem 0;
    }

    .button-main {
        font-size: 16px;
        padding: 0.5rem 1rem !important;
        margin-top: 1rem;
    }

    #cta {
        background-size: cover;
        margin-top: -6vw;
        margin-bottom: 0rem;
        padding: 2vw 0 2vw 0;

    }

    .button-secondary {
        margin-top: 1rem;
        margin-bottom: 1.5rem;
        font-size: 15px;
        padding: 0.5rem 0.75rem !important;

    }

    .column-2,
    .column-3,
    .column-3 > div,
    .column-2 > div {
        width: 100% !important;
        height: auto;
        padding-left: 3px;
        padding-right: 0;
        display: block;
    }

    #intro {
        padding-bottom: 23rem;
    }

    #intro-text {
        margin: 0;
    }

    #portrait-img img {
        margin: 3rem 0;
    }

    #quote {
        background-size: cover;
        margin-top: -5rem;
        background-color: #334FA9;
    }

    #tag {
        justify-content: center !important;
        margin-right: 0;
    }

    #quote-text {
        padding: 1rem 1.5rem 0.5rem 1.5rem;


    }



    #quote-text .button-secondary {
        margin-bottom: 3.5rem;
    }

    footer {
        margin-top: 2rem !important;
        padding-left: 8px;

    }

    .column-3 > div {
        display: block;

    }

    #middle,
    #adress {
        margin: 0.5rem 0 0.5rem 0.5rem !important;
    }

    #mail:before,
    #site:before {
        left: -1.1rem;
        top: 0.5rem;
    }

    #street:before {
        top: 0.1rem;
    }

    .tel:before {
        top: 0.2rem;
        left: -1.1rem;
    }

}
@media screen and (max-width: 767px)and (min-width: 659px) {
    #cta {
        margin-top:-2rem;
    }
    #main-header {
        padding: 1rem 0  0;
        background: url(/img/headerspmobil.png) top right no-repeat;
        background-size: 100%;

    }
    #hero-header p {
        font-size:16px;
    }
    .button-main {
        margin-bottom: 1rem;
    }
    #portrait-img {
        text-align-last: center!important;
    }
    #portrait-img img{
        width:320px;
        height: auto;
    }
    #quote {
        margin-top:-8rem;
    }
    #quote-text {
        margin-top:7rem;
    }
    #contact ul li:before{
        left:-0.7rem;
        top:1rem;
    }
    
}
