.section {
    text-align: center;
    padding-left: 50px;
    padding-right: 50px;
    font-family: Arial;
}

.section p {
    font-size: 22px;
}

.header {
    font-family: Arial;
    font-size: 50px;
}

.logo img {
    width: auto;
    height: auto;
}

.nav-link {
    text-decoration: black;
}

.navbar {
    padding-left: 40%;
    font-size: 20px;
}

footer {
    background-color: #e1e1ea;
    margin-top: 75px;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 2px;
    border-radius: 5px;
}

#rights {
    font-family: "Corbel Light";
    font-size: 18px;
}

h1 {
    text-decoration-color: blue;
    font-family: "Consolas";
}

body p {
    font-family: "Britannic Bold, arial";
    font-size: 18px;
}

header {
    height: 20px;
}

section {
    background-color: #e1e1ea;
    border-radius: 5px;
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top: 5%;
}

@media screen and (max-width: 970px) {
    section {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

.ueberschriften {
    font-family: "Berlin Sans FB";
}

html, body {
    scroll-behavior: smooth;
}

footer {
    background-color: #e1e1ea;
    margin-top: 75px;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 2px;
    border-radius: 5px;
}

footer a {
    text-decoration: overline;
    color: black;
    padding-bottom: 20px;
    padding-top: 20px;
    font-size: 18px;
    font-family: "Britannic Bold, arial";
}

.footer a:hover {
    text-decoration: overline black;
    color: black;
}

#myScrollspy {
    position: fixed;
    padding-top: 150px;
}

#unterueberschriften {
    font-size: 20px;
}

.body {
    background-color: #404040;
}

#demo {
    padding-right: 100px;
    padding-left: 100px;
}

.carouselbig {
    padding-top: 50px;
    padding-bottom: 35px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.sidenav {
    height: 100%;
    width: 160px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: black;
    overflow-x: hidden;
    padding-top: 5%;
    font-family: "arial";
}

.sidenav a {
    padding-top: 20px;
    padding-left: 36px;
    text-decoration: overline underline;
    font-size: 18px;
    color: black;
    display: block;
}

.sidenav a:hover {
    color: darkgray;
    text-decoration: none;
}

.main {
    margin-left: 160px; /* Same as the width of the sidenav */
    font-size: 22px; /* Increased text to enable scrolling */
    padding: 0px 10px;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

.bg {
    background-color: cyan;
}

.textcolornavbar a {
    color: black;
    text-decoration: none;
    font-size: 20px;
    font-family: "arial";
    padding-right: 10px;
}

.dropdown-menu a {
    color: black;
}

.textcolornavbar a:hover {
    color: darkgray;
    text-decoration: none;
}

.carousel-inner p {
    color: darkorchid;
    font-family: Arial;
    font-size: 20px;
}

#rights {
    font-family: "Corbel Light";
    font-size: 18px;
}

.links {
    text-decoration: underline;
    color: black;
}

.links:hover {
    color: blueviolet;
    text-decoration: underline blueviolet;
}

.einrückung {
    padding-left: 30px;
}

.float-right {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.float-left {
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.einrückung2 {
    padding-left: 30px;
}

.list a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    font-family: "Britannic Bold";
}

.list a:hover {
    color: blueviolet;
}

.carouselone {
    padding-bottom: 40px;
}

.size img {
    height: 500px;
    width: 450px;
}

hr {
    background-color: black;
}

#line {
    background-color: #bfbbb9;
    height: 0.5px;
}

.bighr {
    height: 2px;
}

#arrow {
    padding-bottom: 20px;
}

.buttons {
    padding-left: 10px;
    padding-right: 10px;
}

.images {


}

.carousel img {
    height: 300px;
    width: auto;
}

@media screen and (max-width: 990px) {
    .carousel img {
        height: 100px;
        height: 100px;
    }
}

div.gallery {
    margin: 5px;
    border: 1px solid #ccc;
    float: left;
    width: 180px;
}

div.gallery:hover {
    border: 1px solid #777;
}

div.gallery img {
    width: 100%;
    height: auto;
}

div.desc {
    padding: 15px;
    text-align: center;
}

div.gallery {
    margin: 5px;
    border: 1px solid #ccc;
    float: left;
    width: 180px;
}

div.gallery:hover {
    border: 1px solid #777;
}

div.gallery img {
    width: 100%;
    height: auto;
}

div.desc {
    padding: 15px;
    text-align: center;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    align-content: center;
}

.gallery-header {
    position: relative;
    font-family: "Berlin Sans FB";
    text-align: center;

}

.gallery-header::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: black;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    animation: animate 4s linear infinite;
}

@keyframes animate {
    0% {
        width: 100px;
    }
    50% {
        width: 200px;
    }
    100% {
        width: 100px;
    }
}

.top-content {
    width: 90%;
    margin: 0 auto 20px auto;
    height: 60px;
    display: flex;
    align-items: center;
    border-radius: 5px;
    box-shadow: 3px 3px 5px darkgray;
}

label {
    display: inline-block;
    height: 100%;
    margin: 0 20px;
    line-height: 60px;
    font-size: 18px;
    color: black;
    cursor: pointer;
    transition: .3s;
}

label:hover {
    color: darkgray;
}

.photo-gallery {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
}

.pic {
    position: relative;
    height: 230px;
    border-radius: 10px;
    box-shadow: 3px 3px 5px lightgray;
    cursor: pointer;
}

.pic img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: .5s;
}

.pic::before {
    content: 'Gallerie';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 25px;
    font-weight: bold;
    margin-top: -100px;
    opacity: 0;
    transition: .3s;
    transition-delay: .2s;
}

.pic:after {
    content: "";
    position: absolute;
    border-radius: 10px;
    width: 100%;
    bottom: 0;
    left: 0;
    height: 0;
    background-color: rgba(0, 0, 0, .4);
    transition: .3s;
}

.pic:hover::after {
    height: 100%;
}

.pic:hover::before {
    margin-top: 0;
    opacity: 1;
}

#check1:checked ~ .container .photo-gallery .pic {
    opacity: 1;
    transform: scale(1);
    position: relative;

}

#check2:checked ~ .container .photo-gallery .one {
    transform: scale(1);
    opacity: 1;
    position: relative;

}
#check2:checked ~ .container .photo-gallery .two,
#check2:checked ~ .container .photo-gallery .three {
    opacity: 0;
    transform: scale(0);
    position: absolute;
}

.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .column {
        flex: 50%;
        max-width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }
}