@import '../global/global.css';
body{
    display: grid;
    grid-template-columns: 1fr 800px;
    margin: 0;
}

main{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.loading{
    display: flex;
    gap: 20px;
}

.load-ball{
    content: '';
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #3db90c;
    
}

.loading span{
    animation: bounce .6s cubic-bezier(0.6,0,1,0.4);
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.loading span:nth-child(1){
    animation-delay: .1s;
}
.loading span:nth-child(2){
    animation-delay: .2s;
}
.loading span:nth-child(3){
    animation-delay: .3s;
}

.loading span:nth-child(1).changeColor{
    background-color: rgb(255, 0, 0);
}
.loading span:nth-child(2).changeColor{
    background-color: rgb(255, 0, 0);
}
.loading span:nth-child(3).changeColor{
    background-color: rgb(255, 0, 0);
}

@keyframes bounce {
    to{
        transform: translateY(30px);
    }
}

@media(max-width:1000px){
    body{
        grid-template-columns: 1fr;
        height: 100vh;
    }
    main{
        height: 300px;
    }
}
@media(max-width:426px){
    body{
        font-size: 12px;
    }
}