@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Pacifico&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.fon {
    background-color: #090A0F;
}

.en {
    display: none; /* Hide both languages initially */
}

header {
    background-color: #111216;
    text-align: center;
    color: white;
    width: 100%;
    height: 350px;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 85% 85% / 30%;
}

.header-image {
    position: relative;
    bottom: 225px;
    z-index: 1;
}

.title-header {
    position: relative;
    top: 65px;
    font-family: 'Dancing Script', cursive;
    font-size: 75px;
    z-index: 2;
}

.description-header {
    position: relative;
    top: 55px;
    font-family: 'Great vibes', sans-serif;
    font-size: 35px;
    z-index: 3;
}

a {
    text-decoration: none;
}

.translation-button {
    background-color: #292a2f;
    color: white;
    font-size: 15px;
    width: 35px;
    height: 30px;
    border: none;
    border-radius: 5px;
    position: relative;
    left: 650px;
    top: 10px;
    z-index: 1000;
}

.translation-button2 {
    display: none;
}

.donate {
    background-color: #ff675f;
    color: white;
    font-size: 22px;
    border: none;
    border-radius: 25px;
    width: 250px;
    height: 45px;
    position: relative;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 1.5s;
    z-index: 4;
}

.donate:hover {
    background-color: #ff6356;
    cursor: pointer;
    transition: 1s;
}

.new-melody{
    margin-top: 10px;
    color: white;
}
.resent-melody {
    text-align: center;
    font-size: 45px;
    font-family: "Pacifico", cursive;
}
.new-melody-image{
    position: relative;
    top: 25px;
    display: grid;
    align-items: center;
    justify-content: center;
}

/* block1 */
.list-melody {
    margin-top: 80px;
    color: white;
}

.title-list-melody {
    text-align: center;
    font-size: 45px;
    font-family: "Pacifico", cursive;
}

