body {
  font-family: PoppinsRegular;
}

.header .logo {
  max-height: 70px;
}

.main {
  height: calc(100vh - 66px - 80px); /* header = 66, footer = 80 */
  color: #f3f4f8;
  background-color: #0e0f1a;
  border-top: 1px solid #1d2034;
}

.main .sections-container {
  overflow: hidden;
  height: 100%;
}

.custom-scrollbar {
  overflow-y: auto;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 0.5em;
  border-radius: 20px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  background-color: white;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #23263C;
  outline: 1px solid slategrey;
  border-radius: 20px;
}

.main .layers-section .layers-container {
  height: 51%;
  position: relative;
  overflow-x: hidden;
}

.main .layers-section {
  min-width: 400px;
}

.main .quick-preview-container {
  height: 40%;
  min-height: 350px;
}

.main .quick-preview-container #previewResult {
  height: calc(100% - 40px);
}

ul.sortable {
  display: block;
  margin: 20px 0;

}

ul.sortable>div,
ul.sortable .layer--main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  color: white;
  border-radius: 0.375rem;
  cursor: grab;
}

.dragging .tags .title {
  overflow: hidden !important;
}

ul.sortable .layer--main .tags .title {
  width: 62%;
  display: inline-block;
  overflow: hidden;
}

ul.sortable .layer--main .tags .tags-counts {
  /* width: 38%; */
}

.sortable .layer--main.is-active .tags {
  border: 1px solid white;
}

.layer--main .eye-icon {
  width: 0;
  opacity: 0;
  margin-right: 0;
  transition: margin 0.4s ease;
}

.layer--main:hover .eye-icon {
  width: 20px;
  opacity: 1;
  margin-right: 0.5em;
  transition: margin 0.4s ease;
}

.description-section {
  min-width: 400px;
}

.description-section .card {
  position: relative;
  border-radius: 5px;
  color: #f3f4f8;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #899CB8;
}

.description-section .card .card-banner {
  position: absolute;
  right: 10px;
  top: 12px;
  border-radius: 4px;
  white-space: nowrap;
  cursor: pointer;
}

.attribute-card .thumbnail-rarity .tag,
.attachment-card .tag {
  background-color: #23263C;
  color: white;
}

.attribute-card .thumbnail-rarity .range-slider {
  background: #23263C;
  border-radius: 8px;
  height: 7px;
  outline: none;
  -webkit-appearance: none;
}

.attachmentsDiv {
  display: flex;
  flex-wrap: wrap;
}

.attachments .thumbnail {
  position: relative;
  cursor: pointer;
  border: 1px solid transparent;
}

.attachments .thumbnail.size-invalid {
  border-color: red;
}

.attachments .thumbnail.size-invalid .js-size {
  position: absolute;
  background: red;
  padding: 10px;
  top: calc(100% + 5px);
  display: none;
  z-index: 2;
}

.attachments .thumbnail.size-invalid:hover .js-size {
  display: block;
}

.attachments .thumbnail .tag {
  position: absolute;
  right: 14px;
  top: 18px;
}

.attachments .thumbnail .name {
  display: -webkit-box;
  max-width: 200px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.attachments .thumbnail .edit-icon {
  position: absolute;
  top: 12px;
  left: 12px;
}

.preview-div {
  position: relative;
  width: calc(20% - 10px);
  margin: 5px;
  min-height: 300px;
  height: fit-content;
  background-color: #0e0f1a;
}
 
.preview-div img, #previewResult img  {
  position: absolute;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.footer {
  border-top: 1px solid #1d2034;
}

.split{
  height: 32px;
  width: 2px;
  background: white;
  border: 1px solid white;
}

@media (max-width: 1270px) {
  .drag-area, .add-layer {
    width: auto !important;
    min-width: auto !important;
  }
}

@media (max-width: 1120px) {
  .description-section, .layers-section{
    min-width: 350px;;
  }
}

@media (max-width: 1000px) {
  .description-section, .layers-section{
    min-width: 300px;
  }
}

@media (max-width: 825px) {
  .main .description-section, .main .layers-section{
    min-width: 275px;
  }
}