cori

body, .confetti {
height: 98vh;
}

.text {
margin-top: 15%;
color: #8a1a8a;
font-size: 32px;
font-weight: bold;
letter-spacing: 32px;
text-align: center;
}

.confetti {
display: flex;
justify-content: center;
align-items: center;
position: relative;
width: 100%;
overflow: hidden;
}

.confetti-piece {
position: absolute;
width: 8px;
height: 16px;
background: #5219e3;
top: 0;
opacity: 0;
}

.confetti-piece:nth-child(1) {
left: 3%;
transform: rotate(-63deg);
animation: confettiFall 8690ms infinite ease-out;
animation-delay: 2552ms;
animation-duration: 6176ms;
}

.confetti-piece:nth-child(2) {
left: 7%;
transform: rotate(72deg);
animation: confettiFall 5845ms infinite ease-out;
animation-delay: 1740ms;
animation-duration: 5839ms;
}

.confetti-piece:nth-child(3) {
left: 14%;
transform: rotate(-52deg);
animation: confettiFall 9302ms infinite ease-out;
animation-delay: 332ms;
animation-duration: 12812ms;
}

.confetti-piece:nth-child(4) {
left: 16%;
transform: rotate(-49deg);
animation: confettiFall 6198ms infinite ease-out;
animation-delay: 1263ms;
animation-duration: 6884ms;
}

.confetti-piece:nth-child(5) {
left: 20%;
transform: rotate(-34deg);
animation: confettiFall 7656ms infinite ease-out;
animation-delay: 1420ms;
animation-duration: 13038ms;
}

.confetti-piece:nth-child(6) {
left: 24%;
transform: rotate(-15deg);
animation: confettiFall 12785ms infinite ease-out;
animation-delay: 2595ms;
animation-duration: 8550ms;
}

.confetti-piece:nth-child(7) {
left: 29%;
transform: rotate(60deg);
animation: confettiFall 9018ms infinite ease-out;
animation-delay: 127ms;
animation-duration: 12264ms;
}

.confetti-piece:nth-child(8) {
left: 31%;
transform: rotate(0deg);
animation: confettiFall 7000ms infinite ease-out;
animation-delay: 3983ms;
animation-duration: 8908ms;
}

.confetti-piece:nth-child(9) {
left: 35%;
transform: rotate(5deg);
animation: confettiFall 7603ms infinite ease-out;
animation-delay: 3237ms;
animation-duration: 6274ms;
}

.confetti-piece:nth-child(10) {
left: 38%;
transform: rotate(67deg);
animation: confettiFall 8000ms infinite ease-out;
animation-delay: 1902ms;
animation-duration: 9974ms;
}

.confetti-piece:nth-child(11) {
left: 41%;
transform: rotate(-30deg);
animation: confettiFall 8944ms infinite ease-out;
animation-delay: 2916ms;
animation-duration: 6300ms;
}

.confetti-piece:nth-child(12) {
left: 44%;
transform: rotate(-24deg);
animation: confettiFall 5000ms infinite ease-out;
animation-delay: 545ms;
animation-duration: 7061ms;
}

.confetti-piece:nth-child(13) {
left: 45%;
transform: rotate(-15deg);
animation: confettiFall 7977ms infinite ease-out;
animation-delay: 2625ms;
animation-duration: 4222ms;
}

.confetti-piece:nth-child(14) {
left: 49%;
transform: rotate(-15deg);
animation: confettiFall 11113ms infinite ease-out;
animation-delay: 1311ms;
animation-duration: 12652ms;
}

.confetti-piece:nth-child(15) {
left: 51%;
transform: rotate(-15deg);
animation: confettiFall 11334ms infinite ease-out;
animation-delay: 1396ms;
animation-duration: 6806ms;
}

.confetti-piece:nth-child(16) {
left: 54%;
transform: rotate(-15deg);
animation: confettiFall 5118ms infinite ease-out;
animation-delay: 1661ms;
animation-duration: 6200ms;
}

.confetti-piece:nth-child(17) {
left: 55%;
transform: rotate(-15deg);
animation: confettiFall 9000ms infinite ease-out;
animation-delay: 604ms;
animation-duration: 6613ms;
}

.confetti-piece:nth-child(18) {
left: 59%;
transform: rotate(-15deg);
animation: confettiFall 11343ms infinite ease-out;
animation-delay: 3896ms;
animation-duration: 6200ms;
}

