*{
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
}

.container{
    width: 150vw;
    height: 150vh;
    border: 1px solid;
    background-color: whitesmoke;
    overflow: auto;
    display: flex;
    justify-content:center;
    align-items: center;
    font-family: monospace,sans-serif;

}

.calculator{
    width: 90%;
    max-width: 1000px;
    height: 80%;
    background-color: #121130;
    color: #f5f5f5;
    font-weight: 700;
    font-size: 2.5rem;
    text-align: center;
    padding: 2vh;
    display: flex;
    flex-direction: column; 
    border: 10px double #464380;
    border-radius: 20px;

    overflow: auto;
    transition: background-color 0.3s;

    -webkit-user-select: none;  /* For older WebKit-based browsers */
    -moz-user-select: none;     /* For older Firefox browsers */
    -ms-user-select: none;      /* For older Microsoft browsers */
    user-select: none;          /* The standard property */

}

.calculator .grids{
  width: 100%;
  height: fit-content;
  margin-top: 10px;
}

.calculator .input-field{
  flex: 1;
  max-height: 100px;
  font: inherit;
  outline: none;
  
}

.calculator .grids .basic,.calculator .grids .scientific{
  display: grid;
  grid-template-columns: repeat(4,1fr);
}

.calculator .grids .button{
  height: 10.5vh;
  padding-top: 2.5vh;
  border-radius: 10px;
  cursor: pointer;
}
.calculator .grids .button:active{
   background-color: #2e2d4b;
}
.calculator .grids .operator{
    color: #6560b7;
}
.calculator .grids .empty{
    background-color: #8f8f8f;
   
}

#inverse,#radiant{
    color: rgb(255, 157, 0);
}

@media(height>1100px){
    .calculator{
     font-size: 5rem;
}
.calculator .input-field{
  max-height: 200px;
}
}

@media(width>1100px){
 .container{
    width: 100vw;
    height: 150vh;
    
}
}

