@font-face {
    font-family: TildaSans; /* Имя шрифта */
    src: url(Assets/ttf/TildaSans-VF.ttf); /* Путь к файлу со шрифтом */
   }

/* font-family: 'Shrikhand', cursive; */
/* Адаптация для планшетов и мобильных устройств */
@media screen and (max-width: 1024px) {
    .headertext {
        font-size: 28px; /* Уменьшаем размер заголовков */
    }

    .clipname {
        font-size: 22px;
    }

    .rateheader {
        margin-top: -80px; /* Регулируем отступы для более компактного вида */
    }

    .top {
        left: 50%; /* Коррекция позиции навигации */
    }

    .logo-container {
        top: 10%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .socmenu {
        top: 8%;
        left: 70%;
    }

    .pagebutton,
    .pagebutton1 {
        margin-top: 20px;
    }

    .aboutgrid {
        padding: 2.5rem 40px; /* Уменьшаем отступы для блока "О нас" */
    }
}

/* Адаптация для мобильных устройств (ширина меньше 600px) */
@media screen and (max-width: 600px) {
    .headertext {
        font-size: 22px;
    }

    .clipname {
        font-size: 18px;
    }

    .rateheader {
        margin-top: -50px;
    }

    .top {
        grid-template-columns: repeat(3, 1fr); /* Сужаем сетку */
    }

    .socmenu {
        left: 60%; /* Корректируем положение соц. иконок */
        top: 6%;
    }

    .logo-container {
        top: 8%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 10%;
    }

    .aboutgrid {
        padding: 1.5rem 20px; /* Уменьшаем отступы для компактности */
    }

    .about--headertext {
        font-size: 3rem; /* Уменьшаем размер заголовка "О нас" */
    }

    .aboutus {
        font-size: 1rem;
    }
}

body {
  overflow: overlay;
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(1, 1, 1, 0.3);
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0);
}

* {
    margin: 0;
    padding: 0;
    border: 0;
}


*, ::before ::after {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    line-height: 1.45;
    text-size-adjust: 100%;
}

div {
    display: block;
}

