/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color1: #000000;
    --color2:rgb(209, 246, 248);
    --color3: #167dd2;
    --color4light: #77ecc9;
    --color4: #00dded;
    --color5: #00ffff;
    --color6: #00b4c0;
    --email-blue: #a6f2ff;
    --lightGray-c6: #f9f9f9;
    --borderColor-c7: #e0e0e0;
    --gradient1: linear-gradient(to right, var(--color4), var(--color3));
}



/* Fonts and Colors */
body {
    font-family: Arial, sans-serif;
    /* Changed background to black and text to white */
    background-color: black;

    overflow-x: hidden;
}

/* Navbar */

/* Top Section Styling */
.top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem;
    background-color: white;
    color: var(--color1);
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;


}

.logo img {
    width: 35px;
    height: auto;
    margin-right: 0.6rem;
    position: relative;
    top: -6px;
}




@media (max-width: 500px) {
    .top-section {
        padding: 1rem 1rem;
        /* Smaller padding for mobile */
    }

    .logo {
        font-size: 1.4rem;
        /* Reduce font size for mobile */
    }

    .logo img {
        width: 28px;
        /* Smaller logo size for mobile */
    }


}



/* Hero Section */
.hero {
    position: relative;
    background: white;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #000;
    z-index: 2;

}

.hero-content h1 {

    font-size: 2.5rem;
    margin-bottom: 1rem;
    margin-inline: 15%;
    text-align: center;
    position: relative;
    z-index: 2;

}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    margin-inline: 10%;
    z-index: 2;

}

.hero-image img {
 width: 10%;
    /* Adjust the width to your preference */
    height: auto;
    /* Maintain aspect ratio */
    max-width: 100%;
    /* Ensure it stays responsive */
    object-fit: contain;
    padding: 0;
    margin: 20px;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -10;
    /* Ensure it's below the text */
}

/* Hero Button Styling (Rounded) */
.btn-primary {
    text-decoration: none;
    background-color: var(--color4);
    color: var(--color1);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    /* Rounded button */
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    display: inline-block;
    width: 200px;
    text-align: center;
    margin-left: 2rem;
}

.btn-primary:hover {
    background-color: var(--color6);
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;

}

/* dots for apple email design */
.dot {
    height: 15px;
    width: 15px;
    background: #ED594A;
    display: inline-block;
    border-radius: 50%;
    margin-right: 7px;
}

.dot:nth-child(2) {
    background: #FDD800;
}

.dot:nth-child(3) {
    background: #5AC05A;
}



/*   Preview Section Styles */
.email-preview {
    padding: 40px 20px;
    background-color: var(--email-blue);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}


.email-window {
    max-width: 100%;
    border: 1px solid #a6a6a6;
    border-radius: 8px;
    box-shadow: 0 0 16px rgba(140, 140, 140, 1);
}

.header {
    width: 100%;
    padding: 15px;
    background: white;
    border-radius: 8px 8px 0 0;
    z-index: 10;
}

.email-card {
    position: relative;
    background: white;
    border: 1px solid var(--borderColor-c7);
    border-radius: 0 0 8px 8px;
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.email-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--borderColor-c7);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.sender {

    color: #333333;
}

.timestamp {
    color: #888888;
    font-size: 14px;
}


.email-subheader {
    font-size: 30px;
    margin-bottom: 10px;
    color: #555555;
    font-weight: bold;
}

.email-body p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #555555
}

.email-body .email-text {
    margin-bottom: -1px;

}

.gradient-text {
    background: linear-gradient(to right, var(--color4), var(--color3));
    /* Beispiel-Farben */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: black;
    /* Fallback */
}

/* Base styles for both types of links */
.email-body .link-text,
.email-body .link-text-inline {
    display: inline;
    font-size: 14px;
    color: #007bff;
    /* Blue color */
    /* text-decoration: underline;*/
    font-weight: bold;
    cursor: pointer;
}

/* Add margin only to .link-text */
.email-body .link-text {
    margin-right: 15px;
}

/* Hover effect (same for both) */
.email-body .link-text:hover,
.email-body .link-text-inline:hover {
    color: var(--color4);
    /* text-decoration: underline;*/
}


.highlight {
    color: #000000;
    font-weight: bold;
    background-color: #84bdee;
    /* Optional: Add a light background */
    padding: 2px 4px;
    /* Add some padding */
    border-radius: 4px;
    /* Round the background corners */
}


.check {
    width: 30px;

}

.check-container {
    padding-top: 10px;
    display: flex;
    /* Makes the container a flexbox */
    align-items: center;
    width: 170px;
}
@media (max-width: 400px) {
    .check-container {
        display: flex;
    /* Makes the container a flexbox */
    align-items: center;
    width: auto;
    }
    
  }

