@import url("https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@300;400;500;600;700&display=swap");
:root {
  --primary-color1: #faa61a;
  --primary-color2: #007dc5;
  --gradient-color1: linear-gradient(
    238deg,
    rgba(250, 166, 26, 1) 40%,
    rgba(244, 121, 32, 1) 60%
  );
  --gradient-color2: linear-gradient(
    238deg,
    rgba(0, 143, 213, 1) 20%,
    rgba(0, 108, 183, 1) 80%
  );
  --secondary-color1: #fff3d1;
  --secondary-color2: #f58220;
  --secondary-color3: #1a1617;
  --secondary-color4: #9e9d9f;
  --white-color: #ffffff;
  --background-color: #f6f6f6;

  --road-width: 550px;

  --d: 2000ms;
  --angle: 90deg;
  --gradX: 100%;
  --gradY: 50%;
  --c1: rgba(226, 62, 33, 1);
  --c2: rgba(252, 175, 23, 0.3);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Bai Jamjuree";
}

.cta-btn {
  background: linear-gradient(
    238deg,
    rgba(250, 166, 26, 1) 20%,
    rgba(244, 121, 32, 1) 50%
  );
  color: white;
  font-weight: 600;

  transition: all 0.3s ease-in-out;
  border: none;
  font-size: 1rem !important;
}

.cta-btn:hover {
  background: linear-gradient(
    238deg,
    rgba(255, 243, 209, 1) 20%,
    rgba(255, 203, 5, 1) 50%
  );
  color: #d13b2b;
}

.secondary-btn {
  background: #fff3d1;
  color: #f58220;

  transition: all 0.3s ease-in-out;
}
.is-rounded {
  border: 1px solid white;
}
.greet {
  color: white;
  font-weight: 600;
}
.header-name {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  white-space: nowrap;
  color: white;
  font-weight: 600;
}

.secondary-btn:hover {
  color: #fff3d1;
}

.primary-border {
  border: 1px solid #fcaf17;
}

.secondary-border {
  border: 1px solid #007dc5;
}

/* Header */
#header {
  background-color: var(--primary-color1);
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 10;
}

#content-header {
  padding: 4px 0;
  /* width: 60%;
max-width: 990px; */
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header #logo {
  min-width: 300px;
}
#button-header button {
  background-color: var(--white-color);
  text-transform: uppercase;
  color: var(--primary-color1);
  padding: 8px 16px;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  border: 1px solid var(--primary-color1);
}

#button-header button:hover {
  background-color: var(--primary-color1);
  color: var(--white-color);
  border: 1px solid var(--white-color);
}

#logged-in-header {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* footer */
#footer {
  border-top: 1px solid var(--primary-color);
}
.footer {
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* get sibbling span.icon of input */
input + span.icon {
  color: var(--primary-color2) !important;
}
::-webkit-input-placeholder {
  color: var(--secondary-color3) !important;
  opacity: 0.4;
}
::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--secondary-color3) !important ;
  opacity: 0.4;
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: var(--secondary-color3) !important;
  opacity: 0.4;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: var(--secondary-color3) !important;
  opacity: 0.4;
}

.tippy-box {
  border: 1px solid #007dc5;
  background: #fff;
  text-align: center;
  color: #333;
}
.tippy-box .tippy-arrow::before {
  border-top-color: #007dc5 !important;
}

div:has(.double-day-swal-btn) {
  margin-top: 0;
}

.double-day-swal-btn {
  background-color: #008fd5 !important;
}

.double-day-swal-title {
  font-size: 1rem;
  font-weight: bold;
  color: #faa61a;
}

div:where(.swal2-container) .double-day-html {
  margin: 1em 1em 0.3em !important;
}

div:where(.swal2-container) div:where(.swal2-popup):has(.double-day-html) {
  padding: 0 0 1em;
}

@media screen and (max-width: 1024px) {
  .container {
    max-width: 750px;
  }
}

@media screen and (max-width: 768px) {
  .container {
    max-width: 95%;
  }

  #logo {
    width: 75px;
    min-width: 75px !important;
  }

  #logo .big-logo {
    display: none;
  }

  #logo .small-logo {
    display: block;
    max-width: 100px;
  }
}

@media screen and (min-width: 768px) {
  #logo .big-logo {
    display: block;
  }

  #logo .small-logo {
    display: none;
  }

  #logo {
    min-width: 300px !important;
  }
}
.slick-dots li button:before {
  content: "" !important;
}
