* {
    box-sizing: border-box;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: url('images/background.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden; 
}

.container100 {
    width: 100%;
    margin: auto;
    overflow: hidden;
    
}
.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

header {
    background: #4CAF50;
    color: #fff;
    padding: 20px 0;
}

header h1 {
    float: left;
}

nav {
    float: right;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline;
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}


.btn {
    background: #fff;
    color: #4CAF50;
    padding: 10px 20px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
}

.section {
    padding: 20px 0;
}

.service-grid, .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.service-item, .gallery-grid img {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

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

blockquote {
    margin: 20px 0;
    padding: 10px;
    border-left: 4px solid #4CAF50;
    background: #f9f9f9;
}

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

form label {
    margin: 10px 0 5px;
}

form input, form textarea {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
}

button {
    padding: 10px;
    background: #4CAF50;
    color: #fff;
    border: none;
    cursor: pointer;
}

button:hover {
    background: #45a049;
}

footer {
    background: #4CAF50;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

#contact {
    background-color: rgba(255, 255, 255, 0.7); 
    padding: 20px;
    border-radius: 8px; /* Rounded corners for a softer look */
}

#gallery {
    background-color: rgba(255, 255, 255, 0.7); 
    padding: 20px;
    border-radius: 8px; 
}
/* Responsive Styles */
@media (max-width: 768px) {
    body {
        background-size: auto 100%;
    }
    
    nav {
        float: none;
        text-align: center;
    }

    header h1 {
        float: none;
        text-align: center;
    }
}

.card {
    border: none; /* Remove the card border */
    background-color: #f8f9fa; /* Light background color for the card */
}

.card-title {
    color: #4CAF50; /* Green color for the card title */
}

.bi {
    color: #4CAF50; /* Green color for the icons */
}

.service-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease; /* Smooth transition for the pop-out effect */
}

.service-item:hover {
    transform: scale(1.1); /* Scale up the icon when hovered */
}

.service-item i {
    margin-bottom: 10px; /* Add some space below the icon */
    transition: transform 0.3s ease; /* Smooth transition for the icon */
}

.service-item:hover i {
    transform: scale(1.1); /* Scale up the icon when hovered */
}

.carousel-container {
    width: 80%;
    max-width: 900px;
    height: 500px;  
    margin: 50px auto;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;  /* Zentriert die Bilder horizontal */
    align-items: center;  /* Zentriert die Bilder vertikal */
}
.carousel-images {
    width: 100%;
    height: 100%;  
    position: relative;
   
}
.carousel-images img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 100%;  
    object-fit: contain;  
    opacity: 0; /* Standard-Opacity */
    transition: opacity 1s ease-in-out;
    pointer-events: none;
    border-radius: 8px;
}
    
.carousel-images img.active {
    opacity: 1; 
    pointer-events: none;
}
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}
.prev {
    left: 10px;
}
.next {
    right: 10px;
}
