
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

* a {
  text-decoration: none;
  color: #444;
}

a:active {
  color: #b49cec;
}

.heading-nav {
  margin-left: 50px;
}

.nav-bar {
  background-color: aliceblue;
  justify-content: space-between;
  border-radius: 5px;
  height: 72px;
  align-items: center;
  box-shadow: rgba(50, 50, 93, 0.25) 0 2px 5px -1px, rgba(0, 0, 0, 0.3) 0 1px 3px -1px;
}

.list > li a {
  padding: 0.2rem;
}

.nav-bar ul li a {
  font-weight: 600;
  font-size: 1.2rem;
}

.now {
  display: block;
  text-align: right;
  position: relative;
  top: 0.5rem;
  left: -4rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.d-flex {
  display: flex;
}

.nav-list {
  list-style: none;
  margin-right: 12px;
}

.nav-list li {
  margin-left: 50px;
  padding: 0 20px;
}

.mid {
  border-left: 1px solid black;
  border-right: 1px solid black;
}

.container {
  width: 90%;
  max-width: 960px;
  margin: 20px auto;
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  padding: 0 0 20px;
  overflow: hidden;
  border: 1px solid lightgray;
  margin-top: 5rem;
}

.heading {
  text-align: center;
  width: 100%;
  margin: 10px 0;
}

.list {
  border: 1px solid #7d53de;
  padding: 20px;
  margin: 10px;
}

.list li {
  list-style: none;
  width: 90%;
  font-size: 25px;
  display: flex;
  justify-content: space-between;
  padding: 15px;
  border-radius: 4px;
}

.list > li .remove {
  float: right;
  background: #7d53de;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: white;
}

a .remove:hover {
  transition: 200ms;
  border: 1px solid black;
  box-shadow: 0.1rem 0.1rem;
  transform: scale(1.03);
  font-size: 13px;
}

.box {
  width: 90%;
  max-width: 300px;
  margin: 20px auto;
  display: block;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  color: #444;
}

.add-book {
  text-align: center;
}

#formm.sub {
  width: 10%;
  margin-right: 320px;
  cursor: pointer;
}

#formm div {
  width: 10%;
  position: relative;
  left: 57%;
}

#formm div .sub:hover {
  border: 1px solid black;
  box-shadow: 1px 2px;
  transform: scale(1.01);
  transition: 100ms;
}

.line {
  width: 50%;
  height: 5px;
  background-color: #7d53de;
  border-radius: 8px;
  margin-top: 20px;
}

input[type=text]:focus {
  border: none;
  box-shadow: rgba(6, 24, 44, 0.4) 0 0 0 2px, rgba(6, 24, 44, 0.65) 0 4px 6px -1px, rgba(255, 255, 255, 0.08) 0 1px 0 inset;
  outline: none;
  transition: 100ms;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
}

.d-none {
  display: none;
}

footer {
  font-family: 'Circular-Loom', sans-serif;
  font-weight: bold;
  font-size: 1rem;
  position: relative;
  bottom: 0;
  left: 0;
  text-align: center;
  padding: 2%;
  top: 30rem;
  background-color: lightgray;
  width: 100%;
}

.contact-list {
  list-style: none;
}

.contact p {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.5rem;
}

.contact-list li {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 500;
  font-size: 1.5rem;
}
