/* Style the form */

form {
    padding: 10%;
    border-radius: 25px;
    padding: 2em 20% 0 20%;
}

@media screen and (min-width: 500px) {
    .main-box {
        margin: 5px;
    }
}


/* Style the form content */

.form-content {
    overflow: hidden;
    clear: both;
}


/* Style the input fields */

button,
datalist,
input,
legend,
optgroup,
option,
output,
select,
textarea {
    margin: 0;
    font-size: 1em;
    border: 1px solid #274659;
    /* Rahmenfarbe */
    background-color: #f0f1f2;
    /* Hintergrundfarbe */
    border-radius: 5px;
    /* Abrundung der Ecken */
    width: 100%;
    height: 2em;
    box-sizing: border-box;
    /* Fügt den Rand zum Elementinhalt hinzu */
}


/* Style the labels */

label {
    font-size: 1em;
    text-align: left;
    margin-bottom: 5px;
    /* Verringert den Abstand zwischen Label und Inputfeld */
}

.back-button {
    float: right;
    color: #777;
    background-color: #eef;
}


/* Style the error messages */

.error-text {
    font-size: 0.8em;
    color: #f00;
    grid-column-start: 2;
}


/* my css */


/* Header-Bild-Stil */

.header-image {
    width: 100%;
    height: auto;
    border-radius: 25px 25px 0 0;
    border: 1px solid #274659;
    position: relative;
}

.main-box {
    background-color: #fff;
    border-radius: 25px;
    margin: 2em 20% 2em 20%;
    position: relative;
}

.logo-image {
    width: 50%;
    height: auto;
    margin: 2em 25% 3em 25%;
}


/* Body style */

body {
    background-color: #f0f1f2;
    color: #274659;
    font-family: "Roboto", sans-serif;
}


/* Style für headings */

h2,
p {
    text-align: center;
}

.weiter-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #274659;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    height: auto;
}

#step-1,
#step-2,
#step-3 {
    padding: 0;
    border: 0;
}

.step-2-site {
    text-align: left !important;
}


/* Rsponsive */

@media screen and (max-width: 600px) {
    .main-box {
        margin: 5px;
    }
}

.phone-birthdate-container,
.ort-plz-container,
.date-location-container {
    display: flex;
    margin: 0 !important;
}

.phone,
.course-date {
    flex: 1;
    margin-right: 1em;
}

.birthdate,
.ort,
.course-location {
    flex: 1;
}

.plz {
    flex: 0.5;
    margin-right: 1em;
}

@media screen and (max-width: 600px) {
    .phone-birthdate-container,
    .date-location-container {
        flex-direction: column;
    }
    .phone,
    .course-date {
        margin-right: 0;
    }
    form {
        padding: 2em 10% 0 10%;
    }
}

::placeholder {
    font-size: small;
}

input[type="radio"],
input[type="checkbox"] {
    height: auto;
    width: auto;
    margin-right: 1em;
}

.footer-nav {
    display: flex;
    margin: 3em 0 2em 0;
}

.circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #274659;
    color: #274659;
    margin: 5px;
}

.active-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #274659;
    background-color: #51768c;
    color: #fff;
    margin: 5px;
}

.circle-container {
    text-align: center;
    margin-bottom: 10px;
    width: 33.333%;
}

.pervious-button,
.next-button {
    width: 33.333%;
}

.previous-button-style {
    border: 1px solid #274659;
    background-color: transparent;
    color: #274659;
    font-size: 14px;
    cursor: pointer;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2.5em;
}

.next-button-style {
    border: 1px solid #274659;
    background-color: #51768c;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2.5em;
}

.place-holder-button {
    width: 33.333%;
}

.error-border {
    border: 2px solid red;
}

.checkbox-error {
    color: red;
}

#step-1 div,
#step-2 div,
#step-3 div {
    margin-bottom: 1em;
}

#course-date,
#birthdate {
    height: 2.5em;
}


/*@media (max-width: 768px) {
              .address div {
                  width: 100%;
              }
  
              .address div:first-child {
                  margin-bottom: 10px;
              }
          }>*/