body {
    font-family: Verdana, sans-serif;
    text-transform: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

input, select {
    display: block;
    width: 100%;
    font-size: 16px;
    min-height: 44px;
    margin-bottom: 15px;
}

button{
    width: 100%;
    padding: 14px;
    font-weight: 600;
    color: black;
    background-color: transparent;
}

.article {
    display: flex;
    flex-direction: column;
}

label{
    display: block;
    margin-top: 16px;
    margin-top: 6px;
    font-size: 14px;;
}

select {
    border-radius: 10px;
    background-color: white;
    border-width: 1px;
}

.button{
    width: 100%;
    padding: 14px;
    font-weight: 600;
    border-radius: 15px;
    color: teal;
    background-color: transparent;
}

.header {
    width: 20vw;
    border-radius: 15px;
    border: solid 2px teal;
    margin-bottom: 10px;
}

 form {
    padding: 16px;
}

.header > img {
    border-radius: 10px;
    width: 100%;
}

/*slider logik*/
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-transition: .4s;
  transition: .4s;
  background-image: url("/static/half-de.png");
    background-position: center; /* Center the image */
    background-repeat: no-repeat;
    background-size: cover;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: #fff;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
    background-image: url("/static/half-en.png");
    background-position: center; /* Center the image */
    background-repeat: no-repeat;
    background-size: cover;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}



@media (min-width: 1100px) {
    button, input, select, label {
        width: 100%;
        min-height: 30px;
    }
    form {
        background-image: url("/static/bg.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        padding: 5vw;
        border-radius: 15px;
        border: solid 2px teal;
        width: 60%;
    }

    body{
        background-image: none;
    }

    .header {
        width: 20vw;
        border-radius: 15px;
        border: solid 2px teal;
        margin-bottom: 10px;
    }
    img{
        max-width: 100%;
    }
}

@media (min-width: 1300px) {
    form{
        width: 25%;
    }
    body{
        background-image: none;
    }
}