*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:sans-serif;
}
body{
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom right, rgb(103, 201, 195), rgb(215, 146, 218));
   
}
.container{
    height: 100%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
 
} 
.top{
    width: 80%;
    position: absolute;
    height:8vh;
    display: flex;
    flex-direction: row;
    background-color: rgba(255, 255, 255, 0.66);
    right: 10%;
    border-radius: 20px;
    padding: 10px;
    align-items: center;
    justify-items: center;
    /* gap:200px; */
    
} 
.ccenter{
    height: 80%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 15px;
    overflow: auto;
    position: relative;
    
}

.userchatbox{
    width: 50%;
    left: 50%;
    position: relative;
}
.userarea{
    width: 90%;
    padding: 16px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.462);
    display: flex;
    justify-items: center;
    background:linear-gradient(#46c1d193);
    border-radius: 40px;
    gap:10px;
    flex-direction: column ;
}
.aichatbox{
    width: 50%;
    right: 50%;
}
.aiarea{
    width: 90%;
    padding: 16px;
    left: 20%;
    background-color: rgba(186, 97, 181, 0.567);
    border-radius: 40px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.366);
    position: relative;
    color: aliceblue;
}
.promptarea{
    width: 100%;
    height: 20%;
    /* padding-top: 90vh; */
    /* background: linear-gradient(to bottom right,#888d10 5%,#c1c1cc); */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
#prompt1{
    width: 40%;
    height: 70px;
    background: linear-gradient(to bottom left, rgba(255, 255, 255, 0.467), rgba(255, 255, 255, 0.478));
    outline: white;
    border: white;
    border-radius: 60px;
    padding: 20px;
    color: white;
    font-size: 16px;
}
.promptarea button{
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background-color: rgba(144, 194, 226, 0.556);
    outline: none;
    /* box-shadow: 5px 5px 10px rgb(137, 134, 134); */
    cursor: pointer;
    transition: all 0.6s;
}
.promptarea button:hover{
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.411);
    background-color: rgb(242, 139, 240); }
    .load{
        height: 50%;
}
.chooseimg{
    width: 30%;
    border-radius: 25px;
}
.chfile{
    width: 50px;
    height: 50px;
    border-radius: 50%;    
}
#image{
   
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width:600px){
    .userchatbox{
        width: 80%;
        left:20%;
    }
    .aichatbox{
        width: 80%;
    }
}
.text {
    opacity: 0;
    transition: opacity 0.5s ease-in-out 0.5s; /* 1s delay */
  }

  .text.visible {
    opacity: 1;
  }
  .cf{
    width: 40px;
    height: 45px;
  }
  .sen{
    width: 40px;
    height: 40px;
  }
  #homeb{
    position: absolute;
    left: 40%;
    width: 105px;
    height: 25px;
    background: linear-gradient(to bottom left, rgba(223, 109, 202, 0.684), rgba(122, 222, 225, 0.711));
    outline: none;
    border: none;
    border-radius: 60px;
    /* padding: 20px; */
    color: white;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: medium;
    transition: all 0.8s;
    text-decoration: none;

  }
  #aboutb{
    position: absolute;
    left: 57.5%;
    width: 105px;
    height: 25px;
    background: linear-gradient(to bottom left, rgba(223, 109, 202, 0.684), rgba(122, 222, 225, 0.711));
    outline: none;
    border: none;
    border-radius: 60px;
    /* padding: 20px; */
    color: white;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: medium;
    transition: all 0.8s;
    text-decoration: none;
  }
  #handb{
    position: absolute;
    left: 90%;
    width: 105px;
    height: 25px;
    background: linear-gradient(to bottom left, rgba(223, 109, 202, 0.684), rgba(122, 222, 225, 0.711));
    outline: none;
    border: none;
    border-radius: 60px;
    /* padding: 20px; */
    color: white;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: medium;
    transition: all 0.8s;
    text-decoration: none;
  }
  #aboutb:hover{
    cursor: pointer;
    background: linear-gradient(to bottom right, rgba(223, 109, 202, 0.684), rgba(122, 222, 225, 0.711));
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.412);
  
}
  #homeb:hover{
    cursor: pointer;
    background: linear-gradient(to bottom right, rgba(223, 109, 202, 0.684), rgba(122, 222, 225, 0.711));
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.412);
  }
  #learnb:hover{
    cursor: pointer;
    background: linear-gradient(to bottom right, rgba(223, 109, 202, 0.684), rgba(122, 222, 225, 0.711));
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.412);
  }
  #handb:hover{
    cursor: pointer;
    background: linear-gradient(to bottom right, rgba(223, 109, 202, 0.684), rgba(122, 222, 225, 0.711));
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.412);
  }

