.mail-sent-container {
    height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.hidden {
    display: none;
}

.home-btn.hidden {
    display: none;
}

.animation-container {
    display: inline-block;
    position: relative;
    width: 150px;
    height: 150px;
}

.animation {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid #28a745;
    border-top-color: transparent;
    animation: rotate 1.5s linear infinite, changeColor 1.5s linear 3s forwards;
}

@keyframes rotate {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes changeColor {
    from {
        border-top-color: transparent;
    }

    to {
        border-top-color: #4CAF50;
    }
}

.check-icon {
    font-size: 50px;
    color: #28a745;
    position: absolute;
    top: 35%;
    left: 35%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out 3.5s forwards;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* text */
.sending-text {
    color: #fff;
    font-size: 24px;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInOut 3s infinite;
}

.success-text {
    color: #fff;
    font-size: 24px;
    margin-bottom: 10px;
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

/* home button */
.home-btn {
    position: relative;
    display: inline-block;
    height: 50px;
    width: 200px;
    margin-top: 50px;
    padding: 10px 20px;
    text-align: center;
    font-size: 18px;
    letter-spacing: 1px;
    text-decoration: none;
    color: #fff;
    background: transparent;
    cursor: pointer;
    border: 2px solid #fff;
    border-radius: 10px;
    box-shadow: inset 0 0 0 0 #915bb2;
    animation: bounce 1.5s infinite ease-in-out;
}

.home-btn:hover {
    color: white;
    border-color: #915bb2;
    box-shadow: inset 0 -100px 0 0 #915bb2;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}
