@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Display:wght@400;500;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
}
body {
  font-family: "Noto Sans Display", sans-serif;
  display: flex;
  height: 100vh;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem;
  color: #20262e;
  background-color: #fffbeb;
}

.something-wrong-box {
  display: none;
  position: absolute;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.178);
}
.something-wrong-box::before {
  content: "😭 Sorry Something Went Wrong!!!";
  position: absolute;
  top: 30%;
  left: 50%;
  z-index: 1000;
  transform: translate(-50%, 50%);
  border-radius: 5px;
  font-size: 2rem;
  background-color: #fff;
  padding: 5rem;
}
.show-error {
  display: block;
}
h1 {
  font-weight: 700;
  margin-bottom: 5rem;
  text-align: center;
  font-size: 3rem;
}

.dashboard-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}
.side-bar-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-right: 0.4rem solid #20262e;
  padding-right: 3rem;
  padding-bottom: 1rem;
}

.users-info {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 2rem;
}

.header-info,
.row,
.total {
  display: flex;
  justify-content: space-between;
}

.header-info {
  font-size: 2.5rem;
  font-weight: 600;
  border-bottom: 0.4rem solid #666;
  padding: 0 1rem 2rem 1rem;
}
.data-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.row {
  font-size: 2rem;
  background-color: #fff;
  padding: 1rem;
  border-bottom: 0.1rem solid #666;
}

.add-user {
  display: block;
  text-align: center;
  font-size: 2rem;
  border: 1px solid rgba(255, 0, 0, 0.349);
  padding: 0.5rem;
  border-radius: 0.5rem;
}
.default-waiting-data-text {
  display: none;
}
.start-waiting-data-text {
  /* -webkit-animation: scale 1s linear infinite;
  -moz-animation: scale 1s linear infinite;
  animation: scale 1s linear infinite; */
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  font-size: 0;
  text-align: center;
  animation: blink-animation 1s steps(5, start) infinite;
  -webkit-animation: blink-animation 1s steps(1000, start) infinite;
}

.stop-waiting-data-text {
  display: none !important;
}

@keyframes scale {
  100% {
    -webkit-transform: scaleY(1);
  }
}

@keyframes blink-animation {
  to {
    font-size: 2rem;
  }
}

.remove-elment {
  display: none;
}
.total {
  opacity: 0;
  font-size: 2rem;
  background-color: #000;
  color: #fff;
  padding: 1rem;
  transition: all 2s;
}
.visiable {
  opacity: 1;
}
.btn {
  padding: 1.6rem;
  font-size: 1.6rem;
  border: 0.4rem solid #666;
  background-color: #fff;
  border-radius: 0.5rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.322);
}

.btn:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.322);
}
.btn:active {
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.322);
}

@media (max-width: 58.5em) {
  html {
    font-size: 58%;
  }
}
@media (max-width: 55em) {
  html {
    font-size: 55%;
  }
}
@media (max-width: 53em) {
  html {
    font-size: 52%;
  }
}
@media (max-width: 50em) {
  html {
    font-size: 49%;
  }
}
@media (max-width: 46em) {
  html {
    font-size: 46%;
  }
}
@media (max-width: 43em) {
  html {
    font-size: 43%;
  }
  .dashboard-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .side-bar-features {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    border: none;
    padding: 0;
    grid-row: 2;
    border-top: 0.4rem solid #20262e;
    padding-top: 3rem;
    padding-bottom: 1rem;
  }
  .btn {
    width: 100%;
  }
}
