body{
    background: rgb(14, 0, 0);
    background: linear-gradient(0deg, rgba(0,23,21,1) 0%, rgba(17,0,0,1) 50%, rgba(47,0,0,1) 100%);
    height: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;

    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    margin: 0;
}

h1 {
    font-family: Consolas, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bolder;
    font-size: 20vw;
    /* background: -webkit-linear-gradient(#ff0000, #000000); */
    background: linear-gradient(0deg, rgb(0, 0, 0), rgba(255, 0, 0, 1) 50%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-top:30vh;
    margin: 0px;
  }

#Chat{
    width: 100%;
    align-items: center;

    display: flex;
    flex-direction: column;

    padding-bottom: 100px;
}


.Message{
    width: 85%;
    border: 2px solid;

    color: white;
    padding: 10px;
    font-family: Consolas, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    border-radius: 10px;
}

#AI{
    border-image: linear-gradient(30deg, rgb(255, 0, 0), rgb(0, 0, 0)) 1;
    background-image: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(42,0,0,1) 100%), linear-gradient(30deg, rgb(255, 0, 0), rgb(0, 0, 0));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-sizing: border-box;
    color: rgb(255, 0, 0);
    margin-left: 1vw;

}

#User{
    border-image: linear-gradient(30deg, rgb(0, 255, 234), rgb(0, 0, 0)) 1;
    background-image: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgb(0, 37, 42) 100%), linear-gradient(30deg, rgb(0, 255, 234), rgb(0, 0, 0));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-sizing: border-box;
    color: rgb(0, 255, 234);
    margin-right: 1vw;

}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
  }
  

#Messager{
    
    display: flex; 
    align-items: center;

    width: 80%;
    max-width: 1000px;
    border: 2px solid;
    border-radius: 10px;

    --angle: 0deg;
    --gradient: linear-gradient(var(--angle), rgb(0, 255, 234) 0%, rgb(0, 0, 0) 50%, rgb(255, 0, 0) 100%);

    border-image: var(--gradient);
    background-image: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgb(0, 37, 42) 100%), var(--gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-sizing: border-box;
    color: rgb(255, 255, 255);

    font-family: Consolas, Monaco, monospace;
    margin: 20px;

    animation: 5s rotate linear infinite;

    /* position: fixed;
    bottom: 45vh; */

    
    flex-direction: row;
}


@keyframes rotate {
    from{
        --angle: 0deg;
    }
    to {
      --angle: 360deg;
    }
}


input{
    background-color: transparent;
    border-color: transparent;
    width: 100%;
    height: 100%;
    
    color: rgb(255, 255, 255);

    padding: 10px;
    padding-right: 0px;
}

input:focus {
    outline: none;
    box-shadow: none;
}



#send {
    width: 30px;
    height: 28px;
    background: linear-gradient(310deg, rgb(57, 0, 0) 0%, rgb(0, 0, 0) 33%, rgb(0, 96, 115) 100%);
    color: white;
    border: 2px solid;
    border-color: rgb(0, 37, 42);
    border-radius: 50%;  /* This line rounds the corners of the button */
    cursor: pointer;

    text-align: left; 
    font-family: consolas;
    font-size: 24px;
    font-weight: bolder;
    
    transition: transform .2s ease-in-out;
    letter-spacing: -8px;

    margin-right: 10px;

    color:rgb(255, 0, 0);
}
#send:hover {
    
    background: linear-gradient(310deg, rgb(0, 40, 46) 0%, rgb(0, 0, 0) 33%, rgb(255, 0, 0) 100%);
    border-color: rgb(42, 0, 0);

    transform: scale(1.2);
    

    color:rgb(0, 255, 242);
}
  