body {
    font-family: Arial, sans-serif;
}

nav {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav a {
    text-decoration: none;
    justify-content: center;
    color: #333;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #f8f8f8;
}

.service-card {
    border: 1px solid #ddd;
    padding: 20px;
    margin: 10px;
    text-align: center;
    border-radius: 5px;
}

.service-card img {
    max-width: 150px;
}

#team-,
#kontakt {
    padding: 20px;
}

.team-member {
    text-align: center;
    margin: 20px;
}

.team-member img {
    border-radius: 20%;
    width: 100px;
    height: auto;
}

.contact-info {
    flex-basis: 40%;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #ffbb00ff;
    border-radius: 100% 100% 0 0;
    color: lightgray;
    position: absolute;
    bottom: 0;
    /* Position div at the bottom of the section */
    left: 0;
    /* If you want it aligned to the left */
    right: 0;
    /* If you want it stretched across the section */
}

#impressum {
    color: gray;
}

.card-img-top {
    height: 75px;
    width: 75px;
}

.triangle {
    height: 100vh;
    /* Adjust as needed */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.55));
    clip-path: polygon(0% 0%, 100% 0%, 75% 100%, 0% 100%);

    position: relative;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    /* To ensure the triangle stays behind other content */
}

#home {
    background-image: url(/imgs/foric.jpg);
    background-size: cover;
    /* Scale the image to cover the element */
    background-repeat: no-repeat;
    /* Ensure the image doesn't repeat */
    background-position: center;
    /* Center the image within the element */
}

header {
    position: relative;
    z-index: 4;
}

.card-img-top {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.card {
    padding: 20px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 25px;
}

.card:hover {
    cursor: pointer;
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.5);
}

#home {
    height: 100vh;
    display: flex;
    flex-direction: row;
    /* Makes child elements align horizontally */
    align-items: flex-end;
}

#leistungen,
#team {
    min-height: 100vh;
}

#home,
#kontakt {
    height: 100vh;
}

#tesla {
    mix-blend-mode: multiply;
    display: none;
}

#taxi {
    mix-blend-mode: multiply;
}



h1,h2, h3 {
    color: #ffbb00ff
}

h3, #slogan {
    font-size: 14pt;
}

#slogan{
    color: black
}

#welcome {
    color: black;
    font-size: 20pt;
}

#kontakt {
    padding-left: 50px;
    padding-right: 50px;
    position: relative;
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
    .triangle {
        width: 100vw;
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }

    #welcome {
        margin-top: 55%;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .triangle {
        width: 75vw;
    }

    #welcome {
        margin-top: 45%;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .triangle {
        width: 65vw;

    }

    #welcome {
        margin-top: 35%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .triangle {
        /* Your adjustments for large devices here */
        width: 60vw;
    }

    #welcome {
        margin-top: 30%;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .triangle {
        /* Your adjustments for extra large devices here */
        width: 60vw;
    }

    #welcome {
        margin-top: 30%;
    }
}

#leistungen,
#team{
    padding-top: 85px;

}
#ueber-uns,
#kontakt {
    padding-top: 75px;
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    margin-left: 1rem;
    background-color: #ffbb00ff;
    /* blauer Hintergrund */
    color: white;
    /* weißer Text */
    text-decoration: none;
    /* kein Unterstrich für den Link */
    border-radius: 5px;
    /* abgerundete Ecken */
    font-weight: bold;
    /* fetter Text */
    transition: background-color 0.3s ease;
    /* sanfte Übergangseffekte */
}

.back-button:hover {
    background-color: #2980b9;
    /* dunklerer Blauton beim Überfahren mit der Maus */
}

#impressum-body{
    padding: 30px;
}