

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

  .main-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    
  }
  
  .main-container .leftside {
    width: 15%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    
  }
  
  .main-container .main {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
  }

  .main-container .main-body{
    background: #efeff2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
  }
  
  
  h1{
    text-align: center; 
    margin: 10px 0;
  }
  
  
.calculator{
    width: 300px;
    height: 500px;
    box-shadow: 4px 4px 30px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    background: #22252D;
    overflow: hidden;
}

form input{
    width: 100%;
    height: 150px;
    border: none;
    border-radius: 12px;
    font-size: 2rem;
    padding: 1rem;
    color: #fff;
    background: #000;
    text-align: right;
    pointer-events: none;
}

.buttons{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
}

button{
    flex: 0 0 22%;
    margin: 5px 0;
    border: 1px solid black;
    width: 60px;
    height: 52px;
    font-size: 22px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
}

.btn-yellow{
    background: rgb(245, 146, 62);
    color: white;
}

.btn-grey{
    background: rgb(224 , 224, 224);
    /* color: white; */
}

.btn-equal{
background-color: green;
    /* color: white; */
}

.btn-clear{
    background-color: red;
}
  
  .main-container .main .banner {
    
    margin: 20px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .main-container .main .atag {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: max-content;
  }

  span{
    margin: 10px 0;
    text-align: center;
  }
  
  .main-container .rightside {
    width: 15%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    
  }
  
  
  @media screen and (max-width: 800px) {  
      .main-container {
        flex-direction: column;
      }
    
      .main-container .main {
        width: 100%;
      }
    
      .main-container .leftside {
        width: 100%;
        position: fixed;
        left: -1000px;
        /* margin-left: -1000px; */
      }
    
      .main-container .rightside {
        width: 100%;
        position: fixed;
        right: -1000px;
        /* margin-right: -1000px; */
      }
    }
    
