/* Allgemeine Styles beibehalten */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

html, body {
    background-color: #eeeeea;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;


}

.navbar {
    height: 440px;
    background-size: cover;
    background-position: center;
    background-image: url('../planet2.jpg');
    display: flex;
    align-items: flex-end;
    padding-bottom: 10px;
}

.navbar-nav {
    display: flex;
    justify-content: space-between;
    justify-content: center;
    width: 100%;
    padding: 0 50px;
  
}

.navbar-nav .nav-item {
    margin: 0 20px;
}

.navbar-brand img {
    height: 290px;
    width: auto;
}

.navbar-nav .nav-link {
    font-size: 5rem;
    font-weight: bold;
    color: white !important;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.navbar-nav .nav-link:hover {
    color: red !important; 
    transition: color 0.3s ease-in-out; /* Sanfter Übergang */
}


/* Container für das Bild */
.image-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 250px - 50px); /* Höhe abzüglich Navbar und Footer */
    overflow: hidden;
    flex-grow: 1;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay-Content */
.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.overlay-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* Button-Gruppe */
.button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.button-group .btn {
    padding: 10px 20px;
    font-size: 4.2rem;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    color: white;
}

.button-group .btn-primary {
    background-color: #007bff;
    border: none;
}

.button-group .btn-secondary {
    background-color: #c21826;
    border: none;
}

.button-group .btn:hover {
    opacity: 0.9;
}


/*
Welcome on my page Animation
*/

.split-text-container {
    display: flex;
    justify-content: center;
    font-size: 7rem;
    font-weight: bold;
    text-transform: uppercase;
    overflow: hidden;
    gap: 20px;
}

.text-part {
    display: inline-block;
    position: relative;
    transform: translateX(0);
    animation-duration: 2s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

.text-part.left {
    transform: translateX(-200%);
    animation-name: slide-in-left;
}

.text-part.right {
    transform: translateX(200%);
    animation-name: slide-in-right;
}

@keyframes slide-in-left {
    0% {
        transform: translateX(-200%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    0% {
        transform: translateX(200%);
    }
    100% {
        transform: translateX(0);
    }
}



