*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}
:root{
    --bg-color: #080808;
    --second-bg-color: #131313;
    --text-color: white;
    --main-color: #5eee89;
}



html{
    font-size: 60%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body{
    background-color: var(--bg-color);
    color: var(--text-color);
}
.header{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 4rem 12% 4rem;
    background-color: black;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}
.logo{
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
}
.logo:hover{
    transform: scale(1.1);
}
.logo span{
    text-shadow:  0 0 25px var(--main-color);
}
.navbar{
    padding-left: 19rem;
}
.navbar a{
    font-size: 1.8rem;
    color: var(--text-color);
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}
.navbar a:hover,
.navbar a:active,
.navbar a.active{
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}
#menu-icon{
    font-size: 3.6rem;
    color: var(--main-color);
    display:none
}
section{
    min-height: 100vh;
    padding: 10rem 12% 10rem;
    
}
.home{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15rem;
}
.home-content{
    display:flex;
    flex-direction: column;
    align-items: baseline;
    text-align: left;
    justify-content: center;
    margin-top: 3rem;
}
span{
    color: var(--main-color);
}
.logo span{
    color: var(--main-color);
}
.home-content h3{
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-size: 3.5rem;
}
.home-content h1{
    font-size: 6rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
}
.home-img{
    border-radius: 50%;
}
.home-img img{
    position: relative;
    left: 3rem;
    top: 3rem;
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.home-img img:hover{
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color),
                0 0 100px var(--main-color);
    transform: scale(1.1);
}
.home-content p{
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
    max-width: 1000px;
}
.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    border: 2px solid var(--main-color);
    font-size: 2.5rem;
    border-radius: 50%;
    color: var(--text-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: 0..3s ease-in-out;
}
.social-icons a:hover{
    color: var(--text-color);
    transform: scale(1.3)translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
}
.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    color: black;
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}
.btn:hover{
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--main-color);
}
.btn-group{
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.btn-group a:nth-of-type(2){
    background-color: black;
    border: 2px solid var(--main-color);
    color: var(--main-color);
    box-shadow: 0 0 25px transparent;
}
.btn-group a:nth-of-type(2):hover{
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
    color: black;
    transform: scale(1.1);

}
/* .text-animation{
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}
.text-animation span{
    position: relative;
}
.text-animation span::before{
    content: "Software Developer";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--main-color);
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    animation: words 20s infinite;
}
.text-animation span::after{
    content: "Web Developer";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--main-color);
    bottom: 0;
    right: 0;
    transform: scaleX(0);
    transform-origin: left;
    animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
}

@keyframes cursor{
    to{
        border-left: 2px solid var(--main-color);
    }
}

@keyframes words{
    0%,
    20%{
        content: "Web Developer";
    }
    21%,
    40%{
        content: "Software Developer";
    }
}

@keyframes typing {
    10%,
    20%{
        width: 0;
    }
    30%,
    40%{
        width: calc(100% + 8px);
    }
    50%,
    60%,
    70%,
    80%,
    90%,
    95%{
        width: 0;
    }
    5%,
    20%,
    25%,
    40%,
    45%,
    60%,
    65%,
    80%,
    85%{
        width: calc(100% + 8px);
    }
} */

/* Mobile Styles */
@media (max-width: 768px) {
    html {
        font-size: 50%;
    }

    .header {
        flex-direction: column;
        padding: 2rem 5%;
    }

    .navbar {
        display: none; /* Hide navbar for now or use a burger menu */
    }

    #menu-icon {
        display: block;
    }

    .home {
        flex-direction: column;
        gap: 3rem;
    }

    .home-img img {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 55vw; /* Adjust image size for mobile */
        margin-left: 3rem;
    }

    .home-content h1 {
        font-size: 4rem;
    }

    .home-content h3 {
        font-size: 2.5rem;
    }

    section {
        padding: 5rem 5% 5rem;
    }

    .btn {
        font-size: 1.4rem;
        padding: 1rem 2rem;
    }

    .social-icons a {
        width: 4rem;
        height: 4rem;
        font-size: 2rem;
    }

}

