/* Base styles */
html, body {
    margin: 0;
    padding: 0;
    overflow: auto; 
    font-family: Arial, sans-serif;
    background-color: #f6f6ef;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
}

.content-overlay {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: scroll;
    margin-top: 8%;
    padding: 20px;
    pointer-events: none;
    z-index: 2;
    padding-bottom: 60px; 
}

.content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: #f6d109; 
    padding: 5% 1%;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    pointer-events: auto;
}

.content img {
    max-width: 90%;
    height: auto;
}

.content-overlay a {
    pointer-events: auto;
}

.logo-and-title {
    display: flex;
    align-items: center; 
}

.logo img {
    height: 100px;
    vertical-align: middle; 
}

.project-title {
     
    font-size: 30px; 
}

.menu-items{
    margin-right: 8%;
}

/* Enhanced Liquid Metal Gradient for Menu Bar and Dropdowns */
@keyframes liquidMetal {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.menu-bar, .dropdown-content, .liquid-metal-footer {
    background: linear-gradient(145deg, #e6c40b, #b5a732, #dcb725, #f6d109);
    background-size: 200% 200%;
    animation: liquidMetal 10s ease infinite;
}

.menu-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    width: 100%; /* Ensures the menu bar stretches across the full width */
    justify-content: space-between; /* Distributes space between logo/title and the rest */
    align-items: center; /* Centers menu items vertically */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    z-index: 3; /* Highest in the stacking order */
}

/* Additional styling for links to make them stand out and clickable */
.menu-bar a {
    font-size: 16px;
    color: #333; /* Darker text for readability */
    text-decoration: none;
    margin: 0 15px; /* Spacing between menu items */
    padding: 10px 15px; /* Padding for better clickability */
    transition: transform 0.3s, box-shadow 0.3s; /* Smooth transition for interactive effects */
}

.menu-bar a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    background: #e6e600; 
}

.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown button */
.dropbtn {
    font-size: 16px;
    background: none;
    border: none;
    color: #333; 
    padding: 10px 15px;
    margin: 0 15px;
    text-decoration: none;
    cursor: pointer;
}

/* Dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 4;
}

/* Dropdown links */
.dropdown-content a {
    color: #333; 
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s; 
}

/* Hover effect for dropdown links */
.dropdown-content a:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.hamburger-menu {
    display: none; 
    position: absolute;
    right: 20px;
    top: 40px;
    flex-direction: column;
    cursor: pointer;
    z-index: 5;
}

.hamburger-menu .bar {
    height: 3px;
    width: 25px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.4s;
}

.elementor-widget-container {
    text-align: center; 
    background-color: #e6c40b; 
  }
  
  .footer-content a:visited{
      color: white;
  }
  
  .slider-heading {
    color: white; 
    font-size: larger; 
    margin: 0; 
    padding: 10px 0; 
  }

.swiper-container {
    background-color: #e6c40b; 
    height: 230px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 20px;
    overflow: hidden;
  }

  .swiper-slide {
    width: 210px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
  }

  .swiper-slide img {
    max-width: 100%; 
    max-height: 100%;
    object-fit: contain; 
  }

  .galerie img{
      max-width: 30%;
  }

.liquid-metal-footer {
    position: relative;
    color: white;
    text-align: center;
    padding: 30px 20px;
    z-index: 5;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-logo img {
    max-width: 100px; 
    padding: 10px;
}

.footer-logo span {
    color: black;
}

.footer-section {
    flex: 1;
    padding: 20px;
    min-width: 200px; 
}

.footer-section h2 {
    font-size: 18px;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section.follow-us {
    text-align: center;
}

.social-links {
    margin-top: 10px;
}

.footer-content a:link{
    text-decoration: none;
    color:white;
}

.social-links {
    display: inline-block;
    margin: 0 10px; 
}

.social-links h4{
    margin: 0px;
}

.footer-contact-inhaber, .footer-contact-buro{
    display: inline-block;
    margin: 15px;
}

.social-links img {
    width: 30px; 
    height: auto;
}

.footer-bottom {
    background: linear-gradient(145deg, #0b92e6, #215669, #479ed4, #5f6a6e);
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
}


#contactForm {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f3f3f3;
    border-radius: 8px;
}

#contactForm label {
    display: block;
    margin-top: 10px;
}

#contactForm input, #contactForm textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
}

#contactForm button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#contactForm button:hover {
    background-color: #45a049;
}


@media (max-width: 700px) {
    .footer-content {
        flex-direction: column;
    }
    
    .logo-and-title {
        margin-right: 100px;
    }
    
    .content{
        margin-top: 15%;
    }
    
}

.careers ul{
    text-align: left;
}



@media (max-width: 768px) {
    .footer div {
        align-items: flex-start; 
    }
    
    
    .meny-bar {
        margin:20px;
    }

    .footer-left, .footer-middle, .footer-right {
        margin-bottom: 10px; 
    }
    
    .menu-items{
        margin-right: 0px;
    }
    
    .content-overlay {
        margin-top: 12%;
    }
    
    .swiper-container { 
    height: 100px; 
    
  }
  
  .content{
        margin-top: 15%;
    }
    
}




@media screen and (max-width: 1100px) {
    .menu-items{
        margin-right: 0px;
    }
    
    .meny-items a{
        margin:0 7px;
    }
    
    .content{
        margin-top: 15%;
    }
}

/* Responsive Design for Smaller Screens */
@media screen and (max-width: 990px) {
    .hamburger-menu {
        display: flex; 
    }

    .menu-items {
        display: none;
        position: fixed;
        right: -8%; 
        top: 60px; 
        background: linear-gradient(145deg, #e6c40b, #b5a732, #dcb725, #f6d109);
        width: 50%; 
        text-align: left; 
        margin-right: 0px;
    }

    .menu-items.active {
        display: flex;
        flex-direction: column;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        width: 100%;
        right: 100%; 
        top: 0;
    }
    
    .logo {
        margin: 0px;
    }
    

    .dropdown:hover .dropdown-content {
        display: block;
    }
    
    .meny-items a{
        margin:0 7px;
    }
    
    .menu-items{
        margin-right: 0px;
    }
    
    .content{
        margin-top: 15%;
    }
    
}


