body {
    background-image: url("./img/Bibliothek.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    min-height: 100%;
    position: relative;
}

header {
    background-color: rgba(255,255,255,0.7);
    min-height: 70px;
    display: sticky;
}

#logo {
    max-width: 80%;
}

.navbar {
    height: 70px;
}

.nav-link {
    margin: 0 10px;
}

.nav-link:hover {
    color: #a70b16;
}

#heading-text {
    padding: 7em 2.5em;
    text-align: right;
    color: #fff;
    text-shadow: 2px 2px 5px #000;
    height: 600px;
}

h1 {
    font-size: 5em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: manual;
    width: 100%;
}

#desc-box {
    background-color: #eee;
    padding: 3em 0;
}

#desc {
    margin: 0 2em;
    line-height: 1.8;
    color: #555;
}

#books {
    background-color: #ababab;
    padding: 5em 0;
    line-height: 1.8;
    color: #555;
}

h3 {
    font-weight: bold;
}

h4 {
    margin: .7em 0;
}

.imageSlider {
    padding-right: 0;
}

.imageSlider > img {
    max-width: 90%;
    min-width: 400px;
}

.carousel {
    padding-right: 2.5em;
}

.carousel-control-next {
    margin-right: 2.5em;
}

.reverse .carousel {
    padding-right: 0;
    padding-left: 2.5em;
}
.reverse .carousel-control-prev {
    margin-right: 0;
    margin-left: 2.5em;
}
.reverse .carousel-control-next {
    margin-right: 0;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(111,111,111,0.2);
    border-radius: 8px;
    padding: 20%;
    transition: background-color 400ms linear;
}

.carousel-control-prev-icon:hover, .carousel-control-next-icon:hover {
    background-color: rgba(111,111,111,0.6);
    transition: background-color 300ms linear;
}

.shop-links > a {
    display: inline-block;
    margin-right: .5em;
    margin-bottom: .3rem;
}

hr {
    border: 1px solid #FFF;
    margin: 5em 0;
}

#bottom {
    color: #FFF;
    text-shadow: 2px 2px 5px #000;
    padding: 4em 0;
}

#bottom h4 {
    font-weight: bold;
    margin-top: 0;
}

#bottom a {
    text-decoration: none;
    color: #000;
    text-shadow: 0px 0px 4px #FFF;
}

footer > .container {
    margin-bottom: 5em;
}

form > .row {
    margin-bottom: 1em;
}

.form-check-label {
    line-height: 1.8;
}

#message {
    margin-top: 1em;
}

#tel {
    visibility: hidden;
    width: 0;
    height: 0;
}

#mcaptcha__widget-container {
    margin: 1em 0;
}

iframe {
    width: 20em;
    height: 6em;
}

#redirect {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    padding: 3em 0;
    background-color: rgba(238, 238, 238, 0.8);
    color: #000;
    text-align: center;
    margin: auto;
    width: 50%;
}

#redirect h1 {
    margin-top: 0;
}

#copyright {
    position: absolute;
    left: 0;
    bottom: 0;
    text-align: center;
    height: 4em;
    background-color: #000;
    margin-top: 2em;
}

#copyright > p {
    font-size: 14px;
    margin: 1.5em 0;
}

@media (max-width: 991px) {
    .carousel {
        padding: 0;
    }
    .reverse .carousel {
        padding-left: 0;
        margin-top: 2em;
    }
    .col-lg:not(.reverse) .carousel {
        margin-bottom: 2em;
    }
    .reverse .carousel-control-prev {
        margin: auto 0;
    }
    .col-lg:not(.reverse) .carousel-control-next {
        margin-right: 0;
    }

    h1 {
        font-size: 4em;
    }

    #redirect {
        padding: .5em;
        margin: auto;
        width: 80%;
    }
}

@media (max-width: 412px) {
    h1 {
        font-size: 3em;
    }

    #redirect {
        width: 90%;
    }
}