@font-face {
  font-family: 'NeueMontreal';
  src: url('../fonts/NeueMontreal-Regular.woff2') format('woff2'),
    url('../fonts/NeueMontreal-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

::-webkit-scrollbar {
  display: none;
}

/*
-------------------------------------------------------------------
PAGE 
-------------------------------------------------------------------
*/

#t99-ai-dynamic-page {
  background-image: linear-gradient(110deg, #0E0A12 0px, #27222c 30%, #27222c 50%, #0E0A12 100%);
  position: relative;
  color: white;
  font-family: 'NeueMontreal', sans-serif;
}

#t99-ai-dynamic-page .bottom-gradient {
  background: linear-gradient(180deg, #201b2e00 0%, #1e192a 100%);
  height: 40vh;
}

/*
-------------------------------------------------------------------
FORM 
-------------------------------------------------------------------
*/

#t99-ai-page-creator-form input {
  background: #ffffff26;
  border: none;
  outline: none;
  backdrop-filter: blur(10px);
}

#t99-ai-page-creator-form input:focus {
  box-shadow: none;
}

#t99-ai-page-creator-form input:-webkit-autofill,
#t99-ai-page-creator-form input:-webkit-autofill:hover,
#t99-ai-page-creator-form input:-webkit-autofill:focus,
#t99-ai-page-creator-form input:-webkit-autofill:active {
  box-shadow: none;
  -webkit-box-shadow: none;
  -webkit-text-fill-color: inherit;
}

#t99-ai-page-creator-form button {
  top: 50%;
  right: 0;
  transform: translate(-150%, -50%);

}

#t99-ai-page-creator-form button::before {
  content: "";
  position: absolute;
  width: 2.4em;
  height: 2.4em;
  background-color: white;
  border-radius: 100%;
  z-index: -1;
}


/*
-------------------------------------------------------------------
RESPONSE CONTAINER 
-------------------------------------------------------------------
*/

#t99-ai-page-creator-response {
  padding-top: 20vh;
  padding-bottom: 30vh;
}

#t99-ai-page-creator-response a {
  color: ghostwhite;
}


#t99-ai-page-creator-response * {
  background-color: transparent;
  margin-top: auto;
  margin-bottom: auto;
  max-width: 100%;
}

#t99-ai-page-creator-response .chat-message.assistant>* {
  margin-top: 2vh;
  margin-bottom: 4vh;
}


#t99-ai-page-creator-response .chat-message.assistant .md\:flex-row:nth-child(odd) {
  flex-direction: row-reverse;
}

#t99-ai-page-creator-response .chat-message {
  padding: 1rem;
  border-radius: 1rem;
  margin: 0.5rem 0;
}

#t99-ai-page-creator-response .chat-message.user {
  max-width: 80%;
  background: rgba(255, 255, 255, 0.01);
  margin-left: auto;
  border-bottom-right-radius: 0;
}

#t99-ai-page-creator-response .chat-message.assistant {
  width: 100%;
  font-size: 1.125rem;
}

#t99-ai-page-creator-response .chat-message.assistant .suggestions {
  display: none !important;
  visibility: hidden !important;
}

@media screen and (max-width: 768px) {
  #t99-ai-page-creator-response .w-1\/2 {
    width: 100% !important;
  }

  #t99-ai-page-creator-response .flex {
    flex-wrap: wrap;
  }
}

/*
-------------------------------------------------------------------
SLIDER
-------------------------------------------------------------------
*/




/*
-------------------------------------------------------------------
ANIMAZIONE LOADER
-------------------------------------------------------------------
*/
#t99-ai-page-creator-response .skeleton {
  cursor: progress;
  background: linear-gradient(90deg, #ddda 40%, #efefefaa, #ddda 100%) right / 300% 100%;
  animation: skeleton-loading 1.5s cubic-bezier(0.4, 0, 1, 1) infinite;
  mix-blend-mode: multiply;
  opacity: .3;
}

@keyframes skeleton-loading {
  to {
    background-position: left;
  }
}