@font-face {
    font-family: middleage;
    src: url(./Schriften/MATURASC.TTF);
}

*{
    padding: 0;
    margin: 0;
    font-family: middleage;
}

h1{
    font-size: 20pt;
}

p, a, li{
    font-size: 16pt;
}

body{
    background-image: url(./Bilder/kp-fb-bg.jpg);
    background-size: cover;
}

header{
    background: darkred;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.klein{
    font-size: 12pt;
}

.burger{
    width: 20px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.burger div{
    height: 3px;
    width: 20px;
    background: white;
}

article{
    margin: 20px;
    background: white;
    padding: 10px;
}

img{
    width: 100%;
}

.title{
    font-weight: bold;
    font-size: 18pt;
}

footer{
    background: darkred;
    color: white;
    padding: 10px;
    margin: -10px 20px 20px 20px;

}

#feedback{
    text-decoration: none;
    color: white;
}

#feedback:hover{
    color: gray;
}

.menu{
    position: fixed; /* !!! */
    top: 0px;
    height: 100vh;
    width: 100%;
    background: darkred;
    color: white;
   
    display: none;
    overflow-y: scroll;

    z-index: 1000;
}

.menu a{
    text-decoration: none;
    color: white;
 
   padding: 20px 0px;
}

.menu-flex{
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 1000px;
    height: auto;
}

.schliessen{
    position: absolute;
    right: 20px;
    top: 30px;

    background: transparent;
    border: none;
    padding: 5px;
    color: white;

    font-size: 25px;
}

#link{
    border: 1px solid black;
    padding: 2.5px;
    color: black;
    text-decoration: none;
    background: white;
    font-size: 11pt;
}

#link:hover{
    background: darkred;
    color: white;
}

li{
    margin-left: 20px;
}

.input{
    width: calc(100% - 20px);
    outline: none;
    padding: 10px;
    /*border: 1px solid black;*/
    background: #ccc;
    border: none;
}

textarea{
    resize: none;
}

/*#send{
    border: 1px solid black;
    padding: 5px;
    color: black;
    background: white;
    font-size: 15pt;
}

#send:hover{
    background: darkred;
    color: white;
}*/

#text_link{
    text-decoration: none;
    color: darkred;
}

#text_link:hover{
    color: gray;
}

#fb{
    height: 50px;
    width: 50px;
}

.footer_a{
    text-decoration: none;
    color: white;
}

.footer_a:hover{
    color: gray;
}

/*Termine bei Aktuelles.html*/

.termin{
    display: flex;
    /*border: 1px solid black;*/
    background: rgb(220, 220, 220);
}

.termin .date{
    padding: 10px;
    background: darkred;
    text-align: center;
    color: white;
    width: 60px;
    min-width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.termin .date p{
    font-size: 12pt;
}

.termin .date span, .termin .name span{
    font-size: 15pt;
}

.termin .name{
    padding: 10px;
}

.termin.bottom{
    margin-bottom: 10px;
}

.icon{
    width: 100%;
    height: auto;
}

.middle{
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.middle p{
    width: 100%;
}

.anti_space{
    margin-top: -10px;
}

.maps{
    color: black;
    width: 100%;
    text-decoration: none;
    font-size: 16pt;
}

.download_article{
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
    width: calc(100% - 20px);
    background: rgb(220, 220, 220);
}

.download_article p{
    width: 100%;
    /*padding: 10px;*/
}

.download_article a{
    text-decoration: none;
    background: darkred;
    color: white;
    padding: 10px;
    width: calc(100% - 20px);
    text-align: center;
}

.download_article a:hover{
    background: red;
}

.btns_flex{
    display: flex;
    gap: 10px;
    width: 100%;
}

.download_img{
    background: darkred;
    width: 80px;
    height: 80px;
}

.nextto{
    display: flex;
    gap: 15px;
    align-items: center;
}

.height{
    min-height: 300px;
}

.marginbottom{
    margin-bottom: 10px;
}


.blurred-image {
    background-repeat: no-repeat;
    background-size: cover;
}

.blurred-image img {
    opacity: 0;
}

.blurred-image::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background-color: white;
}

.blurred-image.loaded::before {
    content: none;
}

.blurred-image.loaded{
    background-image: none !important;
}

.blurred-image img {
    opacity: 0;
}

.blurred-image.loaded img {
    opacity: 1;
}

.zeiten{
    font-size: 24pt !important;
}

.maps{
    color: black;
    width: 100%;
    font-size: 12pt !important;
}

.maps:hover{
    color: darkred;
}

.termin .name-middle{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 60px;
}

.termin .name .left{
    width: 100%;
    text-align: left;
}

.termin .date-height{
    min-height: 60px;
}

article a{
    color: darkred;
    text-decoration: none;
}

.youtube-video{
    height: 238px;
    width: 100%;
}

.red{
    color: darkred;
}

.button{
    padding: 10px;
    color: white;
    text-decoration: none;
    background: darkred;
    display: inline-block;
    width: calc(100% - 20px);
    border: none;
}

.button-input{
    padding: 10px;
    color: white;
    text-decoration: none;
    background: darkred;
    display: inline-block;
    width: 100%;
    border: none;
}

.suche{
    padding: 10px;
    border: 1px solid black;
    width: calc(100% - 22px);
    font-size: 14pt;
}

.status{
    margin-top: 20px;
}


/* Datenschutz */

.datenschutz{
    word-wrap: break-word;
}

.datenschutz p,
.datenschutz strong, 
.datenschutz h2,
.datenschutz h3,
.datenschutz li,
.datenschutz span{
    font-family: Arial, Helvetica, sans-serif;
}

.datenschutz h3{
    margin-top: 20px;
}

.datenschutz a{
    color: darkred;
    font-family: Arial, Helvetica, sans-serif;
}

.datenschutz ul{
    margin-left: 20px;
}

.datenschutz h2{
    margin-top: 50px;
    margin-bottom: 10px;
}

.datenschutz .title{
    margin-bottom: 20px;
}

/* Kontaktformular */

#contact-form{
    display: flex;
    flex-direction: column;
}

