
/*загрузка*/
.code-loader {
  color: #fff;
  font-family: Consolas, Menlo, Monaco, monospace;
  font-weight: bold;
  font-size: 100px;
  opacity: 0.8;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.code-loader span {
  display: inline-block;
  animation: pulse_414 0.4s alternate infinite ease-in-out;
  color: rgba(241, 68, 68, 0.5);
}

.code-loader span:nth-child(odd) {
  animation-delay: 0.4s;
}

@keyframes pulse_414 {
  to {
    transform: scale(0.8);
    opacity: 0.5;
  }
}

/*конец загрузка*/



.main_container {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: auto;
  min-height: 100vh;
  z-index: 99;
}

.container_block {
  display: flex;
  flex-direction: column;
}

/* стиль swiper обоев и др. */
.block_section_title {
  box-sizing: border-box;
}

.block_section_title .section_view {
  width: 100%;
  height: 100%;
  max-height: calc(80vh + 10px);
  overflow: hidden;
  background-color: rgba(20, 22, 39, 0.65);
}


.block_section_title .section_view .swiper-slide {
  height: calc(80vh + 10px);
}

.block_section_title .section_view .swiper-slide::after {
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  background: transparent;
  background-image: linear-gradient(213deg, rgba(16, 18, 31, 0) 33%, rgba(16, 18, 31, 1) 100%);
  background: linear-gradient(213deg, rgba(16, 18, 31, 0) 33%, rgba(16, 18, 31, 1) 100%);
  background: -webkit-linear-gradient(213deg, rgba(16, 18, 31, 0) 33%, rgba(16, 18, 31, 1) 100%);
  width: 100%;
  height: 100%;
}

.block_section_title .section_view .swiper-slide::before {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  content: '';
  display: block;
  background: #10121f;
  background-image: linear-gradient(180deg, rgba(16, 18, 31, 0) 0%, rgb(16, 18, 31) 100%) !important;
  background: -moz-linear-gradient(180deg, rgba(16, 18, 31, 0) 0%, rgba(16, 18, 31) 100%);
  background: -webkit-linear-gradient(180deg, rgba(16, 18, 31, 0) 0%, rgba(16, 18, 31, 1) 100%);
}

.block_section_title .section_view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.swiper-block-description {
  display: flex;
  flex-direction: column;
  position: absolute;
  color: white;
  bottom: 10%;
  left: 3%;
  z-index: 999;
}
.swiper-block-description .chapter_row {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
  height: max-content;
}
.swiper-block-description .chapter_row span {
  font-size: 1.3em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 12px;
  background-color: rgba(20, 22, 39, 0.65);
  border-radius: 20px;
}
.swiper-block-description .chapter_row a {
  font-size: 1.3em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  text-decoration: underline 1px rgba(255, 255, 255, 0.7);
}
.swiper-block-description p {
  font-size: 1.2em;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 600px;
  margin: 10px 0px 0px 10px;
}
@media (max-width: 768px) {
  .swiper-block-description p {
    max-width: 100%;
  }
}

/* end swiper обоев и др. */




/* other tools */
.block_content_category_other_tools {
  display: flex;
  flex-direction: column;
  max-width: calc(100% - 5%);
  margin: 0 auto;
  width: 100%;
  padding-top: 15px;
}
.block_content_tools_item {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  width: 100%;
}


.block_content_tools_item a {
  text-decoration: none;
  max-width: max-content;
  box-sizing: border-box;
}
.block_content_tools_item a .item-tool {
  font-size: 1.3em;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  outline: none;
  border: 0;
  padding: 3px 16px;
  border-radius: 8px;
  min-width: 150px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all .3s;
  height: 38px;
  box-sizing: border-box;
}


@media (max-width: 768px){
  .block_content_tools_item {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .block_content_tools_item a .item-tool {
    height: 100%;
    max-height: 50px;
  }
}


.block_content_tools_item a:nth-child(1) .item-tool {
  border: solid 1px rgb(70, 100, 160);
  background-color: rgba(70, 100, 160, 0.15);
  &:active {
    border: solid 1px rgb(70, 100, 160);
    background-color: rgba(70, 100, 160, 0.1);
  }
}
.block_content_tools_item a:nth-child(2) .item-tool {
  border: solid 1px rgb(155, 105, 185);
  background-color: rgba(155, 105, 185, 0.15);

  &:active {
    border: solid 1px rgb(155, 105, 185);
    background-color: rgba(155, 105, 185, 0.1);
  }
}


@media (hover:hover) {
  .block_content_tools_item a:nth-child(1):hover .item-tool {
    border: solid 1px rgb(70, 100, 160);
    background-color: rgba(70, 100, 160, 0.1);
  }
  .block_content_tools_item a:nth-child(2):hover .item-tool {
    border: solid 1px rgb(155, 105, 185);
    background-color: rgba(155, 105, 185, 0.1);
  }
}


@media (max-width: 768px) {
  .block_content_category_other_tools {
    margin: 0 auto;
  }
}


/* end other tools */

/* жанры */
.block_content_category_genres {
  display: flex;
  flex-direction: column;
  max-width: calc(100% - 5%);
  margin: 0 auto;
}

.block_content_category_genres .title {padding: 10px 5px;}
.block_content_category_genres .title h2 {
  font-size: 1.5em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  padding: 0;
}
.block_content_genres_item {
  display: flex;
  flex-direction: column;
}
.block_item_genre_1 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  width: 100%;
}
@media (max-width: 768px) {
  .block_item_genre_1 {
    justify-content: center;
  }
}

.block_item_genre_1 a {
  text-decoration: none;
  max-width: max-content;
  box-sizing: border-box;
  transition: all .3s;
}
.block_item_genre_1 a:hover .item-genre {
  background-color: #1d1f36;
}
.block_item_genre_1 a .item-genre {
  font-size: 1.3em;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.70);
  outline: none;
  border: 0;
  background-color: #181a2d;
  padding: 3px 8px;
  border-radius: 20px;
  min-width: 150px;
  cursor: pointer;
  text-align: center;
}

