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

p {
    line-height: 1.5em;
}

h1, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -.05em;
    color: white;
}

.navbar {
    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;
    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;
}

.profile-summary {
    text-align: center;
    margin: auto;
    padding: 0 20px;
    max-width: 1200px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 20px;
    justify-items: center;
}

.cards-container .card:nth-child(4) {
    grid-column: 2 / 4;
    grid-row: 2;
}

.cards-container .card:nth-child(5) {
    grid-column: 1 / 3;
    grid-row: 2;
}

.card {
    width: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.card h3 {
    margin-bottom: 10px;
    color: #e4e4e4;
}

.card p, .card ul {
    margin: 0;
    color: #dcdcdc;
    list-style: none;
    padding: 0;
}

.teaser {
    padding: 25px;
    text-align: center;
    margin-top: 30px;
    font-size: 1.2em;
    color: #dcdcdc;
    animation: fadeIn 1.5s forwards;
}

.teaser .highlight {
    color: #ee0909;
    font-weight: bold;
    font-size: 1.2em;
}

.action-section {
    text-align: center;
    margin: 30px auto;
    padding: 20px;
    max-width: 800px;
}

.action-section.no-margin {
    margin-bottom: 30px;
}

.action-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

button {
    background-color: #ee080b;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #ee080b;
    transform: scale(1.05);
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.analysis-result {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f7f9fc;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Montserrat', sans-serif;
    animation: fadeIn 0.8s ease-in-out;
}

.analysis-result h1 {
    font-size: 2rem;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.analysis-result h2 {
    font-size: 1.5rem;
    color: #1bc457;
    margin-top: 30px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 10px;
}

.analysis-result h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 50px;
    height: 3px;
    background-color: #1bc457;
}

.analysis-result p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.analysis-result ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.analysis-result ul li {
    background-color: #e9fff5;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #1bc457;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, background-color 0.2s;
}

.analysis-result ul li:hover {
    transform: translateX(10px);
    background-color: #e9fff5;
}

.analysis-result ul li p {
    margin: 0;
    color: #333;
    font-size: 1rem;
}

.analysis-result ul li strong {
    color: #1bc457;
}

.scroll-button {
    position: fixed;
    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;
}

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

@keyframes animloader {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0);
    }
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    background-color: rgba(39, 39, 39, 0.5);
    pointer-events: none;
}

.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;
    }
    .cards-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 40px;
    }
    .profile-summary {
        margin-top: 120px;
    }
    .teaser {
        margin: 0;
    }
    .action-section {
        margin-bottom: 300px;
        transition: margin-bottom 0.3s ease;
    }
    .analysis-result {
        max-width: 350px;
        margin-bottom: 300px;
    }
}
