
@font-face {
    font-family: 'n27bold';
    src: url('font/n27-bold-webfont.woff');
}

@font-face {
    font-family: 'n27regular';
    src: url('font/n27-regular-webfont.woff');
}

@font-face {
    font-family: 'n27medium';
    src: url('font/n27-medium-webfont.woff');
}

body{
    margin: 0;
    min-width: 100%;
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    margin-bottom: 30vh;
    cursor: url('media/cursor_unbuilt.png') 16 16, auto; /* 16 16 ist der Hotspot (Zentrum des Cursors) */
   }
  
.section{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

.section-text{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: row;

    margin-top: 15vh;
    margin-bottom: 0vh;
    min-width: 60vw;
    max-width: 60vw;
    height: auto;
    min-height: 25vh;
}

.img-cover {
    position: absolute;
    top: 19.5vh; /* position at the top */  
    width: 60vw;
    height: 60vh;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 10px 10px 50px rgba(0, 0, 0, 0.1); /* Schattenwurf */
    transition: transform 0.9s ease;
}

.logo {
    z-index: 1000;
    position: fixed;
    top: 10vh; /* position at the top */  
    left: 5vw;
    width: 5vw;
    height: 5vh;
    transition: transform 0.9s ease;
}


.img-cover:hover {
    transform: scale(1.02);
}

.text-cover {
    position: absolute;
    top: 19.5vh; /* position at the top */  
    width: 60vw;
    height: 60vh;
    display: flex;
    justify-content: space-between;
    align-content: flex-end;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px); /* Blur effect */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
    color: rgb(255, 255, 255);
    border-radius: 30px;   
    overflow: hidden;
    white-space: nowrap;
    font-family: 'n27medium';
    font-weight: 100;
    font-size: 1.5vh;
    font-style: normal;
    transition: transform 0.9s ease;
}


.text-cover:hover {
    transform: scale(1.02);
}


.text-itemh1 {
    text-align: left;
    padding: 1.5vw;
    padding-right: 1.5vw;
    font-size: 3.5vh;
    line-height: 4vh;
    color: #ffffff;
    text-wrap: wrap;
    font-family: 'n27medium';
    width: 30%;
}

.text-item {
    text-align: left;
    right: 0%;
    padding-bottom: 1.5vw;
    padding-top: 1.5vw;
    color: #ffffff;
    text-wrap: wrap;
    font-family: 'n27medium';
    width: 60%;
    border-bottom: 1.5px solid #ffffff;
    margin-left: auto;
}

.img-intext {
    flex-wrap: wrap;
    right: 0%;
    width: 60%;
    border-radius: 20px;
    margin-left: auto;
    margin-top: 1.5vw;
    transition: transform 0.9s ease;
    box-shadow: 10px 10px 50px rgba(0, 0, 0, 0.1); /* Schattenwurf */
}

.spline-intext {
    left: 50%;
    width: 60%;
 
}

.img-intext:hover {
    transform: scale(1.02);
}

/* New image styling */
.top-image {
    position: absolute;
    top: 11vh; /* position at the top */
    width: auto; /* set a fixed width for the top image */
    height: 13vh; /* maintain aspect ratio */
    transition: transform 0.9s ease;
}

.top-image:hover {
    transform: scale(1.01);
}


/* Text block styling */
.textblock_h1 {
    position: absolute;
    right: 5vw; /* position from the right */

    width: 25vw; /* fixed width */
    font-family: 'n27bold';
    font-weight: 100;
    font-size: 6vh;
    line-height: 6vh;
    display: flex;
    align-items: center;
    text-decoration-line: underline;
    color: #FFFFFF;
    transition: transform 0.9s ease;
}

.textblock_h1:hover {
    transform: scale(1.02);
}

.textblock_h2 {
    position: absolute;
    right: 5vw; /* position from the right */
    bottom: 10vh; /* position below h1 */
    width: 25vw; /* fixed width */
    font-family: 'n27regular';
    font-weight: 100;
    font-size: 2vh;
    line-height: 2vh;
    display: flex;
    align-items: flex-start; /* align to the top */
    text-decoration-line: none;
    color: #FFFFFF;
    transition: transform 0.9s ease;
}

.textblock_h2:hover {
    transform: scale(1.02);
}

/* Button styling */

.button-info {
    display: flex;
    flex-direction: column;
    padding:0px;
    margin: 0px;
    position: fixed;
    left: 5vw;
    bottom: 10vh;
    font-family: 'n27bold'; /* Match font */
    font-weight: 100;
    font-size: 1.5vh; /* Adjust font size as needed */
    transition: transform 0.9s ease;
}