@media (max-width: 768px) {
  .block_content_category_genres {
    margin: 0;
  }
}

/* end жанры */



/* реклама */
.block_content_anicoreAD {
  display: flex;
  align-items: center;
  /* justify-content: center; */
  /* margin: 10px 0; */
  padding: 0 10px;
}

.block_content_anicoreAD .item {
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
  background-color: #181a2d;
}
.block_content_anicoreAD img {
  height: 100%;
  border-radius: 12px;
  /* width: 100%; */
  /* object-fit: contain; */
  /* height: 115px; */
}


/* end реклама */


/* блок аниме */
.block_content_elements {
  display: flex;
  flex-direction: column;
  margin: 50px 0;
}

.block_content_anime {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  max-width: calc(100% - 5%);
  margin: 0 auto;
  position: relative;
}


.block_content_anime .title {
  padding: 10px 0px;
}

.block_content_anime .title h2 {
  font-size: 1.5em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  padding: 0;
}

/* настройка swiper */
.block_content_anime .swiper-button-prev,
.block_content_anime .swiper-button-next {
  color: rgba(255, 255, 255, 1);
  z-index: 1;
  width: 42px;
  height: 42px;
  background-color: rgba(20, 22, 39, 0.65);
  border-radius: 100%;
  padding: 2px;
}



/* аниме стиль */

.block_content_anime .swiper-wrapper {
  min-height: 300px;
}

@media (min-width: 1200px) {
  .block_content_anime .swiper-slide {
    width: 250px;
  }

}

@media (min-width: 768px) and (max-width: 1200px) {
  .block_content_anime .swiper-slide {
    width: 210px;
  }
}

@media (max-width: 768px) {
  .block_content_anime .swiper-slide {
    width: 160px;
  }
}



/*PC*/
@media (min-width: 1200px) {
  .swiper-slide .item {
    flex-basis: 100%;
    max-width: 100%;
    min-height: 300px;
  }

  .swiper-slide #img-original {
    height: auto;
    width: 100%;
    z-index: 1;
    height: auto;
    display: block;
    object-fit: cover;
  }

  .swiper-slide #img-fon {
    width: 100%;
    height: 260px;
    max-height: 260px;
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    filter: blur(5px) grayscale(50%);
  }

  .swiper-slide .width-images-load {
    max-width: 100%;
    height: 260px;
  }
}