.confetti-piece:nth-child(19) {
left: 62%;
transform: rotate(-15deg);
animation: confettiFall 11482ms infinite ease-out;
animation-delay: 2259ms;
animation-duration: 4381ms;
}

.confetti-piece:nth-child(20) {
left: 64%;
transform: rotate(-15deg);
animation: confettiFall 9325ms infinite ease-out;
animation-delay: 989ms;
animation-duration: 9379ms;
}

.confetti-piece:nth-child(21) {
left: 67%;
transform: rotate(-63deg);
animation: confettiFall 11076ms infinite ease-out;
animation-delay: 1838ms;
animation-duration: 8791ms;
}

.confetti-piece:nth-child(22) {
left: 71%;
transform: rotate(72deg);
animation: confettiFall 9323ms infinite ease-out;
animation-delay: 3470ms;
animation-duration: 5647ms;
}

.confetti-piece:nth-child(23) {
left: 75%;
transform: rotate(-52deg);
animation: confettiFall 6445ms infinite ease-out;
animation-delay: 379ms;
animation-duration: 14069ms;
}

.confetti-piece:nth-child(24) {
left: 77%;
transform: rotate(-49deg);
animation: confettiFall 5723ms infinite ease-out;
animation-delay: 1870ms;
animation-duration: 10831ms;
}

.confetti-piece:nth-child(25) {
left: 79%;
transform: rotate(-34deg);
animation: confettiFall 6840ms infinite ease-out;
animation-delay: 2169ms;
animation-duration: 7704ms;
}

.confetti-piece:nth-child(26) {
left: 83%;
transform: rotate(-15deg);
animation: confettiFall 8261ms infinite ease-out;
animation-delay: 1319ms;
animation-duration: 9122ms;
}

.confetti-piece:nth-child(27) {
left: 85%;
transform: rotate(60deg);
animation: confettiFall 9641ms infinite ease-out;
animation-delay: 1915ms;
animation-duration: 11347ms;
}

.confetti-piece:nth-child(28) {
left: 89%;
transform: rotate(0deg);
animation: confettiFall 9587ms infinite ease-out;
animation-delay: 502ms;
animation-duration: 9196ms;
}

.confetti-piece:nth-child(29) {
left: 93%;
transform: rotate(5deg);
animation: confettiFall 6085ms infinite ease-out;
animation-delay: 1036ms;
animation-duration: 8066ms;
}

.confetti-piece:nth-child(30) {
left: 97%;
transform: rotate(67deg);
animation: confettiFall 10246ms infinite ease-out;
animation-delay: 1297ms;
animation-duration: 14099ms;
}

.confetti-piece:nth-child(31) {
left: 97%;
transform: rotate(67deg);
animation: confettiFall 10246ms infinite ease-out;
animation-delay: 1297ms;
animation-duration: 14099ms;
}

.confetti-piece:nth-child(31) {
left: 97%;
transform: rotate(67deg);
animation: confettiFall 10246ms infinite ease-out;
animation-delay: 1297ms;
animation-duration: 14099ms;
}.confetti-piece:nth-child(31) {
left: 97%;
transform: rotate(67deg);
animation: confettiFall 10246ms infinite ease-out;
animation-delay: 1297ms;
animation-duration: 14099ms;
}

.confetti-piece:nth-child(odd) {
background: #17d3ff;
z-index: 2;
}

.confetti-piece:nth-child(4n-7) {
background: #ff4e91;
}

@keyframes confettiFall {
0% {
opacity: 0;
}

10% {
opacity: 1;
}

100% {
transform: translateY(100vh) rotateX(90deg) rotatey(90deg);
}
}

@keyframes bgColor {
0% {
background-color: #74b9ff;
}

20% {
background-color: #9b59b6;
}

40% {
background-color: #e67e22;
}

60% {
background-color: #f1c40f;
}

80% {
background-color: #55efc4;
}

100% {
background-color: #74b9ff;
}
}

body {
background-color: #333;
animation: bgColor infinite 20s;
}

.cake {
position: absolute;
width: 250px;
height: 200px;
top: 30%;
left: 50%;
margin-top: -70px;
margin-left: -125px;
}

.plate {
width: 270px;
height: 110px;
position: absolute;
bottom: -10px;
left: -10px;
background-color: #ccc;
border-radius: 50%;
box-shadow: 0 2px 0 #b3b3b3, 0 4px 0 #b3b3b3, 0 5px 40px rgba(0, 0, 0, 0.5);
}

.cake > * {
position: absolute;
}

