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

h1 {
    color: #1cbd54;
}

h3 {
    margin: 0 0 10px;
    color: #ffffff;
}

h4 {
    margin: 0;
    font-weight: 500;
    font-size: 16px;
}

h5 {
    margin-top: 8px;
    margin-bottom: 0px;
    font-weight: 300;
}

ol {
    margin: 0;
    padding: 0;
}

li {
    margin-bottom: 5px;
}

p {
    margin-bottom: 10px;
}

a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
}

a:hover {
    text-decoration: underline;
}

.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;
    animation: fadeIn 1s ease-out;
}

.nav-link {
    margin-right: 20px;
    margin-top: 7px;
    animation: fadeIn 1s ease-out;
}

.nav-link-menu {
    margin-right: 20px;
    padding-top: 7px;
    animation: fadeIn 1s ease-out;
}

.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;
    gap: 10px;
    color: #f7f7f7;
}
  
.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;
}

.container {
    max-width: 800px;
    margin: 60px  auto 0 auto;
    padding: 20px 0 0 0;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: stretch
}

.container-demo {
    max-width: 800px;
    margin: 60px auto 0 auto;
    padding: 20px 0 0 0;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: stretch
}

.playlist-item {
    border: 1px solid #ddd;
    background-color: #fff;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.playlist-name {
    margin-top: 10px;
    font-size: 18px;
    color: #333;
}

.music-player {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vh;
    background-color: #131313;
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.cover-art {
    width: 165px;
    border-radius: 4px;
    margin-top: 20px;
    object-fit: cover;
}

.spotify-attribution, .spotify-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

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

.spotify-btn {
    color: #1DB954;
    text-decoration: none;
    font-size: 14px;
}

.spotify-btn:hover {
    text-decoration: underline;
}

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

.song-info h2 {
    font-size: 24px;
    overflow: hidden; 
    text-overflow: ellipsis; 
    white-space: nowrap; 
    max-width: 230px;
}

.song-info p {
    font-size: 13px;
    text-align: center;
}

.song-info h2 {
    margin: 10px 0 0 0;
    font-size: 20px;
    color: #1ABD54;
}

.song-info p {
    width: 250px;
    color: #bbb;
    margin: 10px;
}

.controls, .extra-controls {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    margin-top: 15px;
}

.control-button:hover {
    background-color: #c03519; 
}

.recent_song {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vh;
    background-color: #141414;
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.textarea-container {
    width: 310px;
    height: 330px;
    overflow-y: auto;
    border: 1px solid #1cbd54;
    border-radius: 8px;
    padding: 5px;
    background-color: #000000;
    flex-grow: 1;
}

.img{
    padding: 20px;
}

.song {
    display: flex;
    align-items: center;
    gap: 15px;
}

.song img.song-cover {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.song-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-left: 5px;
}

.spotify-btn {
    display: flex; 
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #1DB954;
    font-size: 16px;
}

.spotify-attribution a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #1DB954;
    font-size: 16px;
}

.spotify-logo {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.spotify-btn:hover {
    text-decoration: underline;
}

.song-cover {
    border-radius: 4px;
    width: 30%;
}

.song {
    display: flex;
    gap: 2px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.player-demo {
    display: flex;
    flex-direction: column;
    margin-right: 30px;
}

.history-demo {
    display: flex;
    flex-direction: column;
}

.control-button, .spotify-button {
    padding: 15px;
    cursor: pointer;
    background-color: #1ABD54;
    color: #fff;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    flex-direction: column;
    align-items: center;
}

.info-text {
    font-size: 16px;
    color: #666;
    margin: 15px 0;
}

.spotify-link {
    color: #1db954;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.spotify-link:hover {
    color: #1ed760;
}

.control-button:hover {
    background-color: #70E000;
}

.buttons {
    text-align: center;
    margin-top: 20px;
    display: flex;
    margin: 25px 0 5px;
    justify-content: center;
    width: 80%;
    gap: 5px;
}

.cta-button {
    background-color: #1DB954;
    color: #fff;
    font-size: 16px;
    padding: 20px 30px;
    border-radius: 25px;
    font-weight: bold;
    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;
}

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

.buttons-demo{
    text-align: center;
    padding: 20px;
    margin-bottom: 30px;
    gap: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.mood-info {
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.mood-message {
    font-style: italic;
    color: #ffa726;
    margin-top: 10px;
}

.mood-toggle {
    background-color: #ffa726;
    color: white;
    border: none;
    padding: 8px 16px;
    margin-top: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.mood-toggle:hover {
    background-color: #ff9800;
}

.mood-details {
    margin-top: 15px;
    text-align: left;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.mood-details ul {
    list-style: none;
    padding: 0;
}

.mood-details li {
    padding: 6px 0;
    border-bottom: 1px solid #444;
}

.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);
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 24px;
    }
    h5 {
        font-size: 14px;
        margin: 5px 0 0 0;
    }
    h4 {
        font-size: 18px;
    }
    a {
        font-size: 10px;
    }
    .navbar #logo-big {
        display: none;
    }
    .navbar #logo-small {
        display: block;
    }
    .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 {
        padding: 25px 0 15px; 
    }
    .container {
        margin: 20% auto;
        flex-direction: column;
        align-items: center;
    }
    .container-demo {
        margin: 50px auto 0 auto;
        flex-direction: column;
        align-items: center;
    }
    .music-player,
    .recent_song {
        width: 90%;
        margin: 20px 0;
    }
    .textarea-container {
        width: 95%;
    }
    .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;
    }
    .cover-art {
        width: 210px;
    }
    .player-demo{ 
        margin: 0;
    }
}
