
:root{
    --accent-color: #0400ff7c;
    --background-color: linear-gradient(135deg, #cc00ff 0%, #ffffff 100%);
    --light-background: #333;
    --text-color: #F8F8F8;
    --chatbox-color: #555;
}

body{
    font-family: sans-serif;
  background-image:var(--background-color);
    display: flex;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
background-attachment: fixed;
    margin: 10px;
    color: var(--text-color);
    border: 4px solid rgb(145, 255, 0);
}

.container{
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    height: 100%;
    width: 100%;
    max-height: 80%;
    max-width: 300px;
    margin: 20px;
    padding: 40px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
        from{
            opacity: 0;
        }

        to{
            opacity: 1;
        }
}

.header{
    display: flex;
    align-items: center;
    margin: 20px;
    color: var(--accent-color);
}
.imgs{
    position: relative;
    left: 200px;
    bottom: 55px;
}

@keyframes pulseAvatar {
    0%, 100%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.1);
    }
}

.header h3{
    margin-right: 120px;
font-size: 30px !important;
text-align: center;
    color: rgb(255, 255, 255);
    font-size: 50px;
    font-weight: 900;
   font-style: oblique;
   font-family: Arial, Helvetica, sans-serif;
    position: absolute;
    top: 0;
}

.chat{
    overflow-x: hidden;;
    width: 310px;
    padding: 10px;
    border-radius: 20px;
    overflow-y:auto;

}

.message{
    font-size: 16px;
    line-height: 25px;
    width: fit-content;
    max-width: 450px;
    margin: 20px 10px;
    padding: 20px;
    border-radius: 20px; 
}
html{
    scroll-behavior: smooth;
}
.message.joke{
    background-color: var(--accent-color);
    color: #fff;
    border-top-left-radius: 0px;
    padding: 30px;
    height: 50px;
overflow-y: hidden;
min-width: 200px;
max-width: 1024px;



}

.message.response{
    background-color: #eee;
    border-top-right-radius: 0px;
    margin-left: auto;
    padding-right: 30px;
    color: #000;
    width: 130px;
}

.btn{
    background-color: green;
    color: #fff;
    font-family: inherit;
    border: 0;
    border-radius: 30px;
    padding: 14px 40px;
    margin: 20px;
    font-size: 18px;

    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover{
    background-color:rgb(255, 238, 0);
    color: #000;
}