input[type=text], select {
    width: 90%;
    padding: 12px 20px;
    margin: auto;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
}

input[type=email], select {
    width: 90%;
    padding: 12px 20px;
    margin: auto;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
}

input[type=vorname], select {
    width: 90%;
    padding: 12px 20px;
    margin: auto;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
}

input[type=nachname], select {
    width: 90%;
    padding: 12px 20px;
    margin: auto;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
}

input[type=firstname], select {
    width: 90%;
    padding: 12px 20px;
    margin: auto;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
}

input[type=lastname], select {
    width: 90%;
    padding: 12px 20px;
    margin: auto;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
}

input[type=firma], select {
    width: 90%;
    padding: 12px 20px;
    margin: auto;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
 }

input[type=password], select {
    width: 90%;
    padding: 12px 20px;
    margin: auto;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
 }

input[class="txtbox"], select {
    margin: 0px 0px 2px 0px;
}

select.txtbox {
    margin: 0px 0px 2px 0px;
    position: relative;
    opacity: 1;
    z-index: 0;
    height: auto;
    top: auto;
    left: auto;
}

input[class="txtboxh"], select {
    outline: none;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

form {
    text-align: center;
    max-width: 400px;
}

form.upload {
    text-align: center;
}

form.search {
    display: inline-block;
}

input:focus {
    outline: none;
	border-color: darkcyan;
    box-shadow: 1px 1px 10px #a6d9e6;
}

input[type=submit] {

    width: 90%;
    background-color: lightgrey;
    color: white;
    padding: 14px 20px;
    margin: auto;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    border-color: blue;
    font-size: 150%;
}

.btn_upload {
    background-color: #202020;
    color: whitesmoke;
    cursor: pointer;
    border: solid 1px;
    border-radius: 4px;
    margin: 0px 2px 4px 2px;
    padding: 10px;
}

.btn_search {
    visibility: hidden;
    background-color: #202020;
    color: white;
    cursor: pointer;
}

input#upbu {
    background-color: #202020;
    color: rgb(255, 255, 255);
    padding: none;
}

input#sharepass {
    color: black;
    background-color: #fff;
}

input#fileToUpload {
    border-radius: 4px;
    margin: 0px 2px 4px 2px;
    padding: 10px;
    background-color: darkcyan;
    border: none;
    color: white;
    display: none;
}

.custom-file-upload {
    display: inline-block;
    padding: 10px 60px;
    width: 90%;
    margin-top: 10px;
    background-color: darkcyan;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    border: solid 0.5px whitesmoke;
    transition: background-color 0.3s ease;
}

input[type=submit]:hover {
    background-color: darkcyan;
    transition-duration: 3s;
    opacity: 0.7;
}

input#upbu:hover {
    background-color: darkcyan;
    transition-duration: 3s;
    opacity: 0.7;
}

#search {
    position: relative;
    text-align: center;
    max-width: none;
}

/* Stil für das Dropdown-Menü */
#category {
    padding: 10px;
    background-color: #008b8b;
    border-radius: 5px;
    opacity: inherit;
    width: 90%;
    margin: auto;
    position: static;
    color: rgb(255, 255, 255);
    height: auto;
}

/* Stil für die Optionen im Dropdown-Menü */
#category option {
    background-color: #fff;
    color: #333;
}

fieldset {
    outline: none;
    border: none;
    background-color: white;
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    max-width: 300px;
    margin: auto;
    text-align: center;
    padding: 8px;
}
  
.title_card {
    color: grey;
    font-size: 18px;
}

  /* Stil für das Dark-Theme */
  @media (prefers-color-scheme: dark) {
    fieldset {
      background-color: #202020;
      color: #ffffff;
    }
    input {
        background-color: #202020;
        color: white;
        border: 1px solid #ccc;
    }
    input[type=submit]{
        background-color: #202020;
        color: white;
        border: 1px solid darkcyan;
    }
    textarea {
        background-color: #202020;
        color: white;
    }
    select.txtbox{
        background-color: #202020;
        border: 1px solid white;
        color: white;
    }
  }
  

fieldset.contact {
    outline: none;
    background-color: inherit;
    border-radius: 8px;
    padding: 25px 5px 25px 5px;
}

.checkbox {
    text-align: start;
    padding: 0px 0px 0px 4.8%;
    color: deepskyblue;
}

address.contact {
    background-color: inherit;
    padding: 25px 5px 25px 5px;
    border-radius: 8px;
}

textarea[id="message"], select {
    width: 90%;
    box-sizing: border-box;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea:focus {
    outline: none;
    border-color: lightcyan;
    box-shadow: 1px 1px 10px #a6d9e6;
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px){
    textarea[id="message"], select {
        max-width: 700px;
    }
}

@media only screen and (max-width: 1200px){
    textarea[id="message"], select {
        max-width: 500px;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 992px){
    textarea[id="message"], select {
        max-width: 400px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px){
    textarea[id="message"], select {
        max-width: 400px;
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    textarea[id="message"], select {
        max-width: 300px;
    }
}