#contact-form input[type="text"],
#contact-form input[type="email"]{
    padding: 10px;
    border: 1px solid black;
    width: calc(100% - 22px);
}

#contact-form textarea{
    height: 200px;
    border: 1px solid black;
    width: calc(100% - 22px);
	padding: 10px;
}

#contact-form input[type="submit"]{
    padding: 10px;
    border: 1px solid black;
    background: darkred;
    color: white;
    cursor: pointer;
}

#contact-form .margin-bottom{
    margin-bottom: 20px;
}

/* Shop Bunner */

.button{
    padding: 10px 20px;
    background: darkred;
    color: white;
    margin-top: 10px;
    text-decoration: none;
    cursor: pointer;
    width: calc(100% - 40px);
    text-align: center;
}

.shop-icon{
    width: 60%;
    background: darkred;
}

.bunner-flex{
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
}

.background{
    background: darkred;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.red{
    color: darkred;
}

.datum{
    font-size: 11pt;
}


/* Termine */

.flex-article{
    display: flex;
    gap: 10px;
}

.left{
    width: 100%;
}

.right{
    width: 100%;
}

.month-img{
    width: 100%;
    height: auto;
}

.list{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.list a{
    color: black;
    width: 100%;
}

.list a:hover .item{
    background: darkred;
    color: white;
}

.list a > .item{
    opacity: 1.0;
}

.green{
    color: #069A2E;
    font-weight: normal;
}

.li-green::marker{
    color: #069A2E;
}

.item{
    background: rgb(220, 220, 220);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    opacity: 0.4;
}

.item .date{
    padding: 10px;
    background: darkred;
    color: white;
    min-width: 20px;
    width: 20px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item .date.inactive{
    background: rgb(150, 150, 150);
}

.item .title-item{
    padding: 10px;
    text-align: left;
    width: 100%;
}

.bottom{
    margin-bottom: 20px;
}

/*Downloads*/

.filetype{
    background: white;
    color: #8b0000;
    padding: 5px 10px;
    width: 50px;
    text-align: center;
}

.date-of-file{
    background: white;
    color: black;
    padding: 5px 10px;
    width: 100%;
    text-align: left;
    border-left: none;
}

.file-infos{
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.display-flex{
    display: flex;
    width: 100%;
    margin-bottom: 10px;
    gap: 10px;
}

.items-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.google-maps{
    width: 100%;
    height: 480px;
    border: none; 
}


/* Produkte */

.flex-column{
    display: flex;
    gap: 15px;
    width: 100%;
}

.container-img{
    width: 100%;
}

.produkt-img{
    width: 100%;
    height: auto;
}

p span{
    font-weight: bold;
    display: inline-block;
}

.nextto{
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    align-items: flex-start;
}

.nextto p{
    width: 100%;
}

.nextto ul{
    width: 100%;
}

.container-img ul li{
    margin-left: 20px;
}

.full-width-button{
    width: 100%;
    text-align: center;
}

.kategorie-img{
    display: block;
    height: 150px;
    width: 150px;
    margin: auto;
}

.gray{
    background: #ccc;
    color: black;
}

/* .button:hover{
    background: darkred;
    color: white;
}

.button:hover .kategorie-img{
    filter: brightness(0) invert(1);
} */

.active{
    background: rgba(139, 0, 0, 0.75);
    color: white;
}

.active .kategorie-img{
    filter: brightness(0) invert(1);
}


@media screen and (max-width: 1000px) {
    .flex-article{
        flex-direction: column;
    }

    .full-width-button{
        width: calc(100% - 40px);
    }

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

@media screen and (max-width: 650px) {
    .nextto{
        flex-direction: column;
        gap: 20px;
    }

    /*p span{
        color: darkred
    }*/

    .color-red{
        color: darkred;
    }
}