:root{
    --background:#ff8484;
    --dark:#303032;
    --liquid:blue;
}

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

body{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    /* background: red; */

}

.box{
    position: relative;
    background: var(--dark);
    background: #fff;
    border: 0.25rem solid var(--dark);
    height: 8rem;
    width: 8rem;
    outline: 0;
    overflow: hidden;
}

.box::before{
    content: url(./img/AMD.png);
    /* content: "AMD";
    font-size: 2rem;
    color: var(--background);
    font-family: Arial, Helvetica, sans-serif; */
    height: 100%;
    width: 100%;
    /* border-radius: 35%; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* transform: translateX(-24%); */
    transform: scale(1.5);
}

.box::after{
    content: " ";
    position: absolute;
    bottom: -50%;
    left: -50%;
    height: 200%;
    width: 200%;
    background-color:var(--background);
    /* background: red; */
    border-radius: 35%;
    animation: spin 6s ease-in-out infinite;
}

@keyframes spin {
    0%{
        transform:translateY(0) rotate(0deg);
    }
    100%{
        transform: translateY(-100%) rotate(400deg);
    }
}

