* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

.container {
  height: 100vh;
}

.navbar {
  background-color: #57606f;
  height: 15vh;
  display: flex;
  justify-content: space-evenly;
  position: fixed;
  top: 0;
  width: 100%;
  overflow: hidden;
}

.ticket-container {
  margin-top: 15vh;
  height: 85vh;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-content: flex-start;
  /* grid-gap: 30px; */
}

.filters,
.action-buttons {
  height: 50%;
  background-color: #f1f2f6;
  margin-top: calc((25 / 100) * 15vh);
  border-radius: 5px;
}

.filters {
  width: 16rem;
  display: flex;
}

.action-buttons {
  width: 8rem;
  display: flex;
}

.filter {
  height: 100%;
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.add,
.delete {
  height: 100%;
  width: 50%;
  color: #2f3542;
  font-size: 3rem;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

.delete {
  font-size: 2.9rem;
}

.add:hover {
  background-color: #747d8c;
  color: #ffffff;
  cursor: pointer;
  border-radius: 3px 0 0 3px;
}

.delete:hover,
.delete-selected {
  background-color: #747d8c;
  color: #ffffff;
  cursor: pointer;
  border-radius: 0 3px 3px 0;
}

.filter div {
  height: 50%;
  width: 50%;
  border-radius: 6px;
  cursor: pointer;
}

.pink {
  background-color: #ff80bf;
}

.green {
  background-color: #00cc00;
}

.blue {
  background-color: #1a8cff;
}

.black {
  background-color: #1a1a1a;
}

.material-icons {
  font-size: 2.5rem !important;
}

.modal {
  height: 20rem;
  width: 35rem;
  position: fixed;
  top: 20vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.task-section {
  background: #747d8c;
  height: 100%;
  width: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.task-inner-container {
  height: 80%;
  width: 80%;
  background: white;
  outline: none;
  font-size: 1.2rem;
  /* font-family: Arial, Helvetica, sans-serif; */
  padding: 10px;
  overflow: auto;
}

.modal-priority-section {
  height: 100%;
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #2c3e50;
}

.priority-inner-container {
  height: 80%;
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  background: white;
}

.modal-priority {
  height: 22%;
  width: 80%;
}

.modal-priority:hover {
  border: 3px solid #ecf0f1;
  cursor: pointer;
}

.selected {
  border: 3px solid #ecf0f1;
}

.ticket {
  height: 12rem;
  width: 20rem;
  border: 1px solid #57606f;
  border-radius: 0 0 1.2rem 1.2rem;
  margin: 50px 20px;
}

.ticket-color {
  width: 100%;
  height: 8%;
  cursor: pointer;
}

.ticket-id {
  width: 100%;
  height: 16%;
  padding: 5px;
  font-weight: bold;
  background: #ffffff;
}

.actual-task {
  width: 100%;
  height: 76%;
  padding: 10px;
  border-radius: 0 0 1rem 1rem;
  background: #cc3399;
  color: #ffffff;
  text-align: center;
  outline: none;
}

.selected-filter {
  border: 2px solid #747d8c;
}

.popup-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 38%;
  background-color: white;
  padding: 6rem;
  border-radius: 5px;
  box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.3);
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 5;
}

.hidden {
  display: none;
}

.close-modal {
  position: absolute;
  top: 1.2rem;
  right: 2rem;
  font-size: 2rem;
  padding: 0 10px;
  color: #333;
  cursor: pointer;
  border: none;
  background: #ffffff;
}

.close-modal:hover {
  background: #ff4757;
  border-radius: 5px;
  transition: 0.3s;
  color: #ffffff;
}

.show-modal {
  font-size: 2rem;
  font-weight: 600;
  padding: 1.75rem 3.5rem;
  margin: 5rem 2rem;
  border: none;
  background-color: #fff;
  color: #444;
  border-radius: 10rem;
  cursor: pointer;
}

.modal-btns {
  margin-top: 1rem;
}

.cancel,
.confirm {
  background-color: #ddd;
  border: none;
  color: black;
  padding: 10px 20px;
  text-align: center;
  font-size: 16px;
  margin-top: 20px;
  margin-right: 50px;
  transition: 0.5s;
  border-radius: 5px;
}

.cancel:hover {
  background-color: #ff4757;
  color: #fff;
}
.confirm:hover {
  background-color: #3e8e41;
  color: white;
}

.modal-text {
  font-size: 1.5rem;
}

.close-button {
  position: absolute;
  top: 5px;
  right: 10px;
  padding: 3px 10px;
  color: #ffffff;
}

.close-button:hover {
  background: #ff4757;
  border-radius: 2px;
  cursor: pointer;
}

@media only screen and (max-width: 900px) {
  .navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .filters {
    margin-top: 5px;
  }
  .action-buttons {
    margin-bottom: 5px;
    margin-top: 5px;
  }
  .modal {
    width: 90%;
  }
  .popup-modal {
    width: 90%;
    align-items: center;
  }
  .modal-text {
    display: flex;
    font-size: 14px;
  }
  .modal-btns {
    display: flex;
  }
  .cancel,
  .confirm {
    font-size: 14px;
    width: 30%;
    padding: 10px;
  }

  .cancel {
    margin-left: 60px;
  }
  .confirm {
    margin-right: 58px;
  }
  .close-modal {
    font-size: 20px;
  }
}