@media (max-width: 480px) {
    html {
        font-size: 45%;
    }

    .header {
        padding: 2rem 3%;
    }

    .home-content h1 {
        font-size: 3.5rem;
    }

    .home-content h3 {
        font-size: 2rem;
    }

    .home-img img {
        width: 70vw;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 6rem;
    }

    .btn {
        font-size: 1.2rem;
    }
}
.heading{
    font-size: 8rem;
    text-align: center;
    margin: 4rem 0;
}
.education{
    padding: 100px 15px; 
    background: var(--second-bg-color);
}
.education h2{
    margin-bottom: 5rem;
}
.timeline-items{
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}
.timeline-items::before{
    content: '';
    position: absolute;
    width: 5px;
    height: 100%;
    background-color: var(--main-color);
    left: calc(50% + 1px);
}
.timeline-item{
    margin-bottom: 1%;
    width: 100%;
    position: relative;
}
.timeline-item:last-child{
    margin-bottom: 0;
}
.timeline-item:nth-child(odd){
    padding-right: calc(50% + 30px);
    text-align: right;
}
.timeline-item:nth-child(even){
    padding-left: calc(50% + 30px);
}
.timeline-dot{
    height: 21px;
    width: 21px;
    background-color: var(--main-color);
    box-shadow: 0 0 25px var(--main-color),
                0 0 25px var(--main-color);
    position: absolute;
    left: calc(50% - 7px);
    border-radius: 50%;
    top: 10px;
}
.timeline-date{
    font-size: 20px;
    font-weight: 800;
    color: white;
    margin: 6px 0 15px;
}
.timeline-content{
    background-color: var(--bg-color);
    border: 3px solid var(--main-color);
    padding: 30px 50px;
    border-radius: 4rem;
    box-shadow: 0 0 5px var(--main-color);
    cursor: pointer;
    transition: ease-in-out 0.3s;
}
.timeline-content:hover{
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--main-color);
}
.timeline-content h3{
    font-size: 20px;
    color: white;
    margin: 0 0 10px;
    font-weight: 500;
}
.timeline-content p{
    color: white;
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
}

::-webkit-scrollbar{
    width: 8px;
}
::-webkit-scrollbar-thumb{
    background-color: var(--main-color);
}
::-webkit-scrollbar-track{
    background-color: var(--bg-color);
    width: 50px;
}
.services{
    background-color: var(--bg-color);
    color: black;
}
.services h2{
    margin-bottom: 5rem;
    color: white;
}
.services-container{
    display: grid;
    grid-template-columns: repeat(1,1fr);
    align-items: center;
    gap: 2.5rem;
}
.service-box{
    background-color: var(--main-color);
    height: 300px;
    margin: 10px;
    border-radius: 3rem;
    border: 5px solid transparent;
    cursor: pointer;
    transition: 0.4s ease-in-out;
}
.service-box:hover{
    background: white;
    color: black;
    border: 5px solid var(--main-color);
    transform: scale(1.05);
}
.service-box .service-info{
    display: flex;
    flex-direction: column;
    text-align: left;
    max-height: 200px;
    justify-content: left;
    align-items: baseline;
    padding: 20px;
}
.skills .heading{
    margin-bottom: 5rem;
    color: white;
}
.skills{
    background-color: var(--second-bg-color);
}
.skills-wrapper {
    display: flex;
    justify-content: space-between; /* Space out the boxes evenly */
    align-items: flex-start; /* Align items to the top */
    gap: 20px; /* Space between boxes */
    flex-wrap: nowrap; /* Prevent wrapping to multiple rows */
}
.skills-container {
    flex: 1; /* Equal width for each container */
    max-width: 300px; /* Set a maximum width */
    height: 250px; /* Set a maximum height */
    text-align: center;
    border: 1px solid trans;
    border-radius: 15px;
    padding: 20px;
    background-color: var(--main-color);
    transition: 0.3s ease-in-out;
}
.skills-container:hover{
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--main-color);
    border: solid 5px var(--main-color);
    border-radius: 15px;
    background-color: white;
}
.skills-info{
    color: black;
    line-height: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 2;
}
.contact{
    background-color: var(--second-bg-color);
    margin-bottom: 0;
    height: 50%;
}
.footer{
    margin-bottom: 0;
    margin-top: auto;
    position: relative;
    top: 100%;
    width: 100%;
    padding: 40px 0;    
}
#loom-companion-mv3 {
    display: none !important;
}
.footer .social{
    text-align: center;
    padding-bottom: 25px;
    color: var(--main-color);
}
.footer .social a{
    font-size: 25px;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    width: 42px;
    height: 42px;
    line-height: 42px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 10px;
    transition: 0.3s ease-in-out;
}
.footer .social a:hover{
    background-color: var(--main-color);
    color: black;
    transform: scale(1.2)translateY(-10px);
    box-shadow: 0 0 25px var(--main-color);
}
.footer ul{
    margin-top: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
}
.footer ul li a{
    color: white;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease-in-out;
}
.footer ul li a:hover{
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
    transform: scale(1.1);
}
.footer ul li{
    display: inline-block;
    margin: 0 10px;
}
.projects {
    text-align: center;
    padding: 2rem;
}

