*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #000;
    font-family: Arial, Helvetica, sans-serif;
}

.calculadora{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    
    
}

.box h4{
    z-index: 1;
    color: #fff;
    padding: 2rem 0 0;
}

.box{
    width: 240px;
    height: 340px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 20px 1.3rem;
    border-radius: 10px;
    gap: 5px;
    overflow: hidden;
    position: relative;
}

.botoes{
    padding: 2rem 0;
    z-index: 1;
}

.botoes button{
width: 44px;
height: 30px;
margin: 3px 1px;
border-radius: 4px;
border: none;
transition: 0.3s;
}

.botoes button:hover{
    cursor: pointer;
    background-color: grey;
    color: #fff;
}

input[type="text"]{
    padding: 10px 1rem;
    border-radius: 3px;
    border: none;
    outline: none;
    margin-top: 1rem;
    z-index: 1;
    color: #000;
    text-align: right;
}

.box::before{
    content: '';
    position: absolute;
    width: 200px;
    height: 200%;
    background-image: linear-gradient(180deg, aqua,purple, aqua,purple);
    transition:  0.3s ;
    animation:border 3s linear infinite;
}

@keyframes border{
    
    100%{
       transform: rotate(360deg);
    }
}

.box::after{
    content: '';
    position: absolute;
    background-color: #000;
    inset: 5px;
    border-radius: 10px;
    
}