/*
Theme Name: Houf Theme 3
Author: The driver
Version: 1.0
Description: Houf Theme
*/

/* Add additional styles below */
/* Horizontal menu on desktop */

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans-Regular.woff') format('woff'),
         url('fonts/OpenSans-Regular.woff2') format('woff2'),
         url('fonts/OpenSans-Regular.eot') format('embedded-opentype'),
         url('fonts/OpenSans-Regular.svg#opensans') format('svg'),
         url('fonts/OpenSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Open Sans';
color: #353839
}

.grey, .grey:visited, grey:link, a:link, a:visited {color: #353839}

.nav ul {
    display: flex;
    list-style: none;
    padding: 3px 5px;
    margin: 0;
}

.nav li {
    margin-right: 10px;
}

.nav li:last-child {
    margin-right: 0;
    background-color: #004aad;
    color: white;
    border-radius: 3px;
    text-decoration: none;
}

.nav li:last-child:hover {
    background-color: #222 !important; /* Added !important for testing */
}

.nav li:last-child a {
    color: white;
}

.nav a {
    text-decoration: none;
    color: #000;
    padding: 8px 12px;
    transition: color 0.3s ease-in-out;
}



/* Hover state */
.nav a:hover {
    color: #000;
}

/* Active state when the link is being clicked */
.nav a:active {
    color: #000;
}

/* Visited state */
.nav a:visited {
    color: #000;
}

/* Current (selected) page */
.nav a.current {
    color: #000;
    font-weight: bold;
    border-bottom: 2px solid #000;
}

/* Styling for the burger menu icon on mobile */
.burger-menu {
    display: none;
}

@media (max-width: 768px) {
    /* Hide the horizontal menu on mobile */
    .nav ul {
        display: none;
    }

    /* Show the burger menu icon on mobile */
    .burger-menu {
        display: block;
        cursor: pointer;
    }
.nav li:last-child {
    margin-right: 0;
    background-color: #004aad !important;
    color: white;
    border-radius: 3px;
    text-decoration: none;
}
}
 .burger-menu {
    display: none;
}

html {
    scroll-behavior: smooth;
}

.burger-menu {
    display: none;
}

@media (max-width: 768px) {
    /* Hide the horizontal menu on mobile */
    .nav {
        display: none;
    }

    /* Show the burger menu icon on mobile */
    .burger-menu {
        display: block;
        cursor: pointer;
    }


}

.nav li:last-child {
    margin-right: 0;
    background-color: #004aad !important;
    color: white;
    border-radius: 3px;
    text-decoration: none;
}

.burger-menu {
    position: relative;
}

.burger-icon {
    cursor: pointer;
    font-size: 24px;
    user-select: none;
}

.close-icon {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 0px;
    right: 8px;
    width: 24px;
    height: 24px;
    stroke: black; /* Ändert die Farbe des "X" auf Weiß */
z-index: 10000;
}

#burgerMenu {
    display: none;
    list-style: none;
    padding: 0;
    background: white;
    position: absolute;
    top: 40px;
    left: 0;
    width: 200px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.burger-menu.open .burger-icon {
    display: none;
}

.burger-menu.open .close-icon {
    display: block;
font-size: 25px
}

.burger-menu.open #burgerMenu {
    display: block;
}


body {
  font-family: 'Open Sans', sans-serif;
  background-color: #FAF9F6;
  color: #353839;
  font-style: normal;
}

.nav {
  text-align: center;
  display: none;
}

.nav.show {
  display: block;
}

.nav a {
  color: #353839;
  text-decoration: none;
  transition: color 0.3s ease;
}



.section {
  background-color: #FAF9F6;
  color: white;
  padding: 20px;
  margin-bottom: 20px;
  word-break:break-word;
  overflow: hidden;
}


.section:nth-child(even) {
    background-color: #FAF9F6;
    position: relative;
}

.section:nth-child(even):not(:first-of-type)::before {
    content: "";
    display: block;
    width: 50px;
    max-width: 25vw;
    height: 2px; /* Adjust thickness as needed */
    background-color: #004aad;
    margin: 0 auto;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .burger-menu {
    display: block;
    cursor: pointer;
  }

  .burger-menu::before,
  .burger-menu::after {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background-color: #efefef;
    margin: 6px 0;
  }

  .nav.show ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #efefef;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 20px 0;
border: 1px solid grey;
z-index: 100;
min-height: 200px
  }

  .nav.show li {
    margin-bottom: 10px;
  }

  .nav.show a {
    padding: 5px;
  }
}

.burger-menu {
  display: block;
  cursor: pointer;
  position: relative;
  width: 40px;
  height: 40px;
  margin-top: 20px;
  text-align: right;
  margin-left: 20px;
}