.projects .heading {
    color: white;
    margin-bottom: 1.5rem;
}

.project-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.projects-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.project-link{
    font-size: 16px;
    font-weight: 600;
    color: black;
    margin-bottom: 10px;
    display: inline-block;
}

.project-box {
    color: black;
    text-align: center;
    background-color: var(--main-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 90%;
    height: 600px;
    max-width: 1150px;
    transition: 0.3s ease-in-out;
}
.project-box:hover{
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--main-color);
}

.project-box h3 {
    font-size: 1.5rem;
    margin: 1rem 0 1rem 0;
}

.project-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
    grid-template-rows: repeat(2, 1fr); /* 2 rows */
    gap: 1rem; /* Space between images */
    width: 100%; /* Maximize width */
    border-radius: 15px;
}

.project-images img {
    width: 100%; /* Ensure image fills its cell */
    height: 240px; /* Fixed height */
    object-fit: cover; /* Maintain aspect ratio while filling space */
    border-radius: 10px;
    border: 2px solid transparent;
}
.Background__Overlay-sc-4lq1r6-2{
    border: 3px solid var(--main-color) !important;
    border-radius: 5px !important;
    box-shadow: 0 0 25px var(--main-color) !important;
    transition: 0.3s ease-in-out;
}

@media(max-width: 1285){
    html{
        font-size: 55%;
    }
    .services-container{
        padding-bottom: 7rem;
        grid-template-columns: repeat(2,1fr);
        margin: 0 5rem;
    }
}

@media(max-width: 991px){
    header{
        padding: 2rem 3%;
    }
    section{
        padding: 10rem 3% 2rem;
    }
    .timeline-items::before{
        left: 7px;
    }
    .timeline-item:nth-child(odd){
        padding-right: 0;
        text-align: left;
    }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even){
        padding-left: 37px;
    }
    .timeline-dot{
        left: 0;
    }

    .services{
        padding-bottom: 7rem;
    }
    
    .services .services-container{
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .services-container .services-box{
        flex: 1;
        max-width: 100%;
        width: 100%;
        min-height: 200px;
        text-align: center;
        border: 1px solid transparent;
        border-radius: 15px;
        padding: 20px;
        background-color: var(--main-color);
        transition: 0.3s ease-in-out;
        margin-bottom: 1.5rem;
    }

    .card {
        position: relative;
        width: 250px;
        height: 120px;
        background-color: var(--bg-color);
        border-radius: 10px;
        padding: 10px;
        left: 30%;
        bottom: 16px;
        transition: 0.3s ease-in-out;
    }
}

@media(max-width:895px){
    #menu-icon{
        display: block;
    }
    .navbar{
        position:absolute;
        top: 100%;
        right: 0;
        width: 50%;
        padding: 1rem 3%;
        background: black;
        backdrop-filter: blur(20px);
        border-bottom-left-radius: 2rem;
        border-left: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
        display: none;
    }
    .navbar.active{
        display: block;
    }
    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: white;
    }
    .home-content h3{
        font-size: 8rem;
        margin-top: 3rem;
    }
    .home-content h1{
        font-size: 10rem;
        margin-top: 3rem;
    }
    .home-content p{
        max-width: 600px;
        margin: 0 auto;
    }
    .home-img img{
        width: 56vw;
    }
    .services h2{
        margin-bottom: 3rem;
    }
    
    /* Fixed services layout */
    .services-container{
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-items: center;
    }

    .services-box{
        width: 100%;
        max-width: 400px;
        min-height: 200px;
        text-align: center;
        border: 1px solid transparent;
        border-radius: 15px;
        padding: 20px;
        background-color: var(--main-color);
        transition: 0.3s ease-in-out;
    }

    .card {
        position: relative;
        width: 250px;
        height: 120px;
        background-color: var(--bg-color);
        border-radius: 10px;
        padding: 10px;
        left: 30%;
        bottom: 16px;
        transition: 0.3s ease-in-out;
    }
}

