body, html{
    display:flex;
    height:100%;
    width:100%;
    justify-content:center;
    align-items:center;
    background-image: linear-gradient(to right bottom, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);

  }

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #bababa;
    width: 40%;
    height: auto; 
    border: 1px solid #bababa;
    border-radius: 5%;
}

 .row1 , .row2 , .row3 , .row4 , .row5  {
    width: 80%;
    margin: 6px;
    height: 90%;
    display: flex;
    justify-content: space-between;
}

 .numbers {
    background: #6CA6F7;
    width: 30%;
    height: 50px;
    cursor: pointer;
    text-align: center;
    line-height: 3;
    margin: 3px;
    font-weight: bold;
    border-radius: 5px;
}

.screen {
    background: #9ae59a;
    width: 100%;
    text-align: center;
    line-height: 1;
    height: 55px;
    border-radius: 8px;
    box-shadow: 2px 2px inset;

}

.opreator {
    background: #487eb0;
    width: 30%;
    height: 50px;
    cursor: pointer;
    text-align: center;
    line-height: 3;
    margin: 5px;
    color: white;
    font-weight: bolder;
    border-radius: 5px;
}

.equal  , .C {
    background: #c23616;
    width: 30%;
    height: 50px;
    cursor: pointer;
    text-align: center;
    line-height: 3;
    margin: 5px;
    color: white;
    font-weight: bolder;
    border-radius: 5px;

}

.numbers:hover {
    background-color: #41dfff;
    transition-duration: 0.6s;
    color:white;
  }

  .opreator:hover{
    background-color: #aa8fd8;
    transition-duration: 0.8s;
  }

  .equal:hover , .C:hover {
    background-color: red;
    transition-duration: 0.8s;
  }

p {
    font-size: 18px;
    font-weight: bolder;
    color: white;
    text-overflow: ellipsis;
    overflow: hidden;
}

h2 {
    border-bottom: 2px solid #f8f8f8;
    line-height: 2;
    font-family: 'Courier New', Courier, monospace;
}


@media (max-width:800px) {


    .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: #bababa;
        width: 100%;
        height: auto; 
        border: 1px solid #f8f8f8;
        border-radius: 5%;
    }




}