@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    src: url("../fonts/fa-solid-900.woff2");
}

.course .baseinfo1 .info {
    order: 0;
    max-height: 240px;
    overflow: hidden;
}

.course {
    width: 300px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--snow-white-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 420px;
    justify-content: space-between;
}

.course .baseinfo1 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    min-height: 410px;
}

.course .baseinfo1 .image {
    -webkit-order: 3;
    -ms-flex-order: 3;
    order: 3;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    width: 100%;
    height: 160px;
    border: 0;
    overflow: hidden;
}

.course .baseinfo1 .image img {
    width: 100%;
    min-width: 100%;
    max-width: 210px;
    max-height: 170px;
}

.slick-slide img {
    max-height: 170px;
    width: 100%;
}

a.startlink {
    border: none;
    background-color: transparent;
}
.course .baseinfo1 {

}

.course .description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#kurskatalog {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    padding: 0 50px;
}



.slider-container {
    width: 60%;
    overflow: hidden;
}

.sidebar {
    width: 40%;
    flex-shrink: 0;
    border-left: 13px solid #d94718;
    background-color: #f8c8a0;
    padding: 70px;
}


#kurskatalog {
    width: 100%;
}

.slick-slide {
    margin: 0 5px;
}

.slick-list {
    margin: 0 -5px;
}

.slick-slide {
    width: calc(100% / 3 - 10px);
}



.container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .slider-container, .sidebar {
        width: 100%;
    }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 20px;
    width: 57%;
    padding-left: 70px;
    height: 80px;
}

h1 {
    flex-grow: 1;
}

.navigation-buttons {
    display: flex;
    gap: 10px;
}

.slick-prev {
    border-radius: 20px;
    width: 30px;
    height: 30px;
    border: none;
    color: #fff;
    background-color: #333;
    text-align: center;
    margin-right: 5px;
    padding-right: 6px;
}

.slick-next {
    border-radius: 20px;
    width: 30px;
    height: 30px;
    border: none;
    color: #fff;
    background-color: #333;
    text-align: center;
    margin-left: 5px;
    padding-left: 6px;
}

h1 {
    border-left: 6px solid #4c5c62;
    padding-left: 20px;
}

.container {
    padding: 0!important;
}

.course-right .image img {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}

.course-right {
    display: flex;
    align-items: flex-start;
}

.course-right .image {
    margin-right: 20px;
    width: 50%;
}

.course-right p,
.course-right h2 {
    color: #d94718;
}

.course-right .btn.btn-primary {
    background-color: #d94718;
    color: #fff;
    border-color: transparent;
    font-size: 1.2rem; /* Größere Schrift */
    font-weight: bold;
    padding: 15px 75px; /* Mehr Padding */
    margin-top: 50%; /* Kann je nach Layout angepasst werden */
    border-radius: 8px; /* Leicht abgerundete Ecken */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Schatten für mehr Tiefe */
    transition: all 0.3s ease-in-out;
}

.course-right .btn.btn-primary:hover {
    background-color: #b53614;
    transform: scale(1.1); /* Button wird leicht größer beim Hover */
}


.course-right .right-information {
    flex-grow: 1;
}

.baseinfo2::before {
    background-color: transparent;
}

@media (max-width: 1300px) {
    .sidebar {
        width: 60%;
    }
}
@media (min-width: 1300px) and (max-width: 1830px) {
    .course-right .right-information {
        flex-grow: 1;
        width: 340px;
        margin-left: 30px;
        margin-top: 10px;
    }
    .baseinfo2.working {
        padding-bottom: 40px;
    }
    .sidebar {
        padding-top: 20px;
    }
    .course-right {
        margin-top: 50px;
    }
}

.to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    background-color: #d94718;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 20%;
    font-size: 30px;
    cursor: pointer;
    z-index: 1000;
}


#kurskatalog .baseinfo1 .description {
    display: none!important;
}

#kurskatalog .baseinfo2.add2mycourses {
    color: #d94718;
}

.navi {
    display: flex;
    width: 45%;
    height: 110px;
}


@media screen and (max-width: 1300px) {
    .container {
        display: flex;
        flex-direction: column; /* Ändert die Richtung auf vertikal */
    }

    .slider-container {
        width: 100%; /* Volle Breite */
    }

    .sidebar {
        width: 100%; /* Volle Breite */
        margin-top: 20px; /* Abstand nach oben */
    }

    .course-right {
        display: flex;
        flex-direction: column;
        align-items: center; /* Zentrieren der Inhalte */
        text-align: center;
    }

    .course-right .image img {
        max-width: 70%; /* Bild passt sich an */
        height: auto;
    }

    .course-right .btn.btn-primary {
        margin-top: 10%;
    }
    .course-right .right-information {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .navi .slick-dots {
        display: none!important;
    }

    .navigation-buttons {
        gap: 6px;
        margin-left: 20px;
    }
    .course-right .btn.btn-primary {
        padding: 15px 43px;
    }

    .header-container {
        padding-left: 25px;
    }
}

