/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

li {
  list-style: none;
}

button {
  border: 0;
  font: inherit;
  cursor: pointer;
  background: none;
}

address {
  font-style: normal;
}

/* GLOBAL CSS */

/* ripple event */

.ripple {
  background-color: #191c1c;
  position: absolute;
  pointer-events: none;
  z-index: 1;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  transform-origin: center;
  opacity: 0.12;
  border-radius: 50%;
  animation: ripple 800ms cubic-bezier(0.2, 0, 0, 1) forwards;
}

@keyframes ripple {
  0% {
    scale: 0;
  }
  100% {
    scale: 2.5;
  }
}

.flex {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn,
.btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  /* font-weight: medium; */
  letter-spacing: 1px;
  gap: 10px;
  height: 60px;
  padding-inline: 10px;
  border: 0;
  border-radius: 8px;
}

.btn svg {
  width: 13px;
  height: 13px;
}

.btn-primary,
.btn-secondary {
  color: #fff;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: #5d6eff;
}
.btn-secondary {
  background-color: #0ad4c8;
}

/* .btn-secondary:hover { background-color: #2daba2; } */

.btn-outline {
  background: transparent;
  transition: 0.5s ease-in-out;
}

/* .btn-primary:hover {
      background-color: #263bf5;
   } */

.header .btn-outline {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-primary::after,
.btn-secondary::after,
.header .btn-outline:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: -50px;
  background-image: linear-gradient(
    90deg,
    hsla(0, 0%, 0%, 0.1) 0px 77%,
    hsla(0, 0%, 100%, 0.5) 92%,
    transparent
  );
  transform: translateX(-100%);
  opacity: 0;
  z-index: -1;
  transition: 0.5s ease;
}

.btn-primary:is(:hover, :focus)::after,
.btn-secondary:is(:hover, :focus)::after,
.header .btn-outline:is(:hover, :focus)::after {
  transform: translateX(0);
  opacity: 1;
}

.input-field {
  font: inherit;
  /* font-size: 1.4rem; */
  width: 100%;
  height: 50px;
  padding-inline: 20px 20px;
  border: 1px solid #c3c3c3;
  border-radius: 5px;
  outline: none;
}

/* TOP BAR */
.topBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  /* padding: 0 16px; */
}

.topBar {
  margin-top: 8px;
}
.topBar {
  margin-top: 8px;
}

.topBar img {
  width: 20px;
}

.topBar img:nth-child(2) {
  width: 100px;
}

.topBar .icon-btn {
  margin-top: 9px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.5s ease-in-out;
}

.topBar .icon-btn:is(:hover) {
  background-color: #b6bad3b7;
}

/* Menu */
.test.menu {
  background-color: #fff;
  border-left: 2px solid #b9b9b9;
  position: fixed;
  right: 0;
  max-width: 340px;
  width: 0;
  opacity: 0;
  visibility: 0;
  transition: 0.5s ease-in-out;
  z-index: -1;
}

.test.menu.active {
  width: 100%;
  opacity: 1;
  visibility: visible;
  z-index: 10000;
}

.test.menu .containers {
  position: relative;
  padding: 20px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  height: auto;
  /*position*/
}

/* .menu-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  } */

.menu-header .icon-btn {
  position: absolute;
  top: 1%;
  left: -27px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 3px solid #c5cafe;
  border-radius: 50%;
  background: #5d6eff;
}

.menu-header .icon-btn svg {
  width: 20px;
  height: 20px;
}

.end-date,
.plan-wrapper,
.menu .numbers,
.progress-status,
.progress-bar-title,
.number-of-test-wrapper {
  justify-content: space-between;
}

.plan-wrapper {
  margin-block: 20px 12px;
}

.menu .logo {
  margin-inline: auto;
  margin-bottom: 25px;
  /*display: none;*/
}

.menu .profile {
  padding-block: 10px 20px;
}

.menu .separator {
  height: 1px;
  width: 70%;
  background-color: gainsboro;
  margin-inline: auto;
  margin-bottom: 10px;
}

.menu .profile-picture {
  width: 45px !important;
  height: 45px !important;
  border-radius: 50%;
  border: 1px solid gainsboro;
  padding: 3px;
  overflow: hidden;
}

.prof {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.menu .profile-name {
  font-size: 18px !important;
  font-weight: medium;
  color: #000;
}

.menu .username {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.7);
}

