@import "./_common-style/_navbar";
@import "./_common-style/_footer";
@import "./_common-style/_sidebar";

body {
  font-size: 17px;
  overflow-x: hidden;
  min-height: calc(100vh - 80px);
}
.dashboard{
  display: block;
}
.dropdown{
  display: none;
}
.main-body {
  padding: 0;
  margin: 0;
}

.content {
  width: 80%;
  min-height: calc(100vh - 80px);
  display: grid;
  row-gap: 20px;
  padding: 30px 40px;
  .hidden_notification{
    display: none;
  }
  .display_notification{
    position: absolute;
    display: inline-block;
    font-size: 18px;
    width: fit-content;
    padding: 20px 15px;
    border-radius: 4px;
    background-color: #141619;
    color: #f6f5f9;
    box-shadow: 0 1px 10px rgba(0, 0, 0, .1);
    transform: translateY(30px);
    opacity: 0;
    visibility: hidden;
    animation: fade 4s linear forwards;
    right: 5px;
    top: 5px;
  }
  .progress{
    position: absolute;
    left: 5px;
    bottom: 5px;
    width: 0;
    height: 3px;
    background-image: linear-gradient(to right, #529bdb, #3250bf);
    border-radius: 4px;
    animation: progress 3s .25s linear forwards;
  }

  @keyframes fade{
    5%{
      opacity: 1;
      visibility: visible;
      transform: translate(0px);
    }
    90%{
      opacity: 1;
      transform: translateY(0px);
    }
    95%{
      opacity: 0;
    }
    100%{
      opacity: 0;
      transform: translateY(-30px);
    }
  }
  @keyframes progress{
    to{
      width: calc(100% - 10px);
    }
  }

  .title {
    width: 100%;
    height: 50px;
    color: blue;
    text-align: center;
    font-size: 35px;
    line-height: 35px;
  }

  .main-information {
    border: 1px solid gray;
    border-radius: 4px;
    padding: 13px;

    .content-top {
      height: fit-content;
      display: grid;
      column-gap: 10px;
      grid-template-columns: 1fr 1fr;

      .content-top-1 {
        p {
          font-size: 17px;
          margin-left: 20px;

          span {
            font-weight: 600;
          }
        }
      }

      .content-top-2 {
        p {
          font-size: 17px;
          margin-left: 20px;

          span {
            font-weight: 600;
          }
        }
      }
    }

    .content-bottom {
      display: grid;
      grid-template-columns: 1fr 1fr;
      column-gap: 20px;

      .content-bottom-1 {
        border-radius: 8px;
        border: 1px solid gray;
        padding: 10px 20px;

        h3 {
          font-weight: 500;
          text-align: center;
          font-size: 22px;
        }

        table {
          text-align: center;
        }
      }

      .content-bottom-2 {
        border-radius: 8px;
        border: 1px solid gray;
        padding: 10px 20px;

        h3 {
          font-weight: 500;
          text-align: center;
          font-size: 22px;
        }

        table {
          text-align: center;
        }
      }
    }
  }
}

@media only screen and (max-width: 1024px) {
  .content{
    width: 100%;
    padding: 0;
    margin: 0;
    min-height: calc(100vh - 80px);
    .title {
      width: 100%;
      height: 50px;
      color: blue;
      text-align: center;
      font-size: 35px;
      line-height: 35px;
      margin: 10px;
    }

    .main-information {
      border: 1px solid gray;
      border-radius: 4px;
      padding: 13px;
      margin: 10px;

      .content-top {
        height: fit-content;
        display: grid;
        column-gap: 10px;
        grid-template-columns: 1fr 1fr;

        .content-top-1 {
          p {
            font-size: 17px;
            margin-left: 20px;

            span {
              font-weight: 600;
            }
          }
        }

        .content-top-2 {
          p {
            font-size: 17px;
            margin-left: 20px;

            span {
              font-weight: 600;
            }
          }
        }
      }

      .content-bottom {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;

        .content-bottom-1 {
          border-radius: 8px;
          border: 1px solid gray;
          padding: 10px 20px;

          h3 {
            font-weight: 500;
            text-align: center;
            font-size: 22px;
          }

          table {
            text-align: center;
          }
        }

        .content-bottom-2 {
          border-radius: 8px;
          border: 1px solid gray;
          padding: 10px 20px;

          h3 {
            font-weight: 500;
            text-align: center;
            font-size: 22px;
          }

          table {
            text-align: center;
          }
        }
      }
    }
  }
  .dashboard{
    display: none;
  }
  .dropdown{
    display: block;
    padding: 0;
    width: fit-content;
    height: fit-content;
  }
}