@import url(https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap);

:root {
  --mainColor: #B60D7A;
  --secondaryColor: #e31e9b;
  --backfroundColor: hsla(322, 78%, 50%, 0.151);
}

html {
  font-size: 2vh;
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #161616;
  background-size: cover;
  background-position: center;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 99;
  backdrop-filter: blur(20px);
}

.logo {
  width: 75px;
  height: 75px;
}

.navigation {
  display: none;
  align-items: center;
  transition: transform .5s;
}

.navigation a {
  position: relative;
  font-size: 20px;
  color: white;
  text-decoration: none;
  font-weight: 800;
  margin-left: 40px;
}

.navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: var(--mainColor);
  border-radius: 5px;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform .5s;
}

.navigation a:hover {
  color: var(--mainColor);
}

.navigation a:hover::after {
  transform-origin: left;
  transform: scaleX(1);
}

.navigation .btnLogin-popup {
  background: transparent;
  border: 2px solid var(--mainColor);
  outline: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 20px;
  color: var(--mainColor);
  font-weight: 800;
  margin-left: 40px;
  transition: .5s;
  padding: 10px;
}

.navigation .btnLogin-popup:hover {
  background-color: var(--mainColor);
  border: 2px solid var(--mainColor);
  color: #162938;
}

.navigation .btnLogin-popup.hidden {
  display: none;
}

.navigation .btnLogout {
  background: transparent;
  border: 2px solid var(--mainColor);
  outline: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 20px;
  color: var(--mainColor);
  font-weight: 800;
  margin-left: 40px;
  transition: .5s;
  padding: 10px;
}

.navigation .btnLogout:hover {
  background-color: var(--mainColor);
  border: 2px solid var(--mainColor);
  color: #162938;
}

.navigation .btnLogout.hidden {
  display: none;
}

.bottom-bar {
  background-color: rgba(0, 0, 0, 0.25);
  bottom: 30px;
  z-index: 10;
  border-radius: 100px;
  position: fixed;
  width: 80%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: row;
  transition: transform .5s;
}

.iconBottom {
  display: flex;
  font-size: 40px;
  cursor: pointer;
  transition: all 0.5s ease 0s;
  padding: 5px;
  border-radius: 50%;
  border: 1px solid transparent;
  color: white;
}

.iconBottom:hover {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--mainColor);
  color: var(--mainColor);
}

@media (min-width: 950px) {
  .navigation {
    display: flex;
  }

  .bottom-bar {
    display: none;
  }
}

.wrapper {
  position: fixed;
  top: 15vh;
  min-height: 360px;
  background: var(--backfroundColor);
  border: 2px solid var(--mainColor);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform .2s ease, height .2s ease;
  overflow: hidden;
  transform: scale(0);
  margin: 20px;
  z-index: 100;
}

.wrapper.active {
  height: 55vh;
  min-height: 400px;
}

.wrapper.active-popup {
  transform: scale(1);
}

.wrapper .form-box {
  width: 100%;
  padding: 40px;
}

.wrapper .form-box.login {
  transition: transform .2s ease;
  transform: translateX(0);
}

.wrapper.active .form-box.login {
  transition: none;
  transform: translateX(-900px);
}

.wrapper .form-box.register {
  position: absolute;
  transform: translateX(900px);
}

.wrapper.active .form-box.register {
  transition: transform .2s ease;
  transform: translateX(0);
}

.form-box h2 {
  font-size: 2rem;
  color: white;
  text-align: center;
}

.wrapper .close-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.input-box {
  position: relative;
  width: 100%;
  height: 50px;
  border-bottom: 2px solid white;
  margin: 1.5em 0;
}

.input-box label {
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  font-size: 1rem;
  color: white;
  font-weight: 500;
  pointer-events: none;
  transition: .5s;
}

.input-box input:focus~label,
.input-box input:valid~label {
  top: -5px;
}

.input-box input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1rem;
  color: white;
  font-weight: 600;
  padding: 0 35px 0 5px;
}