.number-of-tests,
.progress-status {
  padding-right: 10px;
}

.number-of-test-wrapper {
  margin-top: 15px;
  color: #636363 !important;
  font-weight: 500;
}

.progress-status {
  margin-block: 7px 15px;
}

.badge {
  background-color: #d2d7ff;
  color: #5d6eff;
  padding: 2px 5px;
  border-radius: 4px;
  font-weight: 600;
}

.menu .btn {
  width: 100%;
  height: 40px;
}

.menu .btn svg {
  display: grid;
  place-items: center;
}

.menu .btn-outline {
  background-color: #fefafa;
  font-weight: 600;
  border: 2px solid #5d6eff;
  color: #5d6eff;
  margin-bottom: 60px;
  transition: background-color 0.3s ease-in-out;
}

.menu .btn-outline .start {
  display: none;
}
.menu .btn-outline .start.active {
  display: block;
}

.menu .btn-outline .stop.active {
  display: none;
}
.menu .btn-outline svg line {
  transition: 0.3s ease-in-out;
}
.menu .btn-outline svg {
  transition: 0.3s ease-in-out;
}
.menu .btn-outline p {
  transition: 0.3s ease-in-out;
}
.menu .btn-outline.active,
.menu .btn-outline:hover,
.menu .btn-outline:hover svg line {
  color: #fff;
  stroke: #fff !important;
  fill: #fff !important;
  background-color: #5d6eff;
}

.menu .btn-outline:hover svg {
  fill: #fff !important;
}
.menu .btn-outline.disabled {
  pointer-events: none;
}

.menu .progress-bar-title,
.plan-title {
  background-color: #d2d7ff;
  color: #5d6eff;
  padding: 5px 10px;
  border-radius: 5px;
}

.menu .progress-bar-title .title {
  font-weight: 500;
}

.menu .progress-bar-title .text {
  font-size: 12px !important;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.5);
}

.menu .progress-bar-wrapper {
  margin-top: 20px;
}

.progress-bar {
  background-color: #a0aaff;
  position: relative;
  height: 7px;
  width: 100%;
  border-radius: 4px;
}

.progress-bar-wrapper .line {
  background-color: #5d6eff;
  position: absolute;
  height: 100%;
  border-radius: 4px;
}

.progress-bar-wrapper .circle {
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  top: 50%;
  transform: translate(0, -50%);
  background-color: #fff;
  border: 4px solid #5d6eff;
  border-radius: 50%;
}

.menu .progress-bar-wrapper .numbers {
  margin-block: 7px 20px;
  font-weight: 500;
}

.menu .progress-bar-wrapper .numbers .end {
  color: #5d6eff;
}

.real-exam-date {
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.real-exam-date .title {
  font-size: 14px !important;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.505);
}

.real-exam-date .date {
  color: #5d6eff;
  font-size: 18px !important;
  font-weight: 500;
}

.plann {
  background-color: #fff;
  padding: 10px;
  margin-block: 25px 30px;
  border: 1px solid gainsboro;
  border-radius: 8px;
  color: #636363 !important;
  font-weight: 500;
  box-shadow: 0px 4px 13.899999618530273px 0px #0000000f;
}

.plan-title {
  color: #5d6eff;
  text-align: center;
  font-size: 18px !important;
  font-weight: 500;
  border: 1px solid #4f75ff;
  border-radius: 4px;
}

.plann .end-date {
  margin-block: 5px 12px;
}

.plann .upgrade {
  color: #5d6eff;
  display: block;
  text-align: end;
}

.scrim {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #2e2f4167;
  z-index: 9000;
  cursor: pointer;
  transition: 0.5s ease;
}

.scrim.active {
  display: block;
}

/* FOOTER */
.footer {
  background-color: #5d6eff;
  color: #fff;
  width: 100%;
  padding-block: 20px 15px;
  font-size: 1.4rem;
  padding-inline: 15px;
  font-weight: 200 !important;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  gap: 30px;
  align-items: center;
  margin-top: auto;
}
.footer .copy-right {
  max-width: 42ch;
  text-align: center;
  /* margin-inline: auto; */
}
.footer .copy-right .span,
.footer .designed .span {
  font-weight: 400;
}

.footer .designed {
  text-align: center;
  /* margin-top: 15px; */
}

/* end of menu styles*/