/* Adjustments for tablets */
@media (max-width: 768px) {
    #menu-icon{
        display: block;
    }
    .navbar{
        position:absolute;
        top: 100%;
        right: 0;
        width: 50%;
        padding: 1rem 3%;
        background: black;
        backdrop-filter: blur(20px);
        border-bottom-left-radius: 2rem;
        border-left: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
        display: none;
    }
    .navbar.active{
        display: block;
    }
    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: white;
    }
    
    html {
        font-size: 50%;
    }

    .header {
        flex-direction: column;
        padding: 2rem 5%;
    }
    .home {
        flex-direction: column;
        gap: 3rem;
    }

    .home-img img {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 55vw;
        margin-left: 3rem;
    }

    .home-content h1 {
        font-size: 4rem;
    }

    .home-content h3 {
        font-size: 2.5rem;
    }

    section {
        padding: 5rem 5% 5rem;
    }

    .btn {
        font-size: 1.4rem;
        padding: 1rem 2rem;
    }

    .social-icons a {
        width: 4rem;
        height: 4rem;
        font-size: 2rem;
    }

    /* Fixed services layout for tablets */
    .services-container{
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-items: center;
    }

    .services-box{
        width: 100%;
        max-width: 350px;
        min-height: 150px;
        text-align: center;
        border: 1px solid transparent;
        border-radius: 15px;
        padding: 20px;
        background-color: var(--main-color);
        transition: 0.3s ease-in-out;
    }

    .card {
        position: relative;
        width: 250px;
        height: 120px;
        background-color: var(--bg-color);
        border-radius: 10px;
        padding: 10px;
        left: 30%;
        bottom: 16px;
        transition: 0.3s ease-in-out;
    }
}

/* Adjustments for mobile phones */
@media (max-width: 480px) {
    #menu-icon{
        display: block;
    }
    .navbar{
        position:absolute;
        top: 100%;
        right: 0;
        width: 50%;
        padding: 1rem 3%;
        background: black;
        backdrop-filter: blur(20px);
        border-bottom-left-radius: 2rem;
        border-left: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
        display: none;
    }
    .navbar.active{
        display: block;
    }
    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: white;
    }
    html {
        font-size: 45%;
    }
    
    .services {
        padding: 5rem 3% 5rem;
        min-height: auto;
        height: auto;
    }

    .header {
        padding: 2rem 3%;
    }

    .home-content h1 {
        font-size: 3.5rem;
    }

    .home-content h3 {
        font-size: 2rem;
    }

    .home-img img {
        width: 70vw;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 6rem;
    }

    .btn {
        font-size: 1.2rem;
    }

    .skills-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr);
        justify-content: center;
        align-items: center;
        margin-left: 3rem;
    }

    /* Fixed services layout for mobile */
    .services-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-items: center;
        margin-bottom: 0;
    }

    .services-box {
        width: 100%;
        max-width: 300px;
        min-height: 180px;
        text-align: center;
        border: 1px solid transparent;
        border-radius: 15px;
        padding: 15px;
        background-color: var(--main-color);
        transition: 0.3s ease-in-out;
        margin-bottom: 2rem;
    }

    .project-images {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
        max-width: 100%;
        padding: 20px;
        overflow: hidden;
    }
    .project-images img:nth-child(4) {
        display: none;
    }
    .project-images img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .card {
        position: relative;
        width: 250px;
        height: 120px;
        background-color: var(--bg-color);
        border-radius: 10px;
        padding: 10px;
        left: -10%;
        bottom: 16px;
        transition: 0.3s ease-in-out;
    }
}

/* From Uiverse.io by alexruix */ 
.loader {
    --cell-size: 10px;
    --cell-spacing: 1px;
    --cells: 3;
    --total-size: calc(var(--cells) * (var(--cell-size) + 2 * var(--cell-spacing)));
    display: flex;
    flex-wrap: wrap;
    width: var(--total-size);
    height: var(--total-size);
    position: relative;
  }
  
  .cell {
    flex: 0 0 var(--cell-size);
    margin: var(--cell-spacing);
    background-color: transparent;
    box-sizing: border-box;
    border-radius: 4px;
    animation: 1.5s ripple ease infinite;
  }
  
  .cell.d-1 {
    animation-delay: 100ms;
  }
  
  .cell.d-2 {
    animation-delay: 200ms;
  }
  
  .cell.d-3 {
    animation-delay: 300ms;
  }
  
  .cell.d-4 {
    animation-delay: 400ms;
  }
  
  .cell:nth-child(1) {
    --cell-color: #00FF87;
  }
  
  .cell:nth-child(2) {
    --cell-color: #0CFD95;
  }
  
  .cell:nth-child(3) {
    --cell-color: #17FBA2;
  }
  
  .cell:nth-child(4) {
    --cell-color: #23F9B2;
  }
  
  .cell:nth-child(5) {
    --cell-color: #30F7C3;
  }
  
  .cell:nth-child(6) {
    --cell-color: #3DF5D4;
  }
  
  .cell:nth-child(7) {
    --cell-color: #45F4DE;
  }
  
  .cell:nth-child(8) {
    --cell-color: #53F1F0;
  }
  
  .cell:nth-child(9) {
    --cell-color: #60EFFF;
  }
  
  /*Animation*/
  @keyframes ripple {
    0% {
      background-color: transparent;
    }
  
    30% {
      background-color: var(--cell-color);
    }
  
    60% {
      background-color: transparent;
    }
  
    100% {
      background-color: transparent;
    }
  }

  .loader:hover{
    transition: 0.2 ease-in-out;
    transform: scale(1.3);
  }



  /* From Uiverse.io by csozidev */ 
