* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    text-decoration: none;
    color: #333;
}

a {
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    color: #dcdcdc;
}

li {
    margin-left: 20px;
}

header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgb(21, 21, 21);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

nav ul {
    display: flex;
    list-style-type: none;
    padding: 0;
}

nav li {
    display: inline-block;
    margin: 10px;
}

nav a:hover, .instagram-link img {
    color: #dcdcdc;
    margin-right: 0px;
}

#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#hero img, .overlay {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    z-index: 1;
}

.logo_class {
    font-family: 'Amatic SC';
    font-size: 2.5em;
    color: #ffffff; /* white color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.logo {
    max-width: 70vh;
    max-height: 70vh;
    -webkit-filter: invert(1);
}

section {
    padding: 50px;
    text-align: center;
}

h2 {
    margin-bottom: 30px;
    font-size: 36px;
}

p {
    font-size: 18px;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

.produkte {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.produkt {
    width: 200px;
    height: 200px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 5px;
}

.produkt img {
    width: 100%;
    height: auto;
}

.produkt h3 {
    margin-top: 10px;
    font-size: 18px;
}

.karte {
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
}

form {
    max-width: 500px;
    margin: 0 auto;
}

label {
    display: block;
    margin-bottom: 5px;
}

input, textarea {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

input[type="submit"] {
    background-color: #5cb85c;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #449d44;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.instagram-link {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.instagram-link img {
    height: 24px;
    width: 24px;
    -webkit-filter: invert(1);
    color: grey;
    margin-right: 20px;
}

#unser-hof, #huette {
    background-color: #f9f9f9;
    padding: 50px;
}
#unser-hof h2, #huette h2, #unsere-erzeugnisse h2 {
    margin-bottom: 30px;
    font-size: 36px;
}

#unser-hof p, #huette p {
    font-size: 18px;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

#unsere-erzeugnisse {
    padding: 50px;
}

.produkt {
    width: 350px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.produkt:hover {
    transform: scale(1.05);
}

.produkt img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.produkt-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background-color: rgba(245, 245, 245, 0);
    transition: all 0.3s;
}

.produkt:hover .produkt-overlay {
    background-color: rgba(245, 245, 245, 0.9);
}

.produkt-info {
    opacity: 0;
    transition: opacity 0.3s;
}

.produkt-name {
    margin-top: 10px;
    font-size: 18px;
    transition: transform 0.3s;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 5px;
    border-radius: 5px;
}

.produkt:hover .produkt-name {
    transform: translateY(-40%);
}

.produkt:hover .produkt-info {
    opacity: 1;
}

.produkt-info p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.map-container {
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

footer {
    background-color: rgb(21, 21, 21);
    color: #fff;
    padding: 20px 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
}

.footer-links a:hover {
    text-decoration: underline;
}
