/* 
Theme Name: CafeAmGleenbach
Author: Selina Molik
Author URI: http://
Version: 1.0
*/

html,
body {
    overflow-x: hidden;
}

body{
    font-size: 22px;
    color: #ab7743;
    background-color: #4c2b08;
    padding-top: 44px;
    font-family: 'Oswald';
}

@media(max-width:999px){
    body{
        padding-top:0;
    }
}

body img{
    border-radius: 30px;
}


@media(max-width: 1024px){
    
    body{
    font-size: 18px;
    max-width: 100vw;
    }
}

@media(max-width: 480px){
    body{
        max-width: 100vw; 
        justify-content: center;
    }

}

h1, h2, h3{
    font-family: 'Playfair Display';
    padding-bottom: 22px;
    text-align: center;
}

@media (max-width:480px) {
    h1, h2, h3{
        max-width: 90vw;
    }
}



p{
    margin: 10px;
}

img{
    max-width: 100vw;
    max-height: auto;
}

/* General Layout */
.container{
    padding: 40px;
    max-width: 50vw;
    margin: 0 auto;
    box-shadow: 0 0 30px #ab7743;
}

.container a{
    color: #ab7743;
}

.container a:hover{
    color: #fff;
}

.container h3 {
    padding-top:30px;
    padding-bottom: 10px;
    text-decoration: underline;
}

@media(max-width:780px){
    .container{
        max-width: 75vw;
    }
}

@media(max-width:480px){
    .container{
        width: 100vw;
    }
}

div.container img{
    border-radius: 30px;
    max-height: 90%;
}

div.introduction{
    background-image: url('http://localhost/wordpress/wp-content/uploads/2026/06/IMG_0868.jpg');
    background-size: cover;
    height: 95vh;
    width: 100vw;

    display: flex;

    justify-content: center;
    align-items: center;

    padding: 20px;
}

@media(max-width: 500px) {
    div.introduction{
        background-image: url('http://localhost/wordpress/wp-content/uploads/2026/06/Oli.2.jpg');
        align-items: baseline;
        padding: 0;
    }

    .introduction img{
        transform: translateY(7vh);
    }
}

.introduction img{
    height: 30%;
}

@media(max-width:480px){
    .introduction img{
        height: auto;
        max-width: 80vw;
        
    }
}

/* Header  */
.site-header{
    /* border-bottom: 2px #999 dotted; */
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #4c2b08;
    overflow-x: hidden;
    box-shadow: 0 0 20px #231405;
}


/* Post organisation */
article.post{
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #999;
    color: #ab7743;
}

.post a{
    color: #ab7743;
}

article.post:last-of-type {
    border-bottom: none;
}

/* Page Layout */
article.page h2{
    font-size: 300%;
}


/* Navbar */

.site-nav ul{
    margin: 0;
    padding: 0;
    color: #4c2b08;
    /* float: right; */
}

.site-nav ul:before, .site-nav ul:after {content: ""; display: table;}
.site-nav ul:after {clear: both;}


.site-nav ul li{
    list-style-type: none;
    float: left; 
    color: #4c2b08;
    margin: 5px;
    
}

.site-header nav ul li a:link, 
.site-header nav ul li a:visited{
    display: block;
    padding: 10px 18px;
    border: 1px solid #ab7743;
    border-radius: 30px;
    background-color: #ab7743;
    text-decoration: none;
    color: #4c2b08;
    text-align: center;
} 

.menu-toggle{
    display: none;
}

@media(max-width:999px){
.menu-toggle{
    display: block;
    padding: none;
    background-color: transparent;
    color: #fff;
    box-shadow: none;
    font-size: 26px;
    border: none;
}

}


.site-header nav ul li.current-menu-item a:link, 
.site-header nav ul li.current-menu-item a:visited{
    background-color: #b08e6c;
    color: #4c2b08;
}

.site-header nav ul li a:hover{
    background-color: #b08e6c;
    color: #4c2b08;
    border-radius: 30px;
    /* border: 2px solid #b08e6c; */
    text-decoration: underline;
} 


.site-header nav{
    display: flex;
    padding-top: 20px;
    padding-right: 40px;
    color: #4c2b08;
    background-color: #4c2b08;
    justify-content: center;
}

@media(max-width: 480px){
.site-header nav{
    padding-left:3px;
}

    .site-nav ul{
        float: left !important;
    }
}

@media(max-width: 480px){
    .site-nav ul{
        float: none;
    }

    .site-nav ul li{
        float: none;
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}

@media (max-width: 999px){


    .site-nav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 4s ease;
        background-color: 10%;
    }

    .site-nav.active {
        max-height: 1000px;
    }

    .site-nav ul {
        display: flex;
        flex-direction: column;
    }
}


/* Two Column Picture Layout */

.clearfix::before,
.clearfix::after {
    content: "";
    display: table;
}

.clearfix::after {
    clear: both;
}

div.text-column{
    width: 60%;
    float: left;
    margin: 20px;
}

div.text-column h2{
    font-size: 200%;
    font-style: italic;
}

div.picture-column{
    width: 30%;
    float: left;
    /* padding: 20px; */
}

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

