* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style: none;
}


body {
    background-image: url(./assets/Fundo.jpg);
    background-position: top center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-color: #121214;
}
body * {
    font-family: 'Inter', sans-serif;
    line-height: 160%;
}


header { 
    margin-top: 32px;
    height: calc(120px + 32px);
}

header img {
    width: 100%;
    border-radius: 50%;
}

header div {
    width: 120px;
    margin: auto;
    background-image: linear-gradient(90deg, #9572FC 0%, #43E7AD 50.52%, #E2D45C 100%);
    border-radius: 50%;
    display: flex;
    padding: 4px;
    transition: transform .3s;
}

header div:hover {
    transform: scale(1.1);
}

main {
    max-width: 580px;
    width: 90%;
    margin: 32px auto;
    /*max-height: 264px;
    height: 90%;*/
    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;
}

section h2 {
    letter-spacing: -0,47px;
}

section p {
    color: #a1a1aa;
    letter-spacing: -0,18px;
}

section ul {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;

}

section ul li {
    transition: transform .2s;
}
section ul li:hover {
    transform: scale(1.1);
}


.games-list img{
    border-radius: 8px;
    width: 90px;
}
.channel-list img {
    width: 70px;
    border-radius: 50%;
    border: 1px solid #443e54;
}

/*ANIMAÇÃO*/
/*animação da imagem*/
header div {
    animation: fromTop .7s .2s backwards;
}

@keyframes fromTop {
    from {
        opacity: 0;
        transform: translateY(-30px)
    }  
    to {
        opacity: 1;
        transform: translate(0)
    }
}

/*animação dos cards*/
main section {
    animation: fromBottom .7s .3s backwards;
}

main section:nth-child(1){
    animation-delay: .0s;
}
main section:nth-child(2){
    animation-delay: .3s;
}
main section:nth-child(3){
    animation-delay: .6s;
}
@keyframes fromBottom {
    from {
        opacity: 0;
        transform: translateY(30px)
    }  
    to {
        opacity: 1;
        transform: translate(0)
    }
}