@media (max-width: 2300px) {
  .board-header {
    margin-left: 0;
  }

  .kanban-board {
    margin-left: 0;
  }
}

@media (max-width: 1120px) {
  .to-do:hover,
  .done:hover,
  .urgent-and-date:hover,
  .tasks-in-board:hover,
  .tasks-in-progress:hover,
  .awaiting-feedback:hover {
    transform: scale(1);
  }
}

@media (max-width: 625px) {
  .slide-out-tl {
    width: 64px;
    height: 84px;
  }

  @keyframes slide-out-tl {
    0% {
      top: 50%;
      left: 50%;
      width: 64px;
      height: 80px;
      transform: translate(-50%, -50%) scale(1);
    }
    100% {
      top: 25px;
      left: 35px;
      width: 64px;
      height: 80px;
      transform: translate(0, 0) scale(1);
    }
  }

  #mobile-logo .letter {
    fill: white;
    animation: fillChange 1s ease-in-out 1s forwards;
  }

  @keyframes fillChange {
    from {
      fill: white;
    }
    to {
      fill: rgb(42, 54, 71);
    }
  }

  .slide-out-bc-tl {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    animation: slide-out-bc-tl 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 1s;
    z-index: 5;
    background-color: rgb(42, 54, 71);
  }

  @keyframes slide-out-bc-tl {
    0% {
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgb(42, 54, 71);
    }
    100% {
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgb(246, 247, 248);
      z-index: -1;
    }
  }

  #full-screen-logo {
    display: none;
  }

  #mobile-screen-logo {
    display: flex;
  }

  header {
    position: absolute;
    bottom: 128px;
    margin-top: 0;
    width: 90%;
    padding: 0;
  }

  #header-div {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  #sign-up-btn {
    width: 90px;
  }

  .user-account {
    width: 48px;
    height: 48px;
  }

  #contact-logo-div img {
    width: 64px;
    height: 64px;
  }

  #main {
    width: 90%;
  }

  #login-div {
    height: 60%;
  }

  .input-divider {
    width: 90%;
  }

  #email-input,
  #password-input {
    width: 100%;
  }

  #wrong-password-div {
    width: 90%;
  }

  .wrong-password-div {
    width: 90%;
  }

  .menu-div h1 {
    margin-top: 24px;
  }

  #btn-login-div {
    flex-direction: column;
    width: 60%;
    margin: 24px 0;
  }

  #btn-login-div button {
    width: 100%;
    margin-bottom: 24px;
  }

  header {
    bottom: 90px;
  }

  #sign-up-div {
    width: 90%;
    margin-top: 14vh;
  }

  .menu-input {
    width: 100%;
  }

  main {
    margin-top: 8vh !important;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    padding: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-left: 10px;
    overflow: auto;
  }

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

  .full-screen-border {
    display: none;
  }

  .mobile-border {
    display: block;
  }

  .tasks-and-text {
    padding-left: 20px;
    width: 100%;
    margin-bottom: 11vh;
  }

  .all-tasks {
    width: 100%;
  }

  .to-do,
  .done,
  .urgent-and-date,
  .tasks-in-board,
  .tasks-in-progress,
  .awaiting-feedback {
    width: 100%;
  }

  .urgent-and-date,
  .tasks-in-editing {
    margin-top: 4px;
  }

  main h1 {
    padding-top: 10px;
  }

  .add-task-form {
    margin-bottom: 10px;
    height: 450px;
    display: flex;
    flex-direction: column;
    overflow: scroll;
    width: 100%;
  }

  .add-task-text-div,
  .add-task-select-div {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .add-task-form-divider {
    display: none;
  }

  .add-task-importance-selection,
  #drop-down-users-input-div,
  #category-button,
  .subtask-div {
    margin-bottom: 24px;
  }

  #drop-down-users-input,
  #drop-down-users-input-img-div {
    margin-bottom: 0;
  }

  #required-div {
    display: none;
  }

  #required-div-mobile {
    display: flex;
  }

  #button-div {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    margin-top: 5vh;
    margin-bottom: 5vh;
    gap: 24px;
  }

  .mobile-hide {
    display: flex;
  }

  .mobile-navigation-div .mobile-hide {
    display: flex;
  }

  .kanban-board,
  .board-header {
    padding: 0;
    padding-left: 10px;
  }

  .board-header {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
    margin-bottom: 20px;
  }

  .board-header-btns {
    width: 100%;
    justify-content: space-between;
  }

  .kanban-board {
    flex-direction: column;
    margin-bottom: 12vh;
  }

  .board-search {
    margin-right: 0;
  }

  #to-do-div,
  #in-progress-div,
  #await-feedback-div,
  #done-div {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 8px;
  }

  #to-do-div::-webkit-scrollbar,
  #in-progress-div::-webkit-scrollbar,
  #await-feedback-div::-webkit-scrollbar,
  #done-div::-webkit-scrollbar {
    display: none;
  }

  .kanban-task {
    min-width: 240px;
  }

  #drop-down-users-input {
    width: auto;
    flex-grow: 1;
  }

  .add-task-importance-selection {
    flex-direction: column;
  }

  #edit-subtask {
    max-width: 193px;
  }

  #header-contacts {
    display: none;
  }

  .contacts-page {
    width: 100%;
  }

  #contacts {
    padding-left: 24px;
    padding-right: 24px;
  }

  hr {
    width: 100%;
  }

  .contact-details {
    margin-left: 16px;
  }

  .contact {
    width: 100%;
  }

  .contacts-container {
    width: 100%;
    margin-bottom: 10vh;
    padding-top: 48px;
  }

  .add-contact-button {
    display: none;
  }

  #mobile-contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: fixed;
    right: 9vw;
    bottom: 12vh;
    cursor: pointer;
    border: none;
    background-color: #2a3647;
    color: #ffffff;
  }

  #help-button {
    display: flex;
  }
}

@media (max-width: 750px) {
  #back-btn {
    right: 40%;
  }
}

@media (max-width: 400px) {
  #contacts {
    padding: 0;
  }
}

@media (max-width: 350px) {
  .urgent-icon-responsiv {
    height: 50px;
    width: 50px;
  }
}
