@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-size: 1.3rem;
}

@font-face {
    font-family: 'Sacramento';
    src: url('fonts/Sacramento-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
html {
    overflow: hidden;
}


body {
    margin: 0;
    color: #eefaf8;
    overflow: scroll;
    scroll-behavior: smooth;
    height: 100vh;
    scroll-snap-type: y mandatory;
    font-family: montserrat;
    background: rgb(12, 39, 47);
    background: radial-gradient(circle, rgba(12, 39, 47, 1) 0%, rgba(22, 120, 149, 1) 0%, rgb(108, 216, 175) 100%);
}

/* Versteckt die Scrollleiste in Webkit-basierten Browsern (z.B. Chrome, Safari) */
body::-webkit-scrollbar {
    display: none; /* Versteckt die Scrollleiste */
}



@media screen and (max-width: 1200px) {
    body {
        overflow: hidden;
    }

    #restContent {
        display: none;
    }

    .sacramento-smaller {
        font-family: "Sacramento", cursive;
        font-size: 2rem;
    }

    .montserrat-regular {
        font-family: "Montserrat", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
        font-size: 1.25rem;
    }

}

.warning {
    padding: 2%;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/*.sacramento-regular {
        font-family: "Sacramento", cursive;
        font-size: 30px;
        margin-top: 30px;
    }
    .firstPicture {
        max-width: 150px;
        height: auto;

    }*/


@media screen and (min-width: 1200px) {
    .warning {
        display: none;
    }

    body {
        font-family: "Montserrat", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
        font-size: 1.3em;
    }

    .sacramento-regular {
        font-family: "Sacramento", cursive;
        font-size: 3.5rem;
    }

    .section {
        padding: 5%;
        height: 100vh;
        scroll-snap-align: start;
        scroll-behavior: smooth;
        position: relative;
    }

    .navbar {
        margin-top: 1.5%;
        margin-right: 2%;
    }

    .nav-link {
        display: block;
        width: 100%;
        height: 100%;
    }

    .dot {
        width: 0.65rem;
        height: 0.65rem;
        border-radius: 50%;
        background-color: #eefaf8;
        margin: 0.9em;
    }

    .dot.active {
        background-color: rgba(22, 120, 149, 1);
    }

    .animated-text {
        overflow: hidden;
        white-space: nowrap;
        animation: typing 3s steps(20, end), blink-caret .75s step-end infinite;
        line-height: normal;
    }

    @keyframes typing {
        from {
            width: 0;
        }

        to {
            width: 100%;
        }
    }

    .fade-in {
        opacity: 0;
        animation: fade-in-animation 1.5s forwards;
    }

    .delay-1 {
        animation-delay: 0.5s;
        /* Verzögerung für das erste Element */
    }

    .delay-3 {
        animation-delay: 3s;
        /* Verzögerung für das dritte Element */
    }

    .delay-4 {
        animation-delay: 6s;
        /* Verzögerung für das vierte Element */
    }

    .delay-5 {
        animation-delay: 9s;
        /* Verzögerung für das fünfte Element */
    }

    @keyframes fade-in-animation {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .fade-in-image {
        opacity: 0;
        animation: fade-in-animation 3s forwards;
    }

    .parent {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(5, 1fr);
        grid-column-gap: 2.5em;
        grid-row-gap: 2.5em;
    }

    .div1 {
        grid-area: 1 / 1 / 2 / 5;
    }

    .div2 {
        grid-area: 2 / 1 / 4 / 4;
        display: flex;
        justify-content: center;
    }

    .div3 {
        grid-area: 2 / 4 / 4 / 7;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 25px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .div4 {
        grid-area: 4 / 1 / 6 / 4;

    }

    .div5 {
        grid-area: 4 / 4 / 6 / 7;
    }

    .zitat {
        padding: 3%;
    }

    .firstPicture {
        max-width: 45%;
        height: auto;
        background: rgba(255, 255, 255, 0.011);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
    }

    #section2 {
        text-align: center;
        padding-top: 10%;
    }

    .PicSection2 {
        max-width: 33%;
        border-radius: 25px;
        filter: grayscale(100%);
        opacity: 0.5;
        margin-top: 5%;
        -webkit-box-shadow: 0px 1px 105px 1px rgba(191, 245, 229, 0.7);
        -moz-box-shadow: 0px 1px 105px 1px rgba(191, 245, 229, 0.7);
        box-shadow: 0px 1px 105px 1px rgba(191, 245, 229, 0.7);
    }

    #section3 {
        padding-top: 10%;
    }

    .custom-container {
        padding-top: 5%;
    }

    .custom-card {
        height: 10rem;
        padding-top: 20%;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 25px;
        font-family: 'Montserrat', sans-serif;
        font-size: 0.8em;
        transition: transform 0.2s, box-shadow 0.2s;
        color: #eefaf8;
    }

    h1 {
        font-size: 1.2em;
    }

    .custom-card:hover {
        transform: translateY(-5px);
        box-shadow: rgb(87, 227, 255) 4px 4px 66px;
    }

    #section4 {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 10%;
    }

    #einführung {
        padding: 5%;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        width: 20rem;
        height: 20rem;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        transition: transform 0.2s, background-color 0.2s, color 0.2s;
    }

    #einführung:hover {
        transform: translateY(-5px);
        box-shadow: rgb(87, 227, 255) 4px 4px 66px;
    }

    #section5 {
        padding-top: 10%;
        padding-left: 30%;
    }

    .custom-card2 {
        margin-top: 5%;
        padding: 5%;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        height: 70%;
        border-radius: 25px;
        font-size: 0.95em;
    }

    .card-body {
        color: #eefaf8;
    }

    .link {
        font-size: 0.85em;
    }

    .p6 {
        padding-bottom: 5%;
    }

    #s6:hover {
        box-shadow: rgb(87, 227, 255) 4px 4px 66px;
    }

    .custom {
        height: 175px;
        padding-top: 10%;
        padding-left: 35px;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        font-family: 'Montserrat', sans-serif;
        border-radius: 25px;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .card a {
        color: #eefaf8;
        text-decoration: none;

    }

    .flex-container {
        display: flex;
        justify-content: center;
        gap: 30%;
        padding-top: 10%;
    }

    .p7 {
        margin-top: 5%;
    }

    #übersetzen,
    #shortcuts {
        background: rgba(255, 255, 255, 0.05);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        font-size: 1.5rem;
        padding: 3%;
        border-radius: 50%;
        width: 18rem;
        height: 18rem;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, color 0.2s;
    }

    #übersetzen:hover,
    #shortcuts:hover {
        transform: translateY(-5px);
        box-shadow: rgb(87, 227, 255) 4px 4px 66px;
    }

    #Cs3 {
        height: 100%;
        margin-top: 0;
        padding: 1%;
    }

    #section8 {
        text-align: center;
    }

    .letter {
        opacity: 0.7;

    }

    .letter:hover {
        opacity: 0.8;

    }

    .letterHeading {
        font-size: 24px;
        padding-top: 5%;
    }

    #section9 {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 2%;
    }

    .paragraphS9 {
        padding-top: 5%;
    }

    .custom-button {
        background: rgba(255, 255, 255, 0.05);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 10px;
        padding: 20px;
        text-align: center;
        width: 300px;
        font-size: 24px;
        border: none;
        color: #eefaf8;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .custom-button:hover {
        background: rgba(255, 255, 255, 0.05);
        box-shadow: rgb(87, 227, 255) 4px 4px 66px;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: #eefaf8;
    }

    .custom-button:active {
        text-decoration: none;
    }

    .paragraphS10 {
        padding-top: 5%;
    }

    a {
        color: #eefaf8;
        text-decoration: none;
    }

    #footer {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        color: #eefaf8;
    }

    #footer a {
        color: #eefaf8;
        text-decoration: none;
    }

    #section10 {
        padding: 3%;
    }


}
