/*Container für ganzen Inhalt*/
#pageContainer {
    min-height: calc(98vh - 35.5vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media only screen and (max-width: 767px) {
    #pageContainer {
        padding-right: clamp(6px, 2vw, 22px);
        padding-left: clamp(6px, 2vw, 22px);
    }
}

@media only screen and (min-width: 768px) {
    #pageContainer {
        padding-right: clamp(20px, 20vw, 20vw);
        padding-left: clamp(20px, 20vw, 20vw);
    }
}
/*Vorstellungstext*/
#textContainer{
    grid-area: text;
    grid-row: span 3;
    padding: clamp(8px, 3vw, 26px);
}

#text {
    text-align: justify;
    hyphens: auto;
}

/*Logo für Verlinkung*/
#logoHms {
    width: 2.5vw;
    aspect-ratio: 1/1;
    transition: transform 0.3 ease-in-out;
    vertical-align: middle;
}

#logoHms:hover {
    transform: scale(1.1);
}

.websiteLink {
    display: inline-block;
    vertical-align: middle;
}

/*Bilderkarussel*/
#slideshow-container {
    max-height: 70vh;
    width: 80%;
    position: relative;
    margin: auto;
    overflow: visible;
}

.mySlides {
    display: none;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

.mySlides img {
    max-height: 50vh;
    width: auto;
    aspect-ratio: auto;
    display: inline-block;
    object-fit: contain;
}

@media only screen and (max-width: 767px) {
    .mySlides img {
        max-height: 55vh;
    }
}

@media only screen and (min-width: 768px) {
    .mySlides img {
        max-height: 70vh;
    }
}

.prev, .next {
    cursor: pointer;
    position:absolute;
    top: 50%;
    width: auto;
    padding: clamp(6px, 2vw, 22px);
    color: white;
    font-weight: bold;
    font-size: medium;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0px;
    user-select: none;
    background-color: var(--lightblue);
    opacity: 0.5;
}

.next {
    right: -8vw;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: -8vw;
    border-radius: 0 3px 3px 0;
}

.prev:hover, .next:hover {
    background-color: var(--lightblue);
    opacity: 1;
    text-decoration: none;
}

.dots {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: auto;
    padding-top: clamp(6px, 2vw, 22px);
    padding-bottom: clamp(6px, 2vw, 22px);
}

.dot {
    cursor: pointer;
    height: 1vw;
    width: 1vw;
    margin-left: clamp(2px, .25px, 12px);
    margin-right: clamp(2px, .25px, 12px);
    background-color: black;
    opacity: 0.5;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: var(--lightblue);
    opacity: 1;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

.invisible {
    display: none
}

