* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

ul{
    list-style: none;
}

body{
    background-image: url(./assets/fundo.jpg);
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #121214;
}

body *{
    font-family: 'Inter', sans-serif;
    line-height: 160%;
}

header{
    padding-top: 32px;
    height: calc(160px + 32px);
}

header div{
    width: 160px;
    background-image: linear-gradient(90deg, #9572fc 0%, #43e7ad 50.52%, #e2d45c 100%);
    border-radius: 50%;
    padding: 4px;

    display: flex;
    margin: auto;

    transition: transform .3s;
}

/* ###### TRANSIÇAO ####### */
header div:hover{
    transform: scale(1.1);
}
/* ###################### */

header img{
    border-radius: 50%;
    width: 100%;
}


main{
    max-width: 580px;
    width: 90%;
    margin: 32px auto;

    display: grid;
    gap: 24px;
}

section{
    color: white;
    
    background-image: linear-gradient(90deg, #9572fc 0%, #43e7ad 50.52%, #e2d45c 100%);
    padding-top: 4px;
    border-radius: 10px;

}

section div{
    background-color: #2a2634;
    padding: 32px;
    padding-top: 24px;
    border-radius: 8px;
}

main section h2{
    font-weight: 900;
    font-size: 24px;
    letter-spacing: -0.47px;
}

main section p{
    font-weight: 400;
    font-size: 16px;
    letter-spacing: -0.18px;
    color: #a1a1aa;
}

section ul{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;

    margin-top: 24px;
}

section ul li{
    transition: transform .3s;
}

/* ###### TRANSIÇAO ####### */
section ul li:hover{
    transform: scale(1.1);
}
/* ###################### */

.games-list img{
    width: 90px;
    border-radius: 8px;
}

.channel-list img{
    border-radius: 50%;
    border: 1px solid #443e54;
}

/* ##### ANIMACOES ###### */

header div{
    animation: showUp .3s .3s backwards;
    /* animation: nomeDaAnimacao tempoDeDuracao delay iniciaComAsPropriedadesDaAnimacao*/
}

@keyframes showUp{
    from{
        opacity: 0;
        transform: scale(.7);
    }

    to{
        opacity: 1;
        transform: scale(1);
    }
}

main section{
    animation: toBottom 1s backwards;
}

main section:nth-child(1){
    animation-delay: .2s ;
}

main section:nth-child(2){
    animation-delay: .4s ;
}

main section:nth-child(3){
    animation-delay: .6s ;
}

@keyframes toRight{
    from{
        opacity: 0;
        transform: translateX(-30px);
    }

    to{
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toBottom{
    from{
        opacity: 0;
        transform: translateY(-30px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}