*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  background: #121212;
  color: white!important;
  font-family: 'Lato';
}

.main_width{
  position: relative;
  max-width: 1400px;
  width: 100%;
  padding: 1rem;
  margin: 0 auto;
}

.grid_nav{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-content: space-between;
  grid-gap: 25px;
}

header{
  background: #1F1B24;
}

.grid_nav nav{
  position: relative;
}
.grid_nav nav ul{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}
.grid_nav nav ul a{
  color: white;
  text-decoration: none;
}
.grid_nav nav ul a:hover{
  color: gray;
  transition: 100ms;
  text-decoration: none;
}
.grid_nav .ops{
  display: none;
}

.banner_main{
  position: relative;
  max-width: 1400px;
  margin: auto;
  width: 100%;
  height: 500px;
  border-radius: 0 0 20px 20px;
  background: #242222;
}
.banner_main img{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 20px 20px;
}
.banner_main .overlay{
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3),rgba(0, 0, 0, .9));
  border-radius: 0 0 20px 20px;
}
.banner_main .info{
  position: absolute;
  padding: 3rem;
  bottom: 0;
  left: 0;
}

.banner_book{
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 10px;
  background: #242222;
}
.banner_book img{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.banner_book .overlay{
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3),rgba(0, 0, 0, .9));
  border-radius: 10px;
}
.banner_book .info{
  position: absolute;
  padding: 1rem;
  bottom: 0;
  left: 0;
}

.banner_detail{
  position: relative;
  width: 100%;
  border-radius: 20px;
  background: #242222;
  padding: 2rem;
  display: flex;
  align-items:center;
}
.banner_detail #back{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.banner_detail .overlay{
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 1));
  border-radius: 20px;
}
.banner_detail .info{
  position: absolute;
  padding: 3rem;
  bottom: 0;
  left: 0;
}

.grid_detail{
  display: grid;
  grid-gap: 20px;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
}
.grid_detail .item_caratula{
  position: relative;
  width: 240px;
  padding-bottom: 155%;
  background: yellow;
  border-radius: 1.5rem;
}
.grid_detail .item_caratula img{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
}
.grid_detail .item_info{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 100;
  max-width: 700px;
}
.grid_detail .list_detail{
  list-style: none;
}
.grid_detail .list_detail li{
  margin-bottom: 10px;
}

/*CARATULAS*/
.grid_space_book_admin{
  display: grid;
  position: relative;
  grid-template-columns: repeat(5,1fr);
  grid-gap: 20px;
  justify-content: space-between;
}
.grid_gr_main{
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}
.grid_space_book{
  display: grid;
  position: relative;
  grid-template-columns: repeat(4,1fr);
  grid-gap: 20px;
  justify-content: space-between;
}
.book_item .photo_book{
  position: relative;
  background: black;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.photo_book > div {
  position: relative;
  width: 100%;
  padding-bottom: 155%;
  border-radius: 1rem;
  background: gold; /** <-- For the demo **/
}
.photo_book > div > img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 1rem;
}


/* OTROS */
.item_comment .content::after{
  content: '';
  position: absolute;
  left: -13px;
  top: 20px;
  width: 0;
  height: 0;
  rotate: -90deg;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #212529;
  clear: both;
}




















/**/
