@import url(./font.css);

* {
  /*color*/
  margin: 0px;
  padding: 0px;
  --dark: #212224;
  --black: #000;
  --white: #fff;
  --point: #5d6dbe;

  --form: #fafafa;
  /*
  --form: #fafafc;
  
  */
  --point-row: #95a0f7;
  --point-semi: #cfd4ec;
  --violet: #bb6fbe;
  --red: #fc78a5;
  --orange: #ff9681;
  --s-yellow: #ffc567;
  --yellow: #f9f871;
  --green: #21c197;
  font-family: "rg";
}
*::-webkit-scrollbar {
  display: none;
}
body {
  background-color: var(--form);
}
.wrap {
  width: 100%;
  position: relative;
}
.inner {
  width: 1400px;
  margin: auto;
  position: relative;
}
.mobile-show {
  display: none;
}
a {
  text-decoration: none;
  color: var(--black);
}
.hidden {
  width: 0px !important;
  height: 0px !important;
  display: none !important;
  overflow: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  border: none !important;
  outline: none !important;
}
.section {
  width: 100%;
  position: relative;
}

.swal2-container {
  z-index: 9999 !important;
}
.button-in-img {
  width: 14px;
  height: 14px;
}

/*header*/

header {
  position: fixed;
  width: 100%;
  top: 0px;
  left: 0px;
  z-index: 9990;
  border-bottom: 1px solid var(--form);
  box-sizing: border-box;
  background-color: var(--white);
}
header .inner {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hedaer-logo-img {
  height: 54px;
}
.header-logo {
  width: 240px;
}
.header-right {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.header-link {
  font-size: 16px;
  transition: all 0.2s ease;
  font-family: "sb";
  position: relative;
  color: var(--dark);
}
.link-dot {
  width: 8px;
  position: absolute;
  top: 36px;
  right: -12px;
  transition: all 0.2s ease;
  height: 8px;
  border-radius: 10px;
  background-color: transparent;
}
.header-center-links {
  width: calc(100% - 480px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}
.header-link:hover {
  color: var(--point);
}
.header-link:hover .link-dot {
  background-color: var(--point);
  top: -8px;
}
.header-right-link {
  font-size: 14px;
  cursor: pointer;
}
.profile-area {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  gap: 12px;
  position: relative;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 100px;
  background-color: var(--white);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.profile-holeder-menu {
  position: absolute;
  left: 0px;
  transition: all 0.2s ease;
  width: 100%;
  background-color: var(--white);
  padding: 0px 12px;
  height: auto;
  max-height: 0px;
  box-sizing: border-box;
  top: 48px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
.phm-link {
  width: 100%;
  display: block;
  transition: all 0.2s ease;
  padding: 12px;
  border-radius: 10px;
  box-sizing: border-box;
}
.phm-link:hover {
  background-color: var(--form);
  color: var(--point);
}
.phm-link.active {
  color: var(--point);
  background-color: var(--form);
}
.profile-area:hover .profile-holeder-menu,
.profile-holeder-menu:hover {
  padding: 12px;
  max-height: 1000px;
}
.profile-line:first-child {
  color: var(--point);
  font-size: 14px;
}
.profile-line:last-child {
}
.profile-left {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
}
.profile-img {
  width: 40px;
  height: 40px;
  border-radius: 100px;
  object-fit: cover;
  display: block;
}
.header-link.active {
  color: var(--point);
}
.header-link.active .link-dot {
  background-color: var(--point);
  top: -8px;
}
/*footer*/

.footer {
  background-color: var(--white);
  padding: 30px 0px;
  box-sizing: border-box;
  border-top: 1px solid var(--form);
}
.footer-top {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--form);
}
.footer-logo {
  height: 40px;
}
.footer-body {
  padding-top: 12px;
  font-size: 12px;
  text-align: center;
}
.footer-line {
  margin-bottom: 4px;
}

/*modal*/

.modal {
  background-color: rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9992;
}
.modal-content {
  width: 90vw;
  max-width: 400px;
  position: relative;
  background-color: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-sizing: border-box;
}
.modal-content-lg {
  max-width: 800px;
}
.modal-content-lg .modal-inner {
  max-height: calc(80vh - 40px);
  overflow-y: scroll;
}
.modal-top-logo {
  margin-bottom: 24px;
}
.modal-top-logo-img {
  height: 32px;
  display: block;
  margin: auto;
}
.form-line {
  margin-bottom: 16px;
}
.form-label {
  font-size: 14px;
  color: var(--dark);
  font-family: "sb";
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 12px;
  background-color: var(--form);
  border-radius: 5px;
  outline: none;
  border: none;
  box-sizing: border-box;
}
.form-button {
  width: 100%;
  height: 36px;
  background-color: var(--point);
  color: var(--white);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 16px;
}
#register-line,
#login-line {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: underline;
  font-size: 14px;
  margin: 12px 0px;
  cursor: pointer;
  color: var(--point);
}

/*select*/
.select-item {
  position: relative;
}
.select-top {
  width: 100%;
  background-color: var(--form);
  border-radius: 5px;
  height: 42px;
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  font-size: 13px;
  box-sizing: border-box;
}
.select-icon {
  width: 15px;
}
.select-top-right {
  display: flex;
  align-items: center;
}
.select-option-list {
  display: block;
  width: 100%;
  max-height: 0px;
  height: auto;
  position: absolute;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  top: 42px;
  transition: all 0.2 ease;
  left: 0px;
  width: 100%;
  background-color: var(--white);
  z-index: 9993;
}
.select-item-input {
  width: 1px;
  position: absolute;
  left: 0px;
  top: 0px;
  border: none;
  outline: none;
  opacity: 0;
}
.select-item-input:checked ~ .select-option-list {
  max-height: 1000px;
}

.select-option {
  width: 100%;
  background-color: var(--white);
  padding: 12px;
  cursor: pointer;
  box-sizing: border-box;
  font-size: 14px;
}

.select-option:hover {
  color: var(--point);
  background-color: var(--form);
}

/*text style*/
.board-title {
  font-size: 24px;
}
.board-title span {
  font-family: "eb";
  color: var(--dark);
  position: relative;
}
.board-title-sm span {
  font-family: "eb";
  color: var(--dark);
  position: relative;
}
.point-dot {
  width: 8px;
  height: 8px;
  right: -12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  top: -8px;
  position: absolute;
  background-color: var(--point);
  border-radius: 10px;
}
.height-my-food {
  height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-family: "sb";
  color: var(--point);
}
.mobile-show {
  display: none;
}
.bottom-bg {
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 9990;
  bottom: 0px;
  left: 0px;
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: end;
  justify-content: center;
}
.bottom-content {
  width: 100%;
  padding: 12px;
  background-color: var(--white);
  box-sizing: border-box;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding-top: 20px;
}
.bottom-links {
  display: block;
  padding: 20px 12px;
  box-sizing: border-box;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
@media (max-width: 1440px) {
  .inner {
    width: 90vw;
  }
  .mobile-show {
    display: flex;
    align-items: center;
  }
  header .inner {
    height: 60px;
  }
  .hedaer-logo-img {
    height: 32px;
  }
  .header-link {
    font-size: 14px;
  }
  .if-card-area {
    padding: 50px;
  }
  .header-logo {
    width: auto;
  }
  .header-center-links,
  .header-right {
    display: none;
  }
  .footer-logo {
    height: 24px;
  }
  .footer-top {
    padding-bottom: 8px;
  }
  .footer-body {
    font-size: 10px;
  }
  .mobile-show img {
    width: 24px;
    height: 24px;
  }
  div:where(.swal2-container) div:where(.swal2-popup) {
    width: 90vw !important;
  }
  div:where(.swal2-container) h2:where(.swal2-title) {
    font-size: 20px !important;
  }
  div:where(.swal2-container) div:where(.swal2-html-container) {
    font-size: 16px !important;
    padding-top: 12px !important;
  }
}
