/*
 Theme Name:   ac26 Theme
 Description:  Das ac26 Theme
 Author:       Lars Badke
 Author URI:   https://larsbadke.com
 Version:      1.0
 Text Domain:  ac26-theme
*/

/* cabin-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Cabin';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/cabin-v34-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cabin-italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Cabin';
    font-style: italic;
    font-weight: 400;
    src: url('/fonts/cabin-v34-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cabin-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Cabin';
    font-style: normal;
    font-weight: 500;
    src: url('/fonts/cabin-v34-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cabin-500italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Cabin';
    font-style: italic;
    font-weight: 500;
    src: url('/fonts/cabin-v34-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cabin-600 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Cabin';
    font-style: normal;
    font-weight: 600;
    src: url('/fonts/cabin-v34-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cabin-600italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Cabin';
    font-style: italic;
    font-weight: 600;
    src: url('/fonts/cabin-v34-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cabin-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Cabin';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/cabin-v34-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cabin-700italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Cabin';
    font-style: italic;
    font-weight: 700;
    src: url('/fonts/cabin-v34-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

h1, .h1 {

    font-size: 52px;
    line-height: 62px;
}

.box_content .h1 {
    color: white;
}

@media (max-width: 1200px) {
    h1, .h1 {
        font-size: 42px;
        line-height: 52px;
    }
}

@media (max-width: 992px) {
    h1, .h1 {
        font-size: 32px;
        line-height: 42px;
    }
}

a, a:hover {
    color: #2f546e;
}

html {
    overflow-x: hidden;
    background: #FFF;
    font-family: 'Cabin';
}

body {
    overflow-x: hidden;
    font-size: 16px;
    line-height: 26px;
    color: #2f546e;
    font-family: 'Cabin';
}

#preheader {
    background: #3676c4;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
}



header {
    padding: 0;
}

.home header {
    height: calc(100vh - 70px);
    position: relative;
}

#logo{
    position: absolute;
    width: 700px;
    z-index: 99999999999;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}


@media (max-width: 992px) {
    .home header {
        height: 500px;
    }

    #logo{
        width: 450px;
    }
}

@media (max-width: 768px) {
    .home header {
        height: 350px;
    }

    #logo{
        width: 275px;
    }
}




#myVideo {
    width: 100%;
    object-fit: cover;
    transform: translateY(10px);
    margin-top: -10px;
    height: 100%;
}

#intro {
    background: #5ac5f2;
    padding: 15px 15px;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 22px;
}

footer {
    padding: 15px 0;
}

footer .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 992px) {

    footer .wrapper {
        flex-direction: column;
    }

    footer .wrapper > div {
        margin-bottom: 20px;
    }

    footer .wrapper > div:nth-of-type(2) {
        order: 3;
    }

}

.box_content .wrapper {
    display: flex;
}

.box_content .wrapper > div:first-of-type {
    width: 65%;
}

.box_content .wrapper > div:last-of-type {
    width: 35%;
    background: lightgrey;
    display: flex;
    align-items: center;
    padding: 30px 30px;
}


.box_content .section_img {
    width: 100%;
}

.box_content .section_btn {
    background: gray;
    padding: 15px 40px;
    border-radius: 10px;
    margin-top: 30px;
    display: inline-block;
    color: white;
    font-weight: bold;
    font-size: 22px;
}

.box_content .section_btn:hover {
    text-decoration: none;
}


@media (max-width: 992px) {
    .box_content .wrapper > div:first-of-type {
        width: 55%;
    }

    .box_content .wrapper > div:last-of-type {
        width: 45%;
    }
}

@media (max-width: 768px) {

    .box_content .wrapper {
        flex-direction: column;
    }

    .box_content .wrapper > div:first-of-type {
        width: 100%;
    }

    .box_content .wrapper > div:last-of-type {
        width: 100%;
    }

    .box_content .section_btn {
        padding: 10px 20px;
        border-radius: 5px;
        margin-top: 5px;
        font-size: 18px;
    }
}


#intro p {
    margin: 0;
}

.page_layout_block {
    padding: 0px 0 20px 0;
}

.layout {
    padding: 30px 0 30px 0;
}

.page_layout_block .container p:last-of-type {
    margin-bottom: 0;
}