/*загрузка*/
.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;
  }
}

/*конец загрузка*/



.container_main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  width: auto;
  height: auto;
  overflow: hidden;
  z-index: 1;
}

@media screen and (min-width: 768px) {
  .container_main {
    margin-top: 50px;
  }
}

.block_content_view {
  display: flex;
  flex-direction: column;
  padding: 10px 5px;
}

.block_content_view .title {
  padding: 15px 10px;
}


.block_content_view .title h1 {
  font-size: 3.5em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  padding: 0;
  word-break: normal;
  letter-spacing: 0px;
}


.block_content_view .title h2 {
  font-size: 1.5em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  padding: 0;
  word-break: normal;
  letter-spacing: 0.05em;
}


.block_nav_items {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 20px 0px;
  padding: 0px 20px;
}

.create_collection {
  text-decoration: none;
}

.create_collection button {
  font-size: 1.1em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border: 0;
  border-radius: 6px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0px 15px 5px 0px;
  background: linear-gradient(145deg, rgb(24, 26, 45, 0.35), rgb(24, 26, 45, 0.45));
  backdrop-filter: blur(10px);
  box-shadow: 0px 4px 6px rgba(8, 9, 17, 0.3), 0px 1px 3px rgba(8, 9, 17, 0.1);
}




.create_collection button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(65, 90, 200, 0.2) 0%, rgba(65, 90, 200, 0) 70%);
  z-index: -1;
  border-radius: 12px;
  opacity: 0.7;
  pointer-events: none;
}

.create_collection button:hover::before {
  opacity: 0.9;
  background: linear-gradient(135deg,
      rgba(65, 90, 200, 0.25) 0%,
      rgba(65, 90, 200, 0) 60%);
}









/* коллекции */
.block_list_collections {
  padding: 10px 30px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

@media (min-width: 1600px) and (max-width: 2000px) {
  .block_list_collections {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1200px) and (max-width: 1600px) {
  .block_list_collections {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 800px) and (max-width: 1200px) {
  .block_list_collections {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 800px) {
  .block_list_collections {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .block_list_collections {
    grid-template-columns: repeat(1, 1fr);
  }
}


.ItemCollection {
  display: flex;
  flex-direction: column;
}

.ItemCollection a {
  text-decoration: none;
  box-sizing: border-box;
  width: 100%;
}

.ItemCollection .item {
  position: relative;
  box-sizing: border-box;
}


.ItemCollection img:hover {
  transform: scale(1.15);
}


.width-images-load {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
  max-height: 230px;
}

#img-collection {
  border-radius: 12px;
  display: none;
  transition: all .3s;
  user-select: none;
  width: 100%;
  height: auto;
  aspect-ratio: 900/320;
  object-fit: cover;
}


.title-collect {
  width: auto;
  height: auto;
  padding: 0px 5px;
  width: 100%;
  max-width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-collect span {
  font-size: 0.85em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.title-collect h3 {
  padding: 0;
  margin: 0;
  word-break: break-word;
  color: rgba(255, 255, 255, 1.0);
  font-weight: 500;
  font-size: 1em;
}