.layer {
position: absolute;
display: block;
width: 250px;
height: 100px;
border-radius: 50%;
background-color: #553c13;
box-shadow: 0 2px 0px #6a4b18, 0 4px 0px #33240b, 0 6px 0px #32230b, 0 8px 0px #31230b, 0 10px 0px #30220b, 0 12px 0px #2f220b, 0 14px 0px #2f210a, 0 16px 0px #2e200a, 0 18px 0px #2d200a, 0 20px 0px #2c1f0a, 0 22px 0px #2b1f0a, 0 24px 0px #2a1e09, 0 26px 0px #2a1d09, 0 28px 0px #291d09, 0 30px 0px #281c09;
}

.layer-top {
top: 0px;
}

.layer-middle {
top: 33px;
}

.layer-bottom {
top: 66px;
}

.icing {
top: 2px;
left: 5px;
background-color: #f0e4d0;
width: 240px;
height: 90px;
border-radius: 50%;
}

.icing:before {
content: “”;
position: absolute;
top: 4px;
right: 5px;
bottom: 6px;
left: 5px;
background-color: #f4ebdc;
box-shadow: 0 0 4px #f6efe3, 0 0 4px #f6efe3, 0 0 4px #f6efe3;
border-radius: 50%;
z-index: 1;
}

.drip {
display: block;
width: 50px;
height: 60px;
border-bottom-left-radius: 25px;
border-bottom-right-radius: 25px;
background-color: #f0e4d0;
}

.drip1 {
top: 53px;
left: 5px;
transform: skewY(15deg);
height: 48px;
width: 40px;
}

.drip2 {
top: 69px;
left: 181px;
transform: skewY(-15deg);
}

.drip3 {
top: 54px;
left: 90px;
width: 80px;
border-bottom-left-radius: 40px;
border-bottom-right-radius: 40px;
}

.candle {
background-color: #7B020B;
width: 16px;
height: 50px;
border-radius: 8px / 4px;
top: -20px;
left: 50%;
margin-left: -8px;
z-index: 10;
}

.candle:before {
content: “”;
position: absolute;
top: 0;
left: 0;
width: 16px;
height: 8px;
border-radius: 50%;
background-color: #ad030f;
}

.flame {
position: absolute;
background-color: orange;
width: 15px;
height: 35px;
border-radius: 10px 10px 10px 10px / 25px 25px 10px 10px;
top: -34px;
left: 50%;
margin-left: -7.5px;
z-index: 10;
box-shadow: 0 0 10px rgba(255, 165, 0, 0.5), 0 0 20px rgba(255, 165, 0, 0.5), 0 0 60px rgba(255, 165, 0, 0.5), 0 0 80px rgba(255, 165, 0, 0.5);
transform-origin: 50% 90%;
animation: flicker 1s ease-in-out alternate infinite;
}

@keyframes flicker {
0% {
transform: skewX(5deg);
box-shadow: 0 0 10px rgba(255, 165, 0, 0.2), 0 0 20px rgba(255, 165, 0, 0.2), 0 0 60px rgba(255, 165, 0, 0.2), 0 0 80px rgba(255, 165, 0, 0.2);
}

25% {
transform: skewX(-5deg);
box-shadow: 0 0 10px rgba(255, 165, 0, 0.5), 0 0 20px rgba(255, 165, 0, 0.5), 0 0 60px rgba(255, 165, 0, 0.5), 0 0 80px rgba(255, 165, 0, 0.5);
}

50% {
transform: skewX(10deg);
box-shadow: 0 0 10px rgba(255, 165, 0, 0.3), 0 0 20px rgba(255, 165, 0, 0.3), 0 0 60px rgba(255, 165, 0, 0.3), 0 0 80px rgba(255, 165, 0, 0.3);
}

75% {
transform: skewX(-10deg);
box-shadow: 0 0 10px rgba(255, 165, 0, 0.4), 0 0 20px rgba(255, 165, 0, 0.4), 0 0 60px rgba(255, 165, 0, 0.4), 0 0 80px rgba(255, 165, 0, 0.4);
}

100% {
transform: skewX(5deg);
box-shadow: 0 0 10px rgba(255, 165, 0, 0.5), 0 0 20px rgba(255, 165, 0, 0.5), 0 0 60px rgba(255, 165, 0, 0.5), 0 0 80px rgba(255, 165, 0, 0.5);
}
}

Happy Birthday Seminaa!!

DIRE A BIANCA 2 post alla settimana una volta al giorno