* {
    margin: 0;
    padding: 0;
}

:root {
    --pulse-duration: 1.5s;
}

html,
body,
.container {
    height: 100%;
    width: 100%;
}

.container {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    background-color: bisque;
    animation: pulse-bg var(--pulse-duration) linear infinite;
}

.img-container {
    width: 20%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    animation: rotate 60s linear infinite;
}

.img {
    animation: pulse var(--pulse-duration) linear infinite;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background-image: url("gland.png");
    background-repeat: no-repeat;
    background-size: contain;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    3% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pulse-bg {
    0% {
        background-color: rgb(255, 238, 218);
    }

    3% {
        background-color: rgb(255, 183, 162);
    }

    100% {
        background-color: rgb(255, 238, 218);
    }
}