.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;

    padding: 25px 0px;
    z-index: 1000;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    background-image: linear-gradient(to bottom, white 90%, rgba(255, 255, 255, 0));
}

/* Navigation Styling */
nav {
    margin: 0 auto;
    width: 75%;
    margin-top: 5px;
    text-align: center;
}

nav a {
    font-family: "JetBrains Mono", monospace;
    font-size: 1.5em;
    font-weight: 250;
    letter-spacing: 1px;
    text-decoration: none;
    color: black;
}

nav a:hover {
    text-decoration: underline;
}

.content {
    margin-top: 11em;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    width: 75%;
}

section {
    margin-bottom: 75px;
}

h1 {
    font-family: "JetBrains Mono", monospace;
    font-size: 3.5em;
    font-weight: 250;
    letter-spacing: 3px;
    margin-top: 5px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    text-align: center;
}

h2 {
    font-family: "JetBrains Mono", monospace;
    font-size: 2.5em;
    letter-spacing: 2px;
    font-weight: 250;
}

h3 {
    font-family: "JetBrains Mono", monospace;
    font-size: 1.2em;
    font-weight: 250;
    letter-spacing: 1px;
    margin-bottom: 40px;
    margin-top: 5px;
    margin-left: 5em;
}

h2::before {
  display: block;
  content: " ";
  margin-top: -225px;
  height: 225px;
  visibility: hidden;
  pointer-events: none;
}

p {
    font-family: "JetBrains Mono", monospace;
    font-size: 1.5em;
    font-weight: 250;
    line-height: 1.6;
    letter-spacing: 1px;
    margin-left: 4em;
}

/* Smooth scrolling effect */
html {
    scroll-behavior: smooth;
}

/* Styling for the iframes in the projects section */
iframe {
    border: 0;
    width: 100%;
    max-width: 450px;
    height: 450px;
    margin-left: 6.1em;
    margin-top: 25px;
}


.logo-container {
    display: block;
    margin-bottom: 20px;
}

.logo-container img {
    width: 150px;
    height: auto;
        margin-left: 4em;
}

.logo-container.extra-margin-left {
    margin-left: -15px;
}

.logo-container.extra-margin-top {
    margin-top: 40px;
}

.no-select {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.text-link {
    color: black;
    text-decoration: underline;
}

.website-link {
    font-family: "JetBrains Mono", monospace;
    color: black;
    text-decoration: none;
    margin-top: 20px;
}

.website-link:hover {
    text-decoration: underline;
}

.mail-link {
    font-family: "JetBrains Mono", monospace;
    color: black;
    text-decoration: none;
    margin-top: 20px;
}

.mail-link:hover {
    text-decoration: underline;
}

.impressum {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.5em;
    font-weight: 250;
    line-height: 1.6;
    letter-spacing: 1px;
    color: black;
    text-decoration: none;
    display: block;
    margin: 0 auto;
    text-align: center;
}

/* Media Queries for Responsive Design */

/* For Tablets */
@media (max-width: 850px) {
    h1 {
        font-size: 3em;
            margin-left: auto;
            margin-right: auto;
            width: 80%;
    }

    h2 {
            font-size: 2em;
        }

    h2::before {
      display: block;
      content: " ";
      margin-top: -200px;
      height: 200px;
      visibility: hidden;
      pointer-events: none;
    }

        nav {
            width: 80%;
            margin: 0 auto;
            margin-top: 5px;
        }

    nav a {
        font-size: 1.5em;
        margin: 0 auto;
    }

    .content {
            width: 80%;
            padding: 0px;
            margin-top: 13em;
        }

    iframe {
        max-width: 75%;
        max-width: 450px;
        height: 450px;
    }
}

/* For Mobile Devices */
@media (max-width: 500px) {
    .fixed-header {
        padding: 15px 0;
    }


    h1 {
        font-size: 1.5em;
        margin-left: 1.1em;
        margin-right: auto;
        width: 90%;

    }

    nav {
        width: 90%;
        margin-top: 5px;
        margin-left: 1.75em;

    }

    nav a {
        font-size: 0.875em;
        margin: 0 auto;
    }

    h2 {
        font-size: 1.25em;
    }

    h2::before {
      display: block;
      content: " ";
      margin-top: -135px;
      height: 135px;
      visibility: hidden;
      pointer-events: none;
    }

    h3 {
        font-size: 0.75em;
        margin-bottom: 15px;
        margin-left: 4em;
    }

    p {
        font-size: 0.75em;
    }

    .content {
        width: 90%;
        padding: 0px;
        margin-top: 8.5em;
    }

    section {
        margin-bottom: 50px;
    }

    .website-link {
        font-size: 0.50em;
    }

    iframe {
            max-width: 60%;
            max-width: 275px;
            height: 275px;
            margin-top: 25px;
            margin-left: 3em;

    }

}
