body{
    margin: 0;
    background:#000;
    font-family: sans-serif;
}
.chat-container{
    max-width: 700px;
    margin: 40px auto;
    background-color: #1a1919;
    border-radius: 15px;
    opacity: 0.9;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.message{
    display: flex;
    align-items: flex-end;
    margin: 12px 0;
    opacity: 0;
    transform:translateY(15px);
    animation:fadeIn 0.4s forwards;
}
.message.left{
    flex-direction: row;
}
.message.right{
    flex-direction: row-reverse;
}
.avatar{
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin: 0 8px;
    object-fit: cover;
}
.bubble{
    padding: 10px 15px;
    border-radius: 16px;
    max-width: 70%;
    font-size: 14px;
    line-height: 1.7;
    position: relative;
}
.left .bubble{
    background-color: #f1f0f0;
    color: #000;
    border-bottom-right-radius: 5px;
}
.right .bubble{
    background-color: #0088ff;
    color: #fff;
    border-bottom-left-radius: 5px;
}
.color-sampels{
    display: flex;
    margin-top: 10px;
}
.color{
    width: 35px;
    height: 35px;
    border-radius: 6px;
    margin-left: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
@keyframes fadeIn{
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
.music{
    text-align: center;
    color: black;
}
.music-btn{
    padding: 10px 16px;
    border-radius: 20px;
    border: none;
    background: #222;
    color: white;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
    
}
.music-btn:hover{
    background: #444;
}
.hint1{
    color: white;
    opacity: 50%;
    text-align: center;
    margin-top: 20px;
    cursor: default;
}
.link1 a{
    text-decoration: none;
    font-weight: bold;
    color: black;
}
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
@media (max-width:768px){

    .chat-container{
        width:90%;
        max-width:700px;
        margin:30px auto;
        padding:15px;
        border-radius:15px;
    }

    .bubble{
        max-width:75%;
    }

    .avatar{
        width:40px;
        height:40px;
    }

    .color{
        width:30px;
        height:30px;
    }

}


@media (max-width:480px){

    .chat-container{
        width:88%;
        margin:20px auto;
        padding:12px;
        border-radius:15px;
    }

    .bubble{
        max-width:78%;
        font-size:13px;
    }

    .avatar{
        width:35px;
        height:35px;
    }

}