@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: all 0.2s;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #ffffff;
  font-family: "Open Sans", sans-serif;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  overflow: hidden;
}

/*----------- Login Side bar ------------------------------------*/
.login-hover {
  position: fixed;
  top: 0rem;
  right: 0rem;
  z-index: 99;
  height: 100%;
  width: 1rem;
}

.login-hover-section {
  overflow: hidden;
  height: 100%;
  width: 100%;
}

@media (max-width: 950px) {
  .login-hover {
    display: none;
  }
}
.login-section {
  display: none;
  position: absolute;
  top: 0rem;
  right: 0rem;
  z-index: 99;
  background-color: rgba(179, 179, 179, 0.6);
  height: 100%;
  width: 10rem;
}
.login-section .log-in-btns {
  margin-top: 5rem;
  padding: 0rem 0.8rem;
}
.login-section .log-in-btns .login-btn {
  border-radius: 0.8rem;
  background-color: rgb(22, 217, 227);
  box-shadow: 0px 0px 10px grey;
  cursor: pointer;
  transition: all 0.9s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0rem;
  height: 2.3rem;
  width: 100%;
}
.login-section .log-in-btns .login-btn h4 {
  color: #ffffff;
}
.login-section .log-in-btns .login-btn:hover {
  background: linear-gradient(180deg, rgb(22, 217, 227), rgb(48, 199, 236), rgb(70, 174, 247));
}
.login-section .log-in-btns .login-btn:hover h4 {
  color: #ffffff;
}
.login-section .log-in-btns .login-btn:active {
  background: linear-gradient(90deg, rgb(22, 217, 227), rgb(48, 199, 236), rgb(70, 174, 247));
}

.login-section-view {
  animation: showSideMenu 0.3s ease-in-out forwards;
  display: block;
}

.login-section-hide {
  animation: hideSideMenu 0.5s ease-in-out forwards;
}

.login-hover:hover {
  height: 100%;
  width: 10rem;
}

/*----------- End Login Side Bar --------------------------------*/
/*------ User Login Section -------------------------------------*/
.login-sec {
  display: none;
  padding: 1rem;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  height: 100%;
  width: 100%;
}

.login-cmp-logo {
  margin-top: 5rem;
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0;
}
.login-cmp-logo div {
  border: 1px solid #c4c4c4;
  padding: 0.5rem;
  border-radius: 0.5rem;
  height: auto;
  width: 13rem;
}

.login-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: linear-gradient(260deg, #d9e8fc, #eaf0f8);
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
  height: 30rem;
  width: 50rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0rem;
}
.login-container .login-content:nth-child(1) {
  position: relative;
  height: 100%;
  width: 50%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0rem;
}
.login-container .login-content:nth-child(1) img {
  height: 20rem;
  width: 20rem;
}
.login-container .login-content:nth-child(1) .dir-home {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.2s all;
}
.login-container .login-content:nth-child(1) .dir-home a {
  color: #008876;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.login-container .login-content:nth-child(1) .dir-home a i {
  font-size: 0.95em;
}
.login-container .login-content:nth-child(1) .dir-home a h4 {
  font-weight: 500;
  font-size: 0.9em;
}
.login-container .login-content:nth-child(1) .dir-home:hover {
  border-bottom: 1px solid #008876;
}
.login-container .login-content:nth-child(2) {
  position: relative;
  height: 100%;
  width: 50%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0;
}
.login-container .login-content:nth-child(2) form {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  height: 70%;
  width: 90%;
}
.login-container .login-close {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  cursor: pointer;
}
.login-container .login-close img {
  height: 1.2rem;
  width: 1.2rem;
}
.login-container .login-close:hover img {
  transform: scale(1.1, 1.1);
}
.login-container .log-head {
  text-align: center;
  font-size: 1.3em;
  font-weight: 400;
  margin: 1rem 0 0;
  color: #007cff;
}
.login-container #alert {
  text-align: center;
  padding: 0.5rem;
  color: #ff0000;
  font-size: 0.8em;
  font-weight: 600;
}
.login-container .log-input {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.login-container .log-input .username, .login-container .log-input .pwd {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 0.5rem;
  padding: 0.5rem 0rem;
  width: 100%;
}
.login-container .log-input .username label, .login-container .log-input .pwd label {
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
  gap: 0.5rem;
}
.login-container .log-input .username label h5, .login-container .log-input .pwd label h5 {
  font-size: 0.9em;
  font-weight: 600;
  color: #464242;
}
.login-container .log-input .username label i, .login-container .log-input .pwd label i {
  color: #807979;
}
.login-container .log-input .username input, .login-container .log-input .pwd input {
  width: 100%;
  border: 1px dotted #b3b3b3;
  border-radius: 0.5rem;
  outline: none;
  padding: 0.5rem 0rem 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
}
.login-container .log-input .username input:focus, .login-container .log-input .pwd input:focus {
  border: 1px solid #007cff;
}
.login-container .log-input .pwd {
  position: relative;
}
.login-container .log-input .pwd > i {
  position: absolute;
  bottom: 1.2rem;
  right: 0.5rem;
  color: #7e7c7c;
  cursor: pointer;
}
.login-container .log-input .pwd #ps-hide {
  display: none;
}
.login-container .log-input .log-button {
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
  gap: 0rem;
  width: 100%;
}
.login-container .log-input .log-button button {
  padding: 0.5rem 3rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  background-color: #007cff;
  border: hidden;
  border-radius: 0.5rem;
  cursor: pointer;
}
.login-container .log-input .log-button button:hover {
  background-color: #d2e3fd;
  color: #007cff;
  border: 1px solid #007cff;
}
.login-container .log-input .login-loader {
  display: none;
}
.login-container .log-input .loader-cnt {
  height: 2rem;
  width: 7rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0;
}
.login-container .log-input .loader-cnt .loader {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-block;
  border-top: 3px solid #007cff;
  border-right: 3px solid transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.login-container .log-input .login-suc-sec {
  display: none;
  width: 100%;
}
.login-container .log-input .success-cnt {
  border: 3px solid #99e699;
  border-radius: 0.3rem;
  background-color: #33cc33;
  height: 2.5rem;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.login-container .log-input .success-cnt img {
  height: auto;
  width: 1.5rem;
}
.login-container .log-input .success-cnt h4 {
  color: #fff;
  font-size: 1em;
  font-weight: 500;
}

@media (max-width: 850px) {
  .login-container {
    padding: 1rem;
    height: auto;
    width: 98%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0rem;
  }
  .login-container .login-content:nth-child(1) {
    order: 2;
    position: relative;
    height: 5rem;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0;
  }
  .login-container .login-content:nth-child(1) img {
    position: absolute;
    top: 0;
    left: 0;
    height: 5rem;
    width: 5rem;
  }
  .login-container .login-content:nth-child(1) .dir-home {
    position: relative;
    left: 0;
    bottom: 0;
    transform: translateX(0%);
  }
  .login-container .login-content:nth-child(2) {
    order: 1;
    height: 100%;
    width: 100%;
  }
  .login-container .login-content:nth-child(2) form {
    height: 70%;
    width: 100%;
  }
}
@media (max-width: 500px) {
  .login-container {
    width: 90vw;
  }
}
/*------ End Use  Login Section -------------------------------*/
