/* Google Font Import - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    /* ===== Colors ===== */
    --body-color: #18191a;
    --sidebar-color: #242526;
    --primary-color: #3a3b3c;
    --primary-color-light: #3a3b3c;
    --progress-color: #666;
    --toggle-color: #fff;
    --text-color: #ccc;
}

body {
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: var(--body-color);
}

.logo {
    color: var(--text-color);
    cursor: pointer;
}

nav {
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--primary-color);
    border-radius: 0 0 21px 21px;
    position: relative;
    height: 70px;
}

nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav ul li {
    list-style-type: none;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
}

.menu-icon {
    display: none;
}

.menu-icon i {
    color: var(--toggle-color);
    font-size: 30px;
}

.link:hover {
    border-bottom: 2px solid var(--progress-color);
}

#active {
    border-bottom: 2px solid var(--progress-color);
}


@media (max-width:600px) {
    nav ul {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        text-align: center;
        background: var(--primary-color);
        gap: 0;
        border-radius: 24px;
        z-index: 1000;
        overflow: hidden;
    }

    nav ul li {
        padding: 20px;
    }

    .menu-icon {
        display: block;
    }

    #menuList {
        transition: all .5s;
    }
}

/* Card Start */

.card-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 100px;
}

.card{
    width: 325px;
    background-color: var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
    margin: 20px;
}

.card-up{
    width: 426px;
    /* background-color: var(--primary-color); */
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
    margin: 20px;
}

/* .card img{
    width: 100%;
    height: auto;
} */

.card-content{
    padding: 16px;
}

.card-content h3{
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.card-content p{
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.3;
}

.card-content .btn{
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--progress-color);
    text-decoration: none;
    border-radius: 50px;
    margin-top: 16px;
    transition: all .3s ease;
    color: var(--text-color);
}

.card-content .btn:hover{
    color: var(--primary-color);
    background-color: var(--text-color);
}

/* Card End */

.text {
    display: flex;
    flex-direction: column;
    height: 150px;
    margin-top: 50px;
}

@font-face {
    font-family: myfonts;
    src: url(Glirock-Regular.otf);
}

.apphead {
    font-size: 63px;
    font-family: myfonts;
    font-weight: lighter;
    text-transform: uppercase;
    text-align: center;
    background: linear-gradient(#ccc, #666);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subapphead {
    text-decoration: none;
    font-size: 18px;
    font-weight: normal;
    text-align: center;
    color: var(--text-color);
}

.des {
    text-align: center;
    color: var(--text-color);
    font-size: 15px;
    font-style: italic;
}

/* Audio Plyer Start */

.audio-player {
    background: var(--primary-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 10px rgba(255, 255, 255, 0.5);
    text-align: center;
    width: 400px;
}

.audio-player h2 {
    margin: 0;
    font-size: 24px;
    color: var(--text-color);
}

.subtitle-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.audio-player h3 {
    margin: 5px 0 20px;
    font-size: 18px;
    color: var(--progress-color);
    display: inline-block;
    animation: moveSubtitle 10s linear infinite;
}

@keyframes moveSubtitle {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.timeline-container {
    margin-top: 20px;
    width: 100%;
}

.timeline {
    background: var(--toggle-color);
    height: 10px;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
}

.progress {
    background: var(--progress-color);
    height: 100%;
    width: 0;
    border-radius: 5px;
    position: absolute;
    top: 0;
    left: 0;
}

.controls {
    margin-top: 20px;
}

button {
    background: var(--sidebar-color);
    border-radius: 10px;
    text-align: center;
    border: none;
    padding: 10px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 26px;
    color: var(--toggle-color);
}

button:hover {
    color: var(--text-color);
}

.audio-list-container {
    margin-top: 20px;
    max-height: 150px;
    /* Adjust the height for scrollbar */
    overflow-y: auto;
}

#audio-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#audio-list li {
    padding: 10px;
    border-radius: 20px;
    cursor: pointer;
    color: var(--text-color);
}

#audio-list li:hover {
    background-color: var(--progress-color);
}

/* Audio Plyer End */

/* Footer Start */

.Fcontainer {
    max-width: 1170px;
    margin: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

ul {
    list-style-type: none;
}

.footer {
    background-color: var(--primary-color);
    padding: 70px 0;
    border-radius: 21px 21px 0 0;
}

.footer-col {
    width: 25%;
    padding: 0 15px;
}

.footer-col h4 {
    font-size: 18px;
    color: var(--text-color);
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: var(--progress-color);
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    text-transform: capitalize;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 300;
    display: block;
    transition: all .3s ease;
}

.footer-col ul li a:hover {
    padding-left: 8px;
}

.footer-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: var(--progress-color);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: var(--text-color);
    transition: all .5s ease;
}

.footer-col .social-links a:hover {
    color: var(--progress-color);
    background-color: var(--text-color);
}

@media(max-width: 767px) {
    .footer-col{
        width: 50%;
        margin-bottom: 30px;
    }
}

@media(max-width: 767px) {
    .footer-col{
        width: 100%;
    }
}

/* Footer End  */

/* Custom Scrollbar */

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background-color: var(--primary-color-light);
}

::-webkit-scrollbar-thumb {
    background-color: var(--text-color);
    border-radius: 10px;
    cursor: pointer;
}

/* Custom Scrollbar */

@media screen and (max-width: 600px) {

    .apphead {
        margin-top: 72px;
        font-size: 2.5rem;
        font-weight: 800;
        text-transform: uppercase;
        text-align: center;
        color: var(--text-color);
    }

    .subapphead {
        margin-left: 18px;
        margin-right: 18px;
        text-decoration: none;
        font-size: 12px;
        font-weight: normal;
        text-align: center;
        color: var(--text-color);
    }

    .des{
        margin-top: 5px;
    }

    .audio-player {
        background: var(--primary-color);
        top: 10px;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 6px 10px rgba(255, 255, 255, 0.5);
        text-align: center;
        width: 280px;
    }

    button {
        background: var(--sidebar-color);
        border-radius: 10px;
        text-align: center;
        border: none;
        padding: 10px;
        margin: 8 9px;
        cursor: pointer;
        font-size: 16px;
        color: var(--toggle-color);
    }

    #volume-down {
        display: none;
    }

    #volume-up {
        display: none;
    }
}