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

ul {
    list-style: none;
}

body {
    background-image: url(.//assets/bg.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  {
    padding: 32px;
    height: calc(120px + 32px);
}

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 0.3s;
   
}

header div:hover {
    transform: scale(1.1);
}

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

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;

}

section h2 {
    text-align: center;
    letter-spacing: -0.47px;
}

section p {
    text-align: center;
    letter-spacing: -0.18px;
    color: #a1a1aa;
}

ul {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;

}

section ul li {
    transition: transform 0.3s;

}

section ul li:hover{
    transform: scale(1.1);
}

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

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

}

/* animação */

header div {
    animation: fromTop 0.7s 0.4s backwards;
}

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


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

main section {
    animation: fromBottom 0.7s backwards;
}

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

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

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


@keyframes fromBottom {

    from{
        opacity: 0;
        transform: translateY(30px);
    }


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

}