





.lightrope {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    z-index: 100;
    margin: 135px 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%;
}



/***/

/* ============================================== */
/* ESTILOS DEL MODAL (VENTANA EMERGENTE) */
/* ============================================== */
.modal {
    display: none; 
    position: fixed;
    z-index: 10000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.7); 
    backdrop-filter: blur(5px); 
    padding-top: 50px;
    box-sizing: border-box; /* Asegura que el padding no cause desbordamiento */
}

.modal-content {
    background-color: #fff9f0; 
    margin: 20% auto; /* Ajuste para móvil primero */
    padding: 15px;
    border: 1px solid #d35400;
    width: 90%; 
    max-width: 500px; 
    border-radius: 15px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: fadeIn 0.5s;
    box-sizing: border-box;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.close-btn {
    color: #d30000;
    position: absolute;
    top: 8px;
    right: 20px;
    font-size: 30px; /* Ajuste para móvil */
    font-weight: bold;
    cursor: pointer;
}

.modal-turkey-img {
    width: 210px; /* Ajuste para móvil */
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.modal-body h2 {
    color: #d30000;
    font-size: 1.5em; /* Ajuste para móvil */
    margin-top: 0;
}

/* ============================================== */
/* MEDIA QUERIES (Ajustes para Tablet y Desktop) */
/* ============================================== */

@media (min-width: 601px) {
    
    /* --- Modal: Escritorio --- */
    .modal-content {
        margin: 15% auto;
        padding: 20px;
    }
    .modal-turkey-img {
        width: 210px;
    }
    .modal-body h2 {
        font-size: 2em;
    }
    .close-btn {
        font-size: 35px;
        right: 25px;
    }
    
    /* --- Mensaje: Escritorio --- */
    .thanksgiving-message h1 {
        font-size: 2.5em;
    }
}


/* Estilos para el Contenedor de Nieve */
#snow-container {
    position: fixed; /* Fija la nieve en la ventana del navegador */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Oculta los copos que caen fuera de la pantalla */
    z-index: 9999; /* Asegura que esté por encima de todo */
    
    /* LA CLAVE: Permite que los clics pasen a los elementos de abajo */
    pointer-events: none;
}

/* Estilos para cada copo de nieve */
.snowflake {
    color: #fff; /* Color blanco */
    font-size: 1.5em; 
    text-shadow: 0 0 2px #000; /* Sombra sutil para visibilidad */
    position: absolute;
    top: -10px; /* Comienza fuera de la vista */
    animation-name: snowfall;
    animation-timing-function: linear; /* Caída constante */
    animation-iteration-count: infinite; /* Nunca para */
}

/* Define la animación de Caída */
@keyframes snowfall {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh); /* Cae hasta el fondo de la ventana */
        opacity: 0.2; /* Desaparece ligeramente al llegar abajo */
    }
}


/* Estilos de ejemplo para tu contenido */
.content {
    text-align: center;
    padding: 50px;
    margin-top: 100px;
    background: rgba(255, 255, 255, 0.9);
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    position: relative; /* Asegura que el contenido está debajo de la nieve (menor z-index) */
}