/*BOOK*/
@media (min-width: 768px) and (max-width: 1200px) {
  .swiper-slide .item {
    flex-basis: 100%;
    max-width: 100%;
    min-height: 300px;
  }

  .swiper-slide #img-original {
    height: auto;
    width: 100%;
    z-index: 1;
    height: auto;
    display: block;
    object-fit: cover;
  }

  .swiper-slide #img-fon {
    width: 100%;
    height: 260px;
    max-height: 260px;
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    filter: blur(5px) grayscale(50%);
  }

  .swiper-slide .width-images-load {
    max-width: 100%;
    height: 260px;
  }
}

/*PHONE*/
@media (max-width: 768px) {
  .swiper-slide .item {
    flex-basis: 100%;
    max-width: 100%;
    min-height: 300px;
  }

  .swiper-slide #img-original {
    height: auto;
    width: 100%;
    z-index: 1;
    height: auto;
    display: block;
    object-fit: cover;
  }

  .swiper-slide #img-fon {
    width: 100%;
    height: 260px;
    max-height: 250px;
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    filter: blur(5px) grayscale(50%);
  }

  .swiper-slide .width-images-load {
    max-width: 100%;
    height: 250px;
  }
}


.swiper-slide {
  flex-wrap: wrap;
  display: grid;
  position: relative;
}


.swiper-slide .item {
  position: relative;
}

.swiper-slide .item img:hover {
  transform: scale(1.15);
}

.swiper-slide a {
  text-decoration: none;
}

.swiper-slide .width-images-load {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
}

.swiper-slide #img-fon {
  border-radius: 12px;
  display: none;
  transition: all .3s;
  user-select: none;
}

.swiper-slide #img-original {
  border-radius: 12px;
  display: none;
  transition: all .3s;
  user-select: none;
}

.title-anime {
  width: auto;
  height: auto;
}

.title-anime h3 {
  padding: 0;
  margin: 0;
  text-align: center;
  word-break: break-word;
  color: rgba(219, 219, 219, 1.0);
  font-weight: 500;
  font-family: var(--font-semi-bold);
  padding: 5px 5px;
  font-size: 1.1em;
}

.swiper-slide .data-info {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}


@media (min-width: 1200px) {
  .swiper-slide .item #rating_age {
    font-size: 0.9em;
  }

  .swiper-slide .item #num-num {
    font-size: 0.9em;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .swiper-slide .item #rating_age {
    font-size: 0.9em;
  }

  .swiper-slide .item #num-num {
    font-size: 0.9em;
  }
}

@media (max-width: 768px) {
  .swiper-slide .item #rating_age {
    font-size: 0.85em;
  }

  .swiper-slide .item #num-num {
    font-size: 0.85em;
  }
}

.swiper-slide .item #rating_age {
  font-weight: 600;
  background: rgba(0, 0, 0, 0.85);
  color: rgba(219, 219, 219, 1.0);
  padding: 2px 5px;
  border-radius: 10px;
  user-select: none;
  margin: 2px 3px;
}

.swiper-slide .item #num-num {
  font-weight: 600;
  color: rgba(219, 219, 219, 1.0);
  background: rgba(0, 0, 0, 0.85);
  border-radius: 10px;
  padding: 2px 5px;
  user-select: none;
  margin: 1px 2px;
}


.status_me {
  display: flex;
  position: absolute;
  bottom: 0;
  width: 90%;
  margin: 0 auto 1% auto;
  max-width: 100%;
  min-width: max-content;
  z-index: 3;
  justify-content: center;
  border-radius: 6px;
}

.status_me#watching {
  background-color: rgb(84, 153, 93);
}

.status_me#planned {
  background-color: rgb(138, 72, 147);
}

.status_me#completed {
  background-color: rgb(60, 73, 139);
}

.status_me#on_hold {
  background-color: rgb(201, 116, 19);
}

.status_me#dropped {
  background-color: rgb(153, 46, 58);
}

.status_me span {
  color: rgba(255, 255, 255, 1.0);
  font-size: 1.1em;
  font-weight: 400;
  padding: 4px 5px;
}

/* end аниме стиль */