*, ::before, ::after{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.cadre {
    position: relative;
    margin: auto;
    width: 20%;
    height: 150px;
}
.bougie {
    position: relative;
    width: 30px;
    height: 100px;
    margin: 50px auto;
    background: #fff;
    border-radius: 1.5px;
    box-shadow: inset -5px 0 0 0 #E0e5ff;
}
.ombre {
    position: absolute;
    width: 60px;
    height: 4px;
    background: #1b233E;
    bottom: -4px;
    left: -15px;
    border-radius: 1.5px;
}
.meche {
    position: absolute;
    width: 2px;
    height: 7.5px;
    top: -7.5px;
    left: 14px;
    background: #AD88A9;
}
.flame {
    position: absolute;
    width: 8px;
    height: 13px;
    top: -16px;
    left: 11px;
    background: #FFad00;
    border-radius: 4px 4px 4px 4px / 10px 10px 4px 4px;

    animation: 
    vent 15s ease-in-out infinite,
    taille 20s ease-in-out infinite,
    mouvement 10s ease-in-out infinite;
    transform-origin: 50% 100%;
}
@keyframes vent {
    0%, 22%, 49%, 62%, 81%, 100% {
        border-radius: 2px 14px 8px 8px / 20px 20px 8px 8px;
    }

    14%, 32%, 56%, 70%, 89% {
        border-radius: 14px 2px 8px 8px / 20px 20px 8px 8px;
    }
}

@keyframes taille {
    0%, 22%, 49%, 62%, 81%, 100% {
        transform: scale(1,3);
    }
    14%, 32%, 56%, 70%, 89% {
        transform: scale(1.5);
    }
}

@keyframes mouvement {
    0%, 22%, 49%, 62%, 81%, 100% {
        box-shadow: 0 0 10px 0 rgba(255, 202,0,0.7);
    }
    14%, 32%, 56%, 70%, 89% {
        box-shadow: 0 0 0px 0 rgba(255, 202,0,0.7);
    }
}