/* Spotify music card made by: csozi | Website: www.csozi.hu*/

.card {
    position: relative;
    width: 250px;
    height: 120px;
    background-color: var(--bg-color);
    border-radius: 10px;
    padding: 10px;
    left: 40%;
    bottom: 16px;
    transition: 0.3s ease-in-out;
  }
  
  .top {
    position: relative;
    width: 100%;
    display: flex;
    gap: 10px;
  }
  
  .pfp {
    position: relative;
    top: 5px;
    left: 5px;
    height: 40px;
    width: 40px;
    background-color: #d2d2d2;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .title-1 {
    color: white;
    font-size: 25px;
    font-weight: bolder;
  }
  
  .title-2 {
    color: white;
    font-size: 12px;
    font-weight: bold;
  }
  
  .time {
    width: 90%;
    background-color: #5e5e5e;
    height: 6px;
    border-radius: 3px;
    position: absolute;
    left: 5%;
    bottom: 22px;
  }
  
  .elapsed {
    width: 42%;
    background-color: #1db954;
    height: 100%;
    border-radius: 3px;
  }
  
  .controls {
    color: white;
    display: flex;
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    justify-content: center;
  }
  
  .volume {
    height: 100%;
    width: 48px;
  }
  
  .air {
    height: 100%;
    width: 48px;
  }
  
  .controls svg {
    cursor: pointer;
    transition: 0.1s;
  }
  
  .controls svg:hover {
    color: #1db954;
  }
  
  .volume {
    opacity: 0;
    position: relative;
    transition: 0.2s;
  }
  
  .volume .slider {
    height: 4px;
    background-color: #5e5e5e;
    width: 80%;
    border-radius: 2px;
    margin-top: 8px;
    margin-left: 10%;
  }
  
  .volume .slider .green {
    background-color: #1db954;
    height: 100%;
    width: 80%;
    border-radius: 3px;
  }
  
  .volume .circle {
    background-color: white;
    height: 6px;
    width: 6px;
    border-radius: 3px;
    position: absolute;
    right: 20%;
    top: 60%;
  }
  
  .volume_button:hover ~ .volume {
    opacity: 1;
  }
  
  .timetext {
    color: white;
    font-size: 8px;
    position: absolute;
  }
  
  .time_now {
    bottom: 11px;
    left: 10px;
  }
  
  .time_full {
    bottom: 11px;
    right: 10px;
  }
  
  .playing {
    display: flex;
    position: relative;
    justify-content: center;
    gap: 1px;
    width: 30px;
    height: 20px;
  }
  
  .greenline {
    background-color: #1db954;
    height: 20px;
    width: 2px;
    position: relative;
    transform-origin: bottom;
  }
  
  .line-1 {
    animation: infinite playing 1s ease-in-out;
    animation-delay: 0.2s;
  }
  
  .line-2 {
    animation: infinite playing 1s ease-in-out;
    animation-delay: 0.5s;
  }
  
  .line-3 {
    animation: infinite playing 1s ease-in-out;
    animation-delay: 0.6s;
  }
  
  .line-4 {
    animation: infinite playing 1s ease-in-out;
    animation-delay: 0s;
  }
  
  .line-5 {
    animation: infinite playing 1s ease-in-out;
    animation-delay: 0.4s;
  }
  
  @keyframes playing {
    0% {
      transform: scaleY(0.1);
    }
  
    33% {
      transform: scaleY(0.6);
    }
  
    66% {
      transform: scaleY(0.9);
    }
  
    100% {
      transform: scaleY(0.1);
    }
  }

.card:hover{
    transform: scale(1.2);
    box-shadow: 0 0 25px var(--main-color);
}