





.lightrope {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    z-index: 100;
    margin: -21px 0 0 0;
    padding: 0;
    pointer-events: none;
    width: 100%;

}
.lightrope li {
	position: relative;
	animation-fill-mode: both;
	animation-iteration-count: infinite;
	list-style: none;
	margin: 0;
	padding: 0;
	display: block;
	width: 12px;
	height: 28px;
	border-radius: 50%;
	margin: 20px;
	display: inline-block;
	background: rgba(0, 247, 165, 1);
	box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 247, 165, 1);
	animation-name: flash-1;
	animation-duration: 2s;
}
.lightrope li:nth-child(2n+1) {
	background: rgba(0, 255, 255, 1);
	box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 255, 255, 0.5);
	animation-name: flash-2;
	animation-duration: 0.4s;
}
.lightrope li:nth-child(4n+2) {
	background: rgba(247, 0, 148, 1);
	box-shadow: 0px 4.6666666667px 24px 3px rgba(247, 0, 148, 1);
	animation-name: flash-3;
	animation-duration: 1.1s;
}
.lightrope li:nth-child(odd) {
	animation-duration: 1.8s;
}
.lightrope li:nth-child(3n+1) {
	animation-duration: 1.4s;
}
.lightrope li:before {
	content: "";
	position: absolute;
	background: #222;
	width: 10px;
	height: 9.3333333333px;
	border-radius: 3px;
	top: -4.6666666667px;
	left: 1px;
}
.lightrope li:after {
	content: "";
	top: -14px;
	left: 9px;
	position: absolute;
	width: 52px;
	height: 18.6666666667px;
	border-bottom: solid #222 2px;
	border-radius: 50%;
}
.lightrope li:last-child:after {
	content: none;
}
.lightrope li:first-child {
	margin-left: -40px;
}
@keyframes flash-1 {
	0%, 100% {
		background: rgba(0, 247, 165, 1);
		box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 247, 165, 1);
   }
	50% {
		background: rgba(0, 247, 165, 0.4);
		box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 247, 165, 0.2);
   }
}
@keyframes flash-2 {
	0%, 100% {
		background: rgba(0, 255, 255, 1);
		box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 255, 255, 1);
   }
	50% {
		background: rgba(0, 255, 255, 0.4);
		box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 255, 255, 0.2);
   }
}
@keyframes flash-3 {
	0%, 100% {
		background: rgba(247, 0, 148, 1);
		box-shadow: 0px 4.6666666667px 24px 3px rgba(247, 0, 148, 1);
   }
	50% {
		background: rgba(247, 0, 148, 0.4);
		box-shadow: 0px 4.6666666667px 24px 3px rgba(247, 0, 148, 0.2);
   }
}


HTML CSSResult Skip Results Iframe
EDIT ON
.cartoon {
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 width: 80vmin;
 height: 80vmin;
}

.cartoon div {
 position: absolute;
 box-sizing: border-box;
}

.b {
 border: 0.5vmin solid;
}

.r {
 border-radius: 100%;
}

.hb::before,
.ha::after {
 content: "";
 display: block;
 position: absolute;
 box-sizing: border-box;
}

/****/
/* background-size: 45vmin 35vmin, 50vmin 70vmin, 60vmin 50vmin, 60vmin 50vmin; */
@keyframes snow {
 0% {
   background-position: 0 0, 0 0, 0 0, 0 0;
 }
 40% {
   background-position: 10px 14vmin, -20px 28vmin, 20px 20vmin, 75px 20vmin;
 }
 60% {
   background-position: -10px 21vmin, -30px 42vmin, 30px 30vmin, 50px 30vmin;
 }
 100% {
   background-position: 0 35vmin, 0 70vmin, 0 50vmin, 0 50vmin;
 }
}

/* html, body {
 margin: 0;
 padding: 0;
 width: 100vw;
 height: 100vh;
 overflow: hidden;
 background: #000;
 background-image:
   radial-gradient(circle at 50% 50%, white 2.5%, transparent 0),
   radial-gradient(circle at 30% 90%, white 1.5%, transparent 0),
   radial-gradient(circle at 70% 10%, white 1%, transparent 0),
   radial-gradient(circle at 10% 40%, white 1%, transparent 0);
 background-size: 45vmin 35vmin, 50vmin 70vmin, 60vmin 50vmin, 65vmin 50vmin;
 background-position: 0 0, 0 0, 0 0, 0 0;
  animation: snow 4s infinite linear;
} */

.cartoon {
 --skin: #fca;
 --beard: #eee;
 --eyes: #630a;
 --cheeks: #f001;
 --belt: #111;
 --belt-buckle: gold;
 --suit: #a00;
}