/* Beispiel für Special Tempaltes */
div.info-box{
    width: 30%;
    margin: 0 0 30px 30px;
    padding: 20px;
    float: right;
    border: 1px solid #231405;
}

/* Logo im Header darstellen */
div.logo img{
    width: 20%;
    height: auto;
}

.wp-block-picture{
    max-height: 50%;
    max-width: fit-content;
}

.is-style-highlight-text {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #ddd;
}

/* __________________________________________Stile anpassen ____________________________________ */

.is-style-continuous-text{
    /* padding-bottom: 40px;  */
    border-radius: 30px;
    margin: 20px;
    text-align: center;
    text-decoration: none;
    color: #ab7743;
}

 .wp-block-group.is-style-texts{
    align-items: center;
    justify-content: center;
    text-align: center;
    display: flex;

}

.is-style-texts .wp-block-group__inner-container{
    width: 33%;
    background-color: transparent;
    text-decoration: none;
    text-align: center;
   
}

/* Stapel  */
.is-style-event-card {
    padding-top: 40px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.wp-block-group .is-style-event-card h1{
    text-decoration: underline dotted 3px;
    /* background-color: #4c2b08; */
    padding: 20px;
    border-radius: 20px;
}

.wp-block-group .is-style-event-card{
    /* text-decoration: underline; */
    text-align: center;
    justify-content: center;
    align-content: center;
    color: #ab7743;
    background-color: #714426;
    padding-bottom: 20px ;
}

/* Spalten */
.is-style-event-card2{
    padding-top: 80px;
}



.is-style-event-card2 a{
    color: #b7957f;
    text-decoration: none;
}

.is-style-event-card2 a:hover{
    text-decoration: underline;
}


.wp-block-column .wp-block-media-text{
    align-items: center;
    justify-content: center;
    display: flex;
}


@media(max-width:780px){
.wp-block-column h1{
    align-items: center;
}

.wp-block-column .wp-block-media-text{
    display: grid !important;
    grid-row: 1fr;
}

}


.is-style-gift-idea {
    padding: 40px;
    height: 100%;
    min-height: 60vh;
    justify-content: center;
   
}

.is-style-gifted img{
    border-radius: 0%;
    height: 20vh;
    width: fit-content;
    transform: translateX(-5vw);
}

.wp-block-columns .is-style-gifted{
    box-sizing: border-box;
}

@media(max-width:1024px){
    .is-style-gifted img{
        height: 15vh;
    }
}

@media(max-width:600px){
    .is-style-gifted img{
        width: 70vw;
        height: auto;
        transform: translateX(0);
        transform: translateY(-7vh);
    }

    .is-style-gift-idea .wp-block-media-text__content{
        transform: translateX(0vw) !important;
        background-color: #4c2b08;
        margin: 5px;
        border-radius: 30px;
        transform: translateY(-7vh) !important;
    }

    .wp-block-column .is-style-gift-idea .wp-block-media-text {
        padding-bottom: 0;
    }

}

.is-style-gift-idea .wp-block-media-text__content{
    min-width: 30vw;
    display: block;
    transform: translateX(-5vw);

}


.wp-block-column .wp-block-heading{
    align-items: center;
}



/* Medien und Text */
.is-style-picture-text figure{
   
    padding: 20px;
    padding-bottom: 40px;
    align-content: center;
    justify-items: center;
    text-align: center;
    align-items: center;
}

.is-style-picture-text div{
    justify-content: center;
}

.is-style-picture-text figure img{
    max-height: 80vh;
    width: auto;
    max-width: 45vw;
   
}

.is-style-picture-text p{
    padding-bottom: 15px;
}


@media(max-width:600px){
    .is-style-picture-text figure img{
        width: 80vw !important;
        max-height: 90vh;
        max-width: 80vw;
    }
}

.wp-block-cover{
    height: 100%;
}


/* Button  */
.is-style-better-button{
    align-items: center;
    padding-bottom: 40px;
}


.is-style-better-button .wp-block-button .wp-element-button{
    background-color: #ab7743;
    color: #4c2b08;
    border: #ab7743 2px solid;
    
}

.wp-block-button .wp-block-button__link:hover{
    text-decoration: underline;
    color: #ab7743;
    background-color: #4c2b08;
    border: solid 2px #fff;
}

/* Bilder */
.is-style-adjusted{
    padding: 20px;
    text-align: center;
}

.is-style-adjusted img{
    max-height: 90vh !important;
    width: auto;
}

@media(max-width: 480px){
    .is-style-continuous-text{
        max-width: 70%;
    }

    .is-style-adjusted img{
        max-width: 75%;
    }

    .is-style-highlight-text{
        max-width: 70%;
    }
}

.wp-block-gallery{
    height: 500px;
    width: auto;
}

.wp-block-media-text img{
    max-height: 80vh;
}

/* Tooltip for characteristics */

.characteristic{
  margin: 100px;
  gap: 50px;
  display: flex;
  justify-content: center;
}


.characteristic img{
  width: 90px;
  padding: 20px;
  background-color: #ab7743;
  border-radius: 100px !important;
  margin-left: 40px;
  margin-right: 30px;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #ab7743;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 2;
  bottom: 125%; /* Infoblase über dem Bild */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

/* Show the tooltip text on hover */
.tooltip img:hover .tooltiptext {
  visibility: visible;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%; /* Pfeil nach unten */
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #ab7743 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

@media(max-width:1023px){
  .characteristic{
    margin: 40px;
  }

  .characteristic img{
    width: 60px;
    padding: 20px;
    margin-left: 15px;
    margin-right: 15px;
  }

}

@media(max-width: 480px){
 .characteristic{
  margin: 10px;
  margin-bottom: 0px;
  overflow-x: scroll;
  padding-left: 10px;
  padding: 0;
 }

 .characteristic img{
  width: 30px;
  padding: 15px;
  margin-left: -15px;
  margin-right: -15px;
 }
}


/* ________________________________________ Bildergalerie _____________________________________________ */

/* Stil der Bildergallerie */
.is-style-gallery-animation{
    margin: 100px auto;
    width: 95%;
    border: 5px solid transparent;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 1em;
    height: 60vh;
    align-items: center;
}

.is-style-gallery-animation figure.wp-block-image.size-large {
    all: unset;
    flex: 1 1 0;
    display: block;

     transition: flex 0.6s ease;
}

.is-style-gallery-animation figure.wp-block-image.size-large:hover{
    flex: 6;
}

.is-style-gallery-animation figure.wp-block-image.size-large img {
    width: 100%;
    height: auto;
    display: block;
}

@media(max-width: 1400px){
    .is-style-gallery-animation figure.wp-block-image.size-large:hover{
    flex: 25;
}

.is-style-gallery-animation{
    height: 45vh;
}

}


@media(max-width: 480px){
    .is-style-gallery-animation{
        overflow-x: scroll;
        height: 60vh;
        align-items: center;

    }

    .is-style-gallery-animation figure.wp-block-image.size-large {
    flex: 0 0 60vw;
    display: block;  
    
}

    .is-style-gallery-animation figure.wp-block-image.size-large:hover{
        align-items: center;
        width: 85vw;
        flex: 0 0 95vw;
}


}

p.has-text-align-center .is-style-default{
    text-decoration: none;
}

.hola{
    text-decoration: none;
}

/* _________________________________ Beiträge Spalten _______________________________  */

.is-style-column-article{
    padding: 20px;
}


.is-style-article{
    padding: 20px;
    display: grid;
    max-height: 70vh;
    background-color: #714426;
    width: 35vw;
    align-content: baseline;
    /* justify-content: center; */
    /* justify-items: center; */
    text-align: center;
    margin: 20px;
    border-radius: 50px;
    overflow-y: auto;
    overflow-x: hidden;
}

.wp-block-query {
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: thin;
    
}

.is-style-article h1{
    text-decoration: underline;
    padding-bottom: 0;
}

.is-style-article a{
    color: #ab7743;
}

.is-style-article a:hover{
    text-decoration: underline;
}

.wp-block-post{
    width: 90%;
}

.is-style-article .wp-block-post{
    color: #ab7743;
    background-color: #4c2b08;
    padding: 10px;
    margin: 10px;
    border-radius: 30px;
    width: 90%;
    margin: 0 auto 40px;
}

@media(max-width:1024px){
    .is-style-article{
        border-radius: 30px;
    }
}

.is-style-article .wp-block-post h1{
    color: #ab7743;
}

.date{
    font-size: 18px;
    color: #714426;
}



.more{
    /* display: flex; */
    font-size: 18px;
    text-align: center;
    color: #fff;
    /* justify-content: center; */
}

.more a:hover{
    color:#999;
}

.wp-block-read-more a{
    color: #ddd !important;
}








/* --------------------------------------------------- Footer darstellen ------------------------------------------------- */


/* Grundaufbau des Footers */
.site-footer {
    background-color: #714426; /* Hintergrundfarbe des Footers anpassen */
    color: #ab7743; /* Textfarbe */
    padding: 40px 20px;
    width: 100vw;
    font-family: 'Oswald';
}

/* Flexbox für das Spaltenlayout */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
    gap: 20px;
    font-family: 'Oswald';
}

/* Einzelne Spalten */
.footer-column {
    flex: 1;
    min-width: 200px; 
}

/* Echte Überschriften stylen */
.footer-column h3 {
    color: #ab7743;
    margin-bottom: 0;
    margin-top: 20px;
    text-decoration: underline;
}


/* Links im Footer */
.footer-column a {
    color: #b7957f;
    text-decoration: none;
}

.footer-column a:hover {
    color: #b7957f; 
    text-decoration: underline;
}

/* Listen-Reset */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Logo-Größe kontrollieren */
.left-area img {
    max-width: 12vw;
    height: auto;
}

@media(max-width:1024px){
    .left-area img{
        max-width: 20vw;
    }
}

@media(max-width: 480px){
.left-area img{
    max-width: 55vw;
}

    .site-footer{
        text-align: left;
    }

    .footer-column h3{
        text-align: left;
    }
}