


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;

}
.no_border_title{
    margin: 15px 25px 5px 15px;
    font-size: 30px;
    color: #000000;
    border-bottom: unset;
}
.second_items{
    overflow: auto;
}


.costumers{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    margin: 5px 15px 5px 15px;
    justify-content: space-between;
    padding: 5px;
    background: linear-gradient(90deg, rgb(98 54 217 / 0.14), #ffffff 90%,) !important;
    border: 1px solid rgb(98 54 217 / 0.38) !important;
    border-radius: 10px;
    color: #6236d9 !important;
    transition: 0.25s;
}
.admin{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    margin: 5px 15px 5px 15px;
    justify-content: space-between;
    padding: 5px;
    background: linear-gradient(90deg, rgb(98 54 217 / 0.14), rgb(98 54 217 / 0.14) 48%,rgb(98 54 217 / 0.14), rgb(98 54 217 / 0.14) 90%) !important;
    border: 1px solid rgb(98 54 217 / 0.38) !important;
    border-radius: 10px;
    color: #6236d9 !important;
    transition: 0.25s;
}
.shit{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    margin: 5px 15px 5px 15px;
    justify-content: center;
    padding: 5px;
    background: linear-gradient(90deg, rgb(217 54 54 / 0.14), rgb(217 54 54 / 0.14) 48%, rgb(217 54 54 / 0.14), rgb(217 54 54 / 0.14) 90%) !important;
    border-radius: 10px;
    color: rgb(255 0 0 / 0.56) !important;
    transition: 0.25s;
}
.costumers-id{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    margin: 5px 15px 5px 15px;
    justify-content: space-between;
    padding: 5px;
    background: linear-gradient(90deg, rgb(98 54 217 / 0.14), #ffffff 48%);
    border: 1px solid rgb(98 54 217 / 0.38);
    border-radius: 10px;
    color: #6236d9;
    transition: 0.25s;
}

.costumers:hover,
.costumers-id:hover {
    background: #6236d9 !important;
    border-color: #6236d9 !important;
    color: #ffffff !important;
    transform: translateX(-4px);
    box-shadow: 0 5px 15px rgb(98 54 217 / 0.35);
}



.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: 3;
    height: 500px;
    background: linear-gradient(white, rgb(98 54 217 / 0.2));
    border-radius: 10px;
    box-shadow: 0 5px 15px #7f7fb2ff;
    transition: 1s;

}

.second_items2 {
    flex: 1;
    height: 500px;
    background: linear-gradient(white, rgb(98 54 217 / 0.2));
    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,
    .second_items2 { flex: 1 1 100%; width: 100%; }
}

@media (max-width: 600px) {
    .items { flex-basis: 100%; width: 100%; }
    h2,
    .no_border_title { font-size: 26px; }
    .costumers,
    .costumers-id,
    .admin,
    .shit { gap: 8px; margin-inline: 8px; font-size: 13px; }
    .second_items,
    .second_items2 { height: 420px; overflow: auto; }
}

/* Responsive refinement - customers */
@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: 900px) {
    .third_content {
        flex-direction: column;
        align-items: stretch;
    }

    .second_items,
    .second_items2 {
        width: 100%;
        flex: none;
    }
}

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

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

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

    .third_content .second_items .costumers {
        min-width: 690px;
    }

    .third_content .second_items2 {
        height: auto;
        min-height: 360px;
    }

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

    .costumers,
    .costumers-id,
    .admin,
    .shit {
        margin: 5px 9px;
        padding: 7px;
    }
}

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