.input-box .icon {
  position: absolute;
  right: 8px;
  font-size: 1.2rem;
  color: white;
  line-height: 57px;
}

.rememberMe {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.5em 0;
  color: white;
  font-size: .9rem;
  font-weight: 500;
}

.rememberMe input {
  cursor: pointer;
  accent-color: white;
  margin-right: 6px;
}

.rememberMe label {
  cursor: pointer;
  margin-right: 20px;
}

.rememberMe label:hover {
  text-decoration: underline;
}

.rememberMe a {
  color: white;
  text-decoration: none;
}

.rememberMe a:hover {
  text-decoration: underline;
}

.btn {
  width: 100%;
  height: 50px;
  background: var(--mainColor);
  border: none;
  outline: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  color: black;
  font-weight: 500;
  transition: .5s;
}

.btn:hover {
  background-color: transparent;
  color: var(--secondaryColor);
  border: 2px solid var(--secondaryColor);
}

.register {
  margin-top: 1em;
  text-align: center;
  color: white;
  font-size: .9rem;
  font-weight: 500;
}

.register a {
  color: var(--secondaryColor);
  text-decoration: none;
  font-weight: 600;
}

.register a:hover {
  text-decoration: underline;
}

.notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translate(-50%, -200px);
  background: rgb(0, 0, 0);
  width: fit-content;
  height: 54px;
  box-sizing: border-box;
  padding: 8px;
  border-radius: 15mm;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: rgba(55, 0, 55, 0.7) 0px 20px 30px -10px;
  transition: 0.5s ease-in;
  max-width: 1000px;
  z-index: 300;
}


.details {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  font-family: poppins;
  margin: 0 15px;
  padding: 1px;
  white-space: nowrap;
}

.name {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.message {
  font-size: 14px;
  color: white;
}

.btn2 {
  width: 35px;
  height: 35px;
  color: white;
  background: rgba(255, 255, 255, 0.2);
  text-align: center;
  line-height: 35px;
  font-size: 22px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-content: center;
  justify-content: center;
  flex-wrap: wrap;
}

.notify {
  background: rgb(226, 230, 233);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  outline: none;
  cursor: pointer;
}

.notify span {
  font-size: 30px;
}

.notification.hidden {
  animation: closeNote 1s ease-in-out;
  transform: translate(-50%, -200px);
  max-width: 54px;
  padding: 0;
}

.notification.hidden img {
  width: 38px;
  height: 38px;
  border: 8px solid rgb(80, 80, 80);
}

@keyframes closeNote {
  0% {
    transform: translate(-50%, 0);
    max-width: 1000px;
    padding: 8px;
  }

  65% {
    transform: translate(-50%, 0);
    max-width: 54px;
    padding: 0px;
  }

  100% {
    transform: translate(-50%, -200px);
    max-width: 54px;
    padding: 0;
  }
}

.notification.active {
  animation: showNote 1s ease-in-out;
  max-width: 1000px;
  transform: translate(-50%, 0);
  padding: 8px;
}

.notification.active img {
  animation: resize 1s ease-in-out;
  width: 32px;
  height: 32px;
  border: 4px solid rgb(80, 80, 80);
}

@keyframes showNote {
  0% {
    transform: translate(-50%, -200px);
    max-width: 54px;
    padding: 0;
  }

  35% {
    transform: translate(-50%, 0px);
    max-width: 54px;
    padding: 0;
  }

  100% {
    transform: translate(-50%, 0px);
    max-width: 1000px;
    padding: 8px;
  }
}

@keyframes resize {

  0%,
  40% {
    width: 38px;
    height: 38px;
    border: 8px solid rgb(80, 80, 80);
  }

  100% {
    width: 32px;
    height: 32px;
    border: 4px solid rgb(80, 80, 80);
  }
}

.content {
  color: white;
  height: 100vh;
  width: 100vw;
  /* position: fixed; */
  top: 0;
  left: 0;
}

.section {
  display: flex;
  padding: 0 5vw;
  justify-content: space-evenly;
  flex-direction: row;
  /* height: 100vh; */
  align-items: center;
}

.section.home {
  height: 100vh;
  padding-top: 80px;
}


.split {
  width: 50%;
}

.split h1 {
  padding-top: 2 5vh;
  font-size: 35px;
  font-weight: 800;
  margin-bottom: .25em;
  color: var(--secondaryColor);
}

.split span {
  animation: blink .5s linear infinite;
}

@keyframes blink {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0.7;
  }

  100% {
    opacity: 0;
  }
}

