* {
  box-sizing: border-box;
  image-rendering: pixelated;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  transition: 0.4s;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #5a8ea2;
  --cerulean: #006880;
  --gunmetal: #2c3236;
  --rich-black: #101e21;
  --night: #090b0c;
  --alice-blue: #e8f2f4;
  --fire-brick: #ac3e2e;
}

@import url("https://fonts.googleapis.com/css2?family=Black+Ops+One&display=swap");

html {
  background: var(--gunmetal);
  color: var(--alice-blue);
  font-family: "arial";
  scrollbar-color: var(--cerulean) var(--night);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Black Ops One", system-ui;
}

h1 {
  font-size: 52px;
  font-family: "Black Ops One", system-ui;
}

h5 {
  font-size: 16px;
}

hr {
  border: 4px double var(--alice-blue);
  margin: auto;
  margin-top: 16px;
  margin-bottom: 16px;
}

hr {
  overflow: visible; /* For IE */
  padding: 0;
  border: none;
  border-top: 8px double var(--alice-blue);
  color: var(--alice-blue);
  text-align: center;
  margin-bottom: -20px;
}

hr:after {
  content: url("https://steel-type.neoskitties.org/images/mini-icon.png");
  display: inline-block;
  position: relative;
  top: -28px;
  padding: 10px 8px 4px 8px;
  background: var(--night);
  border-radius: 24px;
}

p {
  margin-bottom: 16px;
  margin-top: 8px;
}

li {
  list-style: none;
}
li::before {
  content: "";
  display: inline-block;
  height: 16px;
  width: 16px;
  background-image: url(https://steel-type.neoskitties.org/images/mini-icon.png);
  background-size: 16px;
  background-repeat: no-repeat;
  background-position: bottom;
  padding: 4px;
}

a {
  color: white;
  text-decoration: underline dotted;
}

a:hover {
  color: var(--blue);
  transition: 0.4s;
}

a img:hover {
  transform: scale(1.1);
  transition: 0.4s;
}

.note {
  background: var(--night);
  padding: 16px;
}

.header {
  background: linear-gradient(
    45deg,
    var(--rich-black) 0%,
    var(--cerulean) 100%
  );
  color: var(--alice-blue);
  width: 100%;
  height: 100px;
  padding: 16px;
  font-family: "Black Ops One", system-ui;
  border-bottom: 8px double var(--night);
  margin-bottom: 16px;
  position: fixed;
  z-index: 10;
}

.header a {
  color: var(--alice-blue);
  text-decoration: none;
}

.header a:hover {
  color: var(--blue);
}

.header img {
  height: 40px;
}

.ball {
  background: #ee1515;
  background-image: linear-gradient(
    0deg,
    var(--alice-blue) 26.56%,
    var(--night) 26.56%,
    var(--night) 32.81%,
    var(--fire-brick) 32.81%,
    var(--fire-brick) 50%,
    var(--alice-blue) 50%,
    var(--alice-blue) 76.56%,
    var(--night) 76.56%,
    var(--night) 82.81%,
    var(--fire-brick) 82.81%,
    var(--fire-brick) 100%
  );
  background-size: 130px 130px;
  color: var(--alice-blue);
  width: 56px;
  height: 56px;
  border: 4px solid var(--night);
  border-radius: 32px;
  margin: auto;
  transition: 1.5s;
}

.ball .circle {
  background: #f0f0f0;
  width: 16px;
  height: 16px;
  border: 4px solid var(--night);
  border-radius: 20px;
  margin: auto;
  margin-top: 18px;
}

.ball:hover {
  transform: rotate(360deg);
  transition: 0.8s;
}

.sidebar {
  background: var(--blue);
  background: linear-gradient(
    45deg,
    var(--rich-black) 0%,
    var(--cerulean) 100%
  );
  width: 200px;
  height: 100%;
  border: 8px double var(--night);
  border-top: 0px;
  border-bottom: 0;
  padding: 16px;
  float: right;
  position: fixed;
  left: 960px;
  top: 0px;
  z-index: 11;
}

.sidebar button {
  background: var(--rich-black);
  color: var(--alice-blue);
  width: 80%;
  font-size: 16px;
  border: 4px solid var(--blue);
  border-radius: 16px;
  padding: 8px;
  margin: 8px;
  transition: 0.8s;
}

.sidebar button:hover {
  transform: scale(1.1);
  transition: 0.2s;
  cursor: pointer;
}

.sidebar img {
  margin: 4px;
}

.container {
  padding-top: 132px;
  display: grid;
  grid-template-columns: 500px 400px;
  grid-template-rows: 200px 1fr;
  gap: 16px 16px;
  grid-template-areas:
    "main right-one"
    "main right-two";
  padding-left: 16px;
}

.main {
  grid-area: main;
}

.box {
  background: var(--blue);
  background: linear-gradient(
    45deg,
    var(--rich-black) 0%,
    var(--cerulean) 100%
  );
  border: 8px double var(--night);
  width: 100%;
  padding: 16px;
  margin-bottom: 16px;
}

.mons {
  width: 90%;
  margin: auto;
}

.mons img {
  width: px;
}

.updates {
  max-height: 140px;
  overflow-y: auto;
}

.right .mon-page img {
  width: 100%;
}

.right-one {
  background: var(--blue);
  background: linear-gradient(
    45deg,
    var(--rich-black) 0%,
    var(--cerulean) 100%
  );
  border: 8px double var(--night);
  padding: 16px;
  grid-area: right-one;
  margin-bottom: 16px;
}

.right-one a {
  color: var(--alice-blue);
  text-decoration: none;
}

.potm {
  height: 80%;
  background-image: url("https://steel-type.neoskitties.org/images/pokeball.png");
  background-repeat: no-repeat;
  background-size: 160px;
  background-position: right;
}

.potm img {
  width: 120px;
  float: right;
}

.right-two {
  height: 200px;
  background: var(--blue);
  background: linear-gradient(
    45deg,
    var(--rich-black) 0%,
    var(--cerulean) 100%
  );
  border: 8px double var(--night);
  padding: 16px;
  grid-area: right-two;
}

.card img {
  width: 400px;
  margin: auto;
  margin-top: 16px;
}

/*MUSIC PLAYER*/

#musicplayer {
  background: var(--gunmetal); /* background color of player */
  color: var(--alice-blue);
  border: 8px double var(--night); /* border around player */
  width: 100%; /* width of the player */
  margin-bottom:16px;
  margin-top:16px;
}

