
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');

body {
    color: #000000; 
    background-color: #ffffff; 
}

a, .btn {
    color: #B7A998;
    /* ... */
}

a:hover {
    color: #151F33;
    /* ... */
}

body{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh; 

}

header {
    padding: 10px 50px; 
}

nav {
    margin-bottom: 10px; 
}


/*Transition*/

a, .btn{
    transition: all 300ms ease; 
}

/*Desktop Nav*/

nav, .nav-links {
    display:flex 
}

nav{
    justify-content: space-around;
    align-items: center;
    height: 8vh;
}

.nav-links {
    gap: 2rem; 
    list-style: none;
    font-size: 1.1rem;
    
}

a{
    color: rgb(2, 2, 2);
    text-decoration: none;
    
}

a:hover{
    color: grey;
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: grey;
}
.logo {
    font-size: 1.5rem; 
    margin-left: -18%;
}
.logo:hover{
    cursor: default;
}

/*hamburger menu*/ 

#hamburger-nav {
    display:none;
}
.hamburger-menu {
    position: relative;
    display: inline-block;
}

.hamburger-icon {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 23px;
width: 30px;
cursor:pointer
}

.hamburger-icon span {
    width: 100%;
    height: 2px;
    background-color: black;
    transition: all 0.3 ease-in-out;

} 

.menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;
    flex-direction: column;
  
}

.menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.2rem;
    color: black;
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}

.menu-links li {
    list-style: none;
}

.menu-links.open {
    max-height: 300px;
}

.hamburger-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
   opacity: 0;
}

.hamburger-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
    transform: none;
}

.hamburger-icon span:first-child {
    opacity: 1;
}

.hamburger-icon span:first-child {
    transform: none; 
}



section {
    text-align: center;
    max-width: 400px;
    width: 100%;
    padding: 50px;
    background-color: #ffffff;
    margin: auto;
}

#picture {
    display: flex;
    justify-content: center;
    align-items: center;    
    max-width: 100%;
    margin-bottom: 20px;
    margin-left: -20px;
}

#picture img {
  
    max-width: 300px;
    height: auto;
    max-height: 200px;
   
    
}

form {
    margin-top: 40px;
}

input[type="email"] {
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

input[type="submit"] {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

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

.blog-post {
    width: 300px; /* Ändern Sie die Breite nach Bedarf */
    margin: 20px; /* Hinzufügen von Abstand zwischen den Blog-Beitragscontainern */
    float: left; /* Links ausrichten */
    padding-left: 20px; /* Fügt dem Text einen linken Abstand hinzu */
}
.blog-post p {
    font-size: 14px; 
    font-style: italic;/* Hier kannst du die gewünschte Schriftgröße angeben */
}



.image-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 70%; /* Hier kannst du das Seitenverhältnis des Bildes einstellen, z.B. 16:9 */
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Optionale Einstellung, um sicherzustellen, dass das Bild den Container vollständig ausfüllt */
}

/* Header Styles */

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center; 
}


.header-content {
    display: flex;
    align-items: center;
}

.header-content h1 {
    margin: 0;
    margin-right: 20px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center; /* Align items vertically */
}

nav ul li {
    margin-right: 20px;
    
}

nav ul li:last-child {
    margin-right: 0; 
    
}

nav ul li a {
    color: #fffff;
    text-decoration: none;
    text-align: right; 
}

.email-container {
    margin: 0;
    padding: 0;
    height: 40px;
    display: flex;
    align-items: stretch;
    border: 1px solid #ccc; /* Optional: add a border for better visual distinction */
    border-radius: 5px; /* Optional: rounded corners */
    overflow: hidden; /* Ensure the children elements don't overflow */
}

.email-container input[type="email"],
.email-container input[type="text"] {
    padding: 10px;
    border: none;
    outline: none;

}

.email-container input[type="text"] 
{
    margin-right: -20px;
}
.email-container input[type="submit"] {
    padding: 10px 20px;
    width: 80px;
    height: 40px;
    background-color: #A1AFCE;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.email-container input[type="submit"]:hover {
    background-color: #555;
}

/* Footer Styles */

footer {
    background-color: #ffff;
    padding: 10px 0;
    font-size: 0.9rem;
    position: absolute;
    width: 100%;
    bottom: 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 0;
    padding: 0 10px;
    box-sizing: border-box; 
}

 .social-media-icons img {
    width: 30px;
    height: auto;
    margin-right: 5px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.social-media-icons img:hover {
    transform: scale(1.1); /* Optional: Increase the size of the icon on hover */
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
    margin-left: 20px;
}

.footer-links ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer-links ul li a:hover {
    color: #555;
}

#mc_embed_signup .mc-field-group input[type="email"],
#mc_embed_signup .mc-field-group input[type="text"] {
    padding: 10px;
    width: 250px;
    margin-bottom: 10px;
    box-sizing: border-box;
}


#newsletter_test {
    margin: 0;
    padding: 0;
}

#newsletter_test .mc-field-group input[type="text"] {
    padding: 10px; /* Adjust the padding as needed */
    width: 250px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

#picture,
section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#about {
    text-align: left;
}

.about-container {
    /* Add any other styles you need for the container */
    max-width: 800px; /* Adjust as needed */
    margin: auto;
}


.wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; 
    justify-content: space-between;
}

.blog-post {
    flex: 1 1 300px; /* Minimum width 300px */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border: none ;
    box-shadow: none;
}

.blog-post img {
    width: 100%;
    height: 200px;
    border-radius: 5px;
}

.blog-post h2 {
    font-size: 1.5em;
    margin: 0 0 10px 0;
}

.blog-post p {
    font-size: 1em;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-post a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

.image-container {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .grid-container {
        flex-direction: column;
        gap: 15px;
    }
}


