* {
  box-sizing: border-box;
  outline: none;
}

:root {
  --bg-color: #f5f8ff;
  --main-color: #353536;
  --secondary-color: #8e92a4;
  --main-text-color: #5d606b;
  --secondary-dark-color: #9496a5;
  --tag-color-one: #e0fbf6;
  --tag-color-text-one: #58c2a9;
  --tag-color-two: #ece7fe;
  --tag-color-text-two: #8972f3;
  --tag-color-three: #fde7ea;
  --tag-color-text-three: #e77f89;
  --tag-color-four: #f7f8fc;
  --tag-color-text-four: #a0a6b5;
  --checkbox-color: #009e90;
  --button-color: #49beb7;
  --box-color: #ffbc36d9;
  --box-color-2: #20344ed0;
  --box-color-3: #ffd9d9;
  --box-color-4: #daffe5;
  --task-color: #777982;

  /* Texto */
  --color-yellow: #f4b534;
  --color-blue: #13486b;
}

body {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: auto;
  width: 100%;
  height: 100vh;
  /* padding: 10px; */
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  background-image: url("../img/bg.jpg");
  /* background-image: linear-gradient(21deg, rgba(36, 79, 129, 0.37) 68%, rgba(255, 200, 40, 0.5) 163%), linear-gradient(163deg, rgba(49, 146, 170, 0.07944489965716128) 86%, rgba(239, 112, 138, 0.5) 40%), linear-gradient(30deg, rgba(76, 79, 173, 0.6173675716587805) 22%, rgba(237, 106, 134, 0.5) 169%), linear-gradient(48deg, rgba(31, 85, 147, 0.7323890641868473) 64%, rgba(255, 200, 40, 0.5) 43%); */
  /* background-blend-mode: overlay, multiply, color, normal; */
}

ul {
  list-style-type: none;
  padding: 0;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

summary {
  font-size: 1.5em;
}

.task-manager {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  height: 95vh;
  max-height: 900px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 0.3px 2.2px rgba(0, 0, 0, 0.011),
    0 0.7px 5.3px rgba(0, 0, 0, 0.016), 0 1.3px 10px rgba(0, 0, 0, 0.02),
    0 2.2px 17.9px rgba(0, 0, 0, 0.024), 0 4.2px 33.4px rgba(0, 0, 0, 0.029),
    0 10px 80px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.item {
  display: flex;
  align-items: center;
  color: var(--main-color);
  margin-bottom: 14px;
  font-weight: 500;
}

.category-list {
  margin-top: 50px;

  .item {
    color: var(--secondary-color);
  }
}

.right-bar {
  width: 320px;
  border-left: 1px solid #e3e7f7;
  display: flex;
  flex-direction: column;

  .header {
    font-size: 20px;
    color: var(--main-text-color);
    margin-left: 30px;
  }
}

.top-part {
  padding: 30px;
  display: flex;
  align-items: center;
  /* align-self: flex-end; */
  justify-content: space-between;
}

.right-content {
  padding: 10px 40px;
  overflow-y: auto;
  flex: 1;
}

.task-box {
  position: relative;
  border-radius: 12px;
  width: 95%;
  margin: 20px;
  margin-top: 0;
  padding: 16px;
  cursor: pointer;
  box-shadow: 2px 2px 4px 0px rgba(235, 235, 235, 1);
  overflow-y: auto; /* Habilita el scroll vertical */
  /* height: 40rem; */
  max-height: 15rem;

  &:hover {
    transform: scale(1.02);
  }
}

.task-name {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.6;
}

.font-sum {
  color: var(--tag-color-two);
}

.page-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 40px 60px 0 50px;

  .header {
    font-size: 26px;
    /* color: var(--main-color); */
    margin-top: 30px;
  }
}

.content-categories {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
}

@media (max-width: 600px) {
  /* Ajusta el tamaño según tus necesidades */
  .content-categories {
    display: list-item;
    justify-content: center; /* Centra los elementos horizontalmente en pantallas pequeñas */
    flex-direction: column; /* Cambia la dirección a columna si es necesario */
    align-items: center; /* Centra los elementos verticalmente */
  }
}

.nav-item {
  display: none;
}

.category {
  font-weight: 500;
  color: var(--secondary-color);
  border-bottom: 1px solid #ddd;
  transition: 0.4s ease-in;
  padding: 20px 30px;
  cursor: pointer;
}

.task-item {
  display: none;
}

.tasks-wrapper {
  overflow-y: auto; /* Habilita el scroll vertical */
  /* height: 40rem; */
  max-height: 30rem; /* Define la altura máxima del contenedor para que aparezca el scroll */
  padding-right: 8px;
}

.marg_t {
  margin-top: 20px;
}

.task {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 16px;
  padding-left: 30px;
  color: var(--task-color);
  font-size: 13px;
  font-weight: 500;

  &:hover {
    transform: translatex(2px);
  }

  label {
    cursor: pointer;
  }
}

.center {
  text-align: center;
}

/* Menu */
.menu-item {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.menu-item:hover {
  color: #ffbc36d9;
  text-decoration: none;
}

.close-icon {
  font-size: 2rem;
}
/* -- */

.active {
  color: #ffbc36d9;
  font-weight: bold;
}

.upcoming {
  border-bottom: 1px solid #ddd;
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.personalized-icon {
  font-size: 0.9rem;
  margin-right: 9px;
}
.text-small {
  font-size: 0.65rem;
  color: #8e92a4;
}

.scroll-info {
  font-size: 0.65rem;
  color: #8e92a4;
}

/*         Encabezados y subencabezados          */
.nav-tabs {
  border-bottom: none !important;
}
.nav-link {
  color: #ddd !important;
  padding-bottom: 5px !important;
  border-bottom: 1px solid #ddd !important;
  display: inline-block !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}

.nav-link:hover {
  color: #ad9868 !important;
  border-bottom: 2px solid #ad9868 !important;
}
.nav-link.active,
.nav-link.active:hover {
  border-bottom: 2px solid #13486b !important;
  color: #13486b !important;
}

/* ---------------------------------------------- */

.label-wrapper {
  margin-right: 15px !important;
}

.btn-exportar {
  border: 1px solid #193048;
  background-color: #ffffff;
  color: #193048;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.btn-exportar:hover {
  background-color: #193048;
  color: #ffffff;
}

.largemin {
  min-height: 30rem;
}

/* texto */
.text-yellow {
  color: var(--color-yellow);
}

.text-blue {
  color: var(--color-blue);
}

.text-white {
  color: #fff;
  font-weight: bolder;
}

.text-black {
  color: #000000;
  font-weight: bolder;
}

.btn-historico {
  background-color: #ffbc36d9;
}

.btn-historico:hover {
  box-shadow: 0 4px 8px rgba(16, 65, 134, 0.1);
}

.card-yellow {
  background-color: #ffbc36d9;
  padding: 35px 10px 2px 10px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.251);
}

.card-blue {
  background-color: #13486b;
  padding: 35px 10px 2px 10px;
  border-radius: 5px;
}

@media screen and (max-width: 900px) {
  .left-bar {
    display: none;
  }
}

@media screen and (max-width: 700px) {
  .task-manager {
    flex-direction: column;
    overflow-y: auto;
  }

  .right-bar,
  .page-content {
    width: 100%;
    display: block;
  }

  .tasks-wrapper {
    height: auto;
  }
}

@media screen and (max-width: 520px) {
  .page-content {
    padding: 40px 10px 0 10px;
  }

  .right-content {
    padding: 10px 16px;
  }

  .category {
    padding: 20px;
  }
}
