:root {
  --table-wrapper-border: linear-gradient(-45deg, rgba(108, 40, 172, 0.6), rgba(139, 43, 168, 0.7));
}

main {
  flex:  1 0 fit-content;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(34, 32, 34, 0.7);
}

div, p {
  color: rgb(219, 219, 219);
}



.page-info {
  height: fit-content;
  min-height: 154px;
  width: 100%;
  background-color: rgb(44, 44, 44, 0.6);

  border-bottom: 2px var(--border-basic-color) solid;
  align-content: center;
}
.text-container {
  width: 86%;
  max-width: 1300px;
  justify-self: center;
  padding-bottom: 12px;
}
.text-container h1 {
  margin-bottom: 8px;
  line-height: 1;
}


.background {
  background-color: rgb(19, 19, 19);
  opacity: 0.85;

  min-height: var(--scroll-height);
  width: 100%;

  position: absolute;
  top: 0;
  left: 0;

  z-index: 2;
}

.page-info-h1 {
  padding-top: 8px;
  margin-bottom: 10px;
}


.main-content {
  box-shadow: none;
  height: fit-content;
  width: 90%;

  border: 2px var(--border-basic-color) solid;
  border-radius: 10px;
  max-width: 1200px;
  background-color: rgba(19, 19, 19, 0.6);

  padding-bottom: 12px;

  /*box-shadow: 3px 3px 5px rgb(14, 14, 14);*/

  overflow: hidden;
}
.specific-skin-info, .specific-pattern {
  height: fit-content;
  width: 100%;
}


.pattern-img {
  width: 80%;
  max-width: 640px;
  filter: drop-shadow(3px 3px 5px rgb(12, 12, 12)) brightness(1.05) contrast(1.05);
}


.inner-spacing {
  width: 70%;
  max-width: 800px;
  border-bottom: 2px var(--border-basic-color) solid;
  margin-top: 10px;
  margin-bottom: 10px;
}

.inner-pattern-name {
  height: 34px;
  width: 100%;
  border-top: 2px var(--border-basic-color) solid;
  border-bottom: 2px var(--border-basic-color) solid;
  background: linear-gradient(to left, rgb(112, 38, 250, 0.3), rgb(131, 0, 131, 0.3));
  font-size: 20px;
  margin-top: 12px;
  margin-bottom: 14px;
}
.pattern-list {
  width: 70%;
  max-width: 800px;
  text-align: center;
  margin-top: 26px;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 400;
  user-select: text;
}

.skin-name {
  font-size: 32px;
  font-weight: 500;
  user-select: text;
}
.pattern-name {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 20px;
}


.skin-header {
  height: 46px;
  width: 100%;
  background: linear-gradient(to left, rgb(112, 38, 250, 0.7), rgb(131, 0, 131, 0.7));
  border-bottom: 2px var(--border-basic-color) solid;
  border-top: 2px var(--border-basic-color) solid;
  margin-top: 22px;
  margin-bottom: 12px;
}

.skin-header-first {
  height: 46px;
  width: 100%;
  background: linear-gradient(to left, rgb(112, 38, 250, 0.7), rgb(131, 0, 131, 0.7));
  border-bottom: 2px var(--border-basic-color) solid;
  margin-bottom: 12px;
}

.skin-dsc-outer {
  width: 100%;
  border-bottom: 2px var(--border-basic-color) solid;
  margin-bottom: 6px;
  padding-bottom: 14px;
}
.skin-dsc-outer-spec {
  width: 100%;
  border-bottom: 2px var(--border-basic-color) solid;
  margin-bottom: 6px;
  margin-top: -4px;
  padding-bottom: 12px;
}
.skin-dsc {
  width: 84%;
  max-width: 800px;
  text-align: center;
  font-size: 17px;
}
.navigation-el {
  margin: 0 22px;
  max-width: 1000px;
  border: 2px var(--border-basic-color) solid;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 18px;
  margin-bottom: 22px;
}
.nav-section {
  width: 100%;
}
.nav-skins {
  border-top: 2px var(--border-basic-color) solid;
}
.navigation-header {
  height: 34px;
  width: 100%;
  font-size: 22px;
  font-weight: 500;
  background: linear-gradient(to left, rgb(112, 38, 250, 0.7), rgb(131, 0, 131, 0.7));
  border-bottom: 2px var(--border-basic-color) solid;
}
.navigation-cont {
  box-sizing: border-box;
  width: 100%;
  column-gap: 8px;
  row-gap: 6px;
  padding: 8px;
  background-color: rgba(27, 27, 27, 0.7);
  flex-wrap: wrap;
}
.skin-nav {
  width: 150px;
  height: 150px;
  border: 2px var(--border-basic-color) solid;
  border-radius: 8px;
  position: relative;
  box-shadow: 2px 2px 3px black;
  transition: background-color 0.08s, scale 0.08s;
}
.nav-rarities .skin-nav {
  height: 60px;
  font-size: 20px;
  font-weight: 500;
}
.skin-nav:hover:not(.clicked) {
  background-color: rgba(139, 43, 168, 0.7);
  scale: 0.97;
}
.skin-nav:active {
  background-color: rgba(59, 14, 73, 0.7)
}
.navigation-cont .long-img {
  width: 92%;
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%) rotate(-45deg);
  filter: drop-shadow(3px 3px 4px rgb(12, 12, 12)) brightness(1.05) contrast(1.05);
}
.navigation-cont .short-img {
  width: 80%;
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  filter: drop-shadow(3px 3px 4px rgb(12, 12, 12)) brightness(1.05) contrast(1.05);
}
.gap-reduce {
  margin-top: -8px;
}

img {
  pointer-events: none;
}

.no-tier {
  margin-bottom: 20px;
}
.nav-spacing {
  margin-bottom: 26px;
}

.charm-images-cont {
  box-sizing: border-box;
  width: 100%;
  flex-wrap: wrap;
  padding: 0 8px;
}
.charm-images-cont img {
  height: 200px;
  padding: 0 16px;
  padding-bottom: 10px;
  filter: brightness(1.05) contrast(1.05) drop-shadow(3px 3px 5px black);
}
.charm-images-cont p {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 10px;
  margin-top: 8px;
}

.clicked {
  opacity: 0.4;
  scale: 0.95;
}
.single-charm-pattern {
  min-width: 130px;
}

.charm-nav-img {
  height: 100%;
  filter: drop-shadow(3px 3px 4px rgb(12, 12, 12)) brightness(1.05) contrast(1.05);
}

.main-return-btn {

  height: 42px;
  padding: 0px 10px;

  background: linear-gradient(to left, rgb(112, 38, 250, 0.7), rgb(131, 0, 131, 0.7));
  font-size: 20px;
  font-weight: 500;

  border: 2px var(--border-basic-color) solid;
  border-radius: 6px;
  box-shadow: 2px 2px 4px rgb(17, 17, 17);

  margin-top: 20px;
  margin-bottom: 26px;
  cursor: pointer;

  transform: opacity 0.15s;
}
.main-return-btn:hover {
  opacity: 0.6;
}

@media (max-width: 800px) {
  .skin-nav {
    width: 100px;
    height: 100px;
  }
  .nav-rarities .skin-nav {
    height: 50px;
    font-size: 16px;
    font-weight: 400;
    width: 106px;
  }
}
@media (max-width: 550px) {
  .skin-name {
    font-size: 28px;
  }
}