.first_col {
    position: fixed;
    left: 0;
    height: 100vh;
    background-color: rgb(245, 235, 220);
}

.first_col h2 {
    color: rgb(80, 35, 20);
    text-align: center;
}

.first_col li {
    text-align: center;
}

.card h6 {
    font-size: 14px;
}

.first_col .nav-link {
    color: rgb(80, 35, 20);
    font-size: 16px;
    font-weight: 700
}

.first_col .nav-item .nav-link:hover {
    color: rgb(214, 35, 0)
}

.first_col .nav-item .nav-link:focus {
    color: rgb(214, 35, 0);
    background-color: rgb(240, 205, 187);
}

.second-col {
    position: absolute;
    left: 17%;
    height: auto;
}

.second-col .heading-part {
    height: 100px;
    text-align: center;
    color: rgb(245, 235, 220);
    background-color: rgb(80, 35, 20);
}

.second-col .heading-part h1 {
    padding-top: 20px;
}

.second-col .card {
    /* text-align: center; */
    background: rgb(245, 235, 220);
    color: rgb(80, 35, 20);
    padding: 10px 0;
    border-radius: 5px;
}

.third-col {
    height: 100vh;
    position: fixed;
    right: 0;
    bottom: 0;
    color: rgb(80, 35, 20);
    background-color: rgb(245, 235, 220);
}

.third-col .total {
    bottom: 0px;
}

.third-col .input-group {
    background-color: none !important;
}

.third-col .list-group-item.active {
    font-size: 17px;
    margin: 5px;
    color: rgb(80, 35, 20);
    border-color: rgb(141, 140, 140) !important;
    border-top-width: 0px !important;
}

.third-col .list-group-item {
    background-color: transparent !important;
    border-color: black;
    color: rgb(80, 35, 20);
}

.third-col ul {
    overflow: hidden;
    height: 40vh;
    overflow-y: auto;
}

@media screen and (max-width: 769px) {
    .first_col {
        height: auto;
        position: unset;
    }
    .second-col {
        position: unset;
    }
    .third-col {
        position: unset;
        height: auto;
    }
}

.button1 {
    width: 80%;
    background-color: rgb(80, 35, 20);
    color: rgb(245, 235, 220);
    border: 1px solid black;
    padding: 10px;
    margin-top: 10px;
    margin-left: 14px;
}

.button1:hover {
    background-color: rgb(167, 27, 0);
}

.qauntity-input,
button,
input,
optgroup,
select,
textarea {
    width: 50%;
}

#checkout_btn {
    color: #fff;
    background-color: rgb(80, 35, 20);
    border: none !important;
    width: 100%;
}

#clear_btn {
    width: 45%;
    border-radius: 10px;
    background: #efdfc6;
    color: brown;
    border: none;
}

#calculatorstyle {
    width: 45%;
    border-radius: 10px;
    background: #efdfc6;
    color: brown;
    border: none;
}

.card-footer {
    padding: 0 !important;
    background: none !important;
}


/* calculator styling */

#calculator {
    margin: 0 auto;
    width: 325px;
    height: auto;
    /* margin: 100px auto; */
    padding: 20px 20px 9px;
    border-radius: 5px;
}


/* Top */

.top span.clear {
    float: left;
}


/* Screen styling */

.top .screen {
    height: 90px;
    width: 100%;
    padding: 0 10px;
    background: rgba(154, 185, 188, 0.8);
    border-radius: 5px;
    margin-bottom: 10px;
    /* Typography */
    font-size: 30px;
    line-height: 90px;
    color: white;
    text-align: right;
    overflow: auto;
}


/* Clear floats */

.keys {
    overflow: hidden;
}


/* Keys */

.keys span,
.top span.clear {
    float: left;
    position: relative;
    top: 0;
    background: #523d98;
    font-size: 27px;
    cursor: pointer;
    width: 66px;
    height: 46px;
    border-radius: 5px;
    box-shadow: 0px 4px rgba(0, 0, 0, 0.2);
    margin: 0 7px 11px 0;
    color: #f1c851;
    line-height: 46px;
    text-align: center;
    user-select: none;
    outline: 0 solid;
    /* hover and active state transitions */
    transition: all 0.2s ease;
}


/* Unique key styling */

.keys span.operator {
    background: #536ea5;
    margin-right: 0;
}

.keys span.operator sup {
    font-size: 50%;
    vertical-align: top;
    color: #f1c851;
}

.keys span.eval {
    background: #d6643f;
    box-shadow: 0px 4px #c3502b;
    color: #f1c851;
    width: 212px;
}

span.clear {
    background: #523d98;
    box-shadow: 0px 4px rgba(0, 0, 0, 0.2);
}


/* hover effects */

.keys span:hover {
    background: #795ebd;
    color: white;
}

.keys span.eval:hover {
    background: #f37c4c;
    box-shadow: 0px 4px #d65f3d;
    color: #ffffff;
}

.keys span.operator:hover {
    background: #5d7bba;
    color: #ffffff;
}

.top span.clear:hover {
    background: #f68991;
    box-shadow: 0px 4px #d3545d;
    color: white;
}


/* Simulating "pressed" effect */

.keys span:active {
    box-shadow: 0px 0px #6b54d3;
    top: 4px;
}

.keys span.eval:active {
    box-shadow: 0px 0px #717a33;
    top: 4px;
}

.top span.clear:active {
    top: 4px;
    box-shadow: 0px 0px #d3545d;
}

@media screen and (min-width: 800px) {
  .button1 {
    padding: 8px;
    font-size: 14px;
  }
  #clear_btn,#calculatorstyle {
    width: 70%;
  }
  #cartproducts #third-li .title{
      font-size: 14px;
  }

}