.songtitle {
  padding: 8px; /* padding around song title */
  border-bottom: 6px solid var(--night); /* border under song title */
  display: block;
}

.controls {
  font-size: 18px !important; /* size of controls */
 background: linear-gradient(
    45deg,
    var(--rich-black) 0%,
    var(--cerulean) 100%
  );; /* background color of controls */
  text-align: center;
  width: 100%;
}

.controls td {
  padding: 8px 5px 8px 5px; /* padding around controls */
}

.seeking {
  background: linear-gradient(
    45deg,
    var(--rich-black) 0%,
    var(--cerulean) 100%
  );; /* background color of seeking bar */
  display: flex;
  justify-content: space-evenly;
  padding: 8px; /* padding around seeking bar */
  border-top:6px solid var(--night);
}

.current-time {
  padding-right: 5px;
  padding-top: 4px;
}

.total-duration {
  padding-left: 5px;
  padding-top:4px;
}

i.fas:hover {
  cursor: help;
}

i.fas.fa-pause,
i.fas.fa-play,
i.fas.fa-forward,
i.fas.fa-backward {
  color: var(--alice-blue); /* color of controls */
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background-color: var(--night); /* background color of seeking bar - make the color same as .seeking background color */
  padding:4px;
  border-radius:8px;
}

input[type="range"]:focus {
  outline: none;
}

/* settings for chrome browsers */
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 2px; /* thickness of seeking track */
  cursor: help;
  background: var(--alice-blue); /* color of seeking track */
}

input[type="range"]::-webkit-slider-thumb {
  height: 10px; /* height of seeking square */
  width: 10px; /* width of seeking square */
  border-radius: 0px; /* change to 5px if you want a circle seeker */
  background: var(--alice-blue); /* color of seeker square */
  cursor: help;
  -webkit-appearance: none;
  margin-top: -4.5px;
}

/* settings for firefox browsers */
input[type="range"]::-moz-range-track {
  width: 100%;
  height: 2px; /* thickness of seeking track */
  cursor: help;
  background: var(--alice-blue); /* color of seeking track */
}

input[type="range"]::-moz-range-thumb {
  height: 10px; /* height of seeking square */
  width: 10px; /* width of seeking square */
  border-radius: 0px; /* change to 5px if you want a circle seeker */
  background: var(--alice-blue); /* color of seeker square */
  cursor: help;
  border: none;
}
/*END MUSIC PLAYER*/

@media screen and (max-width: 1000px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    border: 8px double var(--night);
    border-top: 0;
    border-left: 0;
    border-right: 0;
    left: 0px;
    top: 100px;
    z-index: 9;
  }
  .container {
    position: relative;
    top: 000px;
  }
}

@media screen and (max-width: 950px) {
  .container {
    display: inline;
    top: 100px;
  }

  .card {
    margin: auto;
  }
}
