/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Helvetica, 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    background-image: linear-gradient(to right top, #f4f4f4, #e6e8ec, #d8dce4, #cad0dc, #bcc4d4); /* Subtle gradient background */
}

.footer {
    background: linear-gradient(to right, #003366, #004080); /* Gradient for header/footer */
    color: #fff;
    padding: 20px 40px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Soft box shadow for depth */
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5); /* Text shadow for depth */
}
.footer p
{
    max-width: 700px; /* Adjust max-width as needed */
    margin: 0 auto; /* This centers the div */
    padding: 10px; /* Add some padding inside the .content */
}

.header {
    background: linear-gradient(to right, #003366, #004080); /* Gradient for header/footer */
    color: #fff;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Soft box shadow for depth */
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5); /* Text shadow for depth */
    border-bottom: 5px solid #cc3333;
}

.header {
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Soft box shadow for depth */
}

.header-title {
    flex-grow: 0.1; /* Allows the title to take up the remaining space */
    text-align: center; /* Centers the title text */
}

.header-top {
    background-color: white; /* White background for the top part */
    padding: 10px 20px;

    display: flex; /* Enables Flexbox layout */
    align-items: center; /* Vertically centers the items */
    justify-content: center; /* space-between Distributes space between and around content items */
    padding: 10px; /* Add some padding around the container */
}

.header-top h1 {
    color: #003366; /* Dark blue color for the title, or any color you prefer */
    margin-bottom: 00px; /* Add some spacing if needed */
    font-size: 36px; /* Increase the font size of the h1 element */
    font-weight: bold; /* Optionally make the font bold for more emphasis */
}

.header-image {
    /* Optional: define width and height for your images */
    width: 70px;
    height: auto; /* Maintain aspect ratio */
}

.footer img {
    max-width: 50px; /* Adjust based on the actual size of your logos */
    max-height: 30px;
    /* height: auto; */
    margin: 0 5px;
    border: 2px solid white; /* Adding a white border */
    border-radius: 2px; /* Optional: Adds rounded corners to the border */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for transform and box-shadow */
}

.footer img:hover {
    transform: translateY(-5px); /* Slightly raise the logo on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Soft shadow for depth */
}

.content {
    padding: 20px 40px;
    background: #fff;
    background-clip: padding-box; /* for compatibility with older browsers */
    /* border-left: 5px solid #cc3333; */
    min-height: 600px;

    width: 70%; /* or any specific width you prefer */
    max-width: 1000px; /* Adjust max-width as needed */
    margin: 0 auto; /* This centers the div */
    padding: 20px 10%; /* Add some padding inside the .content */

    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1); /* Soft box shadow for depth */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition for hover effect */
}

/* Media Query für Geräte mit einer maximalen Breite von 768px (Tablets und darunter) */
@media (max-width: 768px) {
    .content {
        width: 100%; /* Lässt den Inhalt die gesamte Breite einnehmen */
        max-width: none; /* Entfernt die maximale Breite Begrenzung */
        padding: 20px 40px; /* Add some padding inside the .content */
    }

    .header-image {
        /* Optional: define width and height for your images */
        width: 50px;
        height: auto; /* Maintain aspect ratio */
    }
    .header-top h1 {
        font-size: 28px;
    }
}

.content:hover {
    /*transform: translateY(-5px); /* Slight lift effect on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Increased shadow on hover for depth */
}

h1, h2 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

h2 {
    margin-top: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #003366;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5); /* Text shadow for depth */
}

p {
    margin-bottom: 20px;
    text-align: justify;
}


nav ul {
    list-style-type: none;
    padding: 0;
    display: flex; /* Align nav items in a row */
    justify-content: center; /* Center nav items */
    margin: 0;
    padding: 10px 0px;
}

nav ul li {
    margin: 0; /* Remove margin to make the buttons touch each other */
}

nav a {
    text-decoration: none;
    color: white;
    background-color: #003366; /* Dark blue for formality, same as your header/footer */
    padding: 7px 25px; /* Padding inside the button */
    border-radius: 0; /* Remove border-radius to make the buttons touch squarely */
    transition: background-color 0.3s, transform 0.3s; /* Smooth transition for hover effects */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Soft shadow for depth */
    display: block; /* Make the entire area of the list item clickable */
}

nav a:hover, nav a:focus {
    background-color: #cc3333; /* Change color on hover */
    text-decoration: none; /* Ensure no underline appears on hover */
    transform: translateY(-2px); /* Slightly raise the button on hover for a 'pressable' feel */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3); /* Slightly larger shadow on hover for depth */
}


.form-container {
    margin: 20px 0;
    background: #e9ecef;
    background-image: url('pattern.png'); /* subtle pattern overlay */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Soft box shadow for depth */
    transition: box-shadow 0.3s ease-in-out; /* Smooth transition for hover effect */
}

.form-container:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Increased shadow on hover for depth */
}

input[type=text], textarea {
    width: 100%;
    min-height: 110px;
    margin: 8px 0;
    padding: 12px 20px;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9); /* Slightly transparent background */
}

button {
    background-color: #003366;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Soft box shadow for depth */
}

button:hover {
    background-color: #cc3333;
    transform: translateY(-2px); /* Slight lift effect on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Increased shadow on hover for depth */
}

.result-container {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #fff;
    background-image: url('pattern.png'); /* subtle pattern overlay */
    min-height: 50px;
    word-wrap: break-word;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Soft box shadow for depth */
    transition: box-shadow 0.3s ease-in-out; /* Smooth transition for hover effect */
}

/* .result-container:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
} */

/* Add some scientific touch through icons or specific content styling */


.submitBtn {
    box-shadow: 0 0px 0px 0 rgba(0,0,0,0.1), 0 6px 20px 0 rgba(0,0,0,0.1);
}

.submitBtn:hover {
    box-shadow: 0 0px 5px 0 rgba(0,0,0,0.24),0 2px 5px 0 rgba(0,0,0,0.19);
}