*{
    margin: 0;
    padding: 0;
}
body{
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(100deg, black, black);
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
}
@property --angles{
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
.calculator{
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    background: linear-gradient(130deg, green, cyan);
    position: relative;
}
.calculator::after, .calculator::before{
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
   background-image: conic-gradient(from var(--angles), transparent 70%, #ff4545, #00ff99, #006aff,#ff0095,#ff4545);
    translate: -50% -50%;
    top: 50%;
    left: 50%;
    bottom: 0;
    padding: 5px;
    z-index: -1;
    border-radius: 20px;
    animation: 3s spin linear infinite;
}
@keyframes spin {
    from{
        --angles: 0deg;
    }
    to{
        --angles: 360deg;
    }
}
.screen {
    width: 100%;
    height: 50px;
    background: #e0e0e0;
    border: none;
    text-align: right;
    font-size: 1.5em;
    border-radius: 5px;
    margin-bottom: 10px;
}
.buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
button {
    font-size: 1.2em;
    padding: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background: #f7f7f7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
button:hover {
    background: #e0e0e0;
}
.equals {
    background: #4caf50;
    color: white;
}
.equals:hover {
    background: #45a049;
}
#operation{
    background-color: red;
}