.container-loader {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    display: flex;
}

.container-loader p {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    margin-top: 25px;
    animation: fadeIn 1s infinite;
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100px;
    height: 100px;
    border: 8px solid transparent;
    border-image: conic-gradient(
        #87279F 0% 16.66%,
        #306FDB 16.66% 33.33%,
        #87DB22 33.33% 50%,
        #FFE143 50% 66.66%,
        #F28917 66.66% 83.33%,
        #E22016 83.33% 100%
    ) 1;
    border-radius: 100%;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        scale: 0.5;
    }
    50% {
        opacity: 1;
        scale: 1;
    }
    100% {
        opacity: 0;
        scale: 0.5;
    }
}
