:root{
	--color-aseguradora: #00008F;
}
.loader{
    width: 100vw;
    height: 100vh;
    position: fixed;
    background: var(--color-aseguradora);
}

.card-loader{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-aseguradora);
    border-radius: 10px;
}

.card-loader::after{
    content: '';
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: solid 10px #fff;
    border-top-color: transparent;
    animation: girar 1s linear infinite;
}

@keyframes girar {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.overlayM {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loaderM-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loaderM {
    width: 119px;
    height: 119px;
    border: 6px solid rgb(0, 0, 0);
    background: var(--color-aseguradora);
    border-radius: 50%;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.text {
    text-align: center;
    margin-top: 10px;
    font-size: 25px;
    color: #fff;
}
  
  .loaderM::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-bottom-color: #fff;
  }
  
  @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
  
    100% {
        transform: rotate(360deg);
    }
  }
  .text {
    text-align: center;
    margin-top: 10px;
    font-size: 25px;
    color: #fff;
    transition: opacity 1s ease-in-out;
    opacity: 0;
}

.text.visible {
    opacity: 1;
}