/* <<<<<< Header >>>>>> */

header {
    /* ->Dimension<- */
    height: 150px;

    /* ->Abstand<- */
    margin-bottom: 20px;
    padding: 20px;

    /* ->Darstellung<- */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    /* ->Design<- */
    background-color: #576B9E;
    box-shadow: 0px 5px 10px rgb(30, 30, 30);
}

nav {
    /* ->Abstand<- */
    padding: 10px 20px;
}

nav li {
    /* ->Abstand<- */
    margin: 0 25px;

    /* ->Darstellung<- */
    display: inline;

    /* ->Schrift<- */
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

nav a {
    /* ->Schrift<- */
    font-size: 25px;
    color: rgb(196, 196, 196);
    text-decoration: none;
}

nav a:hover {
    /* ->Schrift<- */
    text-shadow: 0 0 8px #ffffff;
}

#nav_toggle_button {
    /* ->Darstellung<- */
    display: none;
}

label[for="nav_toggle_button"] {
    /* ->Darstellung<- */
    display: none;
}


/* <<<<<< Main >>>>>> */

section {
    /* ->Dimension<- */
    height: auto;

    /* ->Abstand<- */
    margin-bottom: 20px;
    padding: 25px;

    /* ->Darstellung<- */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
    /* ->Design<- */
    background-color: #dbdbdb;
    border-top: 2px solid #922C40;
    border-bottom: 2px solid #922C40;
}

section h2 {
    /* ->Darstellung<- */
    text-align: center;
}

section p {
    /* ->Abstand<- */
    margin-bottom: 10px;

    /* ->Schrift<- */
    font-size: 1.2em;
}

.section_paragraph {
    /* ->Dimension<- */
    width: 70%;
    height: auto;
    
    /* ->Abstand<- */
    padding: 10px;
}

#home {
    /* ->Dimension<- */
    height: 500px;

    /* ->Darstellung<- */
    text-align: center;
}

#home p {
    /* ->Schrift<- */
    font-size: 1.5em;;
}

#card_container {
    /* ->Dimension<- */
    width: 90%;

    /* ->Abstand<- */
    margin: 20px;
    gap: 20px;

    /* ->Darstellung<- */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    /* ->Design<- */
    /* background-color: green; */
}

.service_card {
    /* ->Dimension<- */
    width: 450px;
    height: auto;

    /* ->Design<- */
    background-color: rgb(118, 176, 241);
    border: 2px solid rgb(0, 0, 0);
    border-radius: 20px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.669);
}

.service_card_title {
    /* ->Abstand<- */
    padding: 10px;

    /* ->Design<- */
    background-color: rgb(63, 111, 167);
    border-radius: 18px 18px 0 0;
}

.service_card_paragraph {
    /* ->Abstand<- */
    padding: 20px;
}

.service_card ul {
    /* ->Abstand<- */
    margin-left: 20px;
    margin-bottom: 10px;
}

#for_location li {
    /* ->Darstellung<- */
    list-style: inside;

    /* ->Schrift<- */
    font-size: 1.3em;
}

#contact p {
    /* ->Darstellung<- */
    text-align: center;

    /* ->Design<- */
    /* background-color: #922C40; */
}

#email-form {
    /* ->Dimension<- */
    width: 65%;
    max-width: 1200px;

    /* ->Abstand<- */
    padding: 20px;

    /* ->Darstellung<- */


    /* ->Design<- */
    background-color: rgb(185, 185, 185);
    border-radius: 10px;
}

#email-form * {
    box-sizing: border-box;
}

.flex-outer {
    list-style-type: none;
}

.flex-outer li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.flex-outer > li:not(:last-child) {
    margin-bottom: 20px;
}

.flex-outer > li > label {
    flex: 1 0 120px;
    max-width: 220px;
}

.flex-outer > li > label + * {
    flex: 1 0 220px;
}

.flex-outer li label {
    padding: 8px;
}

.flex-outer li input,
.flex-outer li textarea {
    padding: 15px;
    border: none;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    font-style: italic;
} 

.flex-outer li input,
.flex-outer li textarea:focus {
    outline: none;
}

