@media (min-width: 992px) {
  .msger {
    width: 400px;
    height: 600px;
    right: 10px;
    margin: 25px 10px;
  }
  .msger-input {
    width: 306px;
    height: 50px;
  }
  body {
    background: url(img/VinPearl_website.png) no-repeat center center;
    background-size: 100% 100%;
  }
}
@media (min-width: 451px) and (max-width: 991px) {
  .msger {
    width: 350px;
    height: 600px;
    right: 5px;
    margin: 15px 5px;
  }
  .msger-input {
    width: 256px;
    height: 50px;
  }
  body {
    background: url(img/vinpearl_bg_991.png) no-repeat center center;
    background-size: 100% 100%;
  }
}
@media (max-width: 450px) {
  .msger {
    width: calc(100% - 5px);
    height: calc(100% - 20px);
    right: 2px;
    margin: 10px 0px;
  }
  .msger-input {
    width: calc(100% - 52px);
    height: 50px;
  }
  body {
    background: url(img/vinpearl_bg_430.png) no-repeat center center;
    background-size: 100% 100%;
  }
}
@media (max-height: 450px) {
  .msger {
    width: calc(100% - 5px);
    height: calc(100% - 20px);
    right: 2px;
    margin: 10px 0px;
  }
  .msger-input {
    width: calc(100% - 52px);
    height: 50px;
  }
}

:root {
  --body-bg: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  --msger-bg: #fff;
  --border: 6px solid #2E5288;
  --left-msg-bg: #F5F5F5;
  --right-msg-bg: #2E5288;
  --paper-like-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  --intent-item-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 6px 0 rgba(0, 0, 0, 0.19);
}

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

ul {
  list-style-type: none;
  width: 100%;
}

body {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  /* background: url(img/VinPearl_website.png) no-repeat center center;
  background-size:100% 100%; */
  /* font-family: "Open Sans", sans-serif; */
  /* font-family: 'Times New Roman', Times, serif; */
  font-family: "Merriweather", serif;
  font-weight: 400;
  font-optical-sizing: auto;
  font-style: normal;
  /* font-variation-settings:
    "wdth" 95; */
}

.pop_up_button {
  opacity: 0.7;
  border: rgba(255,255,255,0);
  border-radius: 100px;
  cursor: pointer;
  position: fixed;
  bottom: 23px;
  right: 20px;
  width: 78px;
  height: 78px;
  background: url(img/Activate_button.svg) no-repeat center center;
  background-size: 75px 75px;
}

.pop_up_button:hover {
  opacity: 1;
}

.msger {
  display: flex;
  position: fixed;
  bottom: 0px;
  flex-flow: column wrap;
  justify-content: space-between;
  border: var(--border);
  border-radius: 10px;
  background: var(--msger-bg);
  box-shadow: 0 15px 15px -5px rgba(0, 0, 0, 0.2);
}

.msger-header {
  display: flex;
  position: relative;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 9px;
  border-bottom: var(--border);
  background-color: #2E5288;
}

/* .nav-header{
  padding: 9px 9px 0 9px;
  display: none;
  background-color: transparent;
} */


.msger-header-title {
  color: white;
  font-weight: 300;
  font-size: 130%;
  margin-left: 5px;
  margin-top: 2px;
}

.msger-header-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}
.header-svg-pad {
  position: absolute;
  border-radius: 0px 10px 0px 0px;
  right: -21px;
  z-index: 0; 
  width: 161px;
  height: 44px;
  flex-shrink: 0;
}

.header-btn {
  /* position: relative; */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  /* margin-left: 10px; */
  z-index: 2;
  opacity: 1;
}

.refresh-btn img {
  transition: all 600ms ease;
}

/* .refresh-btn img:hover {
  transform: rotate(-180deg);
} */

.header-btn:hover {
  opacity: 0.75;
}

.contact-btn img {
  position: absolute;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  fill: #FAFAFA;
  right: 89px;
  top: 6.5px;
}

.refresh-btn img {
  width: 24.811px;
  height: 25px;
  flex-shrink: 0;
  fill: #FAFAFA;
}
.minimize-btn img {
  position: relative;
  right: 3px;
  width: 23.958px;
  height: 25px;
  flex-shrink: 0;
  fill: #FAFAFA;
}

.msger-chat {
  position: relative;
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  /* background-color: #fcfcfe; */
  z-index: 1;
}

.main_background {
  /* background: url(img/beach.jpeg) repeat center center; */
  position: absolute;
  background: url(img/palms.avif) center center;
  background-repeat: repeat-y;
  background-size: 100%;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0.5;
  z-index: -1;
}

.filler {
  opacity: 0%;
}

