* {
    margin: 0;
    padding: 0;
}

.main {
    height: 100vh;
    width: 100%;
    background-color: #222;
}

.navbar {
    height: 30px;
    width: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.left {
    display: flex;
    justify-content: start;
    align-items: center;
    color: white;
    gap: 5px;
    margin-left: 20px;
}

.right {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: white;
    margin-right: 30px;

}

.under {
    position: relative;
}

.under::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 15px;
    height: 2px;
    width: 20px;
    background-color: white;
}

.right h5 {
    font-size: 15px;

}

.navbar2 {
    height: 30px;
    width: 100%;
    background-color: transparent;
}

.right1 {
    color: white;
    display: flex;
    justify-content: end;
    align-items: center;
}

.right1 h5 {
    margin-right: 30px;
}

.inputBox {
    height: 15vh;
    width: 100%;
    background-color: transparent;
    display: flex;
    justify-content: flex-start;
    align-items: start;
}

.inputBox input {
    padding: 20px 1px;
    width: 72vw;
    text-align: right;
    padding-right: 20px;
    font-size: 50px;
    background-color: transparent;
    color: white;
    border: none;
    margin-left: 10px;
}

.inputBox input::placeholder {
    color: white;
}

.navbar4 {
    /* background-color: red; */
    height: auto;
    display: flex;
    align-items: start;
    flex-direction: column;

}

.navbar4 .left {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
}

.navbar4 .Buttons {
    width: 100%;
    /* background-color: blue; */
}

.navbar4 .Buttons .button {
    display: flex;
    align-items: center;
    justify-content: start;


}

.B1,
.B2,
.B3,
.B4,
.B5,
.B6 {
    display: flex;
    gap: 2px;
}

button {
    margin-bottom: 2px;
}

.navbar4 .Buttons .button button {
    width: 18.5vw;
    height: 75px;
    font-size: 20px;
    cursor: pointer;
    color: white;

}

.navbar4 .left {
    margin-top: 25px;
    margin-bottom: 10px;
}

.left button {
    background-color: transparent;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.left button:hover {
    background-color: #3b3a3d;
    border-radius: 5px;
}

.left button:nth-child(1) {
    color: gray;
}

.left button:nth-child(2) {
    color: gray;
}

.btny {
    background-color: #313134;
    border-radius: 5px;
    border: none;

}

.btnx {
    background-color: #3b3a3d;
    border-radius: 5px;
    border: none;
}

.btnz {
    background-color: #08a0ed;
    border-radius: 5px;
    border: none;
}

.btnx:hover {
    background-color: #313134;
}

.btny:hover {
    background-color: #3b3a3d;

}

.btnz:hover {
    background-color: #4ba5d2;

}

.navbar .left .menu {
    cursor: pointer;
}

.main {
    overflow: hidden;
}

.sidebar {
    width: 280px;
    height: 100vh;
    background-color: #3b3a3d;
    position: absolute;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    left: -200%;
    z-index: 9999;

}
.rootx{
    z-index: 0;
}
.sidebar .menu {
    color: white;
    margin-left: 15px;
    font-size: 20px;
    margin-top: 10px;
    cursor: pointer;
}

.menu_content {
    max-height: 90vh;
    /* background-color: red; */
    margin-left: 17px;
    color: white;
    position: relative;
    overflow-y: scroll;
}

.menu_content .Calculator,
.conv {
    display: flex;
    flex-direction: column;
    gap: 10px;

}

.calc {
    cursor: pointer;
}

.Calculator .calc,
.conv .calc {
    /* background: #000; */
    padding: 10px 0px;
    margin-right: 5px;
    border-radius: 5px;
}

.Calculator .calc:hover,
.conv .calc:hover {
    background-color: #2b2a2c;
}

.setting {
    border-top: 0.5px solid rgb(136, 128, 128);
    display: flex;
    margin-top: 10px;
    color: white;
    /* margin-left: 17px; */
}

.setting .calc {
    margin-left: 16px;
    margin-top: 5px;
}

/* Webkit Browsers */
::-webkit-scrollbar {
    width: 8px;
    /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
    /* Background of the scrollbar track */
    border-radius: 10px;
    /* Roundness of the scrollbar track */
}

::-webkit-scrollbar-thumb {
    background-color: #888;
    /* Color of the scroll thumb */
    border-radius: 10px;
    /* Roundness of the scroll thumb */
    /* Padding around the scroll thumb */
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
    /* Color of the scroll thumb when hovered */
}

/* For Firefox */
html {
    scrollbar-width: thin;
    /* Thin scrollbar */
    scrollbar-color: #888
        /* Scroll thumb and track color */
}

html {
    overflow-y: scroll;
}


/* ------------------------------------------------------------------------------ */
@media only screen and (max-width: 650px) {

    .navbar .right {
        display: none;
    }
    .navbar2 .right1{
        display: none;
    }

    
.inputBox input {
    width: 100%;
    margin-right: 20px;
    /* pointer-events: none; */
}
.navbar4 .Buttons .button button {
    width: 24.5vw;
}

.navbar4 .left {
    margin-top: 25px;
    margin-bottom: 10px;
    display: flex;
    align-items: start;
    justify-content: flex-start;
    width: 100%;
    flex-shrink:initial;
    gap: 3vw;
  }

  .navbar4 .left button{
   padding: 10px;
  }
}