@import url("https://fonts.googleapis.com/css2?family=Italianno&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

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

body {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  background-color: #f9f8f6;
  font-family: "Poppins", sans-serif;
}

ul li {
  list-style-type: none;
}
a {
  text-decoration: none;
}
.container {
  width: 100%;
}

@media screen and (min-width: 1040px) {
  .container {
    width: 1040px;
    margin: 0 auto;
  }
}

.header {
  height: 4.5rem;
  padding: 0 1.7rem;
}

.nav {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo h2 {
  font-family: "Italianno", cursive;
  font-size: 40px;
  color: #002b1d;
}

.nav_menu_list {
  display: flex;
  align-items: center;
}
.nav_menu_list .nav_menu_item {
  margin: 0 2rem;
  position: relative;
}

.nav_menu_link {
  font-size: 20.5px;
  line-height: 27px;
  color: #002b1d;
  text-transform: capitalize;
  letter-spacing: 0.5px;
}

.nav_menu_list .nav_menu_item::after,
.active_nav_link::after {
  content: "";
  height: 3px;
  width: 0%;
  background-color: #009688;
  position: absolute;
  left: 0;
  transition: 0.5s;
  bottom: 0px;
}

.nav_menu_item:hover::after,
.active_nav_link::after {
  width: 100%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.99) translateY(-0.7em);
    transform-origin: top;
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.signin {
  cursor: pointer;
  position: relative;
  left: 50px;
}

.signin:hover .dropdown {
  display: block;
}

.dropdown__wrapper {
  position: absolute;
  top: 0px;
  left: -50px;
  padding-top: 35px;
  z-index: 1;
}

.dropdown {
  border-radius: 8px;
  background-color: #fff;
  display: none;
  padding: 8px;
  width: 100%;
  max-width: 600px;
  border: 1px solid #f3f3f3;
  box-shadow: 0 0.5rem 1.5rem rgba(22, 28, 45, 0.1);
  animation: fadeIn 0.2s ease-in-out;
}

.item-title {
  width: 6rem;
}

.item-title h3 {
  padding: 10px;
}

.item-title .as-setter {
  border-right: 1px solid #07492eed;
}
.list-items {
  list-style-type: none;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr;
}

.list-itemsli {
  display: flex;
  padding: 8px;
  gap: 16px;
  width: 100%;
  text-wrap: nowrap;
}

.list-items li:hover {
  background-color: #f3f3f3;
  border-radius: 4px;
}

.item-title h3 {
  font-weight: 500;
  font-size: 14px;
  color: #07492eed;
}

.item-title p {
  font-size: 12px;
  white-space: nowrap;
  color: #07492eed;
}

.toggle_btn {
  font-size: 20px;
  font-weight: 600;
  color: #07492eed;
  z-index: 4;
  border: none;
  background-color: inherit;
}
.nav_menu,
.close_btn {
  display: none;
  border: none;
  background-color: inherit;
}
.show {
  right: 0% !important;
}
@media screen and (min-width: 768px) {
  .toggle_btn {
    display: none;
  }
  .nav_menu {
    display: block;
  }
}

form {
  display: flex;
  justify-content: center;
  align-items: center;
}

h1 {
  color: #002b1d;
  display: block;
  font-weight: 300;
  margin-bottom: 15px;
}

.msg {
  margin-top: -20px;
  color: red;
  align-items: center;
  font-size: 11px;
}

input,
textarea {
  transition: all 0.25s ease-out;
}

.wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: url(https://res.cloudinary.com/okorosamuel/image/upload/v1700746623/Hermes/hill1_a7eqxd.png);
  background-color: #f9f8f6;
  background-position: center;
  background-size: cover;
  width: 100%;
  padding: 20px;
  overflow-x: hidden;
}
.wrapper .first {
  /* padding: 20px; */
  width: 65%;
}

.wrapper .first h4 {
  color: #002b1d;
  background-color: #f9f8f6;
  padding: 10px;
}
.wrapper img {
  width: 93%;
  height: 50%;
}

.form-left {
  padding: 20px;
  flex-direction: column;
  width: 100%;
  background: #a8ede2;
  height: 100%;
  border-radius: 8px;
}

label,
p {
  color: DarkSlateGray;
  display: block;
  font-weight: 500;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="email"],
input[type="number"],
input[type="file"],
select,
textarea {
  box-sizing: border-box;
  border: 1px solid lightgray;
  border-radius: 5px;
  font-size: 14px;
  padding: 10px;
  width: 100%;
  outline: none;
  background-color: #fff;
}

select,
input[type="file"] {
  cursor: pointer;
}

select option {
  height: 100px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="file"]:focus,
select:focus,
textarea:focus {
  border-color: #002b1d;
}

input[type="submit"] {
  background-color: #002b1d;
  border: none;
  color: #f3f3f3;
  font-size: 18px;
  font-weight: 300;
  padding: 10px;
  text-decoration: none;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
  border-radius: 5px;
}

input[type="submit"]:hover {
  transform: scale(1.02);
}

textarea {
  height: 140px;
}

.task-input {
  text-transform: capitalize;
}

.task-dropdown {
  background-color: #fafbfb;
  padding: 20px;
  border-radius: 8px;
  margin-top: -0.5rem;
  list-style: none;
}
.task-dropdown li {
  text-transform: capitalize;
  cursor: pointer;
  margin-bottom: 5px;
}
.task-dropdown li:hover {
  transform: scale(1.01);
}

.profile_card div {
  margin-bottom: 20px;
}

.show {
  display: flex;
}
.show label,
.show input {
  margin-right: 10px;
}

input:required:valid {
  background: rgb(154, 205, 50, 0.1);
  border-color: #002b1d;
}

.signin {
  margin-top: 5px;
}
.signin a {
  text-decoration: none;
  color: #333;
}

.gender {
  display: flex;
  justify-content: space-between;
}

.dates,
.subs,
.btnCont {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}

/* .dates input {
  width: 13rem;
} */

.btnCont .back_btn {
  background-color: #800000;
  width: 30%;
  margin-right: 10px;
}

.hidden {
  display: none;
}

@media screen and (max-width: 768px) {
  h1 {
    text-align: center;
  }
  .logo h2 {
    font-size: 30px;
  }

  .toggle_btn {
    position: relative;
    left: 0;
  }

  .runner_btn {
    margin-left: -25px;
    margin-top: 5px;
    z-index: 0;
  }
  .wrapper {
    overflow-x: hidden;
    width: 100%;
  }
  .nav_menu {
    position: fixed;
    width: 100%;
    height: 100vh;
    display: block;
    top: 2.5%;
    right: -100%;
    background-color: #f9f8f6;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 0.5rem 1.5rem rgba(22, 28, 45, 0.1);
    z-index: 10;
    transition: 0.4s;
  }
  .nav_menu_list {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav_menu_list .nav_menu_item {
    margin: 1rem 0;
  }
  .nav_menu_item .nav_menu_link {
    font-size: 18px;
  }

  .signin {
    cursor: pointer;
    position: relative;
    left: 0;
  }
  .dropdown__wrapper {
    left: -10px;
  }

  .close_btn {
    display: block;
    position: relative;
    left: 100%;
    font-size: 25px;
    color: #002b1d;
    top: -7%;
    margin-right: -16.5px;
  }
  .close_btn:hover {
    color: #000;
  }

  .first {
    display: none;
  }
  .form-left {
    width: 100%;
  }
  .wrapper form {
    width: 100%;
  }

  input[type="file"] {
    width: 100%;
  }
  .required-text {
    text-align: center;
  }
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.wait {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.overlay {
  /* display: flex; */
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 100;
  transition: all 0.5s;
  cursor: pointer;
}
