*{
    margin: 0;
    padding: 0;
}
body{
    background-color: rgb(53, 1, 1);
    color: #fff; 
    font-family: sans-serif;
}
.container{
    width: 80%;
    margin: auto;
}
.head{
    text-align: center;
    text-transform: uppercase;
    margin: 10px 0;
}
input{
    width: 100%;
    height: 35px;
    outline: none;
    border: none;
    background-color: rgb(214, 214, 194);
    margin: 4px 0;
    border-radius: 5px;
    padding: 5px;
}
.price input{
    width: 20%;
}
#total{
    background-color: rgb(241, 40, 40);
    padding: 5px 2px;
    border-radius: 4px;
}
#total::before{
    content: 'Total:';
}
button{
    width: 100%;
    height: 30px;
    border: none;
    cursor: pointer;
    background-color: rgb(237, 188, 128);
    border-radius: 20px;
    transition: 0.5s;
}
button:hover{
    background-color: rgba(238, 204, 14, 0.959);
    letter-spacing: 2px;
}
.btn-search{
    display: flex;
    justify-content: space-between;
}
.btn-search button{
    width: 45%;
}
#deletAll{
    margin: 20px 0;
}
table{
    width: 100%;
    text-align: center;
    margin:10px 0 ;
}
table th{
    text-transform: uppercase;
}
th,td{
    padding: 5px;
}
/* =========================
   Tablet
========================= */
@media (max-width: 768px) {

    .container {
        width: 90%;
    }

    .price {
        flex-wrap: wrap;
    }

    .price input {
        width: 45%;
    }

    .btn-search {
        gap: 10px;
    }

    .btn-search button {
        width: 50%;
    }

    .output {
        overflow-x: auto;
    }

    table {
        min-width: 900px;
    }
}


/* =========================
   Mobile
========================= */
@media (max-width: 480px) {

    .container {
        width: 95%;
    }

    .head h1 {
        font-size: 24px;
    }

    .head p {
        font-size: 12px;
    }

    .price {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px;
    }

    .price input {
        width: 100%;
    }

    #total {
        width: 100%;
        text-align: center;
    }

    .btn-search {
        flex-direction: column;
        gap: 8px;
    }

    .btn-search button {
        width: 100%;
    }

    .output {
        overflow-x: auto;
    }

    table {
        min-width: 900px;
    }
}