body {
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #001f3f, #0074D9, #316e86, #2729a8);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    min-height: 100vh; /* Altura mínima de la ventana del navegador */
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    background-color: rgba(255, 255, 255, 0.6); /* Fondo más transparente */
    border: none; /* Sin borde */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
    padding: 20px; /* Espaciado interno */
    border-radius: 10px; /* Bordes redondeados */
    max-width: 700px; /* Ancho máximo */
    width: 100%; /* Ancho completo */
}
.card input[type=file] {
    margin-bottom: 10px; /* Espaciado entre elementos */
}

#btn-sub {
    position: relative;
    display: inline-block;
    padding: 25px 30px;
    margin: 40px 0;
    color: #03e9f4;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 4px;
    overflow: hidden;
    /*margin-right: 50px;*/
    border: 2px solid transparent; /* Border transparente inicialmente */
    transition: border-color 0.3s ease; /* Transición del color del borde */
}

#btn-sub::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #03e9f4;
    z-index: -1;
    transition: transform 0.6s ease;
    border-radius: 10px;
}

#btn-sub:hover::before {
    transform: scale(3); /* Escalado al hacer hover */
}

#btn-sub:hover {
    border-color: #03e9f4; /* Color del borde al hacer hover */
}

.file-label {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.file-label i {
    margin-right: 5px;
}


/* Estilos para la barra de carga */
#loading-bar {
    display: none;
    width: 100%;
    height: 4px;
    background-color: #09ff00;
    position: fixed;
    top: 0;
    left: 0;
    animation: loading 2s linear infinite;
}
@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}
#result {
    margin-top: 20px;
}

#logo {
    position: fixed; /* Fijar la posición de la imagen */
    top: 10px; /* Distancia desde la parte superior */
    left: 10px; /* Distancia desde la parte izquierda */
    width: 300px; /* Ancho de la imagen */
    height: auto; /* Altura ajustada automáticamente */
    z-index: 999; /* Asegura que la imagen esté por encima de otros elementos */
  }




.word {
	font-family: 'Anton', sans-serif;
	perspective: 1000px; 
}

.word span {
	cursor: pointer;
	display: inline-block;
	font-size: 100px;
	user-select: none;
	line-height: .8;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 50px;
}

.word span:nth-child(1).active {
	animation: balance 1.5s ease-out;
	transform-origin: bottom left;
}

@keyframes balance {
	0%, 100% {
		transform: rotate(0deg);
	}
	
	30%, 60% {
		transform: rotate(-45deg);
	}
}

.word span:nth-child(2).active {
	animation: shrinkjump 1s ease-in-out;
	transform-origin: bottom center;
}

@keyframes shrinkjump {
	10%, 35% {
		transform: scale(2, .2) translate(0, 0);
	}
	
	45%, 50% {
		transform: scale(1) translate(0, -150px);
	}
	
	80% {
		transform: scale(1) translate(0, 0);
	}
}

.word span:nth-child(3).active {
	animation: falling 2s ease-out;
	transform-origin: bottom center;
}

@keyframes falling {
	12% {
		transform: rotateX(240deg);
	}
	
	24% {
		transform: rotateX(150deg);
	}
	
	36% {
		transform: rotateX(200deg);
	}
	
	48% {
		transform: rotateX(175deg);
	}
	
	60%, 85% {
		transform: rotateX(180deg);
	}
	
	100% {
		transform: rotateX(0deg);
	}
}

.word span:nth-child(4).active {
	animation: rotate 1s ease-out;
}

@keyframes rotate {
	20%, 80% {
		transform: rotateY(180deg);
	}
	
	100% {
		transform: rotateY(360deg);
	}
}

.word span:nth-child(5).active {
	animation: toplong 1.5s linear;
}

@keyframes toplong {
	10%, 40% {
		transform: translateY(-48vh) scaleY(1);
	}
	
	90% {
		transform: translateY(-48vh) scaleY(4);
	}
}


/* mas efectos*/
.word span:nth-child(6).active {
	animation: balance 1.5s ease-out;
	transform-origin: bottom left;
}



.word span:nth-child(7).active {
	animation: shrinkjump 1s ease-in-out;
	transform-origin: bottom center;
}



.word span:nth-child(8).active {
	animation: falling 2s ease-out;
	transform-origin: bottom center;
}



.word span:nth-child(9).active {
	animation: rotate 1s ease-out;
}


.word span:nth-child(10).active {
	animation: toplong 1.5s linear;
}


.word span:nth-child(11).active {
	animation: balance 1.5s ease-out;
	transform-origin: bottom left;
}



.word span:nth-child(12).active {
	animation: shrinkjump 1s ease-in-out;
	transform-origin: bottom center;
}




.drop-area {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px dashed #000000;
    padding: 20px;
    cursor: pointer;
}

#dropImage {
    width: 200px; /* Ajusta el tamaño de la imagen según sea necesario */
    height: 200px;
}

.file-name {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
    text-align: center;
}