:root {
  --darkest: #12111C;
  --dark: #120F25;
  --dark-2: #16122B;
  --dark-3: #1B182D;
  --dark-4: #302C4B;
  --dark-5: #413A6D;
  --primary: #6E5BCE;
  --secondary: #3274CA;
  --tertiary: #1EAF7E;
  --white: #fff;
  --white-tint: #5c5a6b;
  --white-tint-light: #252330;
  --logo-gray: #989CA8;
  --light-red: #da8677;
  --link-color: #27dda0;
}

.header-page {
  margin-top: 55px;
  min-height: 290px;
  padding-bottom: 80px;
  background-size: cover;
  background-position: 10% 25%;
  margin-bottom: -50px;
  position: relative;
  z-index: -1;
  display: flex;
}
.header-page.higher {
  min-height: 360px;
  padding-bottom: 110px;
}
@media screen and (max-width: 767.98px) {
  .header-page {
    min-height: 250px;
    padding-bottom: 120px;
    background-position: 50% 25%;
  }
}
@media screen and (max-width: 575.98px) {
  .header-page {
    min-height: 200px;
    padding-bottom: 60px;
    background-position: 50% 25%;
  }
}
.header-page .content {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  position: relative;
  z-index: 5;
}
.header-page .content h1 {
  text-transform: uppercase;
  letter-spacing: 1px;
}
.header-page .content h1 .game-title {
  display: block;
  font-size: 18px;
}
@media screen and (max-width: 575.98px) {
  .header-page .content h1 .game-title {
    font-size: 14px;
  }
}
.header-page .additional-img {
  position: absolute;
  bottom: 0;
  right: 5%;
  z-index: 0;
}
@media screen and (max-width: 1199.98px) {
  .header-page .additional-img {
    width: 300px;
    right: 0;
  }
}
@media screen and (max-width: 767.98px) {
  .header-page .additional-img {
    width: 200px;
    right: -100px;
  }
}

ul.power-types {
  padding: 0 15px 15px 15px;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 767.98px) {
  ul.power-types {
    padding: 0;
  }
}
ul.power-types li {
  display: flex;
  align-items: center;
  gap: 100px;
  padding: 25px 0 30px 0;
}
ul.power-types li:not(:last-child) {
  border-bottom: 1px solid var(--dark-4);
}
@media screen and (max-width: 767.98px) {
  ul.power-types li {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
ul.power-types li .icon-and-name {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 26px;
  text-transform: uppercase;
  font-weight: bold;
  min-width: 150px;
}
ul.power-types li .icon-and-name img {
  width: 40px;
  height: 40px;
  -o-object-fit: contain;
     object-fit: contain;
}

ul.combat-tips {
  padding: 0;
  margin: 0;
}
ul.combat-tips li {
  list-style: none;
  margin-bottom: 10px;
  padding-left: 0;
}
ul.combat-tips li svg {
  min-width: 22px;
  min-height: 22px;
  width: auto;
  transform: translateY(2px);
  margin-right: 10px;
}

.elemental-reaction {
  display: flex;
  justify-content: center;
  align-items: center;
}
.elemental-reaction img {
  width: 30px;
  height: 30px;
  -o-object-fit: contain;
     object-fit: contain;
}
.elemental-reaction .group-name {
  display: inline-block;
  background-color: rgb(from var(--tertiary) r g b/0.2);
  border: 1px solid var(--tertiary);
  border-radius: 5px;
  padding: 15px;
  position: relative;
}
.elemental-reaction .group-name span.name {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  background-color: var(--secondary);
  padding: 3px 6px;
  border-radius: 5px;
  font-size: 12px;
}
.elemental-reaction span.small {
  font-size: 12px;
}
.elemental-reaction.sm img {
  width: 20px;
  height: 20px;
  transform: translateY(-2px);
}
.elemental-reaction.sm .group-name {
  padding: 12px 15px;
}
.elemental-reaction.sm .plus {
  font-size: 14px;
}

main.elements table.elemental-reactions p {
  margin-bottom: 0;
}
main.elements table.elemental-reactions td.effect {
  min-width: 400px;
}
main.elements .dmg-scalings ul {
  margin: 15px 0 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
main.elements .dmg-scalings ul li {
  background-color: var(--dark-4);
  border: 1px solid var(--dark-4);
  padding: 15px 20px;
  border-radius: 5px;
}
@media screen and (max-width: 767.98px) {
  main.elements .dmg-scalings ul li {
    padding: 10px;
  }
}
main.elements .dmg-scalings ul li p.name {
  font-weight: bold;
  margin-bottom: 5px;
}
main.elements .dmg-scalings ul li p:not(.name) {
  margin-bottom: 0;
  font-size: 14px;
}
main.elements .dmg-scalings p.small {
  font-size: 14px;
  color: rgb(from var(--white) r g b/0.8);
}