@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,700;1,400&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

body {
  font-family: sans-serif;
  display: flex; }

.regresar {
  width: 33px;
  height: 33px;
  margin: 20px; }

.nav {
  width: 300px; }
  .nav .list {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #bacad8; }
    .nav .list .box-img {
      width: 80%;
      height: 26%;
      margin: 40px auto; }
      .nav .list .box-img .logo {
        width: 100% !important;
        height: 100% !important; }
    .nav .list .list__inside .nav_link:hover {
      background: #eaf6f6; }
    .nav .list .list_item {
      list-style-type: none;
      width: 100%;
      text-align: center;
      overflow: hidden; }
      .nav .list .list_item .list__show {
        width: 80%;
        margin-left: auto;
        border-left: 2px solid #303440;
        list-style: none;
        transition: height .4s;
        height: 0; }
      .nav .list .list_item .list__button {
        display: flex;
        align-items: center;
        gap: 1em;
        width: 70%;
        margin: 0 auto; }
        .nav .list .list_item .list__button .nav_link--inside {
          border-radius: 6px;
          padding-left: 16px; }
      .nav .list .list_item .list__arrow {
        margin-left: auto; }
    .nav .list .list_item--click {
      cursor: pointer; }

.nav_link {
  color: #303440;
  display: block;
  padding: 15px 0px;
  text-decoration: none; }

img {
  width: 20px;
  height: 20px; }

.main {
  width: 100%;
  background-color: rgba(254, 244, 244, 0.73); }
  .main .cards {
    width: 80%;
    margin: 40px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; }
    .main .cards .card {
      width: 25%;
      margin: 30px;
      background: #bacad8;
      border-radius: 10px;
      text-align: center;
      padding: 20px; }
      .main .cards .card h2 {
        margin-bottom: 6px;
        font-size: 1.6rem; }
      .main .cards .card .card-contenido .card-img {
        width: 40px;
        height: 40px; }
      .main .cards .card .card-contenido p {
        margin-top: 10px;
        margin-bottom: 7px;
        font-size: 1.2rem; }
      .main .cards .card .card-contenido button {
        width: 100%;
        height: 30px;
        border-radius: 10px;
        background-color: #6f8597;
        color: black;
        font-size: 1.2rem;
        border: none;
        outline: none;
        cursor: pointer; }
      .main .cards .card .card-contenido a {
        text-decoration: none;
        color: #fff; }
  .main .title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-top: 3rem;
    text-align: center; }

.main .box-table {
  display: flex;
  flex-direction: column;
  align-items: center; }
  .main .box-table .box-table-text {
    width: 70%;
    display: flex;
    justify-content: center;
    margin-bottom: 25px; }
    .main .box-table .box-table-text h2 {
      margin: auto 0;
      font-size: 300%; }
    .main .box-table .box-table-text .boton-table {
      width: 300px;
      padding: 5px;
      text-align: center;
      border: 1px solid #ccc;
      border-radius: 4px;
      background: #6f8597;
      cursor: pointer;
      text-decoration: none;
      color: #000000;
      margin: auto; }
    .main .box-table .box-table-text .boton-table:hover {
      color: #fbfbfb; }
  .main .box-table .table {
    margin: auto;
    border-collapse: collapse;
    width: 80%; }
    .main .box-table .table #table-agregar {
      text-align: center;
      font-size: 1.1rem; }
    .main .box-table .table th {
      padding: 1em;
      border: 2px solid #303440; }
    .main .box-table .table .contain {
      border: 2px solid #303440; }
      .main .box-table .table .contain td {
        border: 2px solid #303440; }

.div_form {
  width: 80%;
  margin: auto; }
  .div_form .form {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%; }
    .div_form .form .agregar {
      margin: 10px auto;
      padding: 5px; }
    .div_form .form .first_head {
      width: 50%; }
      .div_form .form .first_head .box_input {
        width: 100%; }
        .div_form .form .first_head .box_input label {
          width: 100%;
          text-align: left;
          font-size: 1.2rem;
          color: #000;
          margin-bottom: 0.5rem; }
        .div_form .form .first_head .box_input input {
          width: 50%;
          height: 1.5rem;
          border: 1px solid #000;
          border-radius: 0.5rem;
          padding: 0.5rem;
          font-size: 1.2rem;
          color: #000;
          margin-bottom: 0.5rem; }
    .div_form .form .second_head {
      width: 50%; }
      .div_form .form .second_head .box_input {
        width: 100%; }
        .div_form .form .second_head .box_input select {
          width: 50%;
          height: 1.5rem;
          border: 1px solid #000;
          border-radius: 0.5rem;
          font-size: 12px;
          color: #000;
          margin-bottom: 0.5rem; }
        .div_form .form .second_head .box_input label {
          width: 100%;
          text-align: left;
          font-size: 1.2rem;
          color: #000;
          margin-bottom: 0.5rem; }
        .div_form .form .second_head .box_input input {
          width: 50%;
          height: 1.5rem;
          border: 1px solid #000;
          border-radius: 0.5rem;
          padding: 0.5rem;
          font-size: 1.2rem;
          color: #000;
          margin-bottom: 0.5rem; }
    .div_form .form .agregar {
      width: 30%; }

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #111111bd;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s .9s;
  --transform: translateY(-100vh);
  --transition: transform .8s; }
  .modal .modal__container {
    margin: auto;
    width: 90%;
    max-width: 600px;
    max-height: 90%;
    background-color: #fff;
    border-radius: 6px;
    padding: 3em 2.5em;
    display: grid;
    gap: 1em;
    place-items: end;
    grid-auto-columns: 100%;
    transform: var(--transform);
    transition: var(--transition); }
    .modal .modal__container .form {
      width: 100%;
      display: flex;
      flex-direction: column; }
      .modal .modal__container .form label {
        font-size: 1.2em;
        font-weight: bold;
        margin-bottom: .5em; }
      .modal .modal__container .form input {
        width: 100%;
        padding: .5em;
        border-radius: 6px;
        border: 1px solid #ccc;
        margin-bottom: 1em;
        font-size: 1.2em;
        outline: none; }
    .modal .modal__container #close {
      font-size: 1.4rem;
      position: fixed;
      top: 1em;
      right: 1em;
      color: red;
      cursor: pointer; }
  .modal .modal__title {
    font-size: 2.5rem;
    margin: auto;
    margin-bottom: 10px; }
  .modal .modal__close {
    text-decoration: none;
    color: #fff;
    background-color: #F26250;
    padding: 1em 3em;
    border: 1px solid;
    border-radius: 6px;
    display: inline-block;
    font-weight: 300;
    transition: background-color .3s; }
  .modal .modal__close:hover {
    color: #F26250;
    background-color: #fff; }

.modal--show {
  opacity: 1;
  pointer-events: unset;
  transition: opacity .6s;
  --transform: translateY(0);
  --transition: transform .8s .8s; }

.button_form {
  width: 100%;
  height: 30px;
  border-radius: 10px;
  background-color: #6f8597;
  color: black;
  font-size: 1.2rem;
  border: none;
  outline: none;
  cursor: pointer; }

.button_form:hover {
  color: white; }

.card-error {
  width: 70%;
  height: 100%;
  color: red;
  text-align: center;
  border-radius: 6px;
  margin: 5px auto;
  padding: 11px;
  background: rgba(250, 177, 177, 0.671); }

.card-success {
  width: 70%;
  height: 100%;
  color: black;
  text-align: center;
  border-radius: 6px;
  margin: 5px auto;
  padding: 11px;
  background: rgba(177, 250, 183, 0.671); }

.btn-eliminar {
  width: 44%;
  height: auto;
  background: red;
  display: inline;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  margin: 5px; }
  .btn-eliminar svg {
    width: 20px; }
  .btn-eliminar:hover {
    cursor: pointer; }

.btn-editar {
  width: 44%;
  height: auto;
  background: greenyellow;
  display: inline;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  margin: 5px; }
  .btn-editar svg {
    width: 20px; }
  .btn-editar:hover {
    cursor: pointer; }

.select {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
  width: 100%; }
  .select select {
    display: inline-block;
    width: 100%;
    cursor: pointer;
    padding: 4px 30px;
    outline: 0;
    border: 0px solid #ffffff;
    border-radius: 11px;
    background: #6f8597;
    color: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none; }
