.spalte {
    display: inline-block;
    vertical-align: top;
    width: 50%;
}

/* If the screen size is 601px or more, set the font-size of <div> to 80px */
.rectangle {
    width: 98%;
    height: 90px;
    position: relative;
    border: 1px solid #ccc;
    margin-bottom: 5px;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}

.rectangle_last {
    width: 98%;
    height: 90px;
    position: relative;
    border: 1px solid #ccc;
    margin-bottom: 5px;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}

.rectangle:hover {
    transform: scale(1.05);
}


.rectangle_last:hover {
    transform: scale(1.05);
}

/* .main_last {
        width: 100%;
        height: 100%;
        border-radius: 6px 6px 6px 6px;
  } */

.end_last {
    position: absolute;
    top: 0;
    right: 0;
    width: 25%;
    height: 100%;
    background-color: #38b5cf;
    border-radius: 0px 6px 6px 0px;
}


/*   
  .main {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 6px 6px 6px 6px;
  } */

.end {
    position: absolute;
    top: 0;
    right: 0;
    width: 25%;
    height: 100%;
    background-color: #ff9858;
    border-radius: 0px 6px 6px 0px;
}

.end_grayscale {
    position: absolute;
    top: 0;
    right: 0;
    width: 25%;
    height: 100%;
    background-color: #DEDEDE;
    border-radius: 0px 6px 6px 0px;
}

.city_rectangle_left {
    width: 220px;
}

.staedte_titel {
    padding-top: 24px;
    font-size: 20px;
    margin-left: 10px;
    margin-bottom: 15px;
    color: black;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tickets_sichern {
    margin-top: 20px;
    line-height: 10px;
    font-size: 10px;
    text-align: center;
    color: #fff;
}

.staedte_text {
    margin-bottom: 50px;
    margin-top: -20px;
    margin-left: 10px;
    font-size: 12px;
    white-space: nobreak;
    color: black;
}

.marker-grey {
    margin-top: 20px;
    width: 40px;
    height: 40px;
    margin-left: 10px;
}

.shop_cart {
    font-size: 20px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr) minmax(300px, 1fr));
    /* Automatisch generierte Spalten */
    grid-gap: 10px;
    /* Abstand zwischen den Zellen */
    margin-right: 10px;
}


/* If the screen size is 600px or less, set the font-size of <div> to 30px */
@media only screen and (max-width: 600px) {

    .rectangle {
        width: 150%;
        height: 200px;
    }

    .rectangle_last {
        width: 400px;
        height: 110px;
    }

    .main {
        width: 21rem;
        height: 5.5rem;
        background-color: #fff;
        border-radius: 6px 6px 6px 6px;
    }

    .main_last {
        width: 100%;
        height: 100%;
        border-radius: 6px 6px 6px 6px;
    }

    .city_rectangle_left {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        width: 180px;
    }

}

@media only screen and (min-width: 601px) {

    .main_last {
        width: 100%;
        height: 100%;
        border-radius: 6px 6px 6px 6px;
    }

    .main {
        width: 100%;
        height: 100%;
        background-color: #fff;
        border-radius: 6px 6px 6px 6px;
    }


}

@media only screen and (max-width: 980px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .rectangle {
        width: 90%;
        min-width: 200px;
        height: 90px;
        position: relative;
        border: 1px solid #ccc;
        margin-bottom: 5px;
        border-radius: 6px;
    }

    .rectangle_last {
        width: 90%;
        min-width: 200px;
        height: 90px;
        position: relative;
        border: 1px solid #ccc;
        margin-bottom: 5px;
        border-radius: 6px;
        transition: all 0.3s ease-in-out;
    }

    .rectangle_last:hover {
        transform: scale(1.05);
    }

    .city_rectangle_left {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        width: 180px;
    }

}


.warenkorb {
    width: 15px;
    height: auto;
    margin-bottom: -5px;
}




@media only screen and (max-width: 980px) {

    .content_abschlussmodul p {
        font-size: 18px;
        font-weight: normal;
    }

    #abschlusszeugnis {
        width: 46% !important;
    }

    #step-content-container {
        width: 54% !important;
    }

    .et_pb_column_49 .et_pb_text_32 .et_pb_text_inner p {
        text-align: center;
        line-height: normal;
    }

    body .content_abschlussmodul {
        height: 4rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    body #teilnahme {
        font-weight: normal;
        padding-bottom: 5px;
    }

    .vertical-line .step>div:first-child {
        height: 240px;
    }

}