@media only screen and (max-width: 1199px) {
    
    body * {
        font-size: 18px;
    }
    
    h1, h2 {
        font-size: 50px;
    }
    
    p.headline {
        font-size: 26px;
    }
    
    section.fold div.headline {
        height: 160px;
        padding-top: 22px;
    }
    
    section.fold div.headline::before {
        border-width: 8px;
        border-bottom-right-radius: 80px;
        border-top-right-radius: 80px;
    }
    
    section.fold div.intro-wrapper div.intro {
        bottom: 15px;
        left: 15px;
        position: absolute;
    }
    
    section.fold div.intro-wrapper div.intro div.text {
        margin: 0;
    }
    
}

@media only screen and (max-width: 991px) {
    
    body * {
        font-size: 16px;
    }
    
    h1, h2 {
        font-size: 45px;
    }
    
    section.fold div.headline h1 {
        font-size: 36px;
    }
    
    .button, .button:hover {
        font-size: 18px;
        padding: 18px 25px;
    }
    
    section.fold div.headline {
        height: 120px;
        padding-top: 18px;
    }
    
    section.fold div.headline::before {
        border-width: 5px;
        border-bottom-right-radius: 60px;
        border-top-right-radius: 60px;
    }
    
    section.fold div.intro-wrapper div.intro div.text {
        max-width: 200px;
    }
    
    section.fold div.intro-wrapper div.intro div.text p:nth-last-child(1), section.fold div.intro-wrapper div.intro div.text p:nth-last-child(2) {
        display: none;
    }
    
    p.headline {
        font-size: 24px;
    }
    
    section.cont-wrapper div.stabile img {
        display: block;
        float: none;
        margin: 0 auto;
    }
    
    section.technologies div.tech-box div.inner {
        margin-bottom: 150px;
    }
    
    section.the-A-team div.member:nth-of-type(n) {
        margin-left: 30px;
        margin-right: 60px;
    }
    
    section.the-A-team div.member:nth-of-type(5n + 3) {
        margin-right: 0;
    }
    
    section.the-A-team div.member:nth-of-type(5n + 4) {
        margin-left: 150px;
    }
    
    section.career-subpage ul.job-categories li a {
        background-size: 50px auto;
        font-size: 24px;
        padding: 20px 10px 20px 65px;
    }

    section.career-subpage div.cover {
        padding-top: 45%;
    }

    section.career-subpage div.top-box {
        margin-bottom: 20px;
        padding: 20px;
    }

    section.career-subpage div.top-box h3 {
        background-size: 24px auto;
        font-size: 20px;
        padding-left: 30px;
    }

    section.career-subpage div.top-box ul li {
        font-size: 14px;
    }

    section.career-subpage div.boxes-row div.col {
        flex-basis: 48%;
    }

}

@media only screen and (max-width: 767px) {
    
    section.fold {
        background: url('../img/fold-sm-bg.png') no-repeat center top;
        background-size: 100% 100%;
        /*height: auto;*/
    }
    
    section.fold div.header {
        margin-bottom: 50px;
        position: relative;
    }
    
    section.fold div.header::before {
        background-color: rgba(255, 255, 255, 0.4);
        bottom: 0;
        content: '';
        height: 2px;
        left: 15px;
        position: absolute;
        width: calc(100% - 30px);
    }
    
    section.fold div.header a.logo {
        background-image: url('../img/logo-light.svg');
        margin: 20px 0;
        width: 120px;
    }
    
    section.fold div.header a.lang {
        border: none;
        border-radius: 0;
        margin: 35px 0 0 0;
        padding: 0;
    }
    
    section.fold div.headline {
        height: auto;
        padding: 0;
    }
    
    section.fold div.headline::before {
        display: none;
    }
    
    section.fold div.headline h1 {
        text-align: center;
    }
    
    section.fold div.intro-wrapper div.intro {
        margin: 0 auto;
        position: relative;
        bottom: auto;
        left: auto;
    }
    
    section.fold div.intro-wrapper div.intro div.text {
        margin: 15% auto 20% auto;
        max-width: 220px;
    }
    
    section.fold div.intro-wrapper div.intro div.text p, section.fold div.intro-wrapper div.intro div.text p b {
        color: #fff;
        text-align: center;
    }
    
    section.fold div.intro-wrapper div.intro .button, section.fold div.intro-wrapper div.intro .button:hover {
        background-color: #fff;
        color: #565656;
        display: table;
        margin: 0 auto;
    }
    
    section.fold div.intro-wrapper div.intro .button::before, section.fold div.intro-wrapper div.intro .button::after {
        display: none;
    }
    
    section.the-A-team div.dt.auto {
        width: 460px;
    }
    
    section.the-A-team div.member:nth-of-type(n) {
        margin-left: 30px;
        margin-right: 60px;
    }
    
    section.the-A-team div.member:nth-of-type(3n + 2) {
        margin-right: 0;
    }
    
    section.the-A-team div.member:nth-of-type(3n + 3) {
        margin-left: 150px;
    }
    
    footer {
        padding: 40px 0 30px 0;
    }
    
    footer div.social-media, footer div.copyright {
        text-align: center;
    }
    
    footer div.social-media {
        padding-bottom: 20px;
        padding-top: 0;
    }
    
}

