HTML, body {
    background-attachment: fixed;
    background-image: url('../img/managment_list.png');
    background-color: #fff;
    background-position: center;
    background-size: cover;
    font-family: 'PT Sans', serif;
    margin: 0;
    padding: 0;
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.outerbox
{
    width: fit-content;
    margin: 8em auto 0 auto;
    background-color: #F0F0F0;
    box-shadow: inset 0 3px 6px #00000029, 0 3px 6px #00000029;
    border-radius: 15px;

}

.searchnewgrid {
    margin: 1em;
    width: auto;
    display: grid;
    grid-template-columns: 100%;
    flex-flow: column wrap;
    justify-content: flex-end;
}

.searchnew {
    margin-top: 0.8em;
    display: flex;
    background-color: #ECE4DB;
    box-shadow: inset 0 3px 6px #00000029, 0 3px 6px #00000029;
    border: 1px solid #707070;
    border-radius: 15px;
    padding: 0.5em;
    justify-content: center;
    align-items: center;
    width: 93%;
}

.search {
    background-color: #fff;
    box-shadow: 0 3px 6px #00000029;
    border: 2px solid #6C8494;
    border-radius: 25px;
    padding: 0.5em;
    display: flex;
    width: 100%;
    height: 1em;
    align-items: center;
}

.form {
    width: 100%;
}

.wrap {
    display: flex; /* Flexbox sorgt für ein flexibles Layout */
    width: 100%; /* Volle Breite */
    max-width: 100vw; /* Verhindert, dass die Breite über den Bildschirm hinausgeht */
    margin: 0; /* Verhindert unerwünschte Ränder */
    padding: 0; /* Entfernt Padding, das den Inhalt verschieben könnte */
}

.label {
    width: 100%;
}

.input {
    border: none;
    margin: 1em;
    color: #6C8494;
    max-width: 100%;
}

textarea:focus, input:focus{
    outline: none;
}

.new {
    background-color: #81D841;
    border: 2px solid #707070;
    height: 2em;
    width: 2em;
    border-radius: 25px;
    justify-content: center;
}

.clothbox {
    border-radius: 15px;
    background-color: #ECE4DB;
    box-shadow: inset 0 3px 6px #00000029, 0 3px 6px #00000029;
    border: 1px solid #707070;
}

.clothgrid {
    border-radius: 15px;
    background-color: #F0F0F0;
    box-shadow: inset 0 3px 6px #00000029, 0 3px 6px #00000029;
    margin: 0.4em;
    padding: 1em;
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 0.5em;
}

.clothboxes {
    background-color: #fff;
    border: 2px solid #738A99;
}

.articlenumbereditgrid {
    display: flex;
    margin: 0.2em;
    padding: 2px;
    align-items: center;
}

.articlenumber {
    border: 1px solid #707070;
    border-radius: 30px;
    text-align: center;
    padding: 2px;
    width: 100%;
}

.edit {
    background-color: #989191;
    border: 1px solid #707070;
    height: 1.4em;
    width: 1.4em;
    border-radius: 25px;
}

.clothimg {
    display: flex;
    border-radius: 30px;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin: 0.2em;
    height: 12.5em;
    width: auto;
}

.clothimg img {
    border-radius: 30px;
    height: 12.5em;
    width: 10em;
    object-fit: cover;
    border: 1px solid #707070;
}
.categorie_m_ueberschrift
{
    color: #6C8494;
    padding: 5% 0 0 10%;
    font-weight: bold;
    width: auto;
    border-radius: 25px 0 0 0;
}

.categorie_m
{
    position: fixed;
    margin: 8.1em 7.5% 0 7.5%;
    height: auto;
    width: 85%;
    background: #F6F6F6;
    z-index: 1;
    border: 2px #6c8494 solid;
    border-radius: 21px;
    transition: 0.3s;
    display: none;

}

.categorie_m_unter {
    width: 100%;
}

.categorie {
    position: fixed; /* Or fixed, depending on what you want */
    top: 10vh; /* Adjust to where you want it to appear vertically */
    left: 0; /* Keeps it aligned to the left */
    /* Other existing styles */
    width: 15vh;
    background: #DAD3CA;
    padding: 0.5vh;
    border-radius: 0 0.78vw 0.78vw 0;
    border: 0.1042vw solid #2F2F2F;
    box-shadow: inset 0px 3px 6px #00000029, 0px 3px 6px #00000029;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out; /* Sanfte Transitionen */


}

.categorie_2
{
    height: 99%;
    width: 99%;
    padding-right: 8%;
    background:#F0F0F0;
    border-radius: 0 0.78vw 0.78vw 0;
    border: 0.1042vw solid #738A99;
    box-shadow: inset 0px 3px 6px #00000029, 0px 3px 6px #00000029;
    padding-bottom: 1.7em;


}

.categorie_2_ober
{
    width: auto;
    height: auto;
    bottom: 0;
    margin-bottom: 2%;
    margin-top: 1%;
    border-radius: 0 0.78vw 0 0;
    flex: 1;
    justify-content: center;
}

.categorie_2_unter
{
    width: auto;
    height: auto;
    margin-top: 5%;
    border-radius: 0 0 0.78vw 0;
    flex: 1;
    justify-content: center;
}

.categorie_m_strich
{
    width: 80%;
    height: 3px;
    background: #304b7e;
    margin-left: 10%;
    margin-top: -1%;
}
.categorie_strich
{
    width: 80%;
    height: 3px;
    border-radius: 0 0 0.78vw 0;
    /*background: #304b7e;*/
    border-top: 0.2084vw solid #304b7e;
    margin-left: 10%;
    margin-bottom: -15%;
}

.categorie_strich:last-child {
    border-top: none;
}

#kategorien_titel
{
    color: #6C8494;
 margin-left: 10%;
    font-weight: bold;
    width: auto;
    font-size: 2.5vmin;
    display: inline-block;

}
#kategorien_titel a
{
    color: #6C8494;
}

#kategorien_unter
{
    color: #6C8494;
    margin-left: 8%;
    width: fit-content;
}

.categorie_icon
{
    width: 75%;
    height: 75%;
    margin: auto;
}


@media (min-width: 320px)
{
    .outerbox{
        width: fit-content;
        margin: 8em auto 0 auto;
        background-color: #F0F0F0;
        box-shadow: inset 0 3px 6px #00000029, 0 3px 6px #00000029;
        border-radius: 15px;
    }

}


@media (max-width: 1280px)
{
    .outerbox{
        width: fit-content;
        margin: 8em auto 0 auto;
        background-color: #F0F0F0;
        box-shadow: inset 0 3px 6px #00000029, 0 3px 6px #00000029;
        border-radius: 15px;
    }

    .categorie_m_symbol
    {
        width:3em ;
        height:3em ;
        display: flex;
        position: fixed;
        background: #F6F6F6;
        margin: 1% auto auto 0;
        border-radius: 0 14px 14px 0;
        border: 2px #6c8494 solid;
        border-left: 0px;
        transition: 0.5s;

    }
    :hover.categorie_m_symbol
    {
        background: #dce5ec;

    }

}

@media (max-width: 1280px)
{
   /* .categorie
    {
        margin-top: -30%;
        width: 15%;
    }*/
    .outerbox
    {

    }
    .clothimg
    {
        height: 10em;
    }
    .clothimg img
    {
        height: 10em;
      width: 8em;
    }
}
@media (max-width: 1281px)
{

    .categorie_m_symbol
    {
    display: flex;
    }

    .categorie
    {
        display: none;
    }
}

@media (min-width: 1217px)
{
    .categorie
    {
        display: flex;
    }
    .categorie_m_symbol
    {
        display: none;
    }
}

@media (max-width: 513px)
{
    .outerbox{
        width: 100%;
        margin: 8em auto 0 auto;
        background-color: #F0F0F0;
        box-shadow: inset 0 3px 6px #00000029, 0 3px 6px #00000029;
        border-radius: 15px;
    }
    .categorie_m_symbol
    {
        margin-top: 4.75em;
    }
    .clothimg img
    {
        width: 7em;
        height: 8.75em;
    }
    .clothboxes
    {

    }
    .clothgrid
    {
        padding: 0.5em;
    }
    .articlenumbereditgrid
    {
        grid-template-columns: none;
    }

}

