@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/*Montserrat*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Tamil:wght@100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
}

a{
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    color: blue;
    font-weight: 700;
}

li{
    font-family: "Montserrat", sans-serif;
    list-style: none;
}

html{
    font-size: 14px;
}

body{
    width: 100vw;
    min-height: 100vh;
    position: relative;
}

/* Preloader container */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Spinner animation */
.spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #ddd;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

nav{
    width: 100%;
    background: #002569;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
    height: 80px;
    padding: 30px 10%;
}
.repsponsive-nav-links{
    opacity: 0;
    overflow: hidden;
}
.logo{
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.logo p{
    font-size: 20px;
    font-weight: 600;
}
.logo img{
    padding: 2px;
    width: 55px;
    height: 55px;
    margin-right: 20px;
    border-radius: 5px;
    background-color: #fff;
}
.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
    transition: all 0.3s ease-in-out;
}
.nav-links li a {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    transition: all 0.5s;
}
.nav-links li a:hover{
    color: orange;
}

.menu-toggle,
.menu-close {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

.title_page{
    display: flex;
    justify-content: center;
    align-items: center;
}

.h2textgrad{
    padding: 18px;
    text-align: center;
    font-size: 1.7rem;
    background: linear-gradient(90deg, #c64cff, #1d52a2);
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.lyrics-container{
    width: 100%;
    padding: 30px 10%;
    padding-top: 0;
}

.lyrics-set{
    width: 100%;
    background-color: #ffffff;
    border-radius: 20px;
}

.lyrics{
    width: 100%;
    padding: 20px;
    margin-top: 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 2px;
}
.lyrics a{
    color: #0050b9;
    font-size: 1.1rem;
    font-family: "Noto Sans Tamil", sans-serif;
    font-weight: 600;
    font-style: normal;
    transition: all 0.4s ease;
}

.lyrics a:hover{ color: orangered;}

/* Footer */
footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.social{
    width: 150px;
    height: 40px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social a{
    width: 30px;
    height: 30px;
    color: #ffffff;
    font-size: 1.5rem;
    transition: all 0.4s ease-in-out;
}

.social a:hover{
    color: rgb(12, 177, 199);
    font-size: 1.8rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    .menu-toggle {
        display: block;
    }
    .nav-links{
        display: none;
    }
    .repsponsive-nav-links {
        border-top: 2px solid orange;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        height: 300px;
        background-color: #000f92e5;
        backdrop-filter: blur(15px);
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        transition: all 0.3s ease;
    }

    .repsponsive-nav-links.active {
        max-height: 300px;
        opacity: 1;
        padding: 10px;
    }
        .repsponsive-nav-links li{
        text-align: center;
        padding: 15px;
        font-size: 15.5px;
    }

    .repsponsive-nav-links li a{
        font-family: "Poppins", sans-serif;
        padding: 5px;
        font-size: 15.5px;
        color: #ffffff;
        font-weight: 500;
    }
    
    .menu-close {
        display: block;
        align-self: flex-end;
        font-size: 24px;
        margin-bottom: 10px;
        color: #ccc;
    }

    .lyrics{
    width: 100%;
    padding: 20px;
    margin-top: 15px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    }

    .lyrics a{
        font-size: 14px;
    }
}


@media screen and (max-width: 400px){

    .logo img{
    padding: 2px;
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 5px;
    background-color: #fff;
    }

    .logo p{
        font-size: 19px;
        font-weight: 600;
    }
}