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

h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 20px;
}

p {
    color: white;
}

label[for="input_name"] {
    color: #333; 
}

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

.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;
    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 {
    text-align: center;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    margin: 150px auto;
    max-width: 550px;
    position: relative;
}

.container-demo {
    text-align: center;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    margin: 150px auto 50px;
    max-width: 550px;
    position: relative;
}

.input-wrapper {
    display: flex;
    justify-content: center;
    border: 0;
}

.input-wrapper label {
    background-color: #1ABD54;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.input-wrapper input[type="text"] {
    padding: 10px;
    border: 1px solid #ccc; 
    border-radius: 5px;
    max-width: 300px;
    margin-bottom: 20px;
}

.input-wrapper input[type="submit"] {
    background-color: #333; 
    color: #fff; 
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.input-wrapper input[type="submit"]:hover {
    background-color: #222; 
}

.input-wrapper input[type="radio"] {
    display: none;
}

.input-wrapper label:hover {
    background-color: #1C4328; 
}

.input-wrapper input[type="radio"]:checked + label {
    background-color: #35ea74;
}

.action-button {
    margin-top: 25px;
    background-color: #35ea74;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.action-button:hover {
    background-color: #1C4328;
}

#query label {
    display: block;
    margin-top: 20px;
    font-size: 18px;
    color: #333;
}

#recommendation-input {
    width: 30%;
    padding: 12px;
    margin-top: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

#recommendation-input:focus {
    border-color: #1C4328;
    outline: none;
}

#recommendation-input::placeholder {
    color: #aaa;
}

#recommendation-input:not(:placeholder-shown) {
    border-color: #1C4328;
}

.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: 9999;
    display: none;
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 9998;
}

.disabled-button {
    pointer-events: none;
    opacity: 0.5;
}

#recommendation-input {
    margin-top: 20px;
    width: 300px;
    padding: 10px 15px;
    border: 2px solid #ccc;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

#recommendation-input:focus {
    border-color: #1C4328;
}

#recommendation-input::placeholder {
    color: #aaa;
    font-style: italic;
}

#recommend {
    position: relative;
}

.cta {
    display: flex;
    justify-content: center;
}

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

.info {
    color: black;
}

.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;
    }
    .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;
        top: 0;
    }
    .container {
        margin: 130px 20px 0;
    }
    .container-demo {
        margin: 130px 20px 0;
    }
    .recommendations {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }
    #recommendation-input {
        width: 80%;
        padding: 12px;
        margin-top: 18px;
        border-radius: 4px;
        margin-top: 20px;
        width: 220px;
        transition: border-color 0.3s ease;
    }
    .action-button {
        margin-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;
    }
}