.button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 12px;
    gap: 4px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.18), rgba(165, 165, 165, 0.18)), rgba(255, 255, 255, 0.06);
    background-blend-mode: color-dodge, lighten;
    border-radius: 500px;
    color: #FFFFFF; /* Set text color for button */
    font-family: 'n27bold'; /* Match font */
    font-weight: 100;
    font-size: 1.5vh; /* Adjust font size as needed */
    transition: transform 0.9s ease;
}

.button:hover {
    transform: scale(1.1);
}

.button-info:hover {
    transform: scale(1.1);
}

#backbutton {
    position: absolute;
    width: 5vw;
    height: 4.4vh;
    left: 5vw;
    top: 10vh;
    transition: transform 0.9s ease;
}

#loginbutton {
    position: absolute;
    width: 5vw;
    height: 4.4vh;
    right: 5vw;
    top: 10vh;
    transition: transform 0.9s ease;
}

/* Window Controls */
.window-controls {
    position: absolute;
    height: 37px;
    left: 50vw;
    right: 50vw;
    bottom: 5vh;
}

/* Grabber */
.grabber {
    position: absolute;
    width: 10vw;
    height: 1vh;
    left: calc(50% - 136px/2);
    top: 24px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 100px;
}

/* Close Button */
.close-button {
    position: absolute;
    width: 14px;
    height: 14px;
    left: calc(50% - 14px/2 - 99px);
    top: 22px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 100px;
}

.navbar {
    z-index: 1000;
    position: fixed;
    bottom: 10vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px); /* Blur effect */
    border: 0.3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 4px 10px rgba(255, 255, 255, 0.15); /* Optional shadow for depth */
    color: rgb(227, 0, 0);
    height: 50px;
    width: auto;
    border-radius: 30px;
    transition: width 0.7s ease;
    overflow: hidden;
    white-space: nowrap;
    font-family: 'n27medium';
    font-weight: 100;
    font-size: 2vh;
    font-style: normal;
    transition: transform 0.9s ease;
}

.button-intext {
    display: flex;
    align-items: center;
    justify-content: center; /* zentriert den Text horizontal */
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 0.3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 4px 10px rgba(255, 255, 255, 0.15); /* Optional shadow for depth */
    height: 50px;
    width: 7.5vw;
    border-radius: 30px;
    transition: width 0.7s ease, transform 0.9s ease;
    overflow: hidden;
    white-space: nowrap;
    font-family: 'n27medium';
    font-weight: 100;
    font-size: 2vh;
    font-style: normal;
    margin-top: 4vh;
    color: white;
    text-decoration: none;
    position: relative;
    margin-left: 0;
    margin-right: auto;
}

.button-intext:hover {
    transform: scale(1.05);
    text-decoration: none;
}

.navbar:hover {
    transform: scale(1.02);
}

.navbar img{
    filter: invert(100%);
}

.navbar-item {
    text-align: center;
    padding-left: 1.5vw;
    padding-right: 1.5vw;
    cursor: pointer;
    
    
}

a {
    text-decoration: none; /* Entfernt die Unterstreichung im Normalzustand */
    color: white; /* Verwendet die Standardtextfarbe */
}

a:visited {
    text-decoration: none; /* Entfernt die Unterstreichung für bereits besuchte Links */
    color: white; /* Beibehaltung der ursprünglichen Farbe auch nach dem Klick */
}

a:hover, a:focus {
    text-decoration: underline; /* Auch beim Hovern oder Fokussieren bleibt die Dekoration entfernt */
    font-weight: 500;
    color: white; /* Beibehaltung der ursprünglichen Farbe */
}


