html,
body {
  height: 100%;
}

body {
  overflow-y: auto;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  display: none;
}

.button_help {
  display: none;
}

.side-overlay.open .side-panel {
  height: auto !important;
}

.user-menu-container-header {
  position: fixed;
  top: 96px;
  right: 24px;
  z-index: 1500;
}

.task-card {
  cursor: pointer;
}

.task-card {
  position: relative;
}

#move-menu-overlay {
  display: none;
}

.mobile-move-btn {
  display: none;
}

.drag-area.drag-highlight {
  border: 2px dotted #4589ff;
  background-color: rgba(69, 137, 255, 0.15);
}

@media (min-width: 2000px) {
  header {
    top: 0;
    width: calc(100% - 25.5rem);
    z-index: 100;
    background-color: transparent;
  }

  #greetID {
    margin-left: 60px;
  }

  .header-wrapper-responsive {
    background-color: #4589ff;
    width: 100%;
  }

  .main-content {
    flex: unset;
    display: block;
    margin-bottom: 400px;
  }

  .edit-contact-headcard {
    z-index: 2000;
  }

  .wrapper-main-task-btn-addTask_page {
    padding-right: 20%;
  }
}

@media (min-width: 2500px) {
  header {
    width: 60%;
  }

  .wrapper-main-task-btn-addTask_page {
    padding-right: 40%;
  }
}

@media (min-width: 3000px) {
  header {
    width: 50%;
  }

  .wrapper-main-task-btn-addTask_page {
    padding-right: 50%;
  }
}

@media (min-width: 4000px) {
  header {
    width: 40%;
  }

  #greetID {
    margin-left: 58px;
  }

  .wrapper-main-task-btn-addTask_page {
    padding-right: 60%;
  }
}

@media (max-width: 1300px) {
  .task-card {
    min-width: 252px;
    max-width: 252px;
  }

  .main-content-board .column-body {
    flex-direction: row;
    overflow-x: auto;
  }

  .column-body {
    padding-bottom: 100px;
  }

  .main-content-board .board {
    width: 100%;
    padding-right: 30px;
  }

  .main-content-board {
    padding-left: 28px;
    padding-top: 50px;
  }

  .main-content-board .column-body::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
  }
  .empty-pill {
    width: 252px;
    align-self: center;
  }
}

@media (max-width: 1099px) {
  nav-main-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .side-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    padding: 16px 5px;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.18);
    background: #ffffff;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 2000;
  }

  .sidebar-high-section-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 45px;
    gap: 5px;
  }

  .sidebar-low-section-container {
    display: none;
  }

  .button-sidebar {
    width: auto;
    padding: 5px;
    text-align: center;
    flex-direction: column;
    justify-content: center;
  }

  .button-sidebar:hover {
    background: rgba(210, 227, 255, 0.6);
  }

  .header-font,
  .img-headbar {
    display: none;
  }

  .button_help {
    display: block;
  }

  .btn-primary {
    display: none;
  }

  .main-addTask_page {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    max-height: 100dvh;
    overflow-y: auto;
    height: calc(95vh - 161px);
  }

  .btn-clear-addTask_page,
  .btn-done-addTask_page {
    margin-bottom: 60px;
  }
}

@media (orientation: landscape) and (max-width: 1000px) {
  body > * {
    display: none !important;
  }

  body::before {
    content: "Please rotate your device to portrait mode.";
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
    text-align: center;
    background: #ffffff;
  }
}

@media (max-width: 900px) {
  .layout-container-addTask_page {
    flex-direction: column;
  }

  .wrapper-main-task-btn-addTask_page {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .task-title-addTask_page {
    font-size: 18px;
  }

  .task-title-addTask_page::placeholder {
    font-size: 22px;
  }

  .section-heading-addTask_page {
    font-size: 16px;
  }

  .task-input-addTask_page,
  .label-addTask_page {
    font-size: 15px;
  }

  .task-description-addTask_page {
    font-size: 15px;
    padding-top: 12px;
    height: 80px;
  }

  .task-date-addTask_page,
  .task-select-addTask_page,
  .task-subtask-addTask_page {
    font-size: 15px;
  }

  .priority-group-addTask_page {
    gap: 6px;
  }

  .priority-btn-urgent-addTask_page,
  .priority-btn-medium-addTask_page,
  .priority-btn-low-addTask_page {
    padding: 10px 8px;
    font-size: 15px;
  }

  .task-buttons-addTask_page {
    position: sticky;
    bottom: 65px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    height: auto;
    background: #ffffff;
    z-index: 990;
  }

  .btn-clear-addTask_page,
  .btn-done-addTask_page {
    width: auto;
    margin: 0;
    height: 44px;
    font-size: 13px;
    padding: 0 16px;
  }

  .btn-clear-addTask_page {
    min-width: 96px;
  }

  .btn-done-addTask_page {
    min-width: 132px;
  }

  .assign-placeholder-addTask_page {
    font-size: 15px;
  }

  .subtask-list-addTask_page {
    padding-bottom: 30px;
  }

  .searchbox {
    min-width: 274px;
    width: 193px;
  }

  .user-menu-content-header {
    background-color: white;
  }
}

@media (max-width: 600px) {
  .header-wrapper-responsive {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
}

@media (max-width: 500px) {
  .main-addTask_template {
    width: 272px !important;
    padding-left: 0 !important;
    left: 17px !important;
  }
}

.side-overlay.open .side-panel {
    height: 100vh !important;
    max-width: 100vw;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
  }

@media (max-width: 398px) {
  .h1_privacy_policy {
    font-size: 25px !important;
  }
  .priority-btn-medium-addTask_template, 
  .priority-btn-urgent-addTask_template, 
  .priority-btn-low-addTask_template {
    height: 65px !important;
}
  .h2_privacy_policy {
    font-size: 17px !important;
  }

  .h2_what_is_Join {
    font-size: 25px;
  }
   #task-modal {
    backdrop-filter: none !important;
    background: #ffffff !important;
    justify-content: flex-start !important;
  }

  #task-modal-content {
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    border: 0 !important;
  }
}