.top {
    position: absolute;
    display: grid;
    -webkit-box-pack: center;
    justify-content: center;
    grid-template-columns: [grid-start] repeat(3, minmax(104px, 44px)) [center-start] repeat(6, minmax(55px, 44px)) [center-end] repeat(3, minmax(14px, 44px)) [grid-end];
    gap: 40px 60px;
    padding: 30px 30px 0px 30px;
    top: 11.1%;
    left: 54%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

@media screen and (max-width: 1529px) {
.top {
    position: relative;
    left: 0;
    }

    .pagebutton1 {
        display: block;
    }

}

.links {
    grid-column: grid-start / grid-end;
    display: flex;
    -webkit-box-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    align-items: center;
    flex-direction: row;
}

.link {
    display: flex;
    margin-right: 35px;
    font-family: TildaSans;
    font-weight: 700;
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    transition: 0.5s ease;
}

.link:hover {
    font-weight: 900;
    letter-spacing: 3px;
}


.socmenu {
    display: flex;
    position: absolute;
    left: 74%;
    top: 11%;
    z-index: 3;
}

.end {
    border-top: 1px solid black;
    padding: 30px;
    display: grid;
    -webkit-box-pack: center;
    justify-content: center;
    gap: 40px 60px;
}

.socmenuend {
    margin-top: 10px;
    display: flex;
}

.endtext {
    margin-left: 30px;
    display: flex;
    -webkit-box-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    align-items: center;
    font-family: TildaSans;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: -8px;
    color: darkgray;
    text-transform: uppercase;
}

.a {
    text-decoration: none;
    text-decoration-color: darkgray;
}

.soc {
    margin-left: 15px;
    filter: opacity(70%);
    transition: 0.5s ease;
}

.soc:hover {
    filter: opacity(100%);
}


.logo-container {
    display: flex;
    position: absolute;
    top: 12%;
    left: 51%;
    transform: translate(-50%, -50%);
    width: 7 %;
    height: 7%;
    transition: 0.5s ease;
}



.video-bg {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.video {
    filter: brightness(70%);
}

.video-bg video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

}
.video-bg__content {
    z-index: 1;
    color: #ffffff;
}

.heed {
    padding: 4.5rem 60px;
    margin-bottom: -80vh;
}

.header {
    grid-column: grid-start / 11;
}

.headergrid {
    display: grid;
    -webkit-box-pack: center;
    justify-content: center;
    grid-template-columns: [grid-start] repeat(3, minmax(14px, 44px)) [center-start] repeat(6, minmax(14px, 44px)) [center-end] repeat(3, minmax(14px, 44px)) [grid-end];
    gap: 40px 60px;
    padding: 30px 30px 0px 30px;
    border-top: 2px solid white;
    
}

.headertext {
    color: white;
    font-size: 40px;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -3px;
    text-align: left;
    font-family: TildaSans;
}

.clipname {
    color: white;
    display: flex;
    grid-column: span 3 / auto;
    font-weight: 500;
    overflow-wrap: break-word;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    grid-column-end: auto;
    font-family: TildaSans;
}

.rateheader {
    grid-column: span 12 / auto;
    display: flex;
    -webkit-box-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    align-items: center;
    margin-top: -160px;
}

.headerratetext {
    color: white;
    font-size: 60px;
    overflow-wrap: break-word;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: Shrikhand;
    font-weight: 900;
    padding: 3px;
}

.chartsongs {
    grid-column: grid-start / grid-end;
}

.topsongs {
    padding: 4.5rem 60px;
    background-color: rgb(255, 255, 255);
}

.chartgrid {
    display: grid;
    -webkit-box-pack: center;
    justify-content: center;
    grid-template-columns: [grid-start] repeat(3, minmax(14px, 44px)) [center-start] repeat(6, minmax(14px, 44px)) [center-end] repeat(3, minmax(14px, 44px)) [grid-end];
    gap: 40px 60px;
}

.chartheader {
    grid-column: grid-start / grid-end;
    display: flex;
    -webkit-box-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    align-items: center;
    flex-direction: row;
}

.chart--headertext {
    color: rgb(0, 0, 0);
    font-size: 5rem;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1;
    letter-spacing: -3px;
    text-align: left;
    font-family: TildaSans;
    font-weight: 900;
}

.album {
    flex-shrink: 0;
    margin-bottom: -3px;
}

.song {
    display: grid;
    -webkit-box-pack: center;
    justify-content: center;
    grid-template-columns: [grid-start] repeat(3, minmax(14px, 44px)) [center-start] repeat(6, minmax(14px, 44px)) [center-end] repeat(3, minmax(14px, 44px)) [grid-end];
    gap: 40px 60px;
    color: inherit;
    width: 100%;
    -webkit-box-align: center;
    align-items: center;
    grid-auto-rows: minmax(75px, auto);
    border-bottom: 0.15rem solid rgb(233, 233, 233);
    font-size: 1.5rem;
    transition: 0.2s ease;
    transition-delay: 0.15s;
    margin-bottom: 15px;
}

.1song:hover {
    font-size: 1.55rem;
    margin-bottom: 14px;
}

.song:hover {
    letter-spacing: 1.1px;
    transition: 0.3s ease;
    transition-delay: 0.1s;
}

.intro {
    grid-column: span 5 / auto;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}

.songname {
    margin-left: 30px;
    display: flex;
    -webkit-box-align: baseline;
    align-items: baseline;
    overflow: hidden;
}

.nametext {
    overflow-wrap: break-word;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 0.5rem;
    font-family: TildaSans;
    font-weight: 700;
}

.releasetypediv {
    position: relative;
    top: -2px;
}

.releasetype {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgb(154, 154, 154);
    font-family: TildaSans;
}

.releasename {
    grid-column: span 4 / auto;
    font-weight: 400;
    overflow-wrap: break-word;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: TildaSans;
}

.rate {
    grid-column: span 3 / auto;
    display: flex;
    -webkit-box-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    align-items: center;
}

.svgrate {
    width: 1rem;
    margin-right: 0.5rem;
    position: relative;
    top: 1px;
    flex-shrink: 0;
    fill: orangered;
}

.ratetext {
    font-size: 30px;
    overflow-wrap: break-word;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 0.5rem;
    font-family: Shrikhand;
    font-weight: 900;
    padding: 2px;
}

.pagebutton {
    margin-top: 50px;
    grid-column: center-start / center-end;
    text-align: center;
}

.pagebutton1 {
    margin-top: 0px;
    grid-column: center-start / center-end;
    text-align: center;
    display: none;
}

@media screen and (max-width: 1529px) {
    .pagebutton1 {
        display: block;
        margin-top: -30px;
    }
}

.button {
    border-color: rgb(0, 0, 0);
    color: rgb(0, 0, 0);
    overflow-wrap: break-word;
    word-break: break-word;
    transition: background-color 0.1s ease 0s, color 0.1s ease 0s;
    background-color: transparent;
    border-width: 2px;
    border-style: solid;
    border-radius: 0px;
    cursor: pointer;
    display: inline-block;
    font-family: Programme, Arial, sans-serif;
    font-size: 0.875rem;
    line-height: 1;
    margin: 0px;
    text-align: center;
    padding: 0.75rem 1.313rem;
    vertical-align: top;
    user-select: none;
    appearance: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: 0.5s ease;
    
}

.button:hover {
    color: white;
    background: black;
}

.aboutgrid {
    padding: 3.5rem 360px;
    display: grid;
    -webkit-box-pack: center;
    justify-content: center;
    grid-template-columns: [grid-start] repeat(3, minmax(14px, 44px)) [center-start] repeat(6, minmax(14px, 44px)) [center-end] repeat(3, minmax(14px, 44px)) [grid-end];
    gap: 40px 60px;
}

.cfmfxcpic {
    display: flex;
}

.aboutheader {
    grid-column: span 4 / auto;
    display: flex;
    -webkit-box-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    align-items: center;
    flex-direction: row;
}

.about--headertext {
    color: rgb(0, 0, 0);
    font-size: 4rem;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1;
    letter-spacing: -3px;
    text-align: left;
    font-family: TildaSans;
    font-weight: 900;
}

.aboutus {
    grid-column: span 8 / auto;
    display: flex;
    -webkit-box-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    align-items: center;
    font-family: TildaSans;
    font-weight: 600;
    font-size: 1.5rem;
}