.loader {
    --w:10ch;
    font-weight: bold;
    font-family: monospace;
    font-size: 16px;
    line-height: 1.4em;
    letter-spacing: var(--w);
    width: var(--w);
    overflow: hidden;
    white-space: nowrap;
    color: #0000;
    text-shadow: 
          calc( 0*var(--w)) 0 #000,calc(-1*var(--w)) 0 #000,calc(-2*var(--w)) 0 #000,calc(-3*var(--w)) 0 #000,calc(-4*var(--w)) 0 #000, 
          calc(-5*var(--w)) 0 #000,calc(-6*var(--w)) 0 #000,calc(-7*var(--w)) 0 #000,calc(-8*var(--w)) 0 #000,calc(-9*var(--w)) 0 #000;
    animation: l20 2s infinite linear;
  }
  .loader:before {
    content:"GeTTinG...";
  }
  
  @keyframes l20 {
    9.09% {text-shadow: 
          calc( 0*var(--w)) -10px #000,calc(-1*var(--w)) 0 #000,calc(-2*var(--w)) 0 #000,calc(-3*var(--w)) 0 #000,calc(-4*var(--w)) 0 #000, 
          calc(-5*var(--w)) 0 #000,calc(-6*var(--w)) 0 #000,calc(-7*var(--w)) 0 #000,calc(-8*var(--w)) 0 #000,calc(-9*var(--w)) 0 #000}
    18.18% {text-shadow: 
          calc( 0*var(--w)) 0 #000,calc(-1*var(--w)) -10px #000,calc(-2*var(--w)) 0 #000,calc(-3*var(--w)) 0 #000,calc(-4*var(--w)) 0 #000, 
          calc(-5*var(--w)) 0 #000,calc(-6*var(--w)) 0 #000,calc(-7*var(--w)) 0 #000,calc(-8*var(--w)) 0 #000,calc(-9*var(--w)) 0 #000}
    27.27% {text-shadow: 
          calc( 0*var(--w)) 0 #000,calc(-1*var(--w)) 0 #000,calc(-2*var(--w)) -10px #000,calc(-3*var(--w)) 0 #000,calc(-4*var(--w)) 0 #000, 
          calc(-5*var(--w)) 0 #000,calc(-6*var(--w)) 0 #000,calc(-7*var(--w)) 0 #000,calc(-8*var(--w)) 0 #000,calc(-9*var(--w)) 0 #000}
    36.36% {text-shadow: 
          calc( 0*var(--w)) 0 #000,calc(-1*var(--w)) 0 #000,calc(-2*var(--w)) 0 #000,calc(-3*var(--w)) -10px #000,calc(-4*var(--w)) 0 #000, 
          calc(-5*var(--w)) 0 #000,calc(-6*var(--w)) 0 #000,calc(-7*var(--w)) 0 #000,calc(-8*var(--w)) 0 #000,calc(-9*var(--w)) 0 #000}
    45.45% {text-shadow: 
          calc( 0*var(--w)) 0 #000,calc(-1*var(--w)) 0 #000,calc(-2*var(--w)) 0 #000,calc(-3*var(--w)) 0 #000,calc(-4*var(--w)) -10px #000, 
          calc(-5*var(--w)) 0 #000,calc(-6*var(--w)) 0 #000,calc(-7*var(--w)) 0 #000,calc(-8*var(--w)) 0 #000,calc(-9*var(--w)) 0 #000}
    54.54% {text-shadow: 
          calc( 0*var(--w)) 0 #000,calc(-1*var(--w)) 0 #000,calc(-2*var(--w)) 0 #000,calc(-3*var(--w)) 0 #000,calc(-4*var(--w)) 0 #000, 
          calc(-5*var(--w)) -10px #000,calc(-6*var(--w)) 0 #000,calc(-7*var(--w)) 0 #000,calc(-8*var(--w)) 0 #000,calc(-9*var(--w)) 0 #000}
    63.63% {text-shadow: 
          calc( 0*var(--w)) 0 #000,calc(-1*var(--w)) 0 #000,calc(-2*var(--w)) 0 #000,calc(-3*var(--w)) 0 #000,calc(-4*var(--w)) 0 #000, 
          calc(-5*var(--w)) 0 #000,calc(-6*var(--w)) -10px #000,calc(-7*var(--w)) 0 #000,calc(-8*var(--w)) 0 #000,calc(-9*var(--w)) 0 #000}
    72.72% {text-shadow: 
          calc( 0*var(--w)) 0 #000,calc(-1*var(--w)) 0 #000,calc(-2*var(--w)) 0 #000,calc(-3*var(--w)) 0 #000,calc(-4*var(--w)) 0 #000, 
          calc(-5*var(--w)) 0 #000,calc(-6*var(--w)) 0 #000,calc(-7*var(--w)) -10px #000,calc(-8*var(--w)) 0 #000,calc(-9*var(--w)) 0 #000}
    81.81% {text-shadow: 
          calc( 0*var(--w)) 0 #000,calc(-1*var(--w)) 0 #000,calc(-2*var(--w)) 0 #000,calc(-3*var(--w)) 0 #000,calc(-4*var(--w)) 0 #000, 
          calc(-5*var(--w)) 0 #000,calc(-6*var(--w)) 0 #000,calc(-7*var(--w)) 0 #000,calc(-8*var(--w)) -10px #000,calc(-9*var(--w)) 0 #000}
    90.90% {text-shadow: 
          calc( 0*var(--w)) 0 #000,calc(-1*var(--w)) 0 #000,calc(-2*var(--w)) 0 #000,calc(-3*var(--w)) 0 #000,calc(-4*var(--w)) 0 #000, 
          calc(-5*var(--w)) 0 #000,calc(-6*var(--w)) 0 #000,calc(-7*var(--w)) 0 #000,calc(-8*var(--w)) 0 #000,calc(-9*var(--w)) -10px #000}
  }
  #learnb{
    position: absolute;
    left: 75%;
    width: 105px;
    height: 25px;
    background: linear-gradient(to bottom left, rgba(223, 109, 202, 0.684), rgba(122, 222, 225, 0.711));
    outline: none;
    border: none;
    border-radius: 60px;
    /* padding: 20px; */
    color: white;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: medium;
    transition: all 0.8s;
    text-decoration: none;
  }
  .wrapper {
    text-align: center;
    /* background-color: #1fb6be70;
    border-radius: 60px; */
  }
  
  .typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #00ffcc;
    font-size: 20px;
    animation: typing 6s steps(30, end) 2s infinite,
               blink 1s step-end infinite;
    
  }
  
  /* Typing and deleting animation */
  @keyframes typing {
    0% {
      width: 0;
    }
    40% {
      width: 100%;
    }
    60% {
      width: 100%;
    }
    100% {
      width: 0;
    }
  }
  
  /* Blinking caret */
  @keyframes blink {
    0%, 100% {
      border-color: transparent;
    }
    50% {
      border-color: #00ffcc;
    }
  }
  h1{
    font-size: medium;
    color: transparent;
    background:linear-gradient(to top left ,rgb(0, 149, 255),rgba(255, 0, 242, 0.749) 75%);
    -webkit-background-clip: text;
  }
  b{
    display: flex;
    justify-content: center;
    align-items: center;
  }