.flex-outer li button {
    margin-left: auto;
    padding: 8px 16px;
    border: none;
    background: #333;
    color: #f2f2f2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 50px;
}

/* <<<<<< Footer >>>>>> */

footer {
    /* ->Dimension<- */
    height: 100px;

    /* ->Design<- */
    background-color: #576B9E;
}

#go_top_icon {
    /* ->Position<- */
    position: fixed;
    bottom: 0;
    right: 0;

    /* ->Abstand<- */
    padding: 5px;

    /* ->Design<- */
    background-color: rgba(0, 0, 0, 0.650);
    border-radius: 20px 0 0 0;
    box-shadow: -2px -2px 8px rgb(78, 78, 78);

    /* ->Schrift<- */
    font-size: 2.5em;
}

#go_top_icon:hover {
    /* ->Abstand<- */
    padding: 12px;

    /* ->Schrift<- */
    font-size: 3.5em;
}

#go_top a {
    /* ->Schrift<- */
    color: rgba(219, 219, 219, 0.650);
}

/* ----------------------------------------------------------------- */

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

    /* <<<<<< Header >>>>>> */

    header {
        /* ->Dimension<- */
        height: 220px;
    }
    
    nav li {
        /* ->Darstellung<- */
        display: flex;
        justify-content: center;
    }
}

/* ----------------------------------------------------------------- */

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

    /* <<<<<< Header >>>>>> */

    header {
        /* ->Dimension<- */
        height: 100px;

        /* ->Darstellung<- */
        flex-direction: row-reverse;
    }

    header h1 {
        /* ->Schrift<- */
        font-size: 4em;
    }

    nav {
        /* ->Position<- */
        position: absolute;
        top: 0;
        left: 0;

        /* ->Abstand<- */
        padding: 15px;

        /* ->Design<- */
        background-color: rgba(0, 0, 0, 0.650);
        border-bottom-right-radius: 20px;
    }
    
    nav ul {
        /* ->Darstellung<- */
        display: none;
        flex-direction: column;
    }

    #nav_toggle_button:checked ~ ul {
        /* ->Darstellung<- */
        display: flex;
    }

    label[for="nav_toggle_button"] {
        /* ->Darstellung<- */
        display: block;
    }


    /* <<<<<< Main >>>>>> */

    main h2 {
        /* ->Schrift<- */
        font-size: 3em;
    }

    #for_location li {
        /* ->Schrift<- */
        font-size: 1.2em;
    }
}

/* ----------------------------------------------------------------- */

@media only screen and (max-width: 600px) {
    
    /* <<<<<< Header >>>>>> */

    header {
        /* ->Dimension<- */
        height: 100px;

        /* ->Darstellung<- */
        flex-direction: row-reverse;
   }

    header h1 {
        /* ->Schrift<- */
        font-size: 3.5em;
    }

    nav {
        /* ->Position<- */
        position: absolute;
        top: 0;
        left: 0;

        /* ->Abstand<- */
        padding: 15px;

        /* ->Design<- */
        background-color: rgba(0, 0, 0, 0.650);
        border-bottom-right-radius: 20px;
    }
        
    nav ul {
        /* ->Darstellung<- */
        display: none;
        flex-direction: column;
    }
    
    #nav_toggle_button:checked ~ ul {
        /* ->Darstellung<- */
        display: flex;
    }
    
    label[for="nav_toggle_button"] {
        /* ->Darstellung<- */
        display: block;
    }
    

    /* <<<<<< Main >>>>>> */

    main h2 {
        /* ->Schrift<- */
        font-size: 2.5em;
    }

    #home {
        /* ->Dimension<- */
        height: 500px;

        /* ->Darstellung<- */
        text-align: center;
    }
    
    #home p {
        /* ->Schrift<- */
        font-size: 1.3em;;
    }

    section p {
        /* ->Schrift<- */
        font-size: 0.95em;
    }

    .service_card {
        /* ->Dimension<- */
        width: 350px;
        height: auto;
    }

    .service_card h4 {
        /* ->Schrift<- */
        font-size: 1.5em;
    }

    #for_location li{
        /* ->Schrift<- */
        font-size: 1em;
    }
}