/* Schriftarten */
@font-face {
    font-family: 'Josefin Sans';
    font-weight: 400;
    font-style: normal;
    src: url('./fonts/static/JosefinSans-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Josefin Sans';
    font-weight: 700;
    font-style: bold;
    src: url('./fonts/static/JosefinSans-Bold.ttf') format('truetype');
}
@font-face {
    font-family: 'Josefin Sans';
    font-weight: 300;
    font-style: light;
    src: url('./fonts/static/JosefinSans-Light.ttf') format('truetype');
}
@font-face {
    font-family: 'Josefin Sans';
    font-weight: 600;
    font-style: italic;
    src: url('./fonts/static/JosefinSans-Italic.ttf') format('truetype');
}
@font-face {
    font-family: 'Josefin Sans';
    font-weight: 700;
    font-style: italic;
    src: url('./fonts/static/JosefinSans-BoldItalic.ttf') format('truetype');
}
/* Allgemein*/
:root {
    box-sizing: border-box;
    --color-text: rgb(255 255 255);
    --weird-gruen:rgb(76, 175, 80);
    --dark-gruen: rgba(0, 43, 13, 0.769);
}

* {
    box-sizing: inherit;
    margin:0;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

main {
    padding: 50px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header */
header {
    width: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); 
    display: flex;
    align-items: center;
    position: relative;
    top: 0;
    left: 0;
    z-index: 2;
    justify-content: space-between
}

.logo-title {
    display: flex;
    align-items: center; 
}

.logo-title img {
    margin-right: 0; 
    width: 100px;
}

.logo-title h1 {
    margin-left: 10px; 
    color: var(--color-text);
    font-size: 2.5em;
}

/* Navigation Leiste */
nav {
    display: flex;
    align-items: center;
}

nav ul {
    list-style-type: none;
    display: flex;
    margin-left: auto; 
    margin-right: auto; 
    gap: 1vw;  
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: var(--color-text);
    padding: 10px 20px;
}

nav ul li a:hover {
    background-color: var(--weird-gruen);
    transition: background-color 0.3s ease;
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    padding: 10px 0; 
    margin-top: auto;
}

footer img {
    display: block;
    margin: 0 auto 5px; 
    width: 80px; 
}

footer p {
    margin: 0;
    font-size: 0.9em; 
}

/*Home*/
#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

.slideshow-content {
    position: absolute;
    top: 50%;
    left: 50%;
    color:var(--color-text);
    transform: translate(-50%, -50%);
    text-align: center;
}

.slideshow-content h2 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    animation: fadeIn 1s ease-in-out;
}

.slideshow-content p {
    font-size: 1.2em;
    margin-top: 30px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    animation: fadeIn 1s ease-in-out;
}

.slideshow-container {
    padding: 100px 20px;
    text-align: center;
    margin: 150px auto 50px;
}   

.slideshow-content .btn {
    padding: 10px 20px;
    margin-top: 30px;
    background-color: transparent;
    border: 2px solid var(--color-text);
    color: var(--color-text);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    font-size: 1.5em;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: 'Josefin Sans', sans-serif;
}

.slideshow-content .btn:hover {
    background-color: var(--weird-gruen);
    color: var(--color-text);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.slideshow-content .btn a {
    text-decoration: none;
    color: inherit;
}

/* Aktivitäten*/
#aktivitaeten {
    padding: 70px 20px;
    text-align: center;
}

#aktivitaeten h2 {
    font-size: 2.5em;
    margin: 40px;
    color: var(--color-text);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.activity-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.activity-bar {
    width: 300px;
    padding: 20px;
    color:var(--color-text);
    background-color: var(--dark-gruen);
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: flyin 0.8s ease forwards;
}

.activity-bar h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.activity-bar img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
}

.activity-bar p {
    font-size: 1em;
    margin-bottom: 30px;
}

.activity-bar button {
    padding: 10px 20px;
    background-color: #00000000;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    color: var(--color-text);
    border: 2px solid #ffffff;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.activity-bar button a {
    text-decoration: none;
    color: inherit;
}

.activity-bar button:hover {
    background-color: var(--weird-gruen);
}

/* Otter-Steckbriefe */
.otter-section {
    padding: 10px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.otter-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 50px;
    align-items: stretch;
}

.otter-card {
    background-color: var(--dark-gruen);
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    margin: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    opacity: 0; 
    transform: translateY(20px); 
    animation: flyin 0.8s ease forwards;
    line-height: 120%;
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
    gap: 0.5em;
}


.otter-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.otter-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color:var(--color-text);
}

.otter-card p {
    font-size: 1em;
    color: #ffffffc5;
    text-align: left;
}

.otter-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #00000000;
    color: var(--color-text);
    border: 2px solid #ffffff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    font-family: 'Josefin Sans', sans-serif;
}

.otter-btn a {
    text-decoration: none;
    color:var(--color-text);
}

.otter-btn:hover {
    background-color: var(--weird-gruen);
} 

/* Preise*/
.preise-section {
    padding: 80px 40px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

table {
    width: 80%; 
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
}

th,
td {
    padding: 15px;
    text-align: center;
}

th {
    background-color: var(--weird-gruen);
    color: var(--color-text);
}

td {
    background-color:  var(--dark-gruen);
    color: var(--color-text)
}

td a {
    text-decoration: none;
    color:var(--color-text);
}

td a:hover {
    text-decoration: underline;
    color: var(--color-text);
}

#standort {
    padding: 20px;
    text-align: center;
    margin-top: 100px;
}

.standort-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.map {
    width: 80%;
    max-width: 1000px;
    margin-bottom: 30px;
}

/* Kontaktformular (Credits an ChatGpt)*/ 
.contact-form {
    width: 40%; 
    max-width: 900px; 
    margin: 200px auto 50px; 
    padding: 40px;
    background-color: var(--dark-gruen);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--color-text);
    z-index: 2; 
    position: relative;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color:var(--color-text)
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background-color: transparent;
    color:var(--color-text);
    border: 2px solid #ffffff;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Josefin Sans', sans-serif;
}

.contact-form button:hover {
    background-color: var(--weird-gruen);
}

/* Animationen */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes flyin {
    from {
      transform: translatey(100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  
}

/* Mobile */
@media (max-width: 767px) {
    body {
        font-size: 14px;
        overflow-x: hidden; 
    }

    header {
        display: flex;
        flex-direction: column; 
        text-align: center;
        position: relative; 
        z-index: 10; 
        transition: height 0.5s ease;
    }

    .logo-title h1 {
        display: none; 
    }

    .hamburger {
        display: flex; 
        z-index: 12; 
        position: relative;  
        left: 50%; 
        transform: translateX(-50%);
    }

    nav {
        width: 100%; 
        z-index: 9; 
    }
    

    nav ul {
        display: flex; 
        flex-direction: column; 
        gap: 10px; 
        max-height: 0; 
        overflow: hidden; 
        transition: max-height 0.5s ease; 
        background-color: rgba(0, 0, 0, 0.5); 
        position: absolute; 
        left: 0; 
        right: 0; 
        top: 100%; 
    }

    nav.active ul {
        max-height: 300px; 
        padding-right: 35px;
    }

    footer {
        z-index: 1; 
        transition: transform 0.5s ease; 
    }
    
    .slideshow-content {
        top: 59%;
    }


    nav.active ~ main, 
    nav.active ~ footer {
        transform: translateY(300px); 
    }

    .contact-form {
        width:80%;
    }

    .preise-section {
        margin-top: 20%;
    }
    .otter-section{
        margin-top: 20%;
    }
    
    #aktivitaeten h2{
        margin-top: 25%;
    }
}
