:root {

    --aux: #F7CD76;

}

body {

    margin: 0;
    width: 100%;
    height: 100vh;
    display: grid;
    place-items: center;
    background-color: black;

}

.principal {

    display: flex;
    flex-direction: column;
    gap: 8rem;

}

img {

    transform: rotate(45deg);

}

.principal__carta {

    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 2rem;
    padding: 2rem;
    color: var(--aux);
    border: 2px solid var(--aux);
    border-radius: 1rem;
    transition: all .3s ease;
    animation: throb 2s infinite;

}

.principal__carta:hover {

    color: black;
    background-color: #F7CD76;
    

}

@keyframes throb {

    0% {
        transform: scale(.9);
    } 
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(.9);
    }
    
}