.col-span-1 {
    grid-column: span 1;
}
.col-span-2 {
    grid-column: span 2;
}
.col-span-3 {
    grid-column: span 3;
}
.col-span-4 {
    grid-column: span 4;
}
.col-span-5 {
    grid-column: span 5;
}
.col-span-6 {
    grid-column: span 6;
}


@font-face {
    font-family: "Arial-Rounded";
    src: url("assets/Arial-Rounded-Bold.ttf");
}


body{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    /* background-color: rgb(155, 208, 253); */
}


p {
    font-size: 16px;
    margin-top: 0.5em;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.4vw;
    margin-bottom: 1.2rem;
    margin-top: 1.5rem;
    font-weight: 400;
    font-family: "Arial-Rounded";
    line-height: 4vw;
}

h1 .popup-img:hover {
    z-index: 1000;
    position: absolute;
    height: 500px;
    object-fit: contain;
}
h2 {
    margin-top: 0.8rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 20px;
    max-width: 90%;
}
h3 {
    font-family: "Arial-Rounded";
    font-size: 20px;
    font-weight: 400;
    margin-top: 1.2rem;
    margin-bottom: .2rem;
}
a {
    text-decoration: dashed 0.05em black;
    color: black;
}
a:hover {
   text-decoration: underline dashed 0.05em;
}
.mappenkurse {
    color: rgb(30, 30, 113);
}
.pfeil {
    height: 3.4vw;
    width: 3.4vw;
    object-fit: cover;
}
.arrow {
    height: 20px;
    width: 20px;
    object-fit: cover;
    cursor: pointer;
    rotate: -90deg;
    padding-right: 10px;
}
.active {
    text-decoration: underline;
}



.header{
    height: 10vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    /* background-color: rgb(155, 208, 253); */
    z-index: 1111;
}
.logo {
    padding: 10px;
    
    

}
.logo img {
    height: 100%;
    object-fit: contain;
}
.navbar{
    display: flex;
    align-items:center;
    justify-content: space-around;
    list-style: none;
    width: fit-content;
    width: 80%;
}
.navbar li {
    background-color: white;
    
    border-radius: 20px;
    padding: 10px;
}


.kapitel {
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 100px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 20px;
}
.img-m {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    filter: blur(10px);
    transition: filter 0.5s ease-in-out;
}








.gallery {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 90vh;
}

.gallery-container {
    display: flex;
    transition: transform 0.3s ease-in-out;
    height: 100%;
}

.gallery-item {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}

.gallery-item img {
    width: 100%;
    height: 80%;
    object-fit: contain;
}

.gallery-item p {
    padding: 10px;
    text-align: center;
    max-width: 80%;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    /* Remove background */
    color: black;
    /* Change color to black or any other color that fits your design */
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    /* Increase font size for better visibility */
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
    /* Add transition for smooth color change on hover */
}

.gallery-nav {
   height: 70vh;
   width: 50vw;
}

.gallery-nav.prev {
    left: 10px;
}
.gallery-nav.prev:hover {
    cursor: url(assets/arrow_back_100dp_BLACK_FILL0_wght400_GRAD0_opsz48.svg), auto;
}
.gallery-nav.next:hover {
    cursor: url(assets/arrow_forward_100dp_BLACK_FILL0_wght400_GRAD0_opsz48.svg), auto;
}

.gallery-nav.next {
    right: 10px;
}



.grid-container {
    margin-top: 3em;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 1em;
    column-gap: 1px;
}

/* Border on all divs except the last row */
.grid-container div {
    border-bottom: dotted 0.1em black;
}

/* Remove the bottom border for the last row */
.grid-container div:nth-last-child(-n+2) {
    border-bottom: none;
}

.grid-container p {
    margin: 0;
}

.footer {
    margin-top: 40vh;
    border-top: 2px dashed #333;
    padding-top: 20px;
    padding-bottom: 20px;
}
.legals p {
    margin-bottom: 0px;
    text-decoration: underline;
}



.sticker-container {
    position: fixed;
    z-index: 1200;
    top: 50vh;
    right: 5vw;
    height: 50vh;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sticker-container img{
    max-height: 100%;
    object-fit: contain;
}



form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    column-gap: 20px;
    
}



form label {
    padding-bottom: 5px;
    margin-bottom: 5px;
    font-size: 16px;
}

form input,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px dashed rgb(186, 186, 186);
    border-radius: 5px;
    font-size: 16px;
}

form input:focus,
form textarea:focus {
    border-color: #333;
    outline: none;
}

form button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: white;
    color: black;
}
.navbar-mobile {
    display: none;
}
.navbar-btn {
    display: none;
}

/* Responsive */
/* Responsive Adjustments */
@media (max-width: 1024px) {
    .kapitel:first-of-type {
        padding-top: 80px;
    }
    .kapitel {
        display: block;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 20px;
    }
    .kapitel a {
        text-decoration: underline 0.05em solid black;
    }

    h1 {
        font-size: 25px;
        line-height: 30px;
        word-wrap: break-word;
    }
    h1 a {
        text-decoration: underline 0.05em dotted black !important;
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 18px;
    }
    .header{
        height: 10vh;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        height: fit-content;
        padding: 5px;
        box-sizing: border-box;
        display: block;
        z-index: 1111;
    }
    .logo img{
        height: auto;
    }
    .navbar {
        display: none;
    }
    .show {
        display: flex !important;
    }
    .navbar-btn {
        display: block;
        position: fixed;
        height: 5vh;
        width: 15vh;
        right: 10px;
        bottom: 20px;
        z-index: 1111;
        background-color: white;
        font-size: 20px;
        color:black;
        border-radius: 20px;
        border: dotted 2px black;
    }
    .navbar-mobile {
        display: none;
        flex-direction: column;
        position: fixed;
        bottom: 60px;
        right: 0;
        z-index: 111;
        margin-right: 10px;
        color: black;
    }
    .navbar-mobile h2  {
        text-decoration: none;
        text-align: center;
        color: black;
        font-size: 20px;
        padding: 10px;
        border-radius: 20px;
        border: dotted 2px black;
        background-color: rgb(255, 255, 255);
    }
    .img-m {
        margin-top: 10px;
        margin-bottom: 10px;

    }
    .pfeil {
        display: none;
    }
    .icon {
        height: 20px;
        width: 20px;
        object-fit: cover;
    }
    .gallery-item img {
        height: auto;
    }
    .gallery-nav {
        display: none; /* Hide nav buttons */
    }

    .gallery-container {
        touch-action: pan-x; /* Allow horizontal swiping */
        height: auto;
        display: flex;
        overflow-y: scroll;
    }
    .preis {
        text-align: right;
    }

    .grid-container {
        grid-template-columns: 1fr 1fr;
    }
    .side {
        margin-top: 10vh;
    }
    .side-elements {
        margin-top: 50px;
    }
    .sticker-container {
        display: none;
    }
    .footer {
        margin-top: 10vh;
    }
}


