* {
  box-sizing: border-box;
  font-family: Arial;
}

body {
  margin: 0;
  padding: 0;
}

.profile-img{
  width:40px;
  height:40px;
  margin:0;
  padding:0;
  border-radius: 30px;
}

.info {
  width: 70%;
  text-align: center;
  border-top: solid black 1px;
  border-bottom: solid black 1px;
  margin-top: 100px;
  margin-bottom: 60px;
}

.add-book-panel {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  top: 85px;
  height: 1000px;
  width: 300px;
  background-color: rgb(218, 218, 218);
  box-shadow: 2px 0 2px -2px gray;
}

.container-flex {
  margin-top: 100px;
  margin-left: 400px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  font-size: 20px;
  width: 80%;
}

form {
  position: relative;
  top: 20px;
  height: 300px;
  width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#read {
  align-self: start;
}

@keyframes highlight {
  from {
    background-color: #FF5613;
  }
  to {
    background-color: rgb(218, 218, 218);
  }
}

.edit-form {
  animation: highlight .5s linear;
  border-radius: 5px;
}

@keyframes expand {
  from {
    transform: scale(0);
    opacity: 0;
    background: #5470B0;
  }
}

.book {
  height: 330px;
  width: 230px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  margin: 30px;
  padding-right: 5px;
  padding-left: 5px;
  background-color: #2196F3;
  border-radius: 3%;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
  animation: expand .5s ease-in-out;
  border: 2px solid black;
  
}

.book .switch {
  margin-top:15px;
}

.book:hover {
  scale: 1.1;
  -webkit-box-shadow: 0 10px 6px -6px #777;
  -moz-box-shadow: 0 10px 6px -6px #777;
       box-shadow: 0 10px 6px -6px #777;
}


.book-options {
  margin-top: 5px;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.edit-button {
  width: 50%;
}

.remove-button {
  width: 50%;
}

.hidden {
  display: none;
}

.big-text {
  font-size: 1.2em;
  
}

.small-text {
  font-size: 0.8em;
}

.small-italic-text {
  font-size: 0.8em;
  font-style: italic;
}

h1{
  margin-left:40px;
  flex:1;
  font-size:40px;
  color:black;
  font-family: Arial;
}

nav {
  width: 100%;
  height: 85px;
  position: fixed;
  display:flex;
  justify-content: flex-end;
  align-content: center;
  align-items: center;
  top: 0;
  background-color: #2196F3;
  box-shadow: 0 2px 2px -2px gray;
  z-index:1;
}

ul {
  display: flex;
  justify-content: flex-end;
  align-content: center;
  align-items: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

li {
  margin-right: 20px;
}

/* #12F493   #FF5613

 /* The switch - the box around the slider */

.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 26px;
}

/* Hide default HTML checkbox */

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #FF5613;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: #12F493;
}

input:focus+.slider {
  box-shadow: 0 0 1px #12F493;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.edit-button {
  width: 25px;
  height: 25px;
}

.remove-button {
  width: 25px;
  height: 25px;
}

button {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background-color: rgb(255, 154, 19);
  padding: 5px;
  padding-left: 15px;
  padding-right: 15px;
  border: 1px solid rgb(185, 183, 183);
  color: black;
  text-decoration: none;
}

button:hover {
  opacity: 95%;
  cursor: pointer;
}