@import url("https://fonts.googleapis.com/css2?family=Caprasimo:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap");
body,
html {
  font-family: Caprasimo !important;
}
.text-logo {
  font-size: 32px;
  font-weight: bold;
}

.teams-wrapper {
  display: flex;
  gap: 16px;
  justify-content: space-around;
  flex-wrap: wrap;
}
.teams-wrapper a {
  flex: 1;
  text-decoration: none;
}
.teams-wrapper a img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

.teams-wrapper .team-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: Caprasimo;
}

.teams-wrapper .team-content span:first-child {
  font-weight: bold;
}
.teams-wrapper .team-content span:last-child {
  color: rgb(59, 69, 85);
}

/* @media only screen and (max-width: 992px) {
  .teams-wrapper a {
    width: 40%;
    flex: 1;
  }
} */

@media only screen and (max-width: 600px) {
  .teams-wrapper a {
    width: 100%;
    flex: auto;
  }
}

/* .main-container{
  position: relative;
  
} */

/* .main-content-container{
position: relative; 
            z-index: 1; 
} */

/*----------------------------------- AI GPT CHATBOT CSS ---------------------------------------*/

.bot-main-container {
  position: absolute;
  z-index: 2;
  font-family: Caprasimo;
}

.chatbot {
  /* display: none; */
  /* border: 2px solid red  !important; */
}

.chatbot {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;

  width: 100%;
  height: 85%;
  margin-top: 90px;
  background: #04738c;

  overflow: hidden;

  pointer-events: none;
  transform: scale(0.5);
  transform-origin: bottom right;

  transition: all 0.1s ease;
}
.chatbot-main-warp {
  margin-top: 10px;
  width: 61%;

  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chatbot-header {
  border-radius: 10px;
  width: 100%;
}

.chatbox-wrap {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.chatbot {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.chatbot header {
  padding: 1px 0;
  position: relative;
  text-align: center;
  color: #04738c;
  border-radius: 5px;
  background: #faf0e9;
}

.chatbot header span {
  position: absolute;
  right: 15px;
  top: 50%;

  display: none;
  cursor: pointer;
  transform: translateY(-50%);
}
header h2 {
  margin: auto;
  font-size: 1.3rem;
  padding: 10px;
}

.chatbox {
  overflow-y: auto;
  height: 420px;
  padding: 30px 20px 80px;
}

.chatbot :where(.chatbox, textarea)::-webkit-scrollbar {
  width: 6px;
}
.chatbot :where(.chatbox, textarea)::-webkit-scrollbar-track {
  background: #04738c;
  border-radius: 25px;
}
.chatbot :where(.chatbox, textarea)::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 25px;
}

.chat {
  display: flex;

  flex-direction: row;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  list-style: none;
}
.outgoing {
  margin: 20px 0;
  display: flex;
  justify-content: flex-end;
}

.chat img {
  width: 32px;
  height: 32px;
  color: #04738c;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;

  border-radius: 4px;
  margin-right: 10px;
}

.chat p {
  white-space: pre-wrap;
  padding: 8px 10px;

  border-radius: 10px 10px 0 10px;
  max-width: 75%;
  color: #04738c;
  font-size: 13px;
  text-align: start;
  background: #fff;
  margin-bottom: 0;
  line-height: 180%;
}
.chatbox .incoming p {
  border-radius: 10px 10px 10px 0;
}

.chatbox .chat p.error {
  color: #721c24;
  background: #f8d7da;
}
.chatbox .incoming p {
  color: #000;
  background: #f2f2f2;
}

.chat-input {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 0;
  width: 61%;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: #04738c;
  padding: 4px 10px;
  border: 1px solid #ddd;
}
.chat-input textarea {
  height: 55px;
  width: 100%;
  border: none;
  outline: none;
  resize: none;
  max-height: 180px;
  padding: 15px 15px 15px 0;

  font-size: 0.95rem;

  overflow: hidden; /* Hide scrollbars */
}
.chat-input span {
  align-self: flex-end;
  color: #fff;
  cursor: pointer;
  height: 55px;
  display: flex;
  align-items: center;
  visibility: hidden;
  font-size: 1.35rem;
  margin-right: 10px;
}
.chat-input textarea:valid ~ span {
  visibility: visible;
}

@media screen and (max-width: 560px) {
  .chatbot-main-warp {
    width: 100%;
    margin-top: 50px;
  }

  .chat-input {
    width: 99%;
  }

  header h2 {
    font-size: 1rem;
    margin-top: auto;
  }

  .chat p {
    font-size: 12px;
  }

  .chat-input {
    margin-bottom: 0;

    padding: 4px 10px;
  }
}

@media screen and (max-width: 432px) {
  .chatbot-main-warp {
    width: 100%;
    margin-top: 5px;

    height: 100%;
  }
  .chatbox {
    overflow-y: auto;
    height: 500px;
  }
}