.msger-chat::-webkit-scrollbar {
  width: 6px;
}
.msger-chat::-webkit-scrollbar-track {
  background: #ddd;
}
.msger-chat::-webkit-scrollbar-thumb {
  background: #bdbdbd;
}
.msg {
  display: flex;
  align-items: flex-end;
  margin-bottom: 15px;
}
.msg:last-of-type {
  margin-bottom: 0;
}
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 1;
  width: 88%;
  height: 40px;
  border-radius: 10px;
  padding: 5px;
  background-color: white;
  border: 1px solid black;
  display: none;
  margin-bottom: 0;
}
.nav-text {
  color: #2E5288;
  padding: 5px 0;
  margin-left: 40px;
  font-weight: 550;
}
.bar-button {
  position: absolute;
  cursor: pointer;
  border: none;
  width: 18px;
  height: 18px;
  right: 10px;
  top: 10px;
  background: url(img/🦆\ icon\ _Bars_.svg) rgb(255, 255, 255) no-repeat center center;
}

.bar-button:hover {
  background: url(img/bar2.svg) rgb(255, 255, 255) no-repeat center center;
}

.vinuni-img {
  position: absolute;
  left: 10px;
  top: 6px;
}
.intent-list {
  position: sticky;
  z-index: 1;
  top: 5px;
  margin: 0px 0 20px 0;
  background-color: #fcfcfe;
  border-radius: 10px 10px 15px 15px;
  width: 88%;
}

.intent-list .intent-item {
  margin-bottom: 10px;
}

.intent-item:last-child {
  margin-bottom: 0px;
}

/* .intent-scroll {
  margin-bottom: 5px;
} */

#postgrad, #undergrad {
  margin-bottom: 0;
}

.intent-item {
  width: 100%;
}

.intent-item .intent-button {
  position: relative;
  display: block;
  color: #2E5288;
  background: white;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  box-shadow: var(--intent-item-shadow);
  cursor: pointer;
  border: none;
  text-align: left;
  cursor: pointer;
  font-weight: 550;
  margin-bottom: 2px;
  box-sizing: border-box;
}

.intent-item .intent-button:hover {
  background-color: #f2f2f2;
}

.intent-button .icon-bg {
  display: inline-block;
  border-radius: 10px;
  width: 31px;
  height: 27px;
  vertical-align: middle;
} 
.undergrad-icon-bg {
  background: url(img/undergrad-icon.svg)rgba(231, 108, 108, 0.40) no-repeat center center;
}
.grad-icon-bg{
  background: url(img/grad-icon.svg)rgba(108, 194, 231, 0.40) no-repeat center center;
}
.finance-icon-bg {
  background: url(img/skills.svg)rgba(95, 206, 193, 0.40) no-repeat center center;
}
.std-life-icon-bg {
  background: url(img/std-life-img.svg)#D0C1F0 no-repeat center center;
}
.abt-vinuni-icon-bg {
  background: url(img/abt-vinuni-icon.svg)rgba(231, 226, 108, 0.40) no-repeat center center;
}
.itent-button .intent-text{
  vertical-align: middle;
  padding: 5px 0;
  margin-left: 40px;
  font-weight: 550;
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings:
    "wdth" 95;
}
.intent-item .icon-arrow {
  position: absolute;
  display: inline-block;
  font-size: 1.2em;
  color: #2E5288;
  top: 14px;
  right: 12px;
  vertical-align: middle;
}

.intent-item .icon-arrow.open {
  transform: rotate(-180deg);
  transition: transform 0.6s;
}

.intent-item .icon-arrow.close {
  transform: rotate(0deg);
  transition: transform 0.6s;
}

.intent-item .icon-arrow:before {
  content: "\25BC";
}

.intent-item .subintent-menu {
  max-height: 0;
  overflow: hidden;
  list-style: none;
  padding:0;
  margin-left: 10px;
  margin-top: 8px;
}
.intent-item .subintent-menu li{
  padding:0;
}

.intent-item .subintent-menu .subintent-button {
  display: block;
  color: #2E5288;
  background: white;
  padding: 10px 10px;
  border-radius: 10px;
  text-align: left;
  width: 95%;
  border: none;
  border-left: 3px solid #2E5288;
  border-right: 3px solid #2E5288;
  padding-left: 15px;
  margin-bottom: 5px;
  cursor: pointer;
  box-shadow: var(--intent-item-shadow);
}

.intent-item .subintent-menu .subintent-button:hover {
  background-color: #f7f7f7;
}

.intent-item .show,
.intent-item .hide {
  transform-origin: 50% 0%;
}

.intent-item .show {
  display: block;
  max-height: 9999px;
  transform: scaleY(1);
  animation: showAnimation 0.05s ease-in-out;
  transition: max-height 0.05s ease-in-out;
}

.intent-item .hide {
  max-height: 0;
  transform: scaleY(0);
  animation: hideAnimation 0.05s ease-out;
  transition: max-height 0.05s ease-out;
}

