@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

body {
  max-width: 650px;
  margin: 0 auto;
  font-family: "Jost", serif;
  background-color: #f8f8f9;
}

h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
}

#num {
  color: rgb(206, 177, 119);
  font-weight: bold;
}

header {
  background-color: #fff;
}

main {
  max-width: 100%;
  height: 100vh;
  overflow-y: scroll;
  padding-bottom: 0px;
  /* color: #fff; */
  /* background-color: #ddd; */
}

.ct-right {
  position: sticky;
  top: 20px;
}

.box-xs {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px;
  background-color: #fff;
  position: relative;
  height: 100%;
  box-shadow: 0 20px 40px rgba(3, 15, 39,0.1);
  border-radius: 8px;
  border-width: 0px 0px 4px 0px;
  border-color: #fff;
  border-style: solid;
  position: relative;
  overflow: hidden;
}

.box-xs::before {
  content: url('../img/helpline-shap.png');
  position: absolute;
  top: 0;
  right: 0;
}

.box-xs:hover {
  border-color: #5170ca;
}

/* Hero */
.hero {
  margin: 6px 0px 0px 0px;
  position: relative;
}

.gejala h2,
.solusi h2 {
  color: #000 !important;
}

.content-post {
  padding: 20px 0px 0px 0px;
  background-color: #fff;
}

.content-post .txt-bold {
  font-weight: 700;
  font-style: italic;
}

.content-post .title-top span {
  color: #a1a1a1;
  font-size: 14px;
}

.content-post h2 {
  position: relative;
  font-size: 22px;
  margin: 0px 0px 15px 0px;
  font-weight: 900;
  color: #161616;
}

.content-post h3 {
  font-size: 18px;
  margin: 15px 0px;
  font-weight: 900;
  color: #675bb7;
}

.content-post ol,
li {
  line-height: 1.7em;
}

.content-post p {
  margin-bottom: 10px;
}

.content-post .list-penyebab li {
  font-weight: bold;
  /* color: red; */
}

.content-post .card {
  border: none;
  background-color: unset;
  /* box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; */
  height: 100%;
  transition: all 300ms ease;
  position: relative;
  text-decoration: none;
}

.content-post h5 {
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0px;
}

.content-post p,
li {
  /* font-size: 14px; */
  color: #545454;
  line-height: 1.7em;
}

.penyebab,
.diagnosis,
.gejala,  
.pencegahan, 
.solusi {
  /* background-color: #fff; */
  padding: 20px 0px;
}
.penyebab ul {
  padding: 0px;
}

.penyebab ul li {
  padding: 5px 0px;
  list-style-type: none;
  border-top: 1px solid #ececed;
  font-weight: bold;
}

.gejala {
  background-color: #f8faff;
}

.solusi img {
  border-radius: 8px;
}

.content-apakah {
  background-color: #4866c8;
  box-shadow: 8px 9px 35px 0px rgba(49, 49, 49, 0.08);
  padding: 30px 20px;
}

.content-apakah h4 {
  color: #fff;
}

.content-apakah p {
  color: #fff;
}

.top-ttl {
  font-weight: 700;
}

.content-apakah h4 {
  font-size: 20px;
  margin-bottom: 10px;
  text-align: center;
}

.ct {
  gap: 7px;
}

.ct .list-button {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  background-color: #f4b73c;
  padding: 10px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  width: 33%;
  gap: 5px;
}
.ct .list-button img {
  width: 30px;
  height: 30px;
}

.ct .list-button:hover img {
  animation: rubberband .8s ease-out;
}

@keyframes rubberband {
  0% {
      transform: scaleX(1)
  }

  40% {
      transform: scaleX(1.12) scaleY(.75)
  }

  55% {
      transform: scaleX(.85) scaleY(1)
  }

  65% {
      transform: scaleX(1.09) scaleY(.85)
  }

  75% {
      transform: scaleX(.9) scaleY(1)
  }

  90% {
      transform: scaleX(1.05) scaleY(.95)
  }

  to {
      transform: scaleX(1) scaleY(1)
  }
}

/* Chat Fitur */
.wrapper-profil-chat {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 20px;
  gap: 15px;
  background-color: #fff;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.wrapper-profil-chat .profil-dktr {
  position: relative;
}

.wrapper-profil-chat .profil-dktr::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #00e092;
  animation: myAnim 2s ease 0s infinite normal forwards;
}

@keyframes myAnim {
  0%,
  50%,
  100% {
    opacity: 1;
  }

  25%,
  75% {
    opacity: 0;
  }
}

.wrapper-profil-chat img {
  width: 60px;
  height: 60px;
}

.wrapper-profil-chat span {
  font-size: 24px;
  font-family: "poppins", sans-serif;
  font-weight: 600;
}

.chat {
  background-image: url("../img/bg.jpg");
  padding: 20px 0px 100px 0px;
}

.chat .jam {
  color: #333;
  text-align: center;
  font-size: 24px;
}

.content-text-chat {
  margin: 10px 10px 5px 20px;
  background-color: #fff;
  padding: 15px;
  border-radius: 5px 5px 5px 0px;
  position: relative;
}

.content-text-chat span {
  position: absolute;
  border-width: 0.5rem 0.5rem 1rem 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
  top: 0;
  left: -8px;
  transform: rotateZ(0deg);
}

.content-text-chat a {
  text-decoration: none;
  color: #000;
}

.content-text-chat a:hover {
  text-decoration: underline;
}

.hidden {
  visibility: hidden;
}

/* Button Kirim Chat */
.tombol-chat {
  position: fixed;
  z-index: 9999;
  bottom: 0;
  width: 100%;
  max-width: 41rem;
  padding: 0px;
}

.wrapper-tombol-chat {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0.83em 0% 0.7em;
  background-color: #fff;
}

.form {
  width: 80%;
}

.form a {
  text-decoration: none;
}

.button a {
  color: #fff;
  text-decoration: none;
}

.button a:hover {
  border-bottom: 1px solid #fff;
}

.wrapper-tombol-chat .icon,
.button {
  padding: 8px;
}

@media screen and (min-width: 576px) {
  .content-text-chat {
    width: 80%;
  }
}

@media screen and (max-width: 575px) {
  .content-post h2 {
    font-size: 18px;
  }

  .ct {
    flex-wrap: wrap;
  }

  .ct .list-button {
    width: 100%;
  }

  /* .content-post li {
    font-size: 14px;
  } */
  .wrapper-profil-chat {
    padding: 10px;
  }
  .wrapper-profil-chat span {
    font-size: 18px;
  }
  .xss::after {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .content-text-chat {
    width: 90%;
    margin-left: 15px;
  }
}
