@import url("https://fonts.googleapis.com/css2?family=Dosis:wght@300;700&display=swap");
@font-face {
  font-family: afacad;
  src: url("../assets/fonts/Afacad-Regular.ttf");
}

html,
body {
  min-height: 100svh;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  color: #2b7379;
  font-family: afacad;
  font-size: 1.05rem;
}

/* body {
  width: 100%;
  height: 100%;
  background: white;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20205%20205%22%20width%3D%22205%22%20height%3D%22205%22%20preserveAspectRatio%3D%22none%22%3E%20%3Cstyle%3E%20path%20%7B%20fill%3A%20none%3B%20stroke-width%3A%203px%3B%20stroke%3A%20%23FFFFFF%3B%20vector-effect%3A%20non-scaling-stroke%3B%20%7D%20%3C%2Fstyle%3E%20%3Cpath%20d%3D%22M0%2C179c51%2C0%2C51-51%2C102-51s51%2C51%2C102%2C51%22%20%2F%3E%20%3Cpath%20d%3D%22M0%2C77c51%2C0%2C51-51%2C102-51s51%2C51%2C102%2C51%22%20%2F%3E%3C%2Fsvg%3E"),
    linear-gradient(
      45deg,
      rgba(237, 208, 159, 1) 0%,
      rgba(171, 215, 216, 1) 60%
    );
  background-attachment: fixed;
  text-align: center;
  overflow-y: auto;
  overflow-x: hidden;
} */

body {
  width: 100%;
  height: 100%;
  background: white;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Crect width='80' height='80' fill='none' stroke='%23FFFFFF' stroke-width='2'/%3E%3C/svg%3E"),
    linear-gradient(
      45deg,
      rgba(237, 208, 159, 1) 0%,
      rgba(171, 215, 216, 1) 60%
    );
  background-attachment: fixed;
  background-repeat: repeat;
  background-position: 0px -2px; /* shift down by 20px */
  text-align: center;
  overflow-y: auto;
  overflow-x: hidden;
}

.home-text a {
  color: #67a9a9;
  text-decoration: underline;
}

.update-box {
  width: 30.5%;
}

.todo-box {
  width: 30.5%;
}

.links-box {
  width: 30.5%;
}

.about-box {
  width: 60%;
  margin: 0px 0px 0px 25px;
}

.img-box {
  width: 35%;
  padding-right: 5%;
}

/* .about-box {
  margin: -16.5% 30% 50px 30%;
  width: 40%;
  height: 190px;
  background-color: white;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 16px;
  text-align: left;
  border-radius: 25px 150px 150px 25px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  float: left;
} */

.site-heading {
  font-family: "Dosis", sans-serif;
  font-weight: 700;
  font-size: 2.188rem;
  align-content: center;
  background-color: #2b7379 !important;
  color: white !important;
  border-radius: 25px 25px 0px 0px !important;
}

.home-text-container {
  overflow-y: auto;
  height: 190px;
}

.home-text {
  text-align: justify;
  line-height: 1.3;
  color: #2b7379;
}

.home-image {
  height: 250px;
  padding-right: 5px;
  filter: drop-shadow(0 0 0.75rem gray);
  cursor: pointer;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.home-page {
  max-width: 900px;
}

.home-container {
  background-color: white;
  border-radius: 25px 25px 0px 0px;
  color: #2b7379;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.home-icon {
  margin-right: 15px;
}

.accordion {
  padding: 0 !important;
}

.accordion-item {
  border: none;
  background-color: transparent;
}

.accordion-header {
  background-color: transparent;
}

.accordion-body {
  background-color: white;
}

.accordion-button {
  font-family: "Dosis", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  align-content: center;
  background-color: #2b7379 !important;
  color: white !important;
  border-radius: 25px 25px 25px 25px !important;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  border-radius: 25px 25px 0px 0px !important;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none !important;
}

.accordion-button::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  content: "";
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform 0.2s ease-in-out;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Crect x='7' y='2' width='3' height='12'/%3E%3Crect x='2' y='7' width='12' height='3'/%3E%3C/svg%3E");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Crect x='2' y='7' width='12' height='3'/%3E%3C/svg%3E");
}

.directory-img-box {
  width: 35%;
  margin-top: 20px;
}

.directory-img {
  width: 100%;
  border-radius: 25px;
  cursor: pointer;
  border: 5px solid #67a9a92d;
}

.directory-img:hover {
  border: 5px solid #67a9a9;
  transition: border 0.2s ease-in-out;
}

.directory-text-box {
  width: 60%;
  justify-content: left;
  margin-left: 20px;
  padding-left: 20px;
  text-align: left;
}

.directory-text-heading {
  color: #2b7379;
  font-family: "Dosis", sans-serif;
  font-weight: 700;
  font-size: 24px;
  padding-left: 0px;
}

.directory-text {
  text-align: justify;
  line-height: 1.3;
  color: #2b7379;
  padding-left: 0px;
}

.dotted-divider {
  border-top: 3px dotted #2b7379;
  width: 90%;
}

.dotted-divider-2 {
  border-top: 3px dotted #2b7379;
}

