@import url('https://fonts.googleapis.com/css?family=Poppins:400,700,800,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.navbar {
    position: fixed;
    top: 0;
    z-index: 99999;
    padding: 25px 0;
    background-color: rgba(255, 255, 255, 0.2);
}

.navbar .logo {
    font-size: 1.5em;
    text-transform: uppercase;
    font-weight: 750;
    letter-spacing: 2px;
}

.navbar ul.nav {
    margin-right: 15%;
}

.navbar ul.nav li.active,
.navbar ul.nav li:hover {
    background: rgba(255, 255, 255, 0.5);
    color: #000;
}

.navbar ul.nav li a {
    color: #fff;
    font-size: 1em;
    font-weight: 500;
}

.navbar ul.nav li.active a,
.navbar ul.nav li:hover a {
    color: #000;
}

/* Slider */
#carouselExampleIndicators {
    position: relative;
    height: 100vh;
    width: 100%;
}

#carouselExampleIndicators .carousel-inner {
    position: relative;
    height: 100%;
    width: 100%;
    background: #000;
}

#carouselExampleIndicators .carousel-inner:before {
    position: absolute;
    content: '';
    /* background: rgba(0, 0, 0, 0.3); */
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
}

#carouselExampleIndicators .carousel-inner .carousel-item {
    position: relative;
    height: 100vh;  
    width: 100%;
    background-size: cover;  
    background-position: center;  
    background-repeat: no-repeat;
}

#carouselExampleIndicators .carousel-inner .carousel-item .info {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: auto;
    width: 100%;
    z-index: 1;
    text-align: center;
}

#carouselExampleIndicators .carousel-inner .carousel-item h1 {
    height: auto;
    color: #fff;
    width: 100%;
    z-index: 1;
    text-align: center;
    font-size: 5.5em;
    font-weight: 750;
}

#carouselExampleIndicators .carousel-inner .carousel-item p {
    height: auto;
    color: #ccc;
    width: 100%;
    z-index: 1;
    text-align: center;
    font-size: 1.2em;
    font-weight: 500;
}
#carouselExampleIndicators .carousel-inner .carousel-item img {
    width: 100%;  /* Breite des Bildes auf 100% des Containers setzen */
    min-height: 100vh;  /* Mindesthöhe des Bildes auf 100% der Viewport-Höhe setzen */
    object-fit: cover;  /* Stellt sicher, dass das Bild den Container bedeckt ohne das Verhältnis zu verzerren */
}

.info {
    display: flex;
    flex-direction: column;    
    justify-content: center;
    align-items: center;
    width: 100%;
}
.info p {

    max-width: 80vw !important;
}