.cartoon::before {
 top: 90%;
 left: 50%;
 width: 200vmax;
 height: 200vmax;
 background: white;
 transform: translate(-50%, 0) rotate(1deg);
}

.head {
 width: 25%;
 height: 25%;
 background: var(--skin);
 top: 10%;
 left: 50%;
 transform: translate(-50%, 0);
}

.beard {
 width: 30%;
 height: 40%;
 background: var(--beard);
 top: 10%;
 left: 50%;
 transform: translate(-50%, 0);
 border-radius: 100% / 120% 120% 80% 80%;
}

.mustache {
 width: 10%;
 height: 10%;
 background: #fff;
 border-radius: 100% 20% 100% 0;
 top: 31%;
 left: 51%;
 transform-origin: top right;
 transform: translate(-100%, 0) rotate(25deg);
}

.mustache + .mustache {
 left: 49%;
 border-radius: 20% 100% 0 100%;
 transform-origin: top left;
 transform: rotate(-25deg);
}

.eyes {
 width: 2%;
 height: 2%;
 background: var(--eyes);
 top: 23%;
 left: 45%;
 box-shadow: 6.66vmin 0 var(--eyes);
}

.cheeks {
 width: 5%;
 height: 3%;
 background: var(--cheeks);
 top: 25.5%;
 left: 43%;
 box-shadow: 7.25vmin 0 var(--cheeks);
}

.body {
 width: 50%;
 height: 50%;
 background: var(--suit);
 border-radius: 100% / 150% 150% 25% 25%;
 top: 35%;
 left: 50%;
 transform: translate(-50%, 0);
 background-image:
   radial-gradient(circle at 50% -50%, transparent 75%, var(--belt) 0 83%, transparent 0),
   linear-gradient(to right, transparent 42%, white 43% 57%, transparent 58%)
}

