button{
    border-radius: 5px;
    justify-content: center;
    border: white solid 2px;
    font-family: MyFont;
    width: 200px;
    height: 40px;
    font-size: 18px;
    position: absolute;
    left: 10px;
    background-color: #6236d9;
    color: #ffffff;
}
.product-button{
    border-radius: 5px;
    justify-content: center;
    border: white solid 2px;
    font-family: MyFont;
    width: 200px;
    height: 40px;
    font-size: 18px;
    position: absolute;
    right: 20px;
    background-color: #6236d9;
    color: #ffffff;
    #iiii{
        position: absolute;
        right: 15px;
        top: 10px;
    }
}
.items {
    width: 320px;
    height: 290px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px #7f7fb2ff;
    transition: 1s;
    position: relative;
    display: flex;
    flex: 1;
    justify-content: flex-start;
    /*align-items: last;*/
    flex-direction: column;
    overflow: auto;

}
h2{
    margin: 15px 25px 0px 15px;
    font-size: 35px;
    color: #6236d9;
    border-bottom: 2px solid #000000;

}
.h22{    margin: 15px 25px 0px 15px;
    font-size: 35px;
    color: #6236d9;
    border-bottom:unset;
}
.items:hover {
    transform: scale(1.05);
    background-color: rgb(127 127 178 / 0.15);
    box-shadow: 0 5px 25px #7f7fb2;
    cursor: pointer;
}
.second_content,
.third_content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 25px auto;
    max-width: 1750px;
}
.second_items {
    /*flex: 1;*/
    width: 100%;
    height: 500px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px #7f7fb2ff;
    transition: 1s;
    overflow: auto;


}

.order-status{
    background-color: rgb(255 255 0 / 0.36);
    color: #abab3d;
    border-radius: 15px;
    padding: 10px;
    margin: 5px 10px 5px 10px;
    width: 120PX;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.order-status-black{
    background-color: rgb(0 0 0 / 0.36);
    color: #000000;
    border-radius: 15px;
    padding: 10px;
    margin: 5px 10px 5px 10px;
    width: 120PX;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.order-status-red{
    background-color: rgb(255 0 0 / 0.36);
    color: #602222;
    border-radius: 15px;
    padding: 10px;
    margin: 5px 10px 5px 10px;
    width: 120PX;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.order-status-green{
    background-color: rgb(34 255 0 / 0.36);
    color: #2f853f;
    border-radius: 15px;
    padding: 10px;
    margin: 5px 10px 5px 10px;
    width: 120PX;
    height: 45px;
    display: inline-flex;
    align-items: center;



    justify-content: center;
    flex: 0 0 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.orders-dashboard{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin: 0px 15px 0px 15px;
    justify-content: space-between;
    border-bottom: 1px solid #6236d9;
}
.orders-dashboard-title{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin: 0px 15px 0px 15px;
    justify-content: space-between;
    border-bottom: 1px solid #6236d9;
}


/*.second_items2 {*/
/*    !*flex: 1;*!*/
/*    height: 500px;*/
/*    background-color: white;*/
/*    border-radius: 10px;*/
/*    box-shadow: 0 5px 15px #7f7fb2ff;*/
/*    transition: 1s;*/
/*}*/
.second_items:hover,
.second_items2:hover {
    transform: scale(1.02);
    background-color: rgb(127 127 178 / 0.15);
    box-shadow: 0 5px 25px #7f7fb2;
    cursor: pointer;
}

.search_input{
    border-radius: 5px;
    display: flex;
    justify-content: left;
    margin: 10px;
    border: #6236d9;
    font-family: MyFont;
    width: 200px;
    height: 40px;
    border: none;
    outline: none;
    font-size: 18px;
    position: absolute;
    left: 10px;
    background-color: #ffffff;
    color: #6236d9;
}
#iii{
    position: absolute;
    left: 230px;
    bottom: 15px;
}
@keyframes fadeUp {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
.main_content h1 {
    animation: fadeUp 0.55s ease-out both;
}
.items,
.second_items,
.second_items2,
.items2 {
    opacity: 0;
    animation: fadeUp 0.6s ease-out forwards;
}
.second_content .items:nth-child(1) { animation-delay: 0.15s; }
.second_content .items:nth-child(2) { animation-delay: 0.25s; }
.second_content .items:nth-child(3) { animation-delay: 0.35s; }
.second_content .items:nth-child(4) { animation-delay: 0.45s; }

.third_content .second_items { animation-delay: 0.55s; }
.third_content .second_items2 { animation-delay: 0.65s; }

.fourth_content .items2:nth-child(1) { animation-delay: 0.75s; }
.fourth_content .items2:nth-child(2) { animation-delay: 0.75s; }
.fourth_content .items2:nth-child(3) { animation-delay: 0.75s; }
.fourth_content .items2:nth-child(4) { animation-delay: 0.75s; }

@media (max-width: 900px) {
    .items { width: auto; flex: 1 1 calc(50% - 20px); }
    .third_content { align-items: stretch; }
    .second_items { width: 100%; flex: 1 1 100%; overflow: auto; }
}

@media (max-width: 600px) {
    .items { flex-basis: 100%; width: 100%; }
    h2 { font-size: 26px; }
    .orders-dashboard,
    .tst,
    .tst2 { gap: 7px; margin-inline: 8px; font-size: 13px; }
    .order-status,
    .order-status-black,
    .order-status-red,
    .order-status-green {
        width: 105px;
        height: 38px;
        flex-basis: 105px;
        margin: 4px;
        padding: 6px;
    }
}




.tst{
    display: flex;
    background-color: #6236d9;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: 100%;
    color: white;


    div{
        flex: 1 1 20%;
        justify-content: start;
        overflow: hidden;
        text-overflow: ellipsis;

    }
}
.order-name{
    margin: 10px;
    text-align: center;
}


.tst2{
    display: flex;

    div{
        flex: 1 1 20%;
        justify-content: center;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Responsive refinement - orders */
@media (max-width: 1200px) {
    .second_content,
    .third_content {
        gap: 16px;
        margin-block: 18px;
    }

    .second_content .items {
        flex: 1 1 calc(50% - 16px);
        min-width: 300px;
    }
}

@media (max-width: 700px) {
    .second_content,
    .third_content {
        gap: 12px;
        margin-block: 12px;
    }

    .second_content .items {
        min-width: 0;
        min-height: 245px;
        height: 245px;
        flex: 1 1 100%;
    }

    h2,
    .h22 {
        margin: 12px 14px 5px;
        font-size: 25px;
    }

    .items .orders-dashboard {
        min-width: 510px;
    }

    .third_content .second_items {
        height: 500px;
        overflow: auto;
    }

    .tst,
    .tst2 {
        width: max-content;
        min-width: 850px;
        margin-inline: 0;
    }

    .tst > div,
    .tst2 > div {
        min-width: 110px;
        margin-inline: 5px;
    }

    .order-status,
    .order-status-black,
    .order-status-red,
    .order-status-green {
        width: 100px;
        height: 36px;
        flex-basis: 100px;
    }
}

@media (hover: none) {
    .items:hover,
    .second_items:hover,
    .second_items2:hover {
        transform: none;
    }
}