.visit-btn {
  background-color: #67a9a9;
  border-radius: 10px;
  border: none;
  color: white;
  font-family: "Dosis", sans-serif;
  font-weight: 700;
  font-size: 16px;
  width: 50%;
  text-align: center;
  transition: background-color 0.2s ease-in-out;
  cursor: pointer;
}

.visit-btn:hover {
  background-color: #4b8181;
}

.update-row {
  padding: 0px;
}

.update-text-container {
  max-height: 273px;
  overflow: auto;
}

.update-accordion-body {
  padding: 0px 0px 0px 0px;
}

.update-text {
  text-align: center;
}

.todo-accordion-body {
  padding: 0px;
  text-align: left;
  background-color: rgb(232, 232, 232);
}

.form-check-input {
  background-color: #67a9a947;
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.form-check-input:checked {
  background-color: #67a9a9 !important;
  border: none;
}

.form-check-input:focus,
.label::after,
label.form-check-label:focus,
.form-check-input::after,
.form-check-input:not(:disabled):not(.disabled):active:focus {
  color: white;
  outline: none;
  border: none;
  box-shadow: none !important;
}

.checkbox-col {
  padding: 0px 0px 0px 15px;
}

.todo-col {
  padding: 0px;
}

.list-group {
  border-radius: 0px;
}

.list-group-item {
  border: none;
  color: #2b7379 !important;
}

.list-group > .list-group-item:nth-child(even) {
  background-color: rgb(255, 243, 222);
}

.others-box {
  width: 100%;
}

.coming-soon-img {
  width: 60%;
}

.link-btn-container {
  display: block;
}

.link-btn {
  background-color: #67a9a9;
  border-radius: 10px;
  border: none;
  color: white;
  font-family: "Dosis", sans-serif;
  font-weight: 700;
  font-size: 16px;
  width: 100%;
  height: 30px;
  transition: background-color 0.2s ease-in-out;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.link-btn:hover {
  background-color: #4b8181;
}

.link-btn-container:nth-child(even) .link-btn {
  background-color: rgba(237, 208, 159, 1);
  transition: background-color 0.2s ease-in-out;
  color: rgb(127, 101, 68);
}

.link-btn-container:nth-child(even) .link-btn:hover {
  background-color: rgb(197, 163, 105);
}

/*---------------------------- Status speech bubble -----------------------------*/

.speech-bubble {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  background: #ffffff;
  border-radius: 0.4em;
  left: 27%;
  top: 5%;
  padding: 15px;
  z-index: 10;
  transition: opacity 0.3s ease;
  font-size: 14px;
  line-height: 0.8;
  width: 200px;
}

.status-date {
  font-size: 12px;
  padding: 0px 0px 5px 0px;
  margin: 0px;
}

.speech-bubble:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  border: 20px solid transparent;
  border-top-color: #ffffff;
  border-bottom: 0;
  border-left: 0;
  margin-left: -10px;
  margin-bottom: -20px;
}

.home-image:hover + .speech-bubble {
  visibility: visible;
  opacity: 1;
}

#statuscafe-username {
  margin-bottom: 0.5em;
}

#statuscafe-username a {
  color: #67a9a9;
}

/*---------------------------- Scrollbar -----------------------------*/

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #d6dcdc;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: linear-gradient(
    45deg,
    rgba(237, 208, 159, 1) 0%,
    rgba(171, 215, 216, 1) 60%
  );
  width: 10px !important;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    45deg,
    rgba(237, 208, 159, 1) 0%,
    rgba(171, 215, 216, 1) 60%
  );
  cursor: pointer;
}

@media only screen and (max-width: 898px) {
  .home-page {
    padding: 0px 20px;
  }

  .img-box {
    width: 100%;
    padding-right: 0;
  }

  .about-box {
    width: 100%;
  }

  .home-container {
    margin: 10px 0px !important;
  }

  .home-text-container {
    padding: 20px !important;
  }

  .home-text {
    padding: 0px !important;
  }

  .site-heading {
    font-size: 30px;
  }

  .directory-img-box {
    width: 100%;
    margin-top: 0px;
  }

  .directory-text-box {
    width: 100%;
    margin: 0px;
    padding: 10px 10px;
  }

  .directory-text {
    text-align: center;
  }

  .visit-btn {
    width: 100%;
  }

  .directory-text-heading {
    text-align: center;
    margin-top: 10px;
  }

  .update-box {
    width: 100%;
    margin: 20px 0px !important;
  }

  .todo-box {
    width: 100%;
    margin: 20px 0px !important;
  }

  .links-box {
    width: 100%;
    margin: 20px 0px !important;
  }

  .checkbox-col {
    min-width: 7.5vw;
    max-width: 15%;
  }

  .menu-icon-container {
    padding: 0px 0px 0px 20px;
  }

  .coming-soon-img {
    width: 100%;
  }

  .speech-bubble {
    position: absolute;
    left: 30%;
    top: 5%;
  }
}

/* @media only screen and (max-width: 820px) {
  .speech-bubble {
    position: absolute;
    left: 40%;
    top: 5%;
  }
} */
