/* General Reset */
* {
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    font-family: 'Figtree', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body {
    background-color: #9d81af;
}

/* Flex Container Setup */
.flex-container {
    display: flex;
}

.flex-container div {
    background: rgb(160, 98, 43);
    flex: 1;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    box-shadow: 0 1px 8px #ddd;
    background-color: #32003e;
    color: #ffe8d6;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

#nav-title {
    font-size: 2em;
    font-weight: bold;
    margin-right: auto;
    text-align: center;
}

/* Navigation Styling */
nav {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
    padding: 0;
    margin: 0;
}

nav li {
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

nav a {
    text-decoration: none;
    color: #ffe8d6;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ff8a65;
}

nav li:hover {
    background-color: #8b6993;
    border-radius: 12px;
}

/* Flexbox Setup for Icons */
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon {
    width: 80px;
    height: auto;
    margin-top: 5px;
    border-radius: 12px;
    box-shadow: #0b5aaa 3px 3px 4px;
}

/* Logo */
.logo {
    width: 80px;
    height: auto;
    border: #d4a1e1 solid 2px;
    border-radius: 20%;
    margin-right: 10px;
    box-shadow: 2px 2px 5px #bb2d2d;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

/* Images */
.responsive-img,
.wasser-img,
.spike-img,
.smoothie-img {
    max-width: 40%;
    height: auto;
    border-radius: 20%;
    margin: 20px auto;
    display: block;
}

.wasser-img {
    box-shadow: 2px 2px 30px #2580db;
}

.spike-img {
    box-shadow: 2px 2px 20px #cbc676;
}

.smoothie-img {
    box-shadow: 2px 6px 20px #57c722;
}

.responsive-img {
    box-shadow: 2px 2px 40px #82e770;
}

/* Main Content */
.content {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #8b6993;
    color: #ffe8d6;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    text-align: center;
}

h1 {
    color: #e1ff00;
    font-size: 36px;
}

h2 {
    color: #a9ffcb;
    font-size: 24px;
}

ul {
    width: 100%;
    padding: 0;
    list-style: none;
}

ul li {
    font-size: 18px;
    color: #ffe8d6;
    margin: 10px 0;
}

/* Link Styling */
a {
    color: #ff8a65;
    font-weight: bold;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffe34d;
}

p {
    text-align: center;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #32003e;
    color: #ffe8d6;
    margin-top: auto;
}

/* Responsive Design */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    #nav-title {
        margin: 0;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav li {
        margin-bottom: 10px;
    }

    .content {
        padding: 10px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 20px;
    }

    ul li {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 15px;
    }

    nav ul {
        align-items: center;
        width: 100%;
    }

    nav li {
        padding: 10px 0;
        margin: 0;
        text-align: center;
    }

    .content {
        margin: 20px auto;
    }
}

/* Hide Icons on Smaller Screens */
@media (max-width: 300px) {

    .icon,
    .logo {
        display: none;
    }

    #nav-title {
        display: flex;
        align-items: center;
        font-size: 1.4em;
        margin-bottom: 10px;
        
    }

    h1 {
        font-size: 24px;
    }
}

.impressum {
    font-size: 12px;
    color: #ffe8d6;
    margin-top: 20px;
    list-style-type: none;
    padding: 0;     
    text-align: center;
    text-decoration: none;
}