:root {
    --darkblue: #051163;
    --sand: #F7F3F0;
    --darksand: #E8E3DF;
    --blue: #7BBEEA;
    --brightgreen: #D5FC93;
    --gradient1: linear-gradient(90deg, rgba(123,190,234,1) 0%, rgba(213,252,147,1) 100%);
    --gradient2: linear-gradient(90deg, rgba(5,17,99,1) 0%, rgba(123,190,234,1) 50%, rgba(213,252,147,1) 100%);
    --gradient3: linear-gradient(180deg, rgba(5,17,99,1) 23%, rgba(10,35,201,1) 100%);    
    --innerwidth: 1280px;
    --wp--preset--spacing--20: 20px !important;
    --wp--preset--spacing--30: 20px !important;
    --wp--preset--spacing--40: 20px !important;
    --wp--preset--spacing--50: 100px !important;
    --wp--preset--spacing--60: 100px !important;
    --wp--preset--spacing--70: 100px !important;
    --wp--preset--spacing--80: 200px !important;
}

@media (max-width: 768px) {
    :root {
        --wp--preset--spacing--20: 15px !important;
        --wp--preset--spacing--30: 15px !important;
        --wp--preset--spacing--40: 15px !important;
        --wp--preset--spacing--50: 30px !important;
        --wp--preset--spacing--60: 30px !important;
        --wp--preset--spacing--70: 30px !important;
        --wp--preset--spacing--80: 80px !important;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 120px;
    background: white;
    color: var(--darkblue);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    overflow-x: hidden;
    transition: padding 0.5s;
}

body.logged-in {
    padding-top: 120px;
}

body.scroll.down {
    padding-top: 80px;
}

body.logged-in.scroll-down {
    padding-top: 125px;
}

#content {
    overflow: hidden;
}

.innerwidth {
    width: calc(100% - 30px);
    max-width: var(--innerwidth);
    margin: 0 auto !important;
    position: relative;
    z-index: 8;
}

.innerwidth .innerwidth {
    width: 100%;
}