.arm {
 width: 65%;
 height: 40%;
 background: #a00;
 border-radius: 100% / 170% 170% 25% 25%;
 top: 37%;
 left: 50%;
 transform: translate(-50%, 0);
 abox-shadow: inset 0 0 0 10vmin #0002;
 background-image: linear-gradient(transparent 20%, #0003)
}

.belt {
 width: 20%;
 height: 15%;
 border: 1vmin solid var(--belt-buckle);
 border-radius: 1vmin;
 top: 75%;
 left: 50%;
 transform: translate(-50%, -50%);
 background: var(--belt-buckle);
 box-shadow: inset 1vmin 0 0 1.75vmin var(--belt);
}

.buttons {
 width: 5%;
 height: 5%;
 background: var(--belt);
 color: var(--belt);
 top: 33%;
 left: 50%;
 transform: translate(-50%, 0);
 box-shadow: 
   0 5vmin, 0 10vmin 0 0.1vmin, 0 22vmin;
 opacity: 0.75;
}

.hat {
 width: 23%;
 height: 20%;
 background: var(--suit);
 border-radius: 100% 20% 0 0;
 top: -2%;
 left: 50%;
 transform: translate(-50%, 0) rotate(1deg);
}

.hat::before {
 width: 110%;
 height: 40%;
 border-radius: 100% / 50%;
 bottom: -17%;
 left: -5%;
 box-shadow: inset 0 4vmin white;
 transform: rotate(-2deg);
}

.hat::after {
 width: 8vmin;
 height: 8vmin;
 border-radius: 50%;
 background: var(--beard);
 right: -5vmin;
 top: -15%;
}

.hands {
 width: 13%;
 height: 13%;
 background: var(--belt);
 top: 70%;
 left: 18%;
 box-shadow: 41vmin 0 var(--belt);
}

.leg {
 width: 19%;
 height: 25%;
 background: var(--suit);
 transform: skew(2deg);
 top: 75%;
 left: 29%;
 background-image: 
   linear-gradient(#0002, transparent 70%, var(--belt) 0);
}

.leg + .leg {
 left : 52%;
}

.leg::after {
 width: 110%;
 height: 20%;
/*  background: black; */
 bottom: 0;
 left: -6%;
 border-radius: 10vmin 10vmin 0 0;
}

.leg + .leg::after {
 left: -4%;
}








@keyframes main-loadup {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes main-loadup-bg {
	from {
		background-size: 100% 100%;
		background-position: 0% 0%;
	}

	to {
		background-size: 400% 400%;
		background-position: 0% 100%;
	}
}

.initial-snow {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 99;
}

.initial-snow > * {
	font-size: 50px;
	color: white;
	position: absolute;
	top: -5vh;
}

@keyframes snowfall {
	0% {
		transform: translate3d(var(--left-ini), 0, 0);
	}

	100% {
		transform: translate3d(var(--left-end), 110vh, 0);
	}
}

.snow:nth-child(2n) {
	filter: blur(1px);
	font-size: 40px;
}

.snow:nth-child(6n) {
	filter: blur(2px);
	font-size: 30px;
}

.snow:nth-child(10n) {
	filter: blur(5px);
	font-size: 30px;
}

.snow:nth-child(1) {
	--size: 0.8vw;
	--left-ini: 0vw;
	--left-end: -1vw;
	left: 70vw;
	animation: snowfall 9s linear infinite;
	animation-delay: -1s;
}

.snow:nth-child(2) {
	--size: 0.2vw;
	--left-ini: -7vw;
	--left-end: 10vw;
	left: 65vw;
	animation: snowfall 15s linear infinite;
	animation-delay: -8s;
}

.snow:nth-child(3) {
	--size: 1vw;
	--left-ini: 6vw;
	--left-end: 6vw;
	left: 1vw;
	animation: snowfall 9s linear infinite;
	animation-delay: -7s;
}

.snow:nth-child(4) {
	--size: 0.2vw;
	--left-ini: -3vw;
	--left-end: 9vw;
	left: 88vw;
	animation: snowfall 14s linear infinite;
	animation-delay: -5s;
}

.snow:nth-child(5) {
	--size: 0.4vw;
	--left-ini: -2vw;
	--left-end: -9vw;
	left: 74vw;
	animation: snowfall 6s linear infinite;
	animation-delay: -4s;
}

.snow:nth-child(6) {
	--size: 0.2vw;
	--left-ini: 5vw;
	--left-end: 1vw;
	left: 35vw;
	animation: snowfall 6s linear infinite;
	animation-delay: -7s;
}

.snow:nth-child(7) {
	--size: 0.4vw;
	--left-ini: -2vw;
	--left-end: -1vw;
	left: 27vw;
	animation: snowfall 10s linear infinite;
	animation-delay: -8s;
}

.snow:nth-child(8) {
	--size: 1vw;
	--left-ini: -9vw;
	--left-end: -2vw;
	left: 69vw;
	animation: snowfall 8s linear infinite;
	animation-delay: -8s;
}

.snow:nth-child(9) {
	--size: 0.2vw;
	--left-ini: -1vw;
	--left-end: -5vw;
	left: 84vw;
	animation: snowfall 11s linear infinite;
	animation-delay: -6s;
}

.snow:nth-child(10) {
	--size: 0.2vw;
	--left-ini: 7vw;
	--left-end: -9vw;
	left: 82vw;
	animation: snowfall 10s linear infinite;
	animation-delay: -3s;
}

.snow:nth-child(11) {
	--size: 0.6vw;
	--left-ini: -2vw;
	--left-end: -1vw;
	left: 48vw;
	animation: snowfall 10s linear infinite;
	animation-delay: -1s;
}

.snow:nth-child(12) {
	--size: 0.2vw;
	--left-ini: 5vw;
	--left-end: 6vw;
	left: 39vw;
	animation: snowfall 15s linear infinite;
	animation-delay: -8s;
}

.snow:nth-child(13) {
	--size: 0.2vw;
	--left-ini: 6vw;
	--left-end: 5vw;
	left: 3vw;
	animation: snowfall 9s linear infinite;
	animation-delay: -8s;
}

.snow:nth-child(14) {
	--size: 0.8vw;
	--left-ini: -5vw;
	--left-end: -2vw;
	left: 49vw;
	animation: snowfall 11s linear infinite;
	animation-delay: -8s;
}

.snow:nth-child(15) {
	--size: 0.6vw;
	--left-ini: 10vw;
	--left-end: 4vw;
	left: 77vw;
	animation: snowfall 7s linear infinite;
	animation-delay: -4s;
}

.snow:nth-child(16) {
	--size: 0.8vw;
	--left-ini: -3vw;
	--left-end: 1vw;
	left: 86vw;
	animation: snowfall 14s linear infinite;
	animation-delay: -8s;
}

.snow:nth-child(17) {
	--size: 1vw;
	--left-ini: 6vw;
	--left-end: -7vw;
	left: 18vw;
	animation: snowfall 9s linear infinite;
	animation-delay: -6s;
}

.snow:nth-child(18) {
	--size: 1vw;
	--left-ini: -9vw;
	--left-end: 4vw;
	left: 64vw;
	animation: snowfall 13s linear infinite;
	animation-delay: -7s;
}

.snow:nth-child(19) {
	--size: 1vw;
	--left-ini: 2vw;
	--left-end: -7vw;
	left: 52vw;
	animation: snowfall 15s linear infinite;
	animation-delay: -9s;
}

.snow:nth-child(20) {
	--size: 0.4vw;
	--left-ini: 0vw;
	--left-end: 8vw;
	left: 5vw;
	animation: snowfall 8s linear infinite;
	animation-delay: -9s;
}

.snow:nth-child(21) {
	--size: 0.6vw;
	--left-ini: -9vw;
	--left-end: -2vw;
	left: 10vw;
	animation: snowfall 12s linear infinite;
	animation-delay: -3s;
}

.snow:nth-child(22) {
	--size: 0.8vw;
	--left-ini: -3vw;
	--left-end: -8vw;
	left: 54vw;
	animation: snowfall 11s linear infinite;
	animation-delay: -9s;
}

.snow:nth-child(23) {
	--size: 0.6vw;
	--left-ini: -7vw;
	--left-end: -8vw;
	left: 20vw;
	animation: snowfall 6s linear infinite;
	animation-delay: -3s;
}

.snow:nth-child(24) {
	--size: 0.4vw;
	--left-ini: 10vw;
	--left-end: -4vw;
	left: 68vw;
	animation: snowfall 10s linear infinite;
	animation-delay: -8s;
}

.snow:nth-child(25) {
	--size: 1vw;
	--left-ini: 3vw;
	--left-end: 5vw;
	left: 90vw;
	animation: snowfall 7s linear infinite;
	animation-delay: -9s;
}

.snow:nth-child(26) {
	--size: 1vw;
	--left-ini: -7vw;
	--left-end: 5vw;
	left: 71vw;
	animation: snowfall 13s linear infinite;
	animation-delay: -2s;
}

.snow:nth-child(27) {
	--size: 0.6vw;
	--left-ini: 9vw;
	--left-end: 4vw;
	left: 2vw;
	animation: snowfall 15s linear infinite;
	animation-delay: -5s;
}

.snow:nth-child(28) {
	--size: 1vw;
	--left-ini: -5vw;
	--left-end: 3vw;
	left: 23vw;
	animation: snowfall 12s linear infinite;
	animation-delay: -1s;
}

.snow:nth-child(29) {
	--size: 0.4vw;
	--left-ini: -2vw;
	--left-end: -1vw;
	left: 39vw;
	animation: snowfall 14s linear infinite;
	animation-delay: -9s;
}

.snow:nth-child(30) {
	--size: 0.6vw;
	--left-ini: -9vw;
	--left-end: -5vw;
	left: 76vw;
	animation: snowfall 10s linear infinite;
	animation-delay: -5s;
}

.snow:nth-child(31) {
	--size: 0.4vw;
	--left-ini: -5vw;
	--left-end: 3vw;
	left: 14vw;
	animation: snowfall 8s linear infinite;
	animation-delay: -5s;
}

.snow:nth-child(32) {
	--size: 0.2vw;
	--left-ini: 5vw;
	--left-end: -1vw;
	left: 86vw;
	animation: snowfall 10s linear infinite;
	animation-delay: -9s;
}

.snow:nth-child(33) {
	--size: 0.4vw;
	--left-ini: -3vw;
	--left-end: 10vw;
	left: 66vw;
	animation: snowfall 6s linear infinite;
	animation-delay: -6s;
}

.snow:nth-child(34) {
	--size: 1vw;
	--left-ini: -3vw;
	--left-end: 6vw;
	left: 75vw;
	animation: snowfall 14s linear infinite;
	animation-delay: -9s;
}

.snow:nth-child(35) {
	--size: 1vw;
	--left-ini: -6vw;
	--left-end: 7vw;
	left: 22vw;
	animation: snowfall 7s linear infinite;
	animation-delay: -5s;
}

.snow:nth-child(36) {
	--size: 1vw;
	--left-ini: 3vw;
	--left-end: 4vw;
	left: 10vw;
	animation: snowfall 11s linear infinite;
	animation-delay: -10s;
}

.snow:nth-child(37) {
	--size: 0.6vw;
	--left-ini: 2vw;
	--left-end: 10vw;
	left: 95vw;
	animation: snowfall 13s linear infinite;
	animation-delay: -6s;
}

.snow:nth-child(38) {
	--size: 0.8vw;
	--left-ini: 5vw;
	--left-end: 8vw;
	left: 34vw;
	animation: snowfall 9s linear infinite;
	animation-delay: -10s;
}

.snow:nth-child(39) {
	--size: 0.8vw;
	--left-ini: 4vw;
	--left-end: 0vw;
	left: 80vw;
	animation: snowfall 11s linear infinite;
	animation-delay: -2s;
}

.snow:nth-child(40) {
	--size: 0.8vw;
	--left-ini: 1vw;
	--left-end: -7vw;
	left: 45vw;
	animation: snowfall 11s linear infinite;
	animation-delay: -4s;
}

.snow:nth-child(41) {
	--size: 0.2vw;
	--left-ini: 9vw;
	--left-end: 10vw;
	left: 82vw;
	animation: snowfall 8s linear infinite;
	animation-delay: -2s;
}

.snow:nth-child(42) {
	--size: 1vw;
	--left-ini: 9vw;
	--left-end: -9vw;
	left: 22vw;
	animation: snowfall 10s linear infinite;
	animation-delay: -6s;
}

.snow:nth-child(43) {
	--size: 0.6vw;
	--left-ini: 5vw;
	--left-end: 8vw;
	left: 66vw;
	animation: snowfall 11s linear infinite;
	animation-delay: -1s;
}

.snow:nth-child(44) {
	--size: 0.6vw;
	--left-ini: -5vw;
	--left-end: -2vw;
	left: 75vw;
	animation: snowfall 12s linear infinite;
	animation-delay: -4s;
}

.snow:nth-child(45) {
	--size: 0.2vw;
	--left-ini: 0vw;
	--left-end: 3vw;
	left: 2vw;
	animation: snowfall 7s linear infinite;
	animation-delay: -5s;
}

.snow:nth-child(46) {
	--size: 0.2vw;
	--left-ini: 8vw;
	--left-end: -3vw;
	left: 94vw;
	animation: snowfall 8s linear infinite;
	animation-delay: -9s;
}

.snow:nth-child(47) {
	--size: 0.6vw;
	--left-ini: -6vw;
	--left-end: -9vw;
	left: 95vw;
	animation: snowfall 11s linear infinite;
	animation-delay: -4s;
}

.snow:nth-child(48) {
	--size: 0.2vw;
	--left-ini: -5vw;
	--left-end: 6vw;
	left: 34vw;
	animation: snowfall 10s linear infinite;
	animation-delay: -6s;
}

.snow:nth-child(49) {
	--size: 0.8vw;
	--left-ini: 4vw;
	--left-end: 8vw;
	left: 22vw;
	animation: snowfall 12s linear infinite;
	animation-delay: -10s;
}

.snow:nth-child(50) {
	--size: 0.2vw;
	--left-ini: -4vw;
	--left-end: 4vw;
	left: 100vw;
	animation: snowfall 14s linear infinite;
	animation-delay: -9s;
}





/* <!--  popup de navidad --> */


.main__title{font-size:4rem}
.main__paragraph{font-size:1.8rem}
.modal__img {max-width:60%;height:auto;display:block;}
.modal{
 max-width:1100px;
 width:85%;
 position: fixed;
 top:50%;
 background-color: rgba(0,0,0,0.3);
 left:50%;
 transform: translate(-50%,-50%);
 border-radius: 5px;
 background-image: url(./backgroun-verano.jpg);
 background-repeat: no-repeat;
 display: none;
 height:57%;
 
 border-radius: 19px;
}
.modal.show{display:block}
#close {cursor:pointer;color:white;position:absolute;top:0;font-size:25px;right:0;padding:1rem;margin-right: 10px;}
.modal__title{font-size: 4rem; font-family: 'MojitoinJune', cursive;
	text-decoration: none;
    text-shadow: 1px 3px 5px rgba(5, 0, 27, 46.3);}
.modal__title span{display: block;font-weight: 400;}
.modal__paragraph{font-size: 16px;font-weight: 400;}
.modal__button{
 background:#0a9396;
 border:none;
 color: white;
 padding: 1rem 2rem;
 border-radius:5px;
 box-shadow: 2px 2px 12px rgba(0,0,0,0.2);
 transition: 0.3s background-color ease-in-out;
}
.modal__button:hover{background-color:#0a9372;}
main{text-align: center;}
.modal__container{
 padding: 1rem 2rem;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 position: relative;
}

@media only screen and (min-width: 768px){
 .modal__container {
   flex-direction: column;
   padding: 2rem;
   text-align: left;
 }
 .modal__img{max-width:100%}
}

@media only screen and (max-width: 500px){
 .modal__title {
   font-size: 2rem;
 }
 .modal__img{max-width:80%}
}