@charset "UTF-8";


body{
    background: darkgray; 
    text-align: center;
    margin: 0;
    display: flex;
    
    align-items: center;
    justify-content: space-around;
    height: 100vh;

    text-align: left;

    font-family: sans-serif;

    background-image: url(https://images8.alphacoders.com/130/1306116.jpeg);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}

main{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1{
    margin-left: 10%;

    text-shadow: 2px 2px 50px #a5a4a4;

    color: snow;

    animation: spotify infinite;

    
}

#calculator{
    max-width: 360px;
    background-color: #272727;
    border-radius: 13px;
    padding: 18px;
    box-shadow: 2px 2px 50px #fffafa6b;;

    margin-left: 5%;


    animation: calculadora 2s infinite alternate-reverse ease-in-out;


    
}



#display {
    width: 100%;
    height: 60px;
    font-size: 22px;
    text-align: right;
    margin-bottom: 10px;
    padding: 20px;
    border-radius: 3px;
    color: #000000;
    background: #ffbaba;
    border: none;
    box-sizing: border-box;
}

button {
    width: calc(25% - 12px);
    height: 50px;
    font-size: 22px;
    margin: 10px 5px; 
    border: none;
    float: left;
    background-color: #ac4e4e;
    color: aliceblue;
    box-shadow: 2px 2px 1px #ffbaba;
}

.operator {
    color: black;
    background-color: aliceblue;
}

#ac {
    color: #8f8502;
}

.equal {
    width: calc(50% - 12px);
    background-color: #00ffff;
}

button:hover{
    cursor: pointer;
    background-color: #6b3535;
}

button:active {
    transform: none;
    box-shadow: none;
}

.operator:hover{
    background-color: #a5a4a4;
}


iframe{
    box-shadow: 2px 2px 50px #fffafa6b;

    animation: spotify 2s infinite alternate-reverse ease-in-out;
}


footer{

}


@keyframes spotify {
    from{
        transform: rotate3d(-1, 1, -1, 2deg);

        box-shadow: 2px 2px 50px #fffafa6b;
    }

    to{
        transform: rotate3d(43, -4, 3, 4deg);

        box-shadow: 2px 2px 50px #ffffff;
    }
}

@keyframes calculadora {
    from{
        transform: rotate3d(0);

        box-shadow: 2px 2px 50px #fffafa6b;
    }

    to{
        transform: rotate3d(0);

        box-shadow: 2px 2px 50px #ffffff;
    }
}


@media 