body {
    margin: 0;
    background-color: #000000;
    font-family: 'Montserrat', sans-serif;
}

p {
    color: white;
    font-size: 14px;
    width: 170px;
}

.navbar {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    margin: auto;
    padding: 25px 0;
}

.nav-items {
    margin-right: 35px;
    padding-top: 5px;
    display: flex;
    align-items: center;
}

.nav-logo {
    margin-left: 25px;
}

.nav-link {
    margin-right: 20px;
    margin-top: 7px;
}

.nav-link-menu {
    margin-right: 20px;
    padding-top: 7px;
}

.icon {
    height: 25px;
    color: white;
    font-size: 24px;
}

#logo-big {
    width: 200px;
}

#logo-small {
    width: 50px;
    display: none;
}

.user-info {
    display: inline-block;
    vertical-align: middle;
    height: auto;
}

.user-logo{
    background-color: #414141;
    margin-left: 9px;
    border-radius: 30px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    padding: 6px;
    transition: all .1s ease-in-out;
}

.profile-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.username {
    max-width: 120px;
    line-height: 36px;
    margin-right: 10px;
    font-family: Circular, sans-serif;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: 20px;
}

.dropdown {
    position: relative;
    cursor: pointer;
}
  
.dropdown > button {
    width: 170px;
    height: 60px;
    border: 0;
    border-radius: 30px;
    font-family: inherit;
    font-size: 17px;
    background: #3c3c3c;
}
  
.dropdown > .content {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    height: 60px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    color: #f7f7f7;
    gap: 10px;
}
  
.dropdown > .content::after {
    content: "";
    position: absolute;
    bottom: 6px;
    right: 10%;
    width: 80%;
    height: 1px;
    transform: scaleX(0);
    transition: 0.3s;
}

.dropdown:hover > .content::after {
    transform: scaleX(1);
}
  
.dropdown > .content > span:first-child {
    font-size: 20px;
}
  
.dropdown > .content > span:last-child {
    margin-left: auto;
}
  
.dropdown > .content > span:last-child {
    transition: 0.3s;
}
  
.dropdown > .menu {
    position: absolute;
    z-index: 1;
    top: -6px;
    left: 50%;
    display: grid;
    width: 110%;
    padding: 70px 0 6px;
    border-radius: 6px;
    translate: -50% 0;
    visibility: hidden;
    opacity: 0;
    scale: 0.85;
    background: linear-gradient(#414141, #1ed760);
    transition: 0.3s;
}
  
.dropdown:hover > .menu {
    visibility: visible;
    opacity: 1;
    scale: 1;
    border-radius: 20px;
    padding-bottom: 15px;
    gap: 10px;
}
  
.dropdown > .menu > a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f7f7f7;
    font-size: 14px;
    padding: 0 24px;
    text-decoration: none;
}
  
.dropdown > .menu > a:hover {
    background: rgb(0 0 0 / 10%);
}
  
.dropdown > .menu > a > span {
    font-size: 18px;
}

.title{
    margin: 140px 0 0 100px;
    color: white;
    font-size: 45px;
}
.image{
    width: 120px;
}

.filters{
    display: flex;
    margin: 30px 0 0 100px;
}

.buttons{
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.save-scroll{
    position: fixed;
    display: flex;
    justify-content: flex-end;
    margin: 30px 15px;
    bottom: 0;
    right: 15px;
    align-items: center;
}

#content-container{
    padding: 30px;
    align-items: center;
    gap: 30px;
}


.row-layout {
    display: flex;
    flex-direction: row;
}

.column-layout {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 320px;
}

.song {
    display:flex;
    gap: 10px;
    align-items: center;
    background-color: #18a518;
    padding: 0 10px;
    border-radius: 6px;
    height: 110px;
    width: 330px;
}

.artist {
    display:flex;
    gap: 5px;
    align-items: center;
    background-color: #18a518;
    padding: 0 10px;
    border-radius: 6px;
    flex-direction: column;
}

.artist-img{
    width: 135px;
    height: 135px;
    border-radius: 4px;
    margin-top: 10px;
}

.position{
    font-size: 30px;
    color: white;
    margin-left: 10px;
}

.button {
    background-color: #1ed760;
    color: #fff;
    padding: 15px 20px;
    text-decoration: none;
}

.button {
    background-color: #00ae42;
    border: none;
    border-radius: 30px;
}

.select-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    margin-right: 10px;
    color: #333;
}

.select-time-range {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f0f0f0;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
}

.select-time-range:focus {
    border-color: #007bff;
    background-color: #e9f5ff;
}

.select-time-range option {
    font-family: 'Montserrat', sans-serif;
    color: #333;
}

.song-img{
    width: 90px;
    padding: 10px;
    border-radius: 4px;
}

.song-name {
    font-size: 18px;
    margin: 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.artist-name{
    text-align: center;
    font-size: 16px;
    margin: 5px 0;
}

.back-to-app {
    display: flex;
    justify-content: center;
    margin: 10px 0 50px 0;
}

.menu-link {
    display: block;
    padding: 15px;
    background-color: #1ed760;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.menu-link:hover {
    background-color: #149e52;
}

.save-playlist-button{
    cursor: pointer;
    align-items: center;
    bottom: 0;
    right: 60px;
    padding: 10px 30px;
    background-color: #646464;
    border-radius: 40px;
    border-width: 0;
    margin: 0 20px;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    font-weight: 800;
    transition: all .2s ease-in-out;
}

.scroll-button {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #007BFF;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
}

.scroll-button i, .save-playlist-button i {
    font-size: 24px;
}

.save-playlist-button {
    display: none;
}

.save-text {
    font-size: 12px;
}

.loader {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFF;
    box-sizing: border-box;
    animation: animloader 1s linear infinite alternate;
    z-index: 1000;
    display: none;
}

.artist-total {
    display: flex;
    font-size: 45px;
    margin: 45px 0 40px;
}

.artist-popularity {
    font-size: 16px;
    margin: 10px 0 30px;
}

.loading {
    opacity: 0.6
}

.loader-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    pointer-events: none;
}