@media only screen and (max-width: 560px) {
    
    .button, .button:hover {
        font-size: 16px;
        padding: 16px 20px 13px 20px;
    }
    
    p, div.mobile-c {
        text-align: center;
    }
    
    p.headline {
        font-size: 20px;
    }
    
    h1, h2, h1.with-sep {
        display: block;
        margin: 0 auto;
        font-size: 35px;
        text-align: center;
    }
    
    h1.with-sep {
        margin-bottom: 15px;
        padding-bottom: 5px;
    }
    
    .padd-side-base {
        padding-left: 0;
        padding-right: 0;
    }
    
    section.cont-wrapper ul.list {
        display: table;
        margin: 20px auto;
    }
    
    section.technologies, section.cont-wrapper {
        padding: 50px 20px;
    }
    
    section.references div.buttons {
        margin-left: auto;
        margin-right: auto;
    }
    
    section.reference-subpage div.back, section.career-subpage div.back {
        text-align: center;
    }
    
    section.reference-subpage div.details {
        display: table;
        margin: 0 auto 20px auto;
    }
    
    section.reference-subpage div.details a {
        display: block;
        float: none;
        margin-bottom: 10px;
        text-align: center;
    }
    
    section.reference-subpage div.details a:last-of-type {
        margin-right: 0;
    }
    
    section.reference-subpage div.video-wrapper {
        margin-bottom: 30px;
    }

    section.career-subpage ul.job-categories {
        display: table;
        margin: 0 auto;
    }
    
    section.career-subpage ul.job-categories li a, section.career-subpage ul.job-categories li a:hover {
        background-size: 40px auto;
        font-size: 20px;
        padding: 15px 10px 15px 55px;
    }

    section.career-subpage div.cover {
        margin-bottom: 20px;
        padding-top: 75%;
    }

    section.career-subpage div.cover button.ghost {
        bottom: 20px;
        font-size: 14px;
        height: 45px;
        left: calc(50% - 70px);
        width: 140px;
    }

    section.career-subpage div.boxes-row div.col {
        flex-basis: 100%;
        margin-bottom: 25px;
    }

    section.career-subpage div.boxes-row div.col div.box h4 {
        font-size: 22px;
    }

    section.career-subpage div.contact {
        padding: 20px;
    }

    section.career-subpage div.contact h3 {
        font-size: 24px;
        margin-bottom: 5px;
    }
    
}

@media only screen and (max-width: 520px) {
    
    section.the-A-team div.dt.auto {
        width: 290px;
    }
    
    section.the-A-team div.member:nth-of-type(n) {
        height: 100px;
        margin: -20px 40px 0 15px;
        width: 100px;
    }
    
    section.the-A-team div.member:nth-of-type(3n + 2) {
        margin-right: 0;
    }
    
    section.the-A-team div.member:nth-of-type(3n + 3) {
        margin-left: 95px;
    }
    
    section.the-A-team div.member div.name {
        padding: 2px 4px 2px 2px;
    }

    section.the-A-team div.member div.name span {
        font-size: 16px;
    }
    
}

@media only screen and (max-width: 460px) {
    
    h1, h2 {
        font-size: 30px;
    }
    
    .show-on-small-device {
        display: block !important;
    }
    
    .hide-on-small-device {
        display: none !important;
    }
    
    section.technologies div.tech-box div.inner div:last-of-type {
        top: 125px;
    }
    
    section.technologies div.tech-box div.inner div:last-of-type span {
        height: 70px;
        width: 70px;
    }
    
    section.fold div.header {
        margin-bottom: 10%;
    }
    
    section.fold div.intro-wrapper div.intro div.text {
        margin: 10% auto 15% auto;
    }
    
    section.technologies div.tech-box {
        display: block;
        float: none;
        width: 100%;
    }
    
    section.technologies div.tech-box:last-of-type div.inner {
        margin-bottom: 100px;
    }
    
    section.references div.swiper-outer div.swiper-wrapper .swiper-slide {
        padding-left: 15px;
        padding-right: 15px;
    }
    
}
