* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    line-height: 1.5;
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    text-align: center;
}

a {
    color: #00bfff;
    text-decoration: none;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 12% 0 1.5% 0;
    box-sizing: border-box;
}

.logo img {
    max-width: 60%; 
    height: auto; 
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 calc(max(((100% - 300px) / (600 - 300) * 125), 0px));
    height: 60px; 
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 3.5px;
    padding: 1px 8px 1px 4px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-item .emoji {
    font-size: 24px;
    line-height: 1.4;
}

.menu-item .text {
    font-size: 21px;
    line-height: 1.0;
}

.menu-item:hover {
    background-color: #fff; 
    color: #000;
}

.links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px calc(max(((100% - 300px) / (600 - 300) * 135), 0px)) 0;
    height: 55px; 
}

.link-item {
    padding: 0px 8px 0px 4px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
}

.link-item:nth-child(1) {
    color: rgb(230, 0, 0);
}

.link-item:nth-child(2) {
    color: rgb(243, 0, 203);
}

.link-item:nth-child(3) {
    color: rgb(0, 225, 233);
}

.link-item:nth-child(4) {
    color: rgb(4, 0, 233);
}

.link-item:hover {
    text-decoration: underline;
}

.mail {
    text-align: center;
    font-size: 17px;
    padding: 1px 0 40px 0;
}

.mail a {
    color: rgb(218, 218, 218);
    transition: color 0.3s ease;
}

.mail a:hover {
    color: rgb(255, 255, 255);
}

/***********************************************************************/
/***********************************************************************/
/***********************************************************************/

.help-note {
    color: rgb(199, 199, 199);
    text-align: center; 
    font-size: 17px;
    padding: 10px 0 0px 0;
}

.help-table {
    border-collapse: collapse;
    border: none;
    width: 100%;
    table-layout: fixed;
    margin: 0 auto;
}

.help-table td {
    border: 4px solid rgb(107, 107, 107);
    padding: 7px;
    text-align: left; 
    color: white;
    font-size: 16px;
    overflow: hidden
}

.help-table td:nth-child(1) {
    width: 30%; 
}

.help-table td:nth-child(2) {
    max-width: 200px; 
    word-wrap: break-word;
}

.help-table a:hover {
    text-decoration: underline;
}

tr:nth-child(1) td:nth-child(2) {
    color: #00bfff;
}

tr:nth-child(5) td:nth-child(2) {
    color: #00bfff;
}

/***********************************************************************/
/***********************************************************************/
/***********************************************************************/

.music-note {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
    margin: 0 0 10px;
}

.music-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 20px;
}

.music-item:hover {
    text-decoration: underline;
}

.music-item:nth-child(1) {
    color: #30BC59;
}

.music-item:nth-child(2) {
    color: #FB3F59;
}

.music-table {
    width: 95%;
    table-layout: fixed; 
    border-collapse: collapse;
    border: none;
    margin: 0 auto;
}

.music-table td {
    position: relative;
    overflow: hidden;
    border: 4px solid rgb(0, 0, 0);
    padding: 5px;
}

.music-table td img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.music-table td img:hover {
    transform: scale(1.1);
}

.music-show {
    display: block;
    width: fit-content;
    text-align: center; 
    font-size: 17px;
    padding: 0px 10px 0px;
    margin: 10px auto -5px; 
    color: rgb(190, 190, 190);
    transition: color 0.3s ease;
}

.music-show:hover {
    color: #dadada;
}

input[type="checkbox"] {
    display: none;
}
input[type="checkbox"]:checked ~ .music-tracks {
    display: table;
}
label::after {
    content: "▼ Show tracks"; 
}
input[type="checkbox"]:checked ~ label::after {
    content: "▲ Hide tracks"; 
}
  
.music-tracks {
    display: none;
    border-collapse: collapse;
    border: none;
    width: 80%;
    margin: 10px auto 0;
    table-layout: fixed;
}