.check-big-container {
    display: flex;
    /* Makes the container a flexbox */
    align-items: center;
    gap: 12px;
    font-size: medium;

}
@media (max-width: 400px) {
    .check-big-container {
      /* Possibly flex-wrap if needed */
     font-size: small;
    }
    
  }
  

.container {
    display: flex;
    align-items: center;
    /* Center vertically */
    justify-content: center;
    /* Center horizontally */
    gap: 50px;
    /* Space between elements */
    flex-wrap: wrap;
    /* Wrap elements if screen size is small */
}

/* Style for the additional text */
.additional-text {
    max-width: 400px;

    /* Optional: Limit text width */
    text-align: left;
    /* Center-align the text */
    font-size: 20px;
    color: #333333;
    line-height: 1.3;
    display: flex;
    align-items: center;
    /* Center vertically */
    justify-content: center;
    /* Center horizontally */
    gap: 50px;
    /* Space between elements */
    flex-wrap: wrap;
    /* Wrap elements if screen size is small */
}

@media (max-width: 400px) {

    .additional-text {
        font-size: large;
    }
  }
/* Features Section */
.features {
    /* Changed background to black */
    background-color: white;
    /* White text for visibility */
    color: black;
    padding: 4rem 2rem;
    text-align: center;
    font-size: large;
}

.features h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: bold;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    /* Ensure items wrap on smaller screens */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    gap: 40px;
    /* Add spacing between cards */

}

.feature {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient( to bottom right ,  var(--email-blue) , var(--color2) 90% );
    color: #393838;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    min-height: 250px;
    width: 300px;
    max-width: 100%;
    position: relative;
    z-index: 0;
}


/*
.feature::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    background: inherit;
    filter: blur(25px);
    transform: translateY(3rem) scale(0.9);
    transition: all 0.3s ease-in-out;
    z-index: -1;
}
*/
.feature:hover::before {
    filter: blur(40px);
    opacity: 0.8;
}

.feature:hover {
    transform: scale(1.05);
    /* Slightly enlarge the card */
    z-index: 2;
    transition: all 0.3s ease-in-out;
    /* Ensure it appears above other cards */
}


.features h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

/*glassy panels */
.Glass-Panel {
    /* From https://css.glass */
    background: rgba(67, 162, 255, 0.29);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(7.2px);
    -webkit-backdrop-filter: blur(7.2px);
    border: 1px solid rgba(67, 162, 255, 0.29);
    padding: 20px;
    text-align: center;
    min-height: 250px;
    max-width: 100%;
    flex-direction: column;
}


/* About Section */
.about{
    /* Also black to match the rest of the site */
    background: white;
    color: #000;
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
}
.about-content{
    width: 50rem;
    background: var(--color2);
    padding: 4rem 2rem;
    border-radius: 15px;
    font-size: large;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Horizontal, Vertical, Blur, Spread, Color */}

.about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about p {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* CTA / Contact Section */
.cta {
    /* Keep the CTA background as is to stand out against the black site */
    background: white;
    color: var(--color1);
    padding: 4rem 2rem;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.contact-form input {
    padding: 0.75rem;
    border-radius: 30px;
    border: none;
    width: 200px;
    outline: none;
}



.contact-form button:hover {
    background: #00C0c0;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1rem;
    /* Black background for consistency */
    background: var(--color2);

}

.footer-text {
    color: black;
    display: inline;
}


/* Responsive */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: #000;
        width: 200px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .nav-links ul {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.nav-active {
        transform: translateX(0);
    }

    .hero {
        height: 60vh;
    }

    .feature-list {
        flex-direction: column;
    }
}


/* Modal Styling */
.modal {
    display: none;
    /* Modal verstecken, bis es geöffnet wird */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Halbtransparenter Hintergrund */
    z-index: 1000;
}

.modal-content {
    position: relative;
    /* This makes the close button position relative to the modal */
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    margin: 10% auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-button {
    position: absolute;
    /* Now it's positioned inside the modal */
    top: 10px;
    /* Distance from the top of the modal */
    right: 15px;
    /* Distance from the right of the modal */
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.close-button:hover {
    color: red;
}


form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-top: 1rem;
    font-weight: bold;
}

form input {
    padding: 0.8rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.lama-pointing{
    position: absolute;
    transform: translate(-190px, -70px);

    width: 6rem;
}
form button {
    margin-top: 1.5rem;
    padding: 0.8rem;
    background-color: var(--color1);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    display: inline-block;
}

form button:hover {
    background-color: var(--color4);
    color: var(--color1);
}

/* Success Message Styling */
.success-message {
    text-align: center;
    padding: 1.5rem;
    background-color: #e8f8f5;
    border-radius: 8px;
}

.success-message h3 {
    color: linear-gradient(to right, var(--color4), var(--color3));
    ;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: #333;
    font-size: 1rem;
}