* {
    margin: 0;
    padding: 0;
}

.loading-contain {
    height: 100vh;
    width: 100vw;
    background: linear-gradient(to bottom, #FFC055, #FFDDA4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading {
    width: 200px;
    height: 200px;
    box-sizing: border-box;
    border-radius: 50%;
    border-top: 10px solid #63A69F;
    position: relative;
    animation: a1 2s linear infinite;
}

.loading::before,
.loading::after {
    content: "";
    width: 200px;
    height: 200px;
    position: absolute;
    left: 0;
    top: -10px;
    box-sizing: border-box;
    border-radius: 50%;
}

.loading::before {
    border-top: 10px solid #F2E1AC;
    transform: rotate(120deg);
}

.loading::after {
    border-top: 10px solid #F2836B;
    transform: rotate(240deg);
}

.loading span {
    position: absolute;
    width: 200px;
    height: 200px;
    line-height: 200px;
    text-align: center;
    color: #fff;
    animation: a2 2s linear infinite;
}

@keyframes a1 {
    to {
        transform: rotate(360deg);
    }
}

@keyframes a2 {
    to {
        transform: rotate(-360deg);
    }
}

.fade-out {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}