*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background: linear-gradient(270deg, #dfede9, #e0d5e9);
    background-size: 400% 400%;
    animation: AnimationName 4s ease infinite;
    margin-left: 3%;
}

@keyframes AnimationName {
    0% { background-position: 25% 0%; }
    50% { background-position: 76% 100%; }
    100% { background-position: 25% 0%; }
}

h1 {
    color: #2f2942;
    font-family: 'Spectral SC', serif;
    font-weight: 500;
    font-size: 3em;
    margin-left: 5%;
}

h1:hover {
    color: black;
}

#main {
    font-size: 2em;
    font-family: 'Spectral SC', serif;
    font-weight: 300;
    text-align: left;
    padding-left: 5%;
}

#date {
    font-size: 1.5em;
    font-family: 'Spectral SC', serif;
    font-weight: 300;
    text-align: right;
    padding-left: 5%;
}

#progress {
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 2%;
    font-size: 2em;
    font-family: 'Spectral SC', serif;
    font-weight: 300;
    text-align: left;
}

#progressValue {
    width: 90%;
    height: 40px;
}

#vk_playlist_390346893_4 {
    width: 500px;
    background: green;
}

#me {
    box-shadow: 0px 0px 15px 10px #2f2942;
    border-radius: 6px;
    width: 300px;
    float: left;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 2%;
}

#soc {
    display: flex;
    max-width: 300px;
    margin: 0 auto;
}

.social {
    display: inline-block;
}

.social a {
    display: block;
    width: 85px;
    height: 85px;
    margin: 0 10px 10px 0;
    text-align: center;
    color: #000;
    background: #E4C0FC;
    border: 2px solid #4c5866;
    border-radius: 6px;
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.15), inset 0 0 50px rgba(0, 0, 0, 0.1);
}

.social a:hover {
    color: #fff;
}

.social svg {
    margin-top: 10%;
    width: 72px;
    height: 72px;
}

.instagram a:hover {
    background: linear-gradient(180deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
}

.telegram a:hover {
    background: #249bd7;
}

.vk a:hover {
    background: #4a76a8;
}

.vk a:active {
    animate__rotateOut;
}

a {
    text-decoration: none; /* Убирает подчеркивание у всех ссылок */
}

@media (prefers-color-scheme: dark) {
    color: white;
    background: black;
}

@media only screen and (max-device-width: 480px) {
    #soc {
        float: left;
        margin-right: 30%;
    }

    .social a {
        display: block;
        width: 60px;
        height: 60px;
        border-radius: 10px;
    }

    .social svg {
        margin-top: 10%;
        width: 40px;
        height: 40px;
    }

    #main {
        font-size: 1.5em;
    }

    h1 {
        font-size: 2em;
    }

    #me {
        width: 100px;
        box-shadow: 0px 0px 3px 3px;
    }
}
