@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Winky+Sans:ital,wght@0,300..900;1,300..900&display=swap");

* {
  font-family: "Winky Sans", sans-serif;
  font-optical-sizing: auto;
}

.registeration-from {
  min-height: 100vh;
}

.registeration-card {
  width: 30rem;
}

.btn-register {
  background-color: #1120d5;
  color: white;
}

.btn-register:hover {
  background-color: #1120d5;
  color: white;
}

.navbar-library {
  width: 300px;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  box-shadow: 0px 7px 7px 0px rgba(0, 0, 0, 0.3);
  background-color: white;
  transition: all 0.5s ease-in;
  overflow-y: scroll;
}

.library-nav-list {
  display: flex;
  flex-direction: column;
}

.library-nav-list li {
  list-style: none;
  font-size: 20px;
}

.library-nav-list li:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.active {
  background-color: rgba(0, 0, 0, 0.2);
}

.library-nav-list a {
  text-decoration: none;
  color: black;
}

.main-section {
  margin-left: 320px;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  margin-right: 15px;
}

.hambar {
  width: 100%;
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 5px 16px;
  font-size: 25px;
  position: sticky;
  top: 0;
  left: 0;
  background-color: white;
}

.navbar-close {
  position: absolute;
  top: 10px;
  right: 17px;
  font-size: 21px;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 3px 7px;
  border-radius: 5px;
  display: none;
}

@media screen and (max-width: 768px) {
  .navbar-library {
    left: -300px;
  }
  .main-section {
    margin-left: 0px;
  }
  .hambar {
    display: flex;
  }
  .navbar-close {
    display: block;
  }
}