.demo-h1 {
    text-align: center;
    color: #1DB954;
    margin-top: 120px;
    font-size: 2.5rem;
    padding: 20px;
}

.demo-p {
    text-align: center;
    width: 70%;
    margin: 20px auto;
    line-height: 1.8;
    font-size: 1.2rem;
    color: #e3e3e3;
}

.demo-h2 {
    text-align: center;
    color: #ffffff;
    font-size: 2rem;
    margin-top: 30px;
}

.demo-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px auto;
    max-width: 500px;
    text-align: center;
    transition: transform 0.2s ease;
}

.demo-item:hover {
    transform: translateY(-5px);
}

.demo-item i {
    font-size: 2.5rem;
    color: #1ed760;
    margin-bottom: 15px;
}

.demo-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #1DB954;
}

.demo-item p {
    font-size: 1rem;
    color: #666;
}

.favorite-example {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    transition: transform 0.2s ease;
}

.favorite-example:hover {
    transform: translateY(-5px);
}

.favorite-example h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #333;
}

.favorite-example ol {
    padding-left: 20px;
    margin: 15px 0;
    list-style-type: decimal;
    color: #555;
}

.favorite-example ol li {
    margin: 8px 0;
}

.cta-button {
    background-color: #1DB954;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.cta-button:hover {
    background-color: #1ED760;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.3);
}

.footer-text{
    color: white;
    width: auto;
}

.info-demo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.spotify-attribution {
    margin: 0 0 15px;
}

.spotify-link {
    margin-top: 15px;
    display: flex;
    justify-content: flex-start;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
    color: white;
    transition: color 0.2s ease-in-out;
    align-items: center;
}

.spotify-link-artist {
    display: flex;
    justify-content: flex-start;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
    color: white;
    transition: color 0.2s ease-in-out;
    align-items: center;
}
.spotify-link:hover {
    color: #000000;
}

.spotify-logo {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.artist-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    transition: color 0.3s ease;
}

.artist-link:hover {
    color: #000000;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    text-align: center;
    padding: 20px;
}

.waves-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 20vh;
    z-index: -1;
}

.waves {
    position: relative;
    width: 100%;
    height: 100%;
    animation: fadeIn 1s ease-out;
}

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
    fill: rgba(30, 215, 96, 0.7);
}

.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
    fill: rgba(21, 121, 55, 0.7);
}

.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
    fill: rgba(30, 215, 96, 0.7);
}

.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
    fill: rgba(21, 121, 55, 0.7);
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

@keyframes animloader {
    0% {
      box-shadow: -38px -12px ,  -14px 0,  14px 0, 38px 0;
    }
    33% {
      box-shadow: -38px 0px, -14px -12px,  14px 0, 38px 0;
    }
    66% {
      box-shadow: -38px 0px , -14px 0, 14px -12px, 38px 0;
    }
    100% {
      box-shadow: -38px 0 , -14px 0, 14px 0 , 38px -12px;
    }
}

@media screen and (max-width: 768px) {
    .navbar #logo-big {
        display: none;
    }
    .navbar #logo-small {
        display: block;
    }
    .tool-container {
        padding: 120px 0;
    }
    .nav-items {
        margin-right: 15px;
        padding-top: 0;
    }
    .nav-logo {
        margin-left: 15px;
    }
    .username {
        display: none;
    }
    .profile-image {
        margin-right: 0;
    }
    .user-logo {
        margin-left: 4px;
    }
    .navbar {
        position: fixed;
        padding: 25px 0 15px;
        background-color: black;
        top: 0;
    }
    .dropdown > button {
        width: 50px;
        height: 50px;
        border-radius: 25px;
    }
    .dropdown > .content {
        height: 50px;
        padding: 0 5px;
    }
    .dropdown > .content::after {
        bottom: 0;
    }
    .dropdown > .menu {
        top: 100%;
        left: -20%;
        width: 240%;
        padding: 15px 0;
    }
    .dropdown > .menu > a {
        padding: 6px 15px;
        font-size: 14px;
    }
    .dropdown > .menu > a > span {
        font-size: 12px;
    }
    .text{
        display: flex;
        flex-direction: column;
        max-width: 130px;
    }
    p {
        font-size: 13px;
        margin: 5px 0;
    }
    .title{
        margin: 150px 0 0 10px;
    }
    .buttons{
        margin: 45px 10px 20px 10px;
        gap: 15px;
    }
    .filters{
        margin: 20px 10px;
    }
    .button{
        padding: 20px 20px;
    }
    .save-scroll{
        margin: 5px 5px 25px 0;
        right: 0;
    }
    .back-to-app{
        margin: 0 0 90px 0;
    }
    .song-name{
        font-size: 15px;
        max-width: 120px;
        margin: 0;
    }
    .song-img{
        width: 70px;
    }
    .save-playlist-button{
        margin: 0 5px 0 0;
    }
    .column-layout{
        margin: 30px;
    }
    .artist-name-song {
        font-size: 12px;
        margin: 10px 0;
    }
    .artist-total{
        font-size: 50px;
    }
    artist-popularity{
        margin:9px;
    }
}