.narrow {
    max-width: 808px;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-spacer {
    box-sizing: border-box;
}

a {
    color: var(--darkblue);
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

a.link-arrow {
    font-weight: 700;
    font-size: 14px;
    line-height: auto;
    text-decoration: none;
    position: relative;
}

a.link-arrow:after {
    content:"";
    background: url('/wp-content/themes/aibatros/images/link-arrow.svg') no-repeat -20px center;
    background-size: contain;
    width: 74px;
    height: 23px;
    position: absolute;
    right: -83px;
    top: -3px;
    transition: 0.3s;
}

a.link-arrow.link-arrow-reverse {
    margin-left: 65px;
}

a.link-arrow.link-arrow-reverse:after {
    content:"";
    background: url('/wp-content/themes/aibatros/images/link-arrow.svg') no-repeat -20px center;
    background-size: contain;
    right: initial;
    left: -83px;
    transform: rotate(180deg);
}

a.link-arrow:hover:after {
    background-position: 0px center ;
}

a.link-arrow.link-arrow-reverse:hover:after {
    background-position: 0 center;
}

.site-main ul li,
.wp-block-columns ul li {
    background: url('/wp-content/themes/aibatros/images/arrow-lightblue.svg') no-repeat 0 3px;
    background-size: 40px auto;
    padding-left: 50px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

p {
    margin-bottom: 25px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.wp-block-image {
    position: relative;
}

h1 {
    font-size: 50px;
    line-height: 120%;
    font-weight: 400;
    margin-bottom: 30px;
}

h1 em {
    font-weight: 600;
    font-style: normal;
}

h2 {
    font-weight: 500;
    font-size: 30px;
    line-height: 120%;
    margin-bottom: 25px;

}

h3,h4,h5,h6 {
    font-weight: 500;
    font-size: 25px;
    line-height: 120%;
    margin-bottom: 25px;
}

h2 em,
h3 em,
h4 em,
h5 em,
h6 em {
    font-weight: 700;
}

h2.large,
h3.large,
h4.large,
h5.large,
h6.large {
    font-size: 40px;
    line-height: 120%;
}

a.wp-block-button__link.wp-element-button,
a.cta {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    padding: 13px 105px 13px 35px;
    border-radius: 100px;
    background: var(--brightgreen);
    border: 2px solid var(--darkblue);
    position: relative;
}

a.wp-block-button__link.wp-element-button:after,
a.cta:after {
    content:"";
    background: url('/wp-content/themes/aibatros/images/link-arrow.svg') no-repeat -20px center;
    background-size: contain;
    width: 74px;
    height: 23px;
    position: absolute;
    right: 10px;
    top: 12px;
    transition: 0.3s;
}

a.wp-block-button__link.wp-element-button:hover,
a.cta:hover {
    border: 2px solid white;
    background: var(--darkblue);
    color: white;
}


a.wp-block-button__link.wp-element-button:hover:after,
a.cta:hover:after {
    background: url('/wp-content/themes/aibatros/images/link-arrow-white.svg') no-repeat -20px center;
    background-size: contain;
}

.has-small-font-size {
    font-size: 13px !important;
    line-height: 140%;
}

.has-medium-font-size {
    font-size: 20px !important;
    line-height: 140%;
}

.has-large-font-size {
    font-size: 30px !important;
    line-height: 120%;
}

.has-x-large-font-size {
    font-size: 40px !important;
    line-height: 120%;
}

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

strong {
    font-weight: 700;
}

/* Decorations */

.decoration img {
    background: url('/wp-content/themes/aibatros/images/pattern-image.svg') no-repeat top left;
    background-size: auto 100%;
    padding: 30px 0px 30px 30px;
    box-sizing: border-box;
}

#wpadminbar {
    position: fixed;
    z-index: 99999;
}

.hyphens {
    hyphens: auto;
    -webkit-hyphens: auto; /* Safari/iOS */
    -ms-hyphens: auto;      /* sehr alte IE */
    word-break: normal;      /* nicht kaputt-trennen */
    overflow-wrap: break-word; /* verhindert Überlauf */
}

@media (max-width: 1200px) {
    :root {
        --innerwidth: calc(100vw - 80px);
    }
}

@media (max-width: 768px) {
    #wpadminbar {
        position: fixed;
    }
    body {
        padding-top: 80px;
    }
    body.logged-in {
        padding-top: 80px;
    }
    body.page-template-default {
        padding-top: 100px;
    }
    .innerwidth {
        width: calc(100% - 40px);
        max-width: initial;
    }

    p {
        margin-bottom: 15px;
    }

    p:last-child {
        margin-bottom: 0px;
    }

    h1 {
        font-size: 30px;
        hyphens: auto;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    h2 {
        font-size: 22px;
        margin-bottom: 15px;
        hyphens: auto;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    h4,h5,h6 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .has-large-font-size {
        font-size: 22px !important;
    }
    
    .has-medium-font-size {
        font-size: 16px !important;
    }

    h2.large, h3.large, h4.large, h5.large, h6.large {
        font-size: 30px;
    }
    
    h2 br,
    h3 br,
    h4 br,
    h5 br,
    h6 br {
        display: none;
    }

    .wp-block-buttons {
        margin-top: 15px;
    }

    a.wp-block-button__link.wp-element-button, 
    a.cta,
    a.wp-block-button__link.wp-element-button:hover, 
    a.cta:hover {
        padding: 9px 88px 9px 25px;
        font-size: 14px;
        font-weight: 700;
    }

    a.wp-block-button__link.wp-element-button:after, 
    a.cta:after,
    a.wp-block-button__link.wp-element-button:hover:after, 
    a.cta:hover:after {
        width: 70px;
        height: 16px;
        right: 0;
    }
}

/* Admin addons */

body#tinymce {
    padding-top: 0 !important;
}

body#tinymce ul li {
    background: url('/wp-content/themes/aibatros/images/arrow-lightblue.svg') no-repeat 0 3px;
    background-size: 40px auto;
    padding-left: 50px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