.burger-menu .bar {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #353839;
  transition: background-color 0.3s ease;
}

.burger-menu .bar:nth-child(1) {
  top: 0;
}

.burger-menu .bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.burger-menu .bar:nth-child(3) {
  bottom: 0;
}

.burger-menu.active .bar {
  background-color: #000;
}

/* Add Pure.css classes to the navigation and burger menu */
.nav {
  @media screen and (min-width: 48em) {
    grid-column: span 9;
  }
}

.burger-menu {
  @media screen and (min-width: 48em) {
    grid-column: span 1;
  }
}

/* Add mobile styles for headings */
@media (max-width: 768px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 18px;
  }

  h5 {
    font-size: 16px;
  }

  h6 {
    font-size: 14px;
  }

  .box1 {
    margin-left: 20px;
  }
}

/* General Styles */
body {
  margin: 0;
  padding: 0;
}

.container {}

/* Header */
.header {
  background-color: #f5f5f5;
  padding: 20px;
}

.site-title {
  margin: 0;
  font-size: 24px;
  color: #333;
}

/* Navigation */
.nav-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu li {
  display: inline-block;
  margin-right: 10px;
}

.nav-menu li:last-child {
  margin-right: 0;
}

.nav-menu a {
  display: block;
  padding: 10px;
  color: #333;
  text-decoration: none;
}

/* Content */
.content {
  padding: 20px 0;
}

/* Sidebar */
.sidebar {
  float: right;
  width: 25%;
}

/* Footer */
.footer {
  background-color: #f5f5f5;
  padding: 20px;
  text-align: center;
  color: #777;
  font-size: 14px;
}

.section a,
a:link {
  color: #004aad; 
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus,
.section a:hover,
.section a:focus {
  color: #000;
}

.txt {
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
}

.imgleft {
  float: left;
  margin-right: 10px;
}

.imgcenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.imgright {
  float: right;
  margin-left: 10px;
}

@media screen and (min-width: 768px) {
  .nav {
    display: block;
  }

  .burger-menu {
    display: none;
  }

  .nav ul {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }

  .nav li {
    margin: 0 10px;
  }

  .nav li:first-child {
    margin: 0;
  }

  .box1 {
    margin-left: 0px;
  }
}

@media (min-width: 768px) {
  /* Desktop layout */
  .pure-g {
    display: flex;
  }

  .pure-u-2-5 {
    flex: 2 0 40%;
  }

  .pure-u-3-5 {
    flex: 3 0 60%;
margin-top: 30px
  }
}

@media (max-width: 767px) {
  /* Mobile layout */
  .pure-g {
    display: flex;
    flex-wrap: wrap;
  }

  .pure-u-4-5 {
    flex: 0 0 80%;
  }

  .pure-u-1-5 {
    flex: 0 0 20%;
  }
}

		/* The Modal (background) */
.w3-modal {
display: block;
  position: fixed; /* Stay in place */
  z-index: 30000; /* Sit on top */
  right: 2%;
  top: 450px;
  background-color: none;

}
		
/* Modal Content/Box */
.w3-modal-content {
  background-color: none;
  z-index: 13000001; /* Sit on top */
    text-align: right;
    float: left;
	right: 2%;
    margin: 10px;
    padding: 0px;
    border: none;
    width: 240px;
}
		
.btn-circle.btn-sm {
    width: 30px;
    height: 30px;
    padding: 16px 0px;
    border-radius: 15px;
    font-size: 8px;
    text-align: center;
}

.btn-circle.btn-md {
    width: 50px;
    height: 50px;
    padding: 7px 10px;
    border-radius: 25px;
    font-size: 10px;
    text-align: center;
    margin-bottom: 10px;
    -webkit-box-shadow: 0px 3px 15px 5px #444;
    box-shadow: 0px 3px 15px 5px #444;
 border: 1px solid #353839
}

.bordertop {
border-top: 1px solid #111
}
	
.widget ul {
list-style-type: none;
margin-left: -40px
}

a {cursor: pointer}

/* Support for wide and full-width alignments */
.alignwide {
    max-width: 1000px; /* Default max width */
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) { /* Tablets */
    .alignwide {
        max-width: 90%; /* 90% width for tablets */
    }
}

@media (max-width: 768px) { /* Mobile devices */
    .alignwide {
        max-width: 95%; /* 95% width for mobile */
    }
}

.alignfull {
    max-width: 100%; /* Full width */
    margin-left: 0;
    margin-right: 0;
    padding-left: 20px; /* Optional padding */
    padding-right: 20px; /* Optional padding */
}

/* Additional styles for sections with full-width alignment */
.section.alignwide {
    background-color: #ffffff; /* Change as needed */
}

.section.alignfull {
    background-color: #ffffff; /* Change as needed */
}