.flex {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.margin-melody {
    position: relative;
    top: 25px;
    margin: 0 30px;
}

.title-melody {
    position: relative;
    top: 15px;
    text-align: center;
    font-size: 25px;
    font-family: "Alef", cursive;
}

.size-year-text {
    font-family: "Alef", cursive;
    font-size: 18px;
}

.radius-img-melody {
    border-radius: 15px;
}

.zoomable {
    transition: transform 0.3s ease;
}

.zoomable:hover {
    transform: scale(0.5);
}

.zoomable-large:hover {
    transform: scale(1.03);
}

.player {
    margin-top: 80px;
    color: white;
}
.title-player {
    text-align: center;
    font-size: 45px;
    font-family: "Pacifico", cursive;
}
.music-service {
    width: min(1080px, calc(100% - 40px));
    margin: 54px auto 0;
    text-align: center;
}
.music-service-main {
    margin-top: 25px;
}
.music-service[data-player-service] {
    margin-top: 25px;
}
.service-title {
    color: white;
    font-family: "Alef", cursive;
    font-size: 30px;
}
.service-caption {
    margin-top: 6px;
    color: #b7bac5;
    font-family: "Alef", cursive;
    font-size: 16px;
}
.yandex-player-list {
    margin-top: 25px;
}
.player-select-wrap {
    margin-top: 24px;
}
.player-select-wrap .youtube-select-label {
    text-align: center;
}
.player-select-list {
    top: calc(100% + 8px);
    bottom: auto;
}
.player-select-option {
    grid-template-columns: minmax(0, 1fr);
}
.player-yandex-playlist,
.vk-music-player {
    display: block;
    width: min(980px, 100%);
    margin: 0 auto;
    border: none;
    border-radius: 8px;
}
.player-yandex-playlist {
    height: 556px;
}
.vk-music-player {
    height: 405px;
}
.music-service .audio-player {
    width: min(980px, 100%);
}
.audio-player {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
    width: min(980px, calc(100% - 40px));
    margin: 30px auto 0;
    padding: 18px;
    border: 1px solid #292a2f;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 103, 95, 0.14), rgba(44, 207, 159, 0.08)), #111216;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}
.audio-visual {
    display: flex;
    align-items: center;
    min-width: 0;
}
.audio-youtube-frame,
.audio-youtube-frame iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 203px;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    background-color: #090A0F;
}
.audio-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    text-align: left;
}
.audio-kicker,
.audio-label,
.audio-meta,
.audio-progress,
.audio-youtube-link {
    font-family: "Alef", cursive;
}
.audio-kicker {
    color: #ff675f;
    font-size: 16px;
    margin-bottom: 14px;
}
.audio-track-header {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}
.audio-cover {
    width: 76px;
    height: 76px;
    border-radius: 8px;
    object-fit: cover;
}
.audio-label {
    color: #b7bac5;
    font-size: 14px;
}
.audio-title {
    margin-top: 4px;
    color: white;
    font-family: "Alef", cursive;
    font-size: 28px;
    overflow-wrap: anywhere;
}
.audio-meta {
    margin-top: 5px;
    color: #d9dbe3;
    font-size: 15px;
}
.audio-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}
.audio-control-button,
.audio-play-button,
.audio-radio-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #292a2f;
    border-radius: 8px;
    color: white;
    font-family: "Alef", cursive;
    cursor: pointer;
    transition: 0.25s;
}
.audio-control-button {
    width: 46px;
    height: 46px;
    background-color: #17181f;
    font-size: 24px;
}
.audio-play-button {
    width: 60px;
    height: 60px;
    background-color: #ff675f;
    font-size: 24px;
}
.audio-radio-button {
    min-width: 92px;
    height: 46px;
    padding: 0 16px;
    background-color: #17181f;
    font-size: 16px;
}
.audio-control-button:hover,
.audio-radio-button:hover,
.audio-track-option:hover,
.audio-youtube-link:hover {
    border-color: #ff675f;
    background-color: #292a2f;
}
.audio-play-button:hover {
    background-color: #ff7a72;
}
.audio-control-button:focus,
.audio-play-button:focus,
.audio-radio-button:focus,
.audio-track-option:focus,
.audio-youtube-link:focus {
    outline: none;
    border-color: #ff675f;
}
.audio-progress {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
    color: #d9dbe3;
    font-size: 14px;
}
.audio-progress-input {
    width: 100%;
    height: 6px;
    border-radius: 8px;
    appearance: none;
    background: linear-gradient(to right, #ff675f var(--audio-progress, 0%), #292a2f var(--audio-progress, 0%));
    cursor: pointer;
}
.audio-progress-input::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-radius: 50%;
    appearance: none;
    background-color: #ff675f;
}
.audio-progress-input::-moz-range-thumb {
    width: 13px;
    height: 13px;
    border: 2px solid white;
    border-radius: 50%;
    background-color: #ff675f;
}
.audio-track-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 92px;
    margin-top: 18px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ff675f #17181f;
}
.audio-track-list::-webkit-scrollbar {
    width: 6px;
}
.audio-track-list::-webkit-scrollbar-track {
    background-color: #17181f;
    border-radius: 8px;
}
.audio-track-list::-webkit-scrollbar-thumb {
    background-color: #ff675f;
    border-radius: 8px;
}
.audio-track-option {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #292a2f;
    border-radius: 8px;
    background-color: #17181f;
    color: white;
    font-family: "Alef", cursive;
    font-size: 14px;
    cursor: pointer;
}
.audio-track-option.active {
    border-color: #ff675f;
    background-color: #3a2325;
}
.audio-youtube-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: 14px;
    padding: 8px 12px;
    border: 1px solid #292a2f;
    border-radius: 8px;
    color: white;
    font-size: 14px;
}
.vk-music-player {
    background-color: #111216;
    filter: brightness(0.88) contrast(1.05) saturate(0.9);
}
.vk-music-icon {
    display: none;
}
.vk-player-wrap {
    position: relative;
    width: min(980px, 100%);
    margin: 20px auto 0;
}
.vk-listen-mask {
    position: absolute;
    top: 70px;
    left: 165px;
    right: 4px;
    z-index: 2;
    height: 20px;
    background-color: #e5e5e5;
    pointer-events: none;
}
.vk-music-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.vk-music-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #292a2f;
    border-radius: 8px;
    background-color: #17181f;
    color: white;
    font-family: "Alef", cursive;
    font-size: 15px;
    transition: 0.25s;
}
.vk-music-link:hover,
.vk-music-link:focus {
    outline: none;
    border-color: #ff675f;
    background-color: #292a2f;
}
.flex3{
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}
.player-yandex {
    position: relative;
    bottom: 107px;
    display: flex;
    margin-top: 30px;
    border: none;
    border-radius: 15px;
}
.player-yandex2 {
    display: flex;
    margin-top: 30px;
    border: none;
    border-radius: 15px;
}
.youtube-video {
    margin-top: 80px;
    text-align: center;
}
.title-video-player {
    text-align: center;
    font-size: 45px;
    font-family: "Pacifico", cursive;
}
.youtube-carousel {
    display: grid;
    grid-template-columns: 48px minmax(0, 560px) 48px;
    gap: 18px;
    align-items: center;
    justify-content: center;
    margin: 25px 20px 0;
}
.youtube-arrow {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 8px;
    background-color: #292a2f;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
}
.youtube-arrow:hover {
    background-color: #ff675f;
}
.player-youtube {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 0 auto;
    border: none;
    border-radius: 15px;
}
.youtube-select-wrap {
    position: relative;
    width: min(420px, calc(100% - 40px));
    margin: 24px auto 0;
}
.youtube-select-label {
    margin-bottom: 8px;
    font-family: "Alef", cursive;
    font-size: 17px;
}
.youtube-select-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 2px solid #292a2f;
    border-radius: 8px;
    background-color: #17181f;
    color: white;
    font-family: "Alef", cursive;
    font-size: 16px;
    cursor: pointer;
}
.youtube-select-button:focus {
    outline: none;
    border-color: #ff675f;
}
.youtube-select-chevron {
    margin-left: 12px;
    font-size: 13px;
}
.youtube-select-list {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 8px);
    z-index: 30;
    max-height: 260px;
    border: 1px solid #292a2f;
    border-radius: 8px;
    background-color: #111216;
    overflow-y: auto;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    scrollbar-width: thin;
    scrollbar-color: #ff675f #17181f;
}
.youtube-select-list::-webkit-scrollbar {
    width: 6px;
}
.youtube-select-list::-webkit-scrollbar-track {
    background-color: #17181f;
    border-radius: 8px;
}
.youtube-select-list::-webkit-scrollbar-thumb {
    background-color: #ff675f;
    border-radius: 8px;
}
.youtube-select-list[hidden] {
    display: none;
}
.player-select-list {
    top: calc(100% + 8px);
    bottom: auto;
    max-height: 180px;
}
.youtube-select-option {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: center;
}
.player-select-option {
    grid-template-columns: minmax(0, 1fr);
}
.youtube-select-option.active {
    background-color: #1f3151;
}
.youtube-option-button {
    min-height: 42px;
    padding: 0 12px;
    border: none;
    background-color: transparent;
    color: white;
    font-family: "Alef", cursive;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
}
.youtube-option-button:hover,
.youtube-info-button:hover {
    background-color: #292a2f;
}
.youtube-info {
    position: relative;
}
.youtube-info-button {
    width: 42px;
    height: 42px;
    border: 2px solid #292a2f;
    border-radius: 0;
    background-color: transparent;
    color: white;
    font-family: "Alef", cursive;
    font-size: 18px;
    cursor: pointer;
}
.youtube-info-button:hover,
.youtube-info-button:focus {
    border-color: #ff675f;
    outline: none;
}
.youtube-select-hint {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    z-index: 20;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    width: 280px;
    padding: 8px;
    border: 1px solid #292a2f;
    border-radius: 8px;
    background-color: #111216;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(6px);
    transition: 0.2s;
}
.youtube-info:hover .youtube-select-hint,
.youtube-info:focus-within .youtube-select-hint {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}
.youtube-select-hint img {
    display: block;
    width: 82px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
}
.youtube-select-hint span {
    color: white;
    font-family: "Alef", cursive;
    font-size: 15px;
    text-align: left;
    overflow-wrap: anywhere;
}
.space {
    margin-top: 70px;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
}
.social-networks {
    color: white;
    font-family: "Pacifico";
    font-size: 18px;
    display: flex;
    align-items: center; /* Vertically center items */
    justify-content: center; /* Horizontally center items */ /*Optional, if you want to center horizontally*/
    flex-direction: column; /* Arrange items vertically */
    margin-top: 10px;
}
.image-container {
    margin: 10px 0; /* Add some spacing around the image */
}
hr {
    border-top: 1px solid #ccc; /* Add a solid top border */
    border-radius: 85% 85% 85% 85%;
    margin-top: 20px; /* Add some margin above the line */
    margin-bottom: 10px; /* Add some margin below the line */
}
