*{
    margin: 0px;
    padding: 0px;
    
}
body{
    color: #000000;
    font-family: Arial, sans-serif;
    background-color: #e0e9ec;
    text-transform: uppercase;
}.crud{
    width: 80%;
    margin: auto;
}
.head{
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}.input input{
    width: 100%;
    margin: 10px 0;
    border-radius: 5px;
    border: none;
    outline: none;
    background: #f4f4f4;
    text-align: center;
    padding: 15px;
    transform: scale(1);
    transition: 0.5s;
}input::placeholder{
    color: #240b32;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    opacity: 50%;
    
}input:hover{
    transform: scale(1.05);
    transition: 0.3s;
    background: #cec3ec;
    color: #f4f4f4;
}
input:focus{
    background: #8c6de1;
    color: #f4f4f4;
    transform: scale(1.05);
}.title{
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}.mis{
    display: flex;
}
.price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    border: none;
    outline: none;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    transform: scale(1);
    transition: 0.5s;
}#price {
    margin-right: 4px;
    margin-left: 4px;
}#taxes{
    margin-right: 4px;
    margin-left: 4px;
    
}#ads{
    margin-right: 4px;
    margin-left: 8px;
}#discount{
    margin-left: 4px;
    margin-right: 4px;
}#total{
    margin: 10px 0;
    background:  #c50909;
    color: #f4f4f4;
    padding: 7px 17.31px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    transform: scale(1);
    transform: 0.3s;
}#total:hover{
    background: #e16dd0;
    color: #f4f4f4;
    transform: scale(1.1);
    transform: 0.3s;
}#total::before{
    content: 'Total ';
}#submit{
    width: 100%;
    margin: 4px 0;
    border-radius: 5px;
    border: none;
    outline: none;
    background: #e16dd0;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
    text-transform: uppercase;
    margin-top: 10px;
}#submit:hover{
    background: #78b789;
    color: #f4f4f4;
    transform: scale(1.1);
    letter-spacing: 2px;
    }.searchBlock{
        display: flex;
        margin: 4px 0;
        border-radius: 5px;
        transition: 0.3s;
        justify-content: space-between;
}#search{
    padding: 10px;
    border-radius: 5px;
    border: none;
    outline: none;
    background: #f4f4f4;
    transform: scale(1);
    transition: 0.5s;
    text-align: center;
}#search::placeholder{
    color: #000000;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    opacity: 50%;

}#search:hover{
    transform: scale(1.05);
    transition: 0.3s;
    background: #cec3ec;
    color: #f4f4f4;
}#search:focus{
    background: #8c6de1;
    color: #f4f4f4;
    transform: scale(1.05);
}#searchTitle{

    text-transform: uppercase;
    font-size:small;
    border: none;
    outline: none;
    background: #f4f4f4;
    transform: scale(1);
    transition: 0.5s;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
}.searchCategory{
    text-transform: uppercase;
    font-size:small;
    border: none;
    outline: none;
    background: #f4f4f4;
    transform: scale(1);
    transition: 0.5s;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
}#deletAll{
    width: 100%;
    margin: 4px 0;
    border-radius: 5px;
    border: none;
    outline: none;
}#deletAll button{
    width: 100%;
    margin: 4px 0;
    border-radius: 5px;
    border: none;
    outline: none;
    background: #e16dd0;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    transition: 0.3s;
    transform: scale(1);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 10px;
}#deletAll button:hover{
    background: #af0000;
    color: #f4f4f4;
    transition: 0.3s;
    transform: scale(1.05);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 10px;
}table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
    background: #9adaff;
     /* Enable text wrapping */
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow-x: auto;
}

table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
}

table tr {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: .35em;
}

table th,
table td {
    border: #919191 solid 2px;
    background: #ffe2fe;
    padding: .625em;
    text-align: center;
}

table th {
    background: #c7bfdb;
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
}.button-ud{
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
}/*button{
    writing-mode: horizontal-tb;
    white-space: nowrap;
}*/td{
    min-width: 150px;
}#update, #delete{
    padding: 5px 15px;
    border: none;
    width: auto;
    font-size: 10px;
    writing-mode: horizontal-tb;
    white-space: nowrap;
}
#update{
    padding: 5px 10px;
    background: #78b789;
    color: #f4f4f4;
    transform: scale(1);
    border: none;
    outline: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    
}#delete{
    padding: 5px 10px;
    background: #e16d6d;
    color: #f4f4f4;
    transform: scale(1);
    border: none;
    outline: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;


}
#update:hover{
    background: #288acc;
    color: #f4f4f4;
    transform: scale(1.1);
    transition: 0.3s;
    
}#delete:hover{
    background: #ff0000;
    color: #f4f4f4;
    transform: scale(1.1);
    transition: 0.3s;

}img{
    width: 50px;
    height: 50px;
    transform: scale(1);
    transition: 0.3s;
}.light{
    padding-top: 10px;
    padding-bottom: 10px;
    background: rgb(203, 212, 226);
}#icon{
    display: flex;
    justify-content: center;
    align-items: center;
}#icon li {

    list-style-type: none;
    margin-right: 20px;
    cursor: pointer;
    
    
}img:hover{
    transform: scale(1.2);
    transition: 0.3s;
    
}
hr{
    padding: 1px;
    background: #9c9c9c;
    border: none;
}.right{
    text-align: center;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    padding-top: 20px;
    background: rgb(203, 212, 226);
}

.about{
    padding-top: 100px;
}#about{
    width: auto;
    margin: auto;
    text-align: center;
    opacity: 70%;
}.fl{
    margin: auto;
    width: 100%;
    padding-bottom: 20px;

    
}
.p{ text-align: center;
    margin: auto;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
}.footer-container{
    margin: auto;
    width: 50%;
    text-align: center;
    background: rgb(203, 212, 226);
}
.info{
    margin: auto;
    text-align: center;
    justify-content: space-between;
    align-items: center;
    background: rgb(203, 212, 226);
}footer{
    background: rgb(203, 212, 226);
}
@media screen and (max-width: 1200px)
{
    table td{
        font-size: 14px;
    text-align: center;
    }
}@media screen and (max-width: 1068px)
{
    table td {
        font-size: 12px;
    text-align: center;
    }
}@media screen and (max-width: 915px)
{
    table td{
        font-size: 10px;
    text-align: center;
    }
}@media screen and (max-width: 765px)
{

table td {
        font-size: 8px;
    text-align: center;
    }
    #delete{
        margin-right: 12px;
        padding-left: 10px;
        padding-right: 10px;
    }
    #update{
        padding-left: 10px;
        margin-right: 40px;
        
    }
}

@media screen and (max-width: 600px) {
    table td {
        font-size: medium;
        border-bottom: 1px solid #ddd;
        display: block;
        text-align: left; /* Changed from 'light' to 'left' */
    }
    table {
    border: 0;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
} th {
    display: none;
}

table caption {
    font-size: 1.3em;
}

table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

table tr {
    font-size : 4%;
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
}

table td {
    font-size: medium;
    border-bottom: 1px solid #ddd;
    display: block;
    text-align: light;

}

table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
}

table td:last-child {
    border-bottom: 0;
}
}




