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

ul {
    list-style: none;
}

body {
    background-image: url(./assets/img/sky-full-of-stars-and-silhouettes-of-trees-below.jpg);
    background-position: top center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-color: #000000; /*#121214*/
}

body * {
    font-family: 'inter' sans-serif;
    font-size: 24px;
    line-height: 160%;
}

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

header div{
    width: 120px;
    margin: auto;
    background-image: linear-gradient(90deg, #3fd2ff, #acf6fb 50%, #dbf6f9 100% );
    border-radius: 50%;
    display: flex;
    padding: 4px;
    transition: transform .3s;
}

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

header 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, #ffffff5e, #ffffff4d 50.52%, #ffffff4c 100% );
    padding-top: 4px;
    border-radius: 10px;
}

section div {
    background-color: rgba(0, 0, 0, 0.437) ; /*#2A2634;*/
    padding: 32px;
    padding-top: 24px;
    border-radius: 8px;
}

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

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

section h2 {
    letter-spacing: -0.47px;
}

section p {
    letter-spacing: -0.18px;
    color: #A1A1AA;
}

ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

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

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

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

svg {
    display: inline-block;
    font-size: inherit;
    height: 32px;
    overflow: visible;
    /*vertical-align: auto;*/
}

/*animetion*/

header div {
    animation: fromTop .5s 1s backwards;
}

main section {
    animation: fromBottom .7s backwards;
}

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

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

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

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

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

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

@keyframes fromBottom {
    from {
        opacity: 0;
        transform: translateY(80px);
    }

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

