body {
  width: 100%;
  height: 100vh;
  background-color: #14448e;
  background: linear-gradient(180deg, rgba(36,129,121,1) 26%, rgba(76,193,181,1) 57%, rgba(27,112,112,1) 80%);
  font-family: Genshin;
  margin: 0;
  user-select: none;
}

* {
  cursor: url('cursor.cur'), auto;
}

/* background: linear-gradient(180deg, rgba(36,129,121,1) 26%, rgba(76,193,181,1) 57%, rgba(27,112,112,1) 80%); anemo */
/* background: linear-gradient(180deg, rgba(145,116,47,1) 26%, rgba(190,160,77,1) 57%, rgba(150,122,38,1) 80%); geo */
/* background: linear-gradient(180deg, rgba(146,47,38,1) 26%, rgba(183,108,81,1) 57%, rgba(165,53,36,1) 80%); pyro */
/* background: linear-gradient(180deg, rgba(35,144,180,1) 26%, rgba(117,210,239,1) 57%, rgba(31,145,180,1) 80%); cryo */
/* background: linear-gradient(180deg, rgba(124,53,153,1) 26%, rgba(176,116,203,1) 57%, rgba(148,58,170,1) 80%); electro */
:focus-visible {
  outline: none;
}

.msg {
  background: #f0ebe3;
  position: absolute;
  font-size: 20px;
  width: 400px;
  padding: 15px 20px;
  left: 42%;
  bottom: 40%;
  border: 2px solid black;
}

#closeButton {
  font-size: 15px;
  border: 1px solid black;
  padding: 5px 10px;
  margin-top: 5px;
  display: inline-block;
  background: white;
  border-radius: 4px;
  transition: all .1s ease;
}

#closeButton:hover {
  background: #b8b8b8;
}

#closeButton:active {
  background: #6d6d6d;
  transition: all 0s ease;
}

canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  pointer-events: none;
}

#sentaku {
  width: 100%;
  background: rgba(0, 0, 0, .25);
  height: 130px;
  display: flex;
  align-items: center;
  color: #d3bc8e;
  font-size: 30px;
}

.vision, #list, .exit {
  display: flex;
}

#list {
  width: 50%;
  align-items: center;
  justify-content: center;
}

.vision {
  align-items: center;
  justify-content: flex-start;
  width: 30%;
}

.exit {
  align-items: center;
  justify-content: flex-end;
  margin-right: 2em;
  width: 20%;
}

.exit a {
  text-decoration: none;
  background: #ece5d8;
  padding: 11px;
  display: flex;
  align-items: center;
  border-radius: 50%;
  outline: 5px solid rgba(255, 255, 255, .5);
  transition: all .3s ease;
}

.exit a img {
  transition: all .3s ease;
}

.exit a:hover {
  outline: 5px solid white;
  filter: drop-shadow(0px 0px 5px white);
}

.exit a:active {
  background: #aa9187;
  outline: none;
  filter: drop-shadow(0px 0px 5px #aa9187);
}

.exit a:active>img {
  filter: contrast(1.86) grayscale(1) invert(1);
}

.active {
  background-color: #54b2d7 !important;
  border: 4px solid #779a51 !important;
}

#list>.chara {
  border-radius: 50%;
  height: 90px;
  width: 90px;
  margin-right: 2em;
  background: rgba(0, 0, 0, .25);
  border: 4px solid rgba(255, 255, 255, .13);
  overflow: visible;
  position: relative;
}

#list>.chara img {
  transition: all .3s ease;
}

#list>.chara:focus {
  background-color: #54b2d7;
  border: 4px solid #779a51;
}

#list>.chara:focus>img {
  transform: scale(1.07);
  transform-origin: bottom;
}

#list>.chara:focus::after {
  content: "";
  width: 110px;
  height: 4.5px;
  background: #68ddff;
  position: absolute;
  bottom: -18px;
  left: -13px;
}

#attributes {
  display: flex;
  height: 90%;
}

.third1, .third2, .third3 {}

.third1 {
  color: #ece5d8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  left: 9em;
  top: 3.5em;
  margin-bottom: 5em;
  width: 25%;
}

.third2 {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 5.5em;
  width: 51.5%;
}

.third3 {
  color: #fff;
  margin-top: 3em;
  text-align: left;
  width: 23.5%;
}

#name {
  font-size: 45px;
}

.level {
  font-size: 36px;
  margin-top: .25em;
}

#char {
  width: 26.25em;
}

#equip {
  position: absolute;
  bottom: 6em;
  left: -1em;
  width: 47em;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.talents {
  width: 100%;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  font-size: 25px;
  color: rgba(255, 255, 255, .5);
  margin-top: .75em;
  margin-bottom: .5em;
}

.talent {
  width: 100%;
  display: flex;
  margin-bottom: .25em;
  align-items: center;
  position: relative;
}

.talent::after {
  content: " ";
  width: 100%;
  height: 0%;
  position: absolute;
  left: 0;
  top: 50%;
  transition: all .2s ease;
  backdrop-filter: brightness(1.25);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.2) 100%);
  opacity: 0;
}

