@import url("https://fonts.googleapis.com/css2?family=Anton&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root{
    --text-color: #ffffff;
    --glow-color-start: #8000ff00;
    --glow-color-end: rgba(55, 0, 255, .5); 
    --box-shadow: inset 0 0 4em 3em rgba(68, 35, 189, 0.4),
        inset 0 0 2em 0.4em rgba(183, 175, 238, 0.4),
        0 0 0.1em 0.1em rgba(179, 175, 238, 0.4),
        0 0 1em 0.4em rgba(57, 34, 229, 0.502);
        
}

.intro-wrapper{
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-family: "Poppins", sans-serif;

    font-size: calc(var(--_size) * 0.022);
    --_factor: min(1000px, 100vh);
    --_size: min(var(--_factor), 100vw);
}

.bg {
    width: 60%; 
    height: 30%;
    max-width: 80vw;
    position: absolute;
}

.bg > div {
    position: absolute;
    scale: 1.2;
    opacity: 0.6;
    inset: 0;
    margin: auto;
    width: clamp(0px, 100%, 1000px);
    height: 100%;
    border-radius: 100em;
    box-shadow: var(--box-shadow);
}

.bg > div:nth-child(1) {
    translate: 0 -70%;
    animation: onloadbgt 1s ease-in-out forwards;
}

.bg > div:nth-child(2) {
    translate: 0 70%;
    animation: onloadbgb 1s ease-in-out forwards;
}

@keyframes onloadbgt {
    0% { translate: 0 -74%; opacity: 0.3; }
    100% { translate: 0 -68%; opacity: 0.8; }
}

@keyframes onloadbgb {
    0% { translate: 0 74%; opacity: 0.3; }
    100% { translate: 0 68%; opacity: 0.8; }
}

.glow-text{
    position: relative;
    color: var(--text-color);
    text-align: center;
    line-height: 1.0625;
    font-weight: 600;
    letter-spacing: -0.009em;
    animation: glowIn 1s ease-in-out forwards;
}

@keyframes glowIn {
    0% {
        font-size: 55px;
        text-shadow: 0 0 5px var(--glow-color-start);
    }
    100% {
        font-size: 60px;
        text-shadow: 0 0 15px var(--glow-color-end), 0 0 50px var(--glow-color-end), 0 0 200px var(--glow-color-end);
    }
}

@media screen and (max-width: 480px) {
    .bg {
        height: 20%;
    }

    .glow-text{
        animation: glowIn 1s ease-in-out forwards;
    }
    
    @keyframes glowIn {
        0% {
            font-size: 35px;
            text-shadow: 0 0 5px var(--glow-color-start);
        }
        100% {
            font-size: 40px;
            text-shadow: 0 0 15px var(--glow-color-end), 0 0 50px var(--glow-color-end), 0 0 200px var(--glow-color-end);
        }
    }
}