*, *::after, *::before {
  margin: 0;
}

body {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  height: fit-content;
  color: #e8eaed;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: calc(100% - 50px);
  margin: 20px auto 10px;
  box-sizing: border-box;
  justify-self: center;
  align-items: center;
}

.sub-section {
  display: flex;
}

.vertical-section {
  flex-direction: column;
}

.horizontal-section {
  flex-direction: row;
}

.title {
  font-size: 6vh;
  text-decoration: underline;
}

.img-rounded {
  border-radius: 50%;
}

footer {
  margin-top: auto;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, #1a1a2e, #16213e);
  border-top: 1px #2d3748 solid;
}

@keyframes floatingText {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(2px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes slideOutLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-150%);
  }
}
@keyframes slideOutRight {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(150%);
  }
}
@keyframes slideInLeft {
  0% {
    transform: translateX(-150%);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  0% {
    transform: translateX(150%);
  }
  100% {
    transform: translateX(0);
  }
}
#characters-list {
  width: 100%;
  margin: 45px auto 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, 150px));
  grid-gap: 50px 0px;
  justify-content: center;
}
#characters-list .character-item {
  justify-self: center;
  position: relative;
  width: 100px;
  height: 100px;
  border: 5px solid rgb(125, 125, 125);
  border-radius: 10px;
  transition: transform ease-in-out 0.1s, opacity ease-out 0.1s;
}
#characters-list .character-item.anemo {
  border-color: rgb(66, 200, 142);
  background-color: #257f58;
}
#characters-list .character-item.anemo:hover {
  box-shadow: 0 10px 20px #42c88e;
}
#characters-list .character-item.cryo {
  border-color: rgb(127, 249, 247);
  background-color: #1ef4f1;
}
#characters-list .character-item.cryo:hover {
  box-shadow: 0 10px 20px #7ff9f7;
}
#characters-list .character-item.hydro {
  border-color: rgb(30, 117, 237);
  background-color: #0c4799;
}
#characters-list .character-item.hydro:hover {
  box-shadow: 0 10px 20px #1e75ed;
}
#characters-list .character-item.pyro {
  border-color: rgb(241, 59, 13);
  background-color: #902308;
}
#characters-list .character-item.pyro:hover {
  box-shadow: 0 10px 20px #f13b0d;
}
#characters-list .character-item.electro {
  border-color: rgb(155, 18, 182);
  background-color: #4c0959;
}
#characters-list .character-item.electro:hover {
  box-shadow: 0 10px 20px #9b12b6;
}
#characters-list .character-item.dendro {
  border-color: rgb(14, 200, 79);
  background-color: #076929;
}
#characters-list .character-item.dendro:hover {
  box-shadow: 0 10px 20px #0ec84f;
}
#characters-list .character-item.geo {
  border-color: rgb(161, 129, 21);
  background-color: #473909;
}
#characters-list .character-item.geo:hover {
  box-shadow: 0 10px 20px #a18115;
}
#characters-list .character-item:hover {
  cursor: pointer;
  transform: scale(1.1);
}
#characters-list .character-item.toggled {
  opacity: 0.5;
}
#characters-list .character-item .character-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#characters-list .character-item .character-weapon {
  position: absolute;
  width: 30%;
  height: 30%;
  z-index: 2;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.468);
  border-radius: 50%;
}
#characters-list .character-item .character-name {
  display: none;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%) translateY(110%);
  width: 100%;
  text-align: center;
  position: absolute;
  z-index: 1;
  font-size: 2vh;
}
#characters-list .character-item:hover .character-name {
  display: inline-block;
}

/*# sourceMappingURL=index.css.map */
