@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');
body {
    font-family: Arial, sans-serif;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: repeat-y; 
    margin: 0;
    padding: 0;
}
header {
    background-color: rgba(0, 0, 0, 0.7);
    color: rgb(248, 248, 248);
    text-align: center;
    padding: 20px 0;
}
h1 {
    margin: 0;
    font-size: 36px;
}
.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.cocktail {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer; 
}
.cocktail h2:hover {
    text-decoration: underline;
    cursor: pointer;
    }
.cocktail h2 {
    margin: 0;
    font-size: 24px;
}
.cocktail p {
    margin: 10px 0;
    font-size: 16px;
}
.cocktail .steps {
    display: none; 
}

.movie {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer; 
}
.movie h2:hover {
    text-decoration: underline;
    cursor: pointer;
    }
.movie h2 {
    margin: 0;
    font-size: 24px;
}
.movie p {
    margin: 10px 0;
    font-size: 16px;
}
.movie .steps {
    display: none; 
}
#suche {
    width: 100%;
    border: none;
    border-bottom: 2px solid #999;
    font-size: 16px;
    transition: width 0.5s ease-in-out;
    margin-bottom: 10px;
    outline: none;
}
#suche:focus {
    font-size: 16px;
    width: 100%;
}
#searchInput {
    width: 100%;
    border: none;
    border-bottom: 2px solid #999;
    font-size: 16px;
    transition: width 0.5s ease-in-out;
    margin-bottom: 10px;
    outline: none;
}
#searchInput:focus {
    font-size: 16px;
    width: 100%;
}
.dropdown {
    position: relative;
    float: left;
    margin-left: 20px;
}

.dropdown-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdown-btn::after {
    content: '\2630'; /* Hamburger icon (Unicode) */
    font-size: 24px;
    margin-left: 5px;
    color: #000; /* Ändere die Farbe auf schwarz */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 10px;
    left: 0;
    top: 100%;
    border-radius: 5px;
}

.dropdown-content a {
    display: block;
    color: #fff;
    padding: 10px;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}


/*. */

.dropdownright {
    position: relative;
    float: right;
    margin-right: 20px;
}

.dropdownright-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdownright-btn::after {
    content: '\2630'; /* Hamburger icon (Unicode) */
    font-size: 24px;
    margin-left: 5px;
    color: #000; /* Ändere die Farbe auf schwarz */
}

.dropdownright-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 10px;
    /* left: 0;  <--- das hier entfernen */
    right: 0; /* Menü öffnet sich nach links */
    top: 100%;
    border-radius: 5px;
}

.dropdownright-content a {
    display: block;
    color: #fff;
    padding: 10px;
    text-decoration: none;
}

.dropdownright-content a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

/* 🔧 Media Query für kleine Displays 
@media (max-width: 600px) {
    .dropdownright {
        float: none;
        margin: 0 auto;
        text-align: center;
    }

    .dropdownright-content {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 80vw; 
    }
}
 */

form {
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    margin-bottom: 10px;
}

form input,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

form button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

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

.dropdown-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
}
/* ----------------- Transition ------------------------ */

#slideshow {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

#slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    transition: opacity 0.5s ease-in-out;
}

#prevBtn, #nextBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
    display: flex;
    align-items: center; /* Zentriert das Kind vertikal */
    justify-content: center;
}

#prevBtn {
    height: 100%;
    width: 25px;
}

#nextBtn {
    height: 100%;
    width: 25px;
    right: 0px;
}