.talent:hover::after {
  height: 100%;
  top: 0;
  opacity: 1;
}

.talent>.name {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: right;
  padding-top: .375em;
  width: 78%;
  margin-right: .75em;
  flex-direction: column;
}

.talent>.img {
  width: 13%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.talents img {
  border-radius: 50%;
  background: linear-gradient(0deg, rgba(124, 53, 153, 0) 0%, rgba(0, 0, 0, 0.05) 10%, rgba(0, 0, 0, 0.125) 50%, rgba(0, 0, 0, 0.05) 90%, rgba(148, 58, 170, 0) 100%);
}

.artifacts {
  display: flex;
  margin-bottom: 2em;
  image-rendering: pixelated;
}

.arti {
  border: 2px solid black;
  border-radius: 10px;
  background: url("icon/5star.png");
  margin-right: 1.5em;
}

.circlet {
  margin-right: 0;
}

.weapon {
  border: 2px solid black;
  font-size: 35px;
  display: flex;
  align-items: center;
  text-align: left;
  background: rgba(255, 255, 255, .25);
  backdrop-filter: blur(5px);
  color: #fff;
  line-height: 47px;
  border-radius: 10px;
  margin-bottom: 1em;
  width: 100%;
}

.weapon p {
  margin-block-start: 0;
  margin-block-end: 0;
}

.weapon img {
  border-right: 2px solid black;
  margin-right: 1em;
  background-image: url("icon/5star.png");
  border-radius: 10px;
}

.cons {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid black;
  padding: 15px 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .25);
  backdrop-filter: blur(5px);
}

.cons img {
  height: 90px;
  margin-right: 1.5em;
  border: 4px solid white;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
}

.cons>.inactive {
  filter: brightness(.75);
}

.tooltip {
  position: relative;
  display: inline-block;
  color: #FFEFDF;
}

.tooltip .tooltiptext {
  font-size: 15px;
  width: 280px;
  color: #FFF;
  text-align: center;
  padding: 20px 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: -50%;
  opacity: 0;
  transition: opacity 0.3s;
  background: rgba(255, 255, 255, .25);
  border-radius: 5px;
  text-align: left;
  backdrop-filter: blur(5px);
}

.tooltiptext {
  pointer-events: none;
}

.tooltip:hover .tooltiptext {
  opacity: 1;
}

.tooltiptext img {
  height: 20px;
  margin-left: 1.35em;
  margin-top: .75em;
}

.main {
  font-size: 22px;
  font-weight: normal;
  width: 80%;
  background: rgba(255, 255, 255, .25);
  border-radius: 5px;
  padding: 2px 10px 0 10px;
  margin: auto;
  display: flex;
}

.lvl {
  margin-left: 1em;
  margin-top: .25em;
  display: inline-block;
  background: rgba(0, 0, 0, .5);
  padding: 2px 5px;
  font-size: 20px;
  border-radius: 3px;
}

.artifacts ul {
  margin-block-start: .5em;
  margin-block-end: 0;
  line-height: 20px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, .5);
}

.attrs {
  width: 67.5%;
  font-size: 27px;
  margin-top: 1em;
  line-height: 50px;
}

.attr:nth-child(odd) {
  background: linear-gradient(90deg, rgba(124, 53, 153, 0) 10%, rgba(0, 0, 0, 0.05) 50%, rgba(148, 58, 170, 0) 90%);
  backdrop-filter: blur(1px);
}

.attr {
  display: flex;
}

.name {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 80%;
}

.name svg {
  width: .8em;
  height: .8em;
  margin-right: .45em;
  opacity: .5;
}

.attrs>.em {
  margin-bottom: .5em;
  padding-bottom: .5em;
  border-bottom: 2px solid rgba(255, 255, 255, .5);
}

.eleDmg {
  margin-bottom: .75em;
  padding-bottom: .75em;
  border-bottom: 2px solid rgba(255, 255, 255, .5);
}

.val {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 20%;
  text-align: right;
}

.friend {
  background: none !important;
}

.friend svg {
  width: 1.125em;
  height: 1.125em;
}

.er svg {
  width: 1em;
  height: 1em;
}

.friendBar {
  width: 100%;
  height: 6px;
  margin-top: .25em;
  outline: 1px solid rgba(0, 0, 0, .2);
  border-radius: 2px;
}

.friendBar10 {
  background: #aca4f9;
}

.thoughts {
  color: rgba(255, 255, 255, .45);
  font-size: 25px;
  margin-top: 1.2em;
  width: 67.5%;
  max-height: 190px;
  overflow: auto;
  scrollbar-width: thin;
}

@media screen and (max-width: 1920px) {
  #sentaku {
    height: 100px;
  }

  #equip {
    width: 35em;
    left: -3em;
  }

  .third2 {
    margin-bottom: 3em;
  }

  #char {
    width: 13em;
  }
}

@font-face {
  font-family: "Genshin";
  src: url("genshin.ttf");
}