*{
    margin: 0;
    padding: 0;
}
.container{
    height: 100vh;
    width: 100vw;
    background:linear-gradient(to top right,#10164c,#192061,#293179,#4c56b0,#535caa);
    display: flex;
    justify-content: center;
    align-items: center;
}
.calculator{
    background-color: transparent;
    box-shadow: 0 0 5px rgb(202, 152, 161);
    height: 70vmin;
    width: 50vmin;
    padding: .7rem;
    border-radius: 6px;
}
.scn-container{
    width: 98.5%;
    padding-right: 1rem;
    height: 15vmin;
    overflow: hidden;
}
.screen{
    height: 100%;
    width: 100%;
    border-radius: 4px;
    outline: none;
    border: none;
    text-align: end;
    font-size: 3rem;
    padding: .2rem;
    box-shadow: inset 0 0 10px 2px grey;
    background-color: white;
}
.btn-container{
    margin-top: 1.2vmin;
    width: 100%;
    height: 55vmin;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.row{
    width: 100%;
    height: 17%;
    display: flex;
    justify-content: space-evenly;
    margin-top: 5px;
}
button{
    width: 11vmin;
    height: 8.5vmin;
    background-color: transparent;
    border-radius: .7rem;
    font-size: 1.75rem;
    padding: .5rem;
    border: none;
    box-shadow: 0 0 5px rgb(202, 152, 161);
    margin-left: 8px;
    margin-right: 8px;
    color: white;
}
#zero{
    width: 23vmin;
}
.op{
    background-color: #FFA3AF;
}
#equals{
    background-color: #00AF54;
}
.all-clear,.clear{
    background-color: #FBAF00;
}
button:hover{
    cursor: pointer;
    opacity: .8;
}
.dgt:hover{
    opacity: 1;
}
@media (max-width: 632px){
    .screen{
        font-size: 2.75rem;
    }
    button{
        width: 10vmin;
        height: 8vmin;
        border-radius: .55rem;
        font-size: 1.5rem;
        padding: .25rem;
        margin-left: 5px;
        margin-right: 5px;
    }
}
@media (max-width: 470px){
    .screen{
        font-size: 2.25rem;
    }
    button{
        border-radius: .5rem;
        font-size: 1.25rem;
        padding: .25rem;
        margin-left: 4px;
        margin-right: 4px;
    }
}
@media (max-width: 400px){
    .screen{
        font-size: 1.8rem;
    }
    button{
        border-radius: .5rem;
        font-size: 1.05rem;
        padding: .2rem;
    }
}