/* -- LOADING ANIMATIONS -- */
/* Loader one: Pulse */
.loader.one {
	width: 100px;
	height: 100px;
}

.loader.one .circle {
	height: 100px;
	width: 100px;
	background: #E427F9;
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 50px;
	/* TODO: PART 1.2 - Add pulse animation */
}


/* PART 1.1: Animation keyframes */

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


/* PART 1.2: Apply animation to circles */
.loader.one .circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #cb1293;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}
.loader.one .first.circle {
    animation-delay: 0s; /* No delay for the first circle */
}
.loader.one .second.circle {
    animation-delay: 1s; /* Delay the second circle's animation by 1 second */
}
/* TODO: PART 1.3 - Delay pulse animation for circle two */
.loader.one .second.circle {
    animation-delay: 1s; /* Delay the second circle's animation by 1 second */
}
/* TODO: PART 1.1 - Create pulse animation */
@keyframes pulse {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(1);
        opacity: 0;
    }
}
	


/* Loader two: Wave */
.loader.two {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	width: 110px;
}

.loader.two .dot {
	height: 30px;
	width: 30px;
	background: #000;
	border-radius: 15px;
	background: #F76A4D;
}
@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* PART 2.2: Apply wave animation to dots */
.loader.two .dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #e94c0e; /* Default dot color */
    margin: 0 5px; /* Adjust spacing between dots */
    animation: wave 2s infinite;
}

/* PART 2.3: Delay animation for second and third dots */
.loader.two .second.dot {
    animation-delay: 0.25s; /* Delay second dot by 0.25 seconds */
}

.loader.two .third.dot {
    animation-delay: 0.5s; /* Delay third dot by 0.5 seconds */
}

/* PART 2.4: Color the second and third dots */
.loader.two .second.dot {
    background-color: #4DB1F7; /* Color for second dot */
}

.loader.two .third.dot {
    background-color: #7DE76A; /* Color for third dot */
}
/* TODO: PART 2 - Add delays and dot colors */

/* TODO: PART 2 - Create wave animation */

/* Loader three: Flip */
.loader.three .flip-tile {
    width: 100px;
    height: 100px;
    background-color: #F98527;
}

/* PART 3.2: Animation keyframes for flip tile */
@keyframes flip-tile-animation {
    0% {
        transform: perspective(300px);
    }
    50% {
        transform: perspective(300px) rotateY(180deg);
    }
    100% {
        transform: perspective(300px) rotateY(180deg) rotateX(180deg);
    }
}

/* PART 3.3: Apply animation to flip tile */
.loader.three .flip-tile {
    animation: flip-tile-animation 2.6s infinite;
}
/* TODO: PART 3 - Style the flip card */


/* TODO: PART 3 - Add flip animation to flip card */


/* TODO: PART 3 - Write flip animation */




/* Loader four: Spin */
.loader.four .rings {
	position: relative;
	width: 100px;
	height: 100px;
}

.loader.four .ring {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	overflow: hidden;
}
.loader.four .ring.two {
	width: 80%;
	height: 80%;
}
.loader.four .ring.three {
	width: 60%;
	height: 60%;
}

.loader.four .ring .mask {
	width: 93%;
	height: 93%;
	border-radius: 50%;
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	background: #E5F1F7;
}

.loader.four .ring .arc-container {
	width: 80%;
	height: 100%;
	position: absolute;
	left: 10%;
	overflow: hidden;
	transform-origin: 50% 50%;
	/* TODO: PART 4 - Add spin animation */
}

/* TODO: PART 4 - Add spin shifts for other rings */

.loader.four .ring .arc {
	width: 100%;
	height: 50%;
	position: absolute;
	background: #10D4C6;
	/* TODO: PART 4 - Add color animation */
}

/* TODO: PART 4 - Add spin color shifts for other rings */

/* TODO: PART 4 - Create spin animation */

/* TODO: PART 4 - Create spin color animation */