@media (max-width: 900px) {

    .logo {
        z-index: 1000;
        position: fixed;
        top: 5vh; /* position at the top */  
        left: 10vw;
        width: 10vw;
        height: 10vh;
        transition: transform 0.9s ease;
    }

    .mouse {
        bottom: 10vh;
    }
    
    .section-text{
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        flex-wrap: wrap;
        flex-direction: row;
        margin-top: 15vh;
        margin-bottom: 0vh;
        min-width: 90vw;
        max-width: 90vw;
        height: auto;
        min-height: 25vh;
    }

    .button-info{
        padding: 10px;
        position: fixed;
        bottom: 1vh;
        left: 0px;
        right: 0px;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        font-size: 1.5vh; /* Adjust font size as needed */
    }

.img-cover {
    width: 80vw; /* Setze die Breite auf 100% des Viewports */
    height: 60vh; /* Setze die Höhe auf 100% des Viewports */
    top:20vh; /* Positioniere das Bild oben im Viewport */
    left: 10vw; /* Positioniere das Bild links im Viewport */
    object-fit: cover; /* Stelle sicher, dass das Bild das gesamte Feld ausfüllt */
}
.navbar {
    max-width: 90vw; /* Setze die Breite auf 100% des Viewports */
    bottom: 12vh !important; /* Positioniere die Navbar am unteren Rand des Viewports */
    position: fixed;
    height: 5vh;
    
}

.button-intext {
    
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
    height: 5vh;
    width: 20vw;
    border-radius: 30px;
    transition: width 0.7s ease;
    overflow: hidden;
    white-space: nowrap;
    font-family: 'n27medium';
    font-weight: 100;
    font-size: 1.5vh;
    font-style: normal;
    transition: transform 0.9s ease;
    margin-top: 4vh;
    margin-left: 0;
    margin-right: auto;
}

.window-controls {
    max-width: 90vw; /* Setze die Breite auf 100% des Viewports */
    bottom: 7vh !important; /* Positioniere die Navbar am unteren Rand des Viewports */
    position: fixed;
    left: 50vw;
    right: 50vw;
}

.textblock_h1 {
    position: center  !important; /* Positioniere die Navbar am unteren Rand des Viewports */
    left: 15vw;
    width: 50vw;
    font-size: 4vh;
    line-height: 4vh;
}

.textblock_h2 {
    bottom: 20vh !important; /* Positioniere die Navbar am unteren Rand des Viewports */
    left: 10vw;
    font-size: 1.5vh; /* Kleinere Schriftgröße für mobile Ansicht */
    line-height: 1.5vh;
    width: 50vw;
}

.text-itemh1 {
    text-align: left;
    padding-top: 1.5vw;
    padding-bottom: 1.5vw;
    padding-right: 1.5vw;
    font-size: 2vh;
    line-height: 2vh;
    color: #ffffff;
    text-wrap: wrap;
    font-family: 'n27medium';
    width: 30%;
}

.text-item {
    text-align: left;
    padding-top: 1.5vw;
    padding-bottom: 1.5vw;
    color: #ffffff;
    text-wrap: wrap;
    font-family: 'n27medium';
    width: 60%;
    font-size: 1.5vh;
}

.img-intext {
    margin-top: 3vw;
    margin-bottom: 3vw;
}

.navbar-item {

    font-size: 1.5vh; /* Kleinere Schriftgröße für mobile Ansicht */
    padding-left: 3.5vw;
    padding-right: 3.5vw;
}

.button {

font-size: 1.5vh; /* Kleinere Schriftgröße für mobile Ansicht */
}

#backbutton {
width: 9vw;
height: 4.4vh;
left: 10vw;
top: 10vh;
transition: transform 0.9s ease;
}

#loginbutton {
width: 9vw;
height: 4.4vh;
right: 10vw;
top: 10vh;
transition: transform 0.9s ease;
}

.top-image {
top: 15vh; /* position at the top */
width:auto; /* set a fixed width for the top image */
height: 6vh; /* maintain aspect ratio */
left: 10vw;
}
}


/* Fade-Out bei Klick auf Link */
.fade-out {
animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
from {
    opacity: 1;
}
to {
    opacity: 0;
}
}

/* Fade-In beim Laden der neuen Seite */
.fade-in {
opacity: 0;
animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
from {
    opacity: 0;
}
to {
    opacity: 1;
}
}


.mouse {
	width: 12px;
	height: 22px;
	border: 3px solid #ffffff;
	border-radius: 60px;
	position: relative;
    bottom: 10vh;
	&::before {
		content: '';
		width: 4px;
		height: 4px;
		position: relative;
		bottom: 50vh;
		left: 50%;
		transform: translateX(-50%);
		background-color: #ffffff;
		border-radius: 50%;
		opacity: 1;
		animation: wheel 2s infinite;
		-webkit-animation: wheel 2s infinite;
	}
}

@keyframes wheel {
	to {
		opacity: 0;
		bottom: 0vh;
	}
}

@-webkit-keyframes wheel {
	to {
		opacity: 0;
		bottom: 10vh;
	}
}


hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 3px solid #ffffff;
    margin: 1em 0;
    padding: 0;
}


--------scroll animation-4---------

.css-scroll-down{
    display: flex;
    flex-flow: row;
    align-items: flex-start;
    padding: 50px 30px;

    .single-scroll-down-animation{
        margin-right: 20px;
        width: calc(25% - 20px);
        margin-bottom: 50px;
    }
}

.scroll-down4{
    position: absolute;
    width: 1.5px;
    height: 3vh;
    background: #ffffff;
    animation: scrollDown4 2s ease infinite;
    margin: 0 auto;
    bottom: 5vh;
}

@keyframes scrollDown4{
    0%{
        transform-origin: top;
        transform: scaleY(0);
    }
    45%{
        transform-origin: top;
        transform: scaleY(1);
    }
    55%{
        transform-origin: bottom;
        transform: scaleY(1);
    }
    100%{
        transform-origin: bottom;
        transform: scaleY(0);
    }
}