body{
    background-color: rgb(6, 194, 175);
}

h1 {
    color:rgb(221, 13, 65);
}
div {
background-color: rgb(162, 11, 173);
width: 20vw;
}
.divRojo {
    background-color: rgb(250, 0, 0);

}

#divUnico{
    background-color: orchid;
}
#dibujo {
    width: 20vw;
    height: 20vw;
    background-color: blue;
    display: flex;
    justify-content: center;
    align-items: center;

}

#cara{
    width: 60%;
    height:70%;
    background-color: rgb(255, 238, 0);
    border-radius: 80%;
    position: relative;
    transition: all 4s ease-in;
}
#cara:hover {
    transform: rotate(360deg) scale(0);
}
.ojo {
    width: 20%;
    height:20%;
    background-color: rgb(255, 255, 255);
    border-radius: 100%;
    position:absolute;
    overflow: hidden; 
}
#ojoiz {
    top: 20%;
    left: 20%;
}
@keyframes parpadear {
    0%, 90%, 100% {
        transform: scaleY(1);
    }
    95% {
        transform: scaleY(0);
    }
}

.ojo {
    width: 20%;
    height:20%;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    position:absolute;
    overflow: hidden;
    transform-origin: center;
    animation: parpadear 3s infinite;
}
.ojo {
    transform-origin: center;
    animation: parpadear 4s infinite;
}
#ojoder {
    animation: parpadear 2.5s infinite;
}

#ojoder{
    top: 20%;
    right: 17%;
}
.pupila{
    width: 40%;
    height: 40%;
    background-color: black;
    border-radius: 100%;
    position: absolute;
    top: 30%;
    left: 30%;
}
.boca{
    width: 63%;
    height:30%;
    background-color: rgb(0, 0, 0);
    border-radius: 0 0 80px 80px;
    position:absolute;
    top: 60%;
    left:20%;
    overflow:hidden
}
.lengua{
    width: 50%;
    height:60%;
    background-color: rgb(255, 67, 148);
    border-radius: 0 0 50px 50px;
    position:absolute;
    bottom: 0;
    left:25%;
    transform: translateY(100%);
    animation: lenguaMover 2s infinite ease-in-out;
}
@keyframes lenguaMover {
    0%, 100% {
        transform: translateY(100%);
    }
    50% {
        transform: translateY(0%);
    }
}
.sombrero{
    position: absolute;
    top: -10%;
    left: 2%;
    width: 100%;
    height: 60%;
}

.copa{
    width: 100%;
    height: 90%;
    background-color: black;
    border-radius: 10px 10px 0 0;
}

.ala{
    width: 140%;
    height: 30%;
    background-color: black;
    position: absolute;
    bottom: 0;
    left: -20%;
    border-radius: 20px;
}
.varita{
    position: absolute;
    width: 8%;
    height: 40%;
    background-color: rgb(0, 0, 0);
    bottom: -10%;
    right: -5%;
    transform: rotate(30deg);
    border-radius: 10px;
}

.punta{
    width: 100%;
    height: 20%;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    position: absolute;
    top: -10%;
}
#varita:hover{
    background-color: chartreuse;
    
}
#punta:hover{
    background-color: rgb(0, 24, 102);
    
}
@keyframes temblar {
    0% { transform: rotate(30deg) translateX(0); }
    25% { transform: rotate(35deg) translateX(2px); }
    50% { transform: rotate(25deg) translateX(-2px); }
    75% { transform: rotate(35deg) translateX(2px); }
    100% { transform: rotate(30deg) translateX(0); }
}
.varita {
    animation: temblar 0.3s infinite;
}