@font-face {
    font-family: 'Source Sans Pro';
    src: url('fonts/SourceSansPro-ExtraLightItalic.woff2') format('woff2'),
        url('fonts/fonts/SourceSansPro-ExtraLightItalic.woff') format('woff'),
        url('fonts/SourceSansPro-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('fonts/SourceSansPro-Italic.woff2') format('woff2'),
        url('fonts/SourceSansPro-Italic.woff') format('woff'),
        url('fonts/SourceSansPro-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('fonts/SourceSansPro-Regular.woff2') format('woff2'),
        url('fonts/SourceSansPro-Regular.woff') format('woff'),
        url('fonts/SourceSansPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('fonts/SourceSansPro-BoldItalic.woff2') format('woff2'),
        url('fonts/SourceSansPro-BoldItalic.woff') format('woff'),
        url('fonts/SourceSansPro-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('fonts/SourceSansPro-LightItalic.woff2') format('woff2'),
        url('fonts/SourceSansPro-LightItalic.woff') format('woff'),
        url('fonts/SourceSansPro-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('fonts/SourceSansPro-ExtraLight.woff2') format('woff2'),
        url('fonts/SourceSansPro-ExtraLight.woff') format('woff'),
        url('fonts/SourceSansPro-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('fonts/SourceSansPro-Bold.woff2') format('woff2'),
        url('fonts/SourceSansPro-Bold.woff') format('woff'),
        url('fonts/SourceSansPro-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('fonts/SourceSansPro-SemiBold.woff2') format('woff2'),
        url('fonts/SourceSansPro-SemiBold.woff') format('woff'),
        url('fonts/SourceSansPro-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('fonts/SourceSansPro-SemiBoldItalic.woff2') format('woff2'),
        url('fonts/SourceSansPro-SemiBoldItalic.woff') format('woff'),
        url('fonts/SourceSansPro-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('fonts/SourceSansPro-Light.woff2') format('woff2'),
        url('fonts/SourceSansPro-Light.woff') format('woff'),
        url('fonts/SourceSansPro-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('fonts/SourceSansPro-Black.woff2') format('woff2'),
        url('fonts/SourceSansPro-Black.woff') format('woff'),
        url('fonts/SourceSansPro-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('fonts/SourceSansPro-BlackItalic.woff2') format('woff2'),
        url('fonts/SourceSansPro-BlackItalic.woff') format('woff'),
        url('fonts/SourceSansPro-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

:root{
    --grey-color: rgb(207,217,222);
    --standard-color: rgb(70 76 83);
    --link-color: rgb(29,155,240);
    --font-size-text: 17px;
    --font-size-text-small: 90%;
    --font-size-nav: 22px;
}

html{
    font-size: var(--font-size-text);
}

html body{
    color: var(--standard-color);
    font-family: 'Source Sans Pro';
    font-size: var(--font-size-text);
    background-color: #4563A8;
    background-image: url('img/E089_Polizeichat_WhatsApp_HG_01 (1)1920.webp');
    background-size: 1200px;
     background-attachment: fixed
}

h1,h2,h3,h4,h5,h6{
    line-height: 1.4 !important;
}

html h1,
html h2,
html h3,
html h4,
html h5,
html h6{
    color: var(--standard-color);
}

html small{
    font-size: var(--font-size-text-small);
}

body a{
    color: var(--link-color);
}

body a:hover{
    color: var(--link-color);
    text-decoration: underline;
}

html .modal-backdrop{
    --bs-backdrop-bg: #4e586e;
    --bs-backdrop-opacity: 1;
    background-image: url('img/E089_Polizeichat_WhatsApp_HG_01 (1)1920.webp');
        background-size: 1200px;
}

#age-invalid{
    display: none;
}
.sprechblase{
    position: relative;
    border-radius: 0 20px 20px 20px;
    background: white !important;
}
.sprechblase:before {
    content: ' ';
    border: 20px solid transparent;
    position: absolute;
    border-right-color: white;
    border-top: 4px solid white;
    border-left: 0;
    left: -20px;
    top: 20px;
    border-radius: 3px 0 0 14px;
    margin-top: -20px;
}

.sprechblase.right{
    border-radius: 20px 0 20px 20px;
    background: #e1f1d4 !important;
}

.sprechblase.right:before{
    left: 100%;
    transform: scale(-1, 1);
    border-right-color: #e1f1d4;
    border-top-color: #e1f1d4;
}

.navbar .text-white > b{
    font-size: var(--font-size-nav);
}

.navbar .offcanvas-body li img:not(.no-styling){
    border-radius: 50%;
    background: lightgrey;
    aspect-ratio: 1;
    padding: 3px;
}

.navbar li a.active{
    background-color: lightgrey;
}

.navbar .offcanvas-body{
    padding-left: 0;
    padding-right: 0;
}

.navbar div > ul:first-of-type a{
    display: grid;
    grid-template-columns: 65px 1fr;
    padding: 10px 20px 0 15px !important;
}

.navbar div a hr{
    border-color: lightgrey;
}

.navbar  a{
    color: var(--standard-color);
}

html .fixed-bottom{
    z-index: 111;
}

.microphone{
    background: #128C7E;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 12px;
}

.dropdown .dropdown-menu{
    background: white;
    border-radius: 20px;
    padding: 10px 20px;
    gap: 15px;
    border: none;
}

.emojis img{
    width: auto;
    height: 25px;
}

.text-field{
    position: relative;
    width: 100%;
    margin-right: 10px;
}

.text-field input{
    width: 100%;
    padding: 12px 130px 12px 60px;
    border-radius: 20px;
    border: 0;
    box-shadow: rgba(0, 0, 0, 0.15) 2.95px 0.95px 4.6px;
    height: 100%;
}

.text-field > img{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.text-field .dropdown{
    left: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.text-field .dropup .dropdown-toggle::after{
    display: none;
}

.text-field img.paperclip{
    right: 54px;
    width: 24px;
}

.text-field img.camera{
    right: 14px;
    width: 25px;
}

img.group{
    background: lightgrey;
    border-radius: 50%;
    aspect-ratio: 1;
    padding: 7px;
    width: 50px;
}

button.btn{
    border-radius: 9999px !important;
    padding: 0 16px;
    border: 1px solid var(--grey-color);
    background-color: white;
    color: var(--standard-color);
    padding: 6px 30px;
    font-weight: 700;
}

button.btn:hover{
    background-color: rgb(233,233,233);
    color: var(--standard-color);
    border-color: var(--grey-color);
}

nav.navbar .navbar-nav li a.nav-link,
nav.navbar a.navbar-brand {
    color: var(--standard-color);
    font-size: var(--font-size-nav);
    padding: 12px;
    border-radius: 9999px;
    display: inline-block;
    line-height: 1.1;
}

nav li a.nav-link.active{
    font-weight: 700;

}

nav li a.nav-link:hover,
nav.navbar a.navbar-brand:hover{
    background-color: rgba(15,20,25,0.1);
    text-decoration: none;
}

.accordion-item:first-of-type .accordion-button{
    background-color: transparent;
}

html .accordion-item,
html .accordion-button{
    background-color: transparent;
}

footer a{
    text-decoration: none;
    color: inherit;
}

button.no-styling{
    border: none;
    background-color: transparent;
}

button.no-styling:hover,
button.no-styling:focus,
button.no-styling:active{
    outline: none !important;
}

.video-wrapper{
    padding-top: 56.25%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: url('img/E89_TN.png') no-repeat;
    background-color: lightgrey;
    background-size: cover;
}

.video-wrapper iframe{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.video-wrapper button{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 2;
}

.video-wrapper.clicked button{
    display: none;
}

html .accordion-item:first-of-type,
html .accordion-item:first-of-type .accordion-button{
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

html .accordion-item:last-of-type,
html .accordion-item:last-of-type .accordion-button.collapsed{
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

input:focus,
input:focus-visible{
    outline: none;
}

button:focus,
button:active{
    outline: none !important;
    box-shadow: none !important;
}

.accordion .accordion-header > button{
    flex-direction: column;
    align-items: flex-start;
}

.accordion-button::after{
    position: absolute;
    top: 20px;
    right: 25px;
}

.accordion-button:not(.collapsed){
    background-color: transparent !important;
}

.accordion button.dropdown-toggle{
    padding: 0;
}

.accordion button.dropdown-toggle {
    white-space: break-spaces;
    display: flex;
    text-align: left;
    align-items: baseline;
    flex-direction: row-reverse;
    gap: 10px;
}


@media (max-width: 991px){
    body .accordion-item .accordion-button{
        padding-top: 45px;
    }

    .accordion button.dropdown-toggle {
        white-space: break-spaces;
        display: flex;
        text-align: left;
        align-items: baseline;
    }
}

@media (max-width: 767px) {
    :root{
        --font-size-text: 14.5px;
        --font-size-text-small: 90%;
        --font-size-nav: 20px;
    }

    .dropup .dropdown-menu .d-flex img{
        width: 22px;
    }

    nav.navbar img.group{
        width: 35px;
        padding: 3px;
    }

    nav.navbar img.videocall{
        width: 25px;
    }

    nav.navbar img.phone{
        width: 23px;
    }

    nav.navbar .container-xl{
        --bs-gutter-x: 3rem;
    }

    body > .container > .row > div{
        margin-left: 4%;
        width: 92%;
    }

    h1, h2, h3, h4, h5, h6 {
        line-height: 1.2 !important;
    }

    html body{
        background-size: 800px;
    }

    .sprechblase:before{
        left: -19px;
    }

    .sprechblase.right:before{
        left: calc(100% - 1px);
    }

    html::before, html .modal-backdrop:before{
        content: ' ';
        display: block;
        background-image: url('img/E089_Polizeichat_WhatsApp_HG_01 (1)1920.webp');
        background-size: 800px;
        height: 100vh; width: 100vw;
        top: 0; bottom: 0; left: 0; right: 0;
        position: fixed;
        z-index: -10;
    }

    html body, html .modal-backdrop{
        background: #4563A8;
    }
}