@media (max-width: 950px) {
  .section.home {
    flex-direction: column;
  }

  .split {
    width: 100%;
    text-align: center;
  }

  .home h1 {
    font-size: 7vw;
  }
}

.section.tiles {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 50px;
}

.section.tiles div {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: start;
  justify-content: flex-start;
  flex-direction: column;
  width: 275px;
  padding: 20px;
  transition: all 0.3s ease 0s;
  border: 3px solid transparent;
}

.section.tiles h3 {
  color: var(--secondaryColor);
  font-size: 20px;
  font-weight: 900;
  margin-top: 5px;
  margin-bottom: 20px;
}

.section.tiles p {
  font-size: 16px;
  color: rgb(204, 204, 204);
  font-weight: 400;
  text-align: center;
  overflow-wrap: break-word;
}

.section.tiles ion-icon {
  color: var(--secondaryColor);
  width: 70px;
  height: 70px;
  margin-bottom: 10px;
}


.contact-icons {
  margin-top: 20px;
}

.contact-icons ion-icon {
  margin-right: 5px;
  color: var(--secondaryColor);
  font-size: 30px;
  transition: all 0.3s ease 0s;
  background-color: rgb(39, 39, 39);
  border-radius: 4px;
  padding: 4px;
}

.contact-icons ion-icon:hover {
  background-color: transparent;
  color: white;
}

.dashboardContent {
  max-width: 100%;
  display: flex;
  margin-top: 120px;
  flex-wrap: wrap;
  justify-content: space-evenly;
  z-index: 50;
}

.dashboardContent.hidden {
 display: none;
}

.warning{
  color: white;
}

.warning.hidden {
  display: none;
}

.admin-section {
  background: var(--backfroundColor);
  border: 2px solid var(--mainColor);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  justify-content: center;
  align-items: center;
  margin: 20px;
  z-index: 100;
  padding: 20px;
  color: white;
  min-width: 700px;
}

.admin-section.hidden {
  display: none;
}

.admin-section h2 {
  font-size: 1.5rem;
  color: var(--mainColor);
  margin-bottom: 10px;
}

#userList {
  list-style: none;
  padding: 0;
}

#userList li {
  padding: 10px;
  border-bottom: 1px solid var(--secondaryColor);
}

#userList button {
  margin-left: 10px;
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  background-color: var(--mainColor);
  color: white;
  cursor: pointer;
}

#userList button:hover {
  background-color: var(--secondaryColor);
}

.password-change {
  background: var(--backfroundColor);
  border: 2px solid var(--mainColor);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  justify-content: center;
  align-items: center;
  margin: 20px;
  z-index: 100;
  padding: 20px;
  color: white;
  min-width: 400px;
}

.section-notes {
  display: flex;
  flex-direction: column;
  background: var(--backfroundColor);
  border: 2px solid var(--mainColor);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  justify-content: center;
  align-items: center;
  margin: 20px;
  z-index: 100;
  padding: 20px;
  color: white;
  width: 40vw;
  height: 70vh;
}

.section-notes textarea {
  resize: none;
  width: 80%;
  height: 80%;
  margin-bottom: 20px;
  background-color: rgba(128, 128, 128, 0.084);
  color: white;
}

#graph {
  margin-left: 12.5%;
  width: 75%;
}

::-webkit-scrollbar {
  width: 4px;
}

/*!sc*/
::-webkit-scrollbar-track {
  background: #a8a8a8;
}

/*!sc*/
::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: var(--mainColor);
}

/*!sc*/
::-webkit-scrollbar-thumb:hover {
  opacity: 0.8;
  cursor: pointer;
}