
* {
    box-sizing: border-box;
}


@font-face {
    font-family: 'font';
    src: url('fonts/spec.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'font1';
    src: url('fonts/spec1.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    background: linear-gradient(
            -45deg,
            #0f172a,
            #1e293b,
            #2e415e,
            #2b5d88
    );

    background-size: 400% 400%;

    animation: gradientMove 15s ease infinite;
}


.stars {
    position: fixed;
    inset: 0;

    background-image:
            radial-gradient(2px 2px at 20px 30px, white, transparent),
            radial-gradient(2px 2px at 40px 70px, white, transparent),
            radial-gradient(1px 1px at 90px 40px, white, transparent),
            radial-gradient(2px 2px at 160px 120px, white, transparent),
            radial-gradient(1px 1px at 200px 80px, white, transparent);

    background-size: 300px 300px;

    opacity: 0.25;

    z-index: -2;

    animation: starsMove 60s linear infinite;
}

@keyframes starsMove {

    from {
        background-position: 0 0;
    }

    to {
        background-position: -1000px 1000px;
    }

}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}
header {
    background-color: transparent;
}

html {
    scroll-behavior: smooth;
}

.music-player {
    position: fixed;

    top: 20px;
    right: 20px;

    width: 220px;
    padding: 15px;
    border-radius: 24px;

    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(15px);

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow: 0 10px 30px rgba(0,0,0,0.2);

    color: #c0efff;

    z-index: 1000;
}

.music-cover {
    width: 100%;
    height: 120px;

    object-fit: cover;

    border-radius: 16px;

    margin-bottom: 15px;
}

.music-title {
    margin: 0;

    font-size: 18px;
    color: #c0efff;

    font-family: 'font1', sans-serif;
}


.music-credits {
    margin-top: 12px;

    font-size: 12px;

    color: rgba(192,239,255,0.5);

    text-align: center;
}

.music-title {
    margin-top: 0;
    margin-bottom: 15px;

    font-family: 'font1', sans-serif;
}

#play-btn {
    width: 100%;

    padding: 10px;

    border: none;
    border-radius: 14px;

    background: rgba(255,255,255,0.08);

    color: #c0efff;

    cursor: pointer;

    margin-bottom: 15px;

    transition: 0.3s ease;
}

#play-btn:hover {
    background: rgba(255,255,255,0.15);
}

#progress,
#volume {
    width: 100%;
    margin-top: 10px;
}

.content-wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}


/*.content-wrapper-about {*/
/*    margin-top: 80px;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: flex-start;*/
/*    min-height: 50vh;*/
/*    width: 100%;*/
/*    color: #c0efff;*/
/*}*/

#about {
    font-family: 'font1', sans-serif;
    font-size: 16px;
    color: #c0efff;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

#about h1 {
    margin-top: 0;
    font-family: 'font1', sans-serif; /* Твой шрифт */
    font-size: 32px;
    margin-bottom: 20px;
}
.second-block {
    font-family: 'font1', sans-serif;
    font-size: 16px;
    color: #c0efff;

    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);

    line-height: 1.6;
    padding: 20px;

    width: 250px;
    margin-left: 20px;
}

.second-block h1 {
    margin-top: 0;
    color: #c0efff;
}

.about-text {
    color: #d6f4ff;
    line-height: 1.7;
    margin-bottom: 25px;
}

.skills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.skills span {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);

    padding: 8px 14px;
    border-radius: 12px;

    color: #c0efff;
    font-size: 14px;
}
.projects-section {
    width: 100%;
    max-width: 700px;
}
.project-card {
    font-family: 'font1', sans-serif;
    color: #c0efff;

    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.1);

    box-shadow: 0 20px 40px rgba(0,0,0,0.2);

    padding: 25px;
}

.project-card h1 {
    margin-top: 0;
    margin-bottom: 15px;
}

.project-description {
    color: #d6f4ff;
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-stack {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.project-stack span {
    padding: 8px 14px;

    border-radius: 12px;

    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);

    font-size: 14px;
}

.support-block {
    margin-top: 25px;

    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.support-block p {
    color: #c0efff;
    margin-bottom: 15px;
}

.support-block a {
    display: inline-block;

    text-decoration: none;
    color: #0f172a;

    background: #87fbea;

    padding: 10px 18px;
    border-radius: 12px;

    font-weight: bold;

    transition: 0.3s ease;
}

.support-block a:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(135,251,234,0.4);
}

.project-button {
    display: inline-block;

    text-decoration: none;
    color: #c0efff;

    padding: 12px 18px;

    border-radius: 14px;

    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);

    transition: 0.3s ease;
}

.project-button:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}
.status {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #9fe870;
    font-size: 14px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #9fe870;

    box-shadow: 0 0 10px #9fe870;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-links a {
    text-decoration: none;
    color: #c0efff;

    padding: 10px 15px;
    border-radius: 12px;

    background: rgba(255,255,255,0.05);
    transition: 0.3s ease;
}

.social-links a:hover {
    background: rgba(255,255,255,0.12);
    transform: translateX(5px);
}

.tab-content {
    display: none;
    padding: 20px;
    color: #333;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.content-wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}
.top-nav {
    padding: 10px 20px;
    background-color: transparent;
}

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 149, 255, 0.2) 0%, rgba(0, 149, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

.cursor-glow.active {
    width: 150px;
    height: 150px;
    opacity: 0.8;
}

.nav-list {
    display: inline-flex;
    align-items: center;
    gap: 20px;

    list-style: none;

    padding: 12px 24px;

    border-radius: 18px;

    font-family: 'font', sans-serif;
    font-size: 16px;

    background: rgba(255,255,255,0.03);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
            0 10px 30px rgba(0,0,0,0.15);

    color: #c0efff;
}

.nav-list a {
    position: relative;

    text-decoration: none;

    color: #c0efff;

    font-size: 16px;

    transition: 0.3s ease;
}

.nav-list a:hover {
    color: #c0efff;
}
.nav-list a::after {
    content: '';

    position: absolute;

    left: 0;
    bottom: -5px;

    width: 0;
    height: 2px;

    border-radius: 10px;

    background: #87fbea;

    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

.profile img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

@media (max-width: 1100px) {

    .content-wrapper {
        flex-direction: column;
        align-items: center;

        gap: 20px;
    }

    #about,
    .second-block,
    .projects-section {
        width: 90%;
        max-width: 700px;

        margin-left: 0;
    }

    .music-player {
        position: relative;

        top: auto;
        right: auto;

        margin: 20px auto;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }

}