.music-tracks td {
    border: 4px solid rgb(107, 107, 107);
    padding: 7px;
    color: white;
    font-size: 16px;
    overflow: hidden;
}

.music-tracks td:nth-child(1) {
    width: 48px; 
    text-align: center; 
}

.music-tracks td:nth-child(2) {
    word-wrap: break-word;
    text-align: left; 
}

.music-tracks a {
    color: rgb(255, 255, 255);
}

.music-tracks a:hover {
    text-decoration: underline;
}

#A1 td {
    border: 4px solid rgb(104, 104, 104);
}
#A2 td {
    border: 4px solid rgb(66, 107, 59);
}
#A3 td {
    border: 4px solid rgb(98, 64, 112);
}
#A4 td {
    border: 4px solid rgb(42, 79, 88);
}
#A5 td {
    border: 4px solid rgb(80, 79, 40);
}
#A6 td {
    border: 4px solid rgb(82, 82, 82);
}
#A7 td {
    border: 4px solid rgb(102, 35, 35);
}
#A8 td {
    border: 4px solid rgb(65, 65, 65);
}
#A9 td {
    border: 4px solid rgb(87, 44, 64);
}
#A10 td {
    border: 4px solid rgb(63, 77, 53);
}
#A11 td {
    border: 4px solid rgb(88, 59, 41);
}
#A12 td {
    border: 4px solid rgb(46, 46, 46);
}

/***********************************************************************/
/***********************************************************************/
/***********************************************************************/

.link-table {
    border-collapse: collapse;
    border: none;
    width: 290px;
    margin: 5px auto 0;
    table-layout: fixed;
}

.link-table td {
    border: 4px solid rgb(107, 107, 107);
    padding: 8px;
    vertical-align: middle; 
    color: white;
    font-size: 16px;
    overflow: hidden;
}

.link-table span {
    float: left;
    line-height: 40px;
    color: white;
    font-size: 17.0px;
    overflow: hidden;
    padding: 0px 0px 0px 4px;
}

.link-table a {
    float: right;
    color: white;
    font-size: 17px;
    display: block; 
    padding: 8px 20px;
    background-color: #1cbb5e; /* Цвет фона */
    text-align: center; 
    text-decoration: none; 
    font-size: 16px;
    border-radius: 4px; 
}

.link-table td:nth-child(1) {
    width: 30%; 
}

.link-table td:nth-child(2) {
    word-wrap: break-word;
}

/***********************************************************************/
/***********************************************************************/
/***********************************************************************/

@media (max-width: 320px) {
    body {
        padding: 0 4vw;
    }
    .menu {
        height: 19vw; 
    }
    .menu-item {
        display: flex;
        align-items: center;
        gap: 3.5px;
        padding: 0px 8px 0px 4px;
        background-color: #000;
        color: #fff;
        text-decoration: none;
        transition: background-color 0.3s ease, color 0.3s ease;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .menu-item .emoji {
        font-size: 6.6vw;
    }
    .menu-item .text {
        font-size: 5.8vw;
    }
    .links {
        height: 18vw; 
    }
    .link-item {
        font-size: 4.8vw;
        padding: 0vw;
    }
    .mail {
        font-size: 5.2vw;
    }
    .music-table td {
        padding: 1vw;
    }
    .music-item {
        font-size: 6.0vw;
    }
    .music-show {
        padding: 0vw 15vw;
        font-size: 5.0vw;
    }
    .link-table {
        width: 100%;
    }
    .link-table span {
        font-size: 5.0vw;
        line-height: 13.5vw;
    }
    .link-table a {
        font-size: 5.0vw;
    }
    .help-table td {
        font-size: 5.0vw;
    }
    .music-tracks td {
        font-size: 5.0vw;
    }
    .help-table td {
        font-size: 5.0vw;
    }
    .help-note {
        font-size: 5.0vw;
    }
    .music-tracks td:nth-child(1) {
        width: 15vw; 
    }
    
}