* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-image: url("images/hintergrund5.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("images/hintergrund5.jpg");
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 243, 243, 0.189);
    z-index: -1;
    pointer-events: none;
}
#border{
                border: 3px solid;
    border-color: #92BBD7;
    border-radius: 13px;
}
#border:hover{
             transform: translateY(-3px);
}
/* =========================
   TITEL
   ========================= */

#title-container-2 {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    padding: 20px;
    background-color: rgb(250, 251, 252);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    border: 1px solid gainsboro;
    text-align: center;

}

#home-title {
    margin: 0;
    font-size: 2em;
    font-weight: 600;
}

/* =========================
   CARD ZENTRIEREN
   ========================= */

#card-center {
    width: 100%;
    max-width: 940px;
    display: flex;
    justify-content: center;
    padding: 30px 20px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   CARD
   ========================= */

#smallcards-design {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    
}

#card-design {
    width: 900px;
    max-width: 100%;
    min-width: 0;
    background-color: rgb(250, 251, 252);
    border: 1px solid gainsboro;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.541);
    padding: 30px;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
    
    
}
#card-design-1 {
    width: 900px;
    max-width: 100%;
    min-width: 0;
    background-color: rgb(250, 251, 252);
    border: 1px solid gainsboro;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.541);
    padding: 30px;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
    
}

#card-design-temu {
    width: 900px;
    max-width: 100%;
    min-width: 0;
    background-color: rgb(0, 127, 253);
    padding: 30px;
}

#card-design:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* =========================
   KEIN ABSTAND BEI SMALLCARDS
   ========================= */

#smallcards-design #card-design.no-margin {
    margin: 0 !important;
}

/* =========================
   CARD HEADER
   ========================= */

#card-header {
    width: 100%;
    text-align: center;
    margin-bottom: 25px;
}

#card-title {
    margin: 0;
    font-size: 5em;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: break-word;
}
#card-titel-5{
        width: calc(100% + 60px);
    text-align: center;
    margin-bottom: 20px;
    margin-top: 0px;
    background-color:#92BBD7;
   border-radius: 10px;
    border-color:#92BBD7;
   padding-top: 25px;
   padding-bottom: 25px;
   display: block;
   justify-self: center;
   text-align: left;
   padding-left: 40px;
   padding-right: 20px;
   font-size: 1.2em;
}
/* =========================
   TRENNLINIE
   ========================= */

#card-line {
    border: 0;
    border-top: 1px solid gainsboro;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* =========================
   UNTERTITEL
   ========================= */

#card-subtitle-1,
#card-subtitle-2,
#card-subtitle-3 {
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.6;
    overflow-wrap: break-word;
}

/* =========================
   MITTLERER BEREICH
   ========================= */

#card-middle {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    margin-top: 25px;
    margin-bottom: 30px;
}

/* =========================
   LISTE
   ========================= */

#card-lists {
    width: 35%;
    min-width: 0;
    text-align: left;
}

#card-list-1,
#card-list-2 {
    width: 100%;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: break-word;
}

.card-list-item {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 8px;
    overflow-wrap: break-word;
}

/* =========================
   BILD
   ========================= */

#card-image-container {
    width: 65%;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#card-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    border-radius: 8px;
}
#card-image-1{
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    height: auto;
    display: flex;
    justify-content: right;
   box-shadow: 10px 10px 10px #adadad;
   margin: auto;
}



/* =========================
   COPYRIGHT
   ========================= */

#Copyright-1 {
    color: rgb(73, 73, 73);
    float: right;
    font-size: 14px;
    line-height: 1.5;
    text-shadow: 10px 1px 20px rgb(192, 191, 191);
}

/* =========================
   TEXT
   ========================= */

#card-text-1,
#card-text-2,
#card-text-3 {
    width: 100%;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
    overflow-wrap: break-word;
}

/* =========================
   LINKS
   ========================= */

#card-link-1,
#card-link-2 {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    text-align: center;
    overflow-wrap: break-word;
}

#card-link-1 a,
#card-link-2 a {
    color: lightblue;
    text-decoration: none;
    transition: 0.2s ease;
    overflow-wrap: anywhere;
}

#card-link-1 a:hover,
#card-link-2 a:hover {
    text-decoration: underline;
}

/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 700px) {

    #title-container-2 {
        width: calc(100% - 20px);
        max-width: none;
        margin-top: 15px;
        padding: 15px;
    }

    #home-title {
        font-size: 24px;
    }

    #card-center {
        width: 100%;
        max-width: none;
        padding: 15px 10px;
    }

    #card-design {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 20px;
    }

    #card-title {
        font-size: 1.4em;
    }

    #card-subtitle-1,
    #card-subtitle-2,
    #card-subtitle-3 {
        font-size: 16px;
    }

    #card-middle {
        width: 100%;
        gap: 15px;
    }

    #card-lists {
        width: 40%;
        min-width: 0;
    }

    #card-image-container {
        width: 60%;
        min-width: 0;
    }

    #card-image {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    #card-list-1,
    #card-list-2 {
        font-size: 15px;
    }

    .card-list-item {
        font-size: 15px;
    }

    #card-text-1,
    #card-text-2,
    #card-text-3 {
        font-size: 14px;
    }

    #card-link-1,
    #card-link-2 {
        font-size: 15px;
    }
    #card-titel-5{

   font-size: 1em;
}
}

/* =====================================================
   HANDY
   ===================================================== */

@media (max-width: 500px) {

    #title-container-2 {
        width: 100%;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
        padding: 20px;
        background-color: rgb(250, 251, 252);
    }    
    #card-titel-5{

   font-size: 0.9em;
}

    #card-center {
        padding: 10px 8px;
    }

    #card-design {
        padding: 15px;
        border-radius: 10px;
    }

    #card-title {
        font-size: 1.3em;
    }

    #card-subtitle-1,
    #card-subtitle-2,
    #card-subtitle-3 {
        font-size: 15px;
        line-height: 1.5;
    }

    #card-middle {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    #card-lists {
        width: 45%;
    }

    #card-image-container {
        width: 100%;
    }

    #card-image {
        width: 100%;
        max-width: 100%;
    }

    #card-list-1,
    #card-list-2 {
        font-size: 16px;
        line-height: 1.5;
    }

    #card-text-1,
    #card-text-2,
    #card-text-3 {
        font-size: 15px;
        line-height: 1.6;
    }

    #card-link-1,
    #card-link-2 {
        font-size: 14px;
    }

    #Copyright-1 {
        font-size: 13px;
    }
}

/* =====================================================
   SEHR KLEINES HANDY
   ===================================================== */

@media (max-width: 380px) {
    #card-titel-5{

   font-size: 0.8em;
}
    #card-center {
        padding: 8px 5px;
    }

    #card-design {
        padding: 12px;
    }

    #card-title {
        font-size: 1.2em;
    }

    #card-subtitle-1,
    #card-subtitle-2,
    #card-subtitle-3 {
        font-size: 14px;
    }

    #card-middle {
        gap: 8px;
    }

    #card-lists {
        width: 45%;
    }

    #card-image-container {
        width: 100%;
    }

    #card-list-1,
    #card-list-2 {
        font-size: 14px;
        line-height: 1.4;
    }

    #card-text-1,
    #card-text-2,
    #card-text-3 {
        font-size: 14px;
    }

    #card-link-1,
    #card-link-2 {
        font-size: 13px;
    }
}

