/*
Theme Name: Brigitta80 Child
Theme URI: https://example.com/brigitta80-child
Description: Child theme of TwentyTwentyFive, inspired by watercolor forest poster.
Author: Your Name
Template: twentytwentyfive
Version: 1.0.0
*/

/* Color Palette */
:root {
  --brigitta80-forest-green: #597957;
  --brigitta80-warm-brown: #b48a5a;
  --brigitta80-banner-beige: #e2c9a0;
  --brigitta80-muted-blue: #7a8c99;
  --brigitta80-muted-teal: #5e7d75;
  --brigitta80-cream: #f7f5ef;
  --brigitta80-camp-tent: #a97c50;
}

body {
  background-color: white;
  color: var(--brigitta80-forest-green);
  background-image: url('background.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top, center top;
  background-attachment: fixed;
  position: relative;
  padding-top: 40px;
  /* Parallax effect variable */
  --parallax-y: 0px;
  background-position: center calc(0px + var(--parallax-y));
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.7);
  pointer-events: none;
  z-index: 0;
}

/* Ensure main content is above the overlay */
#page, .wp-site-blocks {
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--brigitta80-warm-brown);
}

a {
  color: var(--brigitta80-muted-blue);
}

a:hover {
  color: var(--brigitta80-muted-teal);
}

button, input[type="submit"] {
  background-color: var(--brigitta80-banner-beige);
  color: var(--brigitta80-forest-green);
  border: none;
  border-radius: 4px;
  padding: 0.5em 1em;
}

button:hover, input[type="submit"]:hover {
  background-color: var(--brigitta80-warm-brown);
  color: var(--brigitta80-cream);
}

/* Decorative flags spanning the top of the page */
.vlaggen-flags {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 60px;
  background: url('vlaggen.png') repeat-x top left;
  background-size: auto 100%;
  z-index: 9999;
  pointer-events: none;
}

/* Hide site title and menu in the top left corner */
.wp-site-blocks .wp-block-site-title,
.wp-site-blocks .wp-block-navigation,
.wp-site-blocks .wp-block-site-logo,
.wp-site-blocks .wp-block-site-tagline {
  display: none !important;
} 

.home .wp-block-post-title {
  background-image: url(banner.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  font-size: 35px;
  font-weight: 600;
  color: #3d2f1f;
  padding: 22px 50px 88px 50px;
  position: relative;
  z-index: 2;
  font-family: "Georgia", serif;
  letter-spacing: 0.8px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.4);
  min-width: 50px;
  min-height: 90px;
  display: flex;
  align-items: start;
  justify-content: center;
  text-transform: capitalize;
  max-width: 570px;
  margin:0;
}

@media (max-width: 768px) {
  body { 
    background-size: cover;
  }
  .wp-block-post-title {
    background-image: none;
    padding: 15px 25px 25px 25px;
    min-width: 320px;
    min-height: 60px;
    max-width: 370px;
  }
}

@media (max-width: 368px) {
  .home .has-global-padding {
    padding-left: 0;
    padding-right: 0;
  }
}