.link-item{
    display:flex;
    align-items:center;
    gap:12px;

    padding:10px;

    text-decoration:none;
    color:white;

    border:1px solid rgba(255,255,255,.15);
    border-radius:10px;

    transition:.3s;
}

.link-item:hover{
    background:rgba(255,255,255,.05);
}

.link-item img{
    width:24px;
    height:24px;

    object-fit:contain;

    filter:grayscale(100%);
}

body{
    background:#050505;
    color:white;
    min-height:100vh;
    overflow-x:hidden;
    position:relative;
}

.stars{
    position:fixed;
    inset:0;
    width:100%;
    height:100%;

    background-image:
    radial-gradient(2px 2px at 20px 30px,#fff,transparent),
    radial-gradient(2px 2px at 80px 120px,#fff,transparent),
    radial-gradient(1px 1px at 140px 60px,#fff,transparent),
    radial-gradient(2px 2px at 200px 170px,#fff,transparent),
    radial-gradient(1px 1px at 260px 90px,#fff,transparent);

    background-size:300px 300px;
    background-repeat:repeat;

    z-index:-1;
    pointer-events:none;

    animation:
    starsMove 80s linear infinite,
    twinkle 4s ease-in-out infinite;
}

@keyframes starsMove{
    from{
        background-position:0 0;
    }

    to{
        background-position:0 300px;
    }
}

@keyframes twinkle{
    0%,100%{
        opacity:.6;
    }

    50%{
        opacity:1;
    }
}

h1{
    text-align:center;
    margin-bottom:40px;
    font-size:48px;
}

.entry{
    text-align:center;
    max-width:600px;
    margin:30px auto;
    padding:20px;

    border:1px solid rgba(255,255,255,.15);
    border-radius:12px;

    background:rgba(255,255,255,.03);
    backdrop-filter:blur(5px);
}

.date{
    font-size:12px;
    opacity:.6;
    margin-bottom:10px;
    letter-spacing:3px;
}

.back-btn{
    display:block;
    width:max-content;

    margin:0 auto 30px auto;

    padding:10px 18px;

    color:white;
    text-decoration:none;

    border:1px solid rgba(255,255,255,.2);
    border-radius:10px;
}

.planet{
    position:fixed;
    border-radius:50%;
    z-index:-1;
}

.saturn{
    width:140px;
    height:140px;
    right:150px;
    top:500px;

    background:radial-gradient(circle at 30% 30%,
    #d9c4a5,#8c7256);
}

.saturn::after{
    content:"";
    position:absolute;

    width:190px;
    height:45px;

    border:3px solid rgba(255,255,255,.3);
    border-radius:50%;

    left:-25px;
    top:45px;

    transform:rotate(-15deg);
}

.jupiter{
    width:110px;
    height:110px;

    top:80px;
    right:80px;

    background:radial-gradient(circle,
    #c7a47a,#6d5038);
}

.neptune{
    width:90px;
    height:90px;

    left:120px;
    bottom:250px;

    background:radial-gradient(circle,
    #8ad0ff,#1f5178);
}

.mars{
    width:60px;
    height:60px;

    left:300px;
    bottom:80px;

    background:radial-gradient(circle,
    #d58b65,#6d2e1f);
}

.comet{
    position:fixed;
    top:15%;
    right:-300px;

    width:6px;
    height:6px;

    background:white;
    border-radius:50%;

    box-shadow:
    -20px 0 10px rgba(255,255,255,.8),
    -40px 0 20px rgba(255,255,255,.5),
    -80px 0 40px rgba(255,255,255,.3);

    animation:cometMove 45s linear infinite;
    z-index:-1;
}

@keyframes cometMove{
    from{
        transform:translateX(0) translateY(0);
    }

    to{
        transform:translateX(-2200px) translateY(400px);
    }
}

.constellation{
    position:fixed;
    opacity:.45;
    z-index:-1;
}

.orion{
    left:100px;
    top:650px;
    width:220px;
    height:280px;
    background:url("images/orion.png") center/contain no-repeat;
}

.cassiopeia{
    top:120px;
    left:45%;
    width:180px;
    height:120px;
    background:url("images/cassiopeia.png") center/contain no-repeat;
}

.ursa{
    top:120px;
    left:120px;
    width:280px;
    height:180px;
    background:url("images/ursa-major.png") center/contain no-repeat;
}

.fog{
    position:fixed;
    inset:0;

    background:
    radial-gradient(circle,
    rgba(255,255,255,.03),
    transparent 70%);

    animation:fogMove 20s ease-in-out infinite alternate;

    z-index:-1;
}

@keyframes fogMove{
    from{
        transform:translateX(-50px);
    }

    to{
        transform:translateX(50px);
    }
}

.galaxy{
    position:fixed;
    z-index:-1;

    border-radius:50%;

    filter:blur(1px);
}

.galaxy1{
    width:300px;
    height:300px;

    left:-50px;
    top:250px;

    background:
    radial-gradient(circle,
    rgba(255,255,255,.8),
    rgba(170,150,255,.4),
    transparent 70%);
}

.galaxy2{
    width:250px;
    height:250px;

    right:-40px;
    bottom:180px;

    background:
    radial-gradient(circle,
    rgba(255,255,255,.8),
    rgba(255,180,220,.3),
    transparent 70%);
}

/* Планшеты */
@media (max-width: 900px){

    .container{
        grid-template-columns:1fr;
    }

    .sidebar{
        width:100%;
    }

    .banner-text h1{
        font-size:40px;
    }
}

/* Телефоны */
@media (max-width: 600px){

    body{
        padding:10px;
    }

    .container{
        padding:0;
        gap:15px;
    }

    .avatar{
        width:140px;
        height:140px;
    }

    .name{
        font-size:32px;
    }

    .bio{
        font-size:13px;
    }

    .menu a{
        padding:10px;
        font-size:14px;
    }

    .song{
        flex-direction:column;
        text-align:center;
    }

    .song img{
        width:120px;
        height:120px;
    }

    .gallery{
        grid-template-columns:1fr;
    }

    .entry{
        width:100%;
    }

    .planet,
    .galaxy{
        transform:scale(.7);
    }
}