.msg-bubble {
  display: flex;
  align-items: center;
  position: relative;
  max-width: 450px;
  min-height: 70px;
  width: 80%;
  padding: 15px;
  /* margin: 5px 0 5px 0; */
  border-radius: 20px;
  background: var(--left-msg-bg);
  box-shadow: var(--paper-like-shadow);
}
.msg-text {
  display: flex;
  flex-direction: column;
  font-size: 95%;
  font-weight: 500;
  margin-left: 10px;
  margin-right: 10px;
}

.msg-text p {
  margin-bottom: 10px;
}

.msg-text p:last-of-type {
  margin-bottom: 0;
}

.msg-text p:last-of-type + ol {
  margin-top: 10px;
}

.msg-text p:last-of-type + ul {
  margin-top: 10px;
}

li {
  margin-bottom: 10px;
}

li:last-of-type {
  margin-bottom: 0;
}

.msg-text ol + p {
  margin-top: 10px; /* Adjust the value as needed */
}

.msg-text ul + p {
  margin-top: 10px; /* Adjust the value as needed */
}

.msg-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.msg-info-name {
  margin-right: 10px;
  font-weight: bold;
}
.msg-info-time {
  font-size: 0.85em;
}

.left-msg .msg-bubble {
  border-bottom-left-radius: 0;
}
.left-msg {
  margin-left: 5px;
}
.right-msg {
  flex-direction: row-reverse;
  margin-right: 5px;
}
.right-msg .msg-bubble {
  background: var(--right-msg-bg);
  color: #fff;
  border-bottom-right-radius: 0;
}

.msger-inputarea {
  display: flex;
  position: relative;
  padding: 10px;
  border-top: var(--border);
  /* background: #eee; */
  border-radius: 10px;
  border-top: none;
  font-family: "Times New Roman";
  font-size: 90%;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  background: rgba(255,255,255,0.5);
}
.msger-inputarea * {
  padding: 10px;
  border: none;
  /* border-radius: 5px; */
  /* font-size: 1em; */
  /* color: var(--textcolor, #9E9E9E); */
  /* leading-trim: both; */
  /* text-edge: cap; */

}
.msger-input {
  /* flex: 1;
  background: #ddd;
  border-radius: 10px; */
  /* cursor: not-allowed; */
  flex-shrink: 0;
  border-radius: 17px;
  background: #ddd;
  box-shadow: 3.76615px 3.76615px 7.53231px 0px rgba(212, 192, 192, 0.25);
  font-family: "Times New Roman";
  font-size: 110%;
  font-style: normal;
  font-weight: 500;
  line-height: normal; 
}
.msger-send-btn {
  /* cursor: not-allowed; */
  margin-left: 10px;
  display: flex;
  padding: 6px;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  /* gap: 15.048px; */
  flex-shrink: 0;
  border-radius: 70.238px;
  background: #2E5288;
  box-shadow: 3px 3px 12px 0px rgba(23, 195, 206, 0.35);
}

.msger-send-btn:hover {
  opacity: 0.9;
}

.loading {
  position: absolute;
  top: 17px;
  display: none;
  color: black;
}

.loading:after {
  content: ' .';
  animation: dots 1s steps(5, end) infinite;
}

@keyframes dots {
  0%, 20% {
    color: rgba(0,0,0,0);
    text-shadow:
      .25em 0 0 rgba(0,0,0,0),
      .5em 0 0 rgba(0,0,0,0);}
  40% {
    color: black;
    text-shadow:
      .25em 0 0 rgba(0,0,0,0),
      .5em 0 0 rgba(0,0,0,0);}
  60% {
    text-shadow:
      .25em 0 0 black,
      .5em 0 0 rgba(0,0,0,0);}
  80%, 100% {
    text-shadow:
      .25em 0 0 black,
      .5em 0 0 black;}}

#msgLoader {
  min-height: 70px;
  position: relative;
}

.loader {
  color: black;
  font-size: 8px;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: absolute;
  top: 28px;
  left: 50px;
  text-indent: -9999em;
  animation: mulShdSpin 1.3s infinite linear;
  transform: translateZ(0);
}

@keyframes mulShdSpin {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 
    2em -2em 0 0em, 3em 0 0 -1em, 
    2em 2em 0 -1em, 0 3em 0 -1em, 
    -2em 2em 0 -1em, -3em 0 0 -1em, 
    -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 
    3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, 
    -2em 2em 0 -1em, -3em 0 0 -1em, 
    -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 
    2em -2em 0 0, 3em 0 0 0.2em, 
    2em 2em 0 0, 0 3em 0 -1em, 
    -2em 2em 0 -1em, -3em 0 0 -1em, 
    -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em,
      3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, 
      -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em,
      3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, 
      -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em,
      3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, 
      -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 
    3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, 
    -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 
    3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, 
    -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}
        