﻿header {
  display: none;
}

/* Charater Profile (Page) */

#profile {
  padding: 0;
}

#profile > div, .profpartimg {
  width: 100%;
  height: 800px;
}

#profile > div {
  display: flex;
  align-items: center;
}

.profpartimg {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  max-width: 1280px;
  overflow: hidden;
}

.profimg {
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 1000px;
}

.profimg li {
  opacity: 0;
}

.profimg li:first-child {
  opacity: 1;
}

.profpartdata {
  width: 100%;
  background-image: linear-gradient(to right, transparent calc(50% + 50px), ghostwhite calc(50% + 50px));
}

.profmain {
  width: 50%;
  max-width: 640px;
  transform: translate(50%, 0);
}

.profdata ul {
  margin: 0;
  margin-top: 10px;
  padding: 0;
  list-style-type: none;
}

.profdata li {
  padding: 5px 0;
}

/* Radar Chart */

.status {
  padding: 20px 40px 0 60px;
  position: relative;
  float: right;
}

.radarchart {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
  padding: 35px;
  box-sizing: content-box;
}

.radarchart svg {
  width: 100%;
  height: 100%;
}

.radarchart ul {
  position: absolute;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  list-style-type: none;
}

.radarchart li {
  position: absolute;
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
}

.radarchart ul > li:nth-child(1) {
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.radarchart ul > li:nth-child(2) {
  top: 33%;
  left: 88%;
  text-align: left;
}

.radarchart ul > li:nth-child(3) {
  bottom: 9%;
  right: 25%;
  transform: translateX(50%);
  text-align: center;
}

.radarchart ul > li:nth-child(4) {
  bottom: 9%;
  left: 25%;
  transform: translateX(-50%);
  text-align: center;
}

.radarchart ul > li:nth-child(5) {
  top: 33%;
  right: 88%;
  text-align: right;
}

/* Color Palette */

.palette ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.palette li {
  display: flex;
  align-items: center;
  margin: 2px;
  width: calc(33.3% - 4px);
  min-height: 60px;
  background-color: white;
  border: #c5ccd3 1px solid;
}

.palette .color {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
}

.palette .color i {
  display: block;
  height: 40px;
  width: 40px;
  border: black 1px solid;
  border-radius: 50%;
}

.palette .text {
  padding: 5px;
  width: calc(100% - 60px);
}

/* Reference */

.reference figure, .reference img {
  width: 100%;
}

.reference figure {
  margin: auto;
  margin-bottom: 40px;
  background-color: white;
  border: #c5ccd3 1px solid;
}

.reference figcaption {
  padding: 20px 10px;
}

@media (max-width: 1024px) {
  .palette li {
    width: calc(50% - 4px);
  }
}

@media (max-width: 768px) {
  #profile > div {
    display: block;
    height: auto;
  }

  .profpartdata {
    padding: 15px;
    padding-top: 600px;
    background-image: linear-gradient(transparent);
  }

  .profmain {
    width: 100%;
    max-width: 800px;
    transform: translate(0, 0);
    border-radius: 25px;
  }

  .profimg {
    top: 350px;
    left: 50%;
    width: 800px;
    height: 800px;
  }

  .status {
    padding: 0;
    top: 20px;
    float: none;
  }
}

@media (max-width: 640px) {
  .profimg {
    top: 240px;
    width: 600px;
    height: 600px;
  }

  .profpartdata {
    padding: 15px;
    padding-top: 400px;
    background-image: linear-gradient(transparent);
  }

  .palette li {
    width: calc(100% - 4px);
  }
}