* {
  box-sizing: border-box;
}

:root {
  --text: #040316;
  --background: #d0d4fb;
  --primary: #abb3ff;
  --secondary: #2f377a;
  --accent: #ffef99;
}

.extra-text {
  color: #d0d4fb;
  font-size: small;
  padding-left: 10px;
}

body {
  margin: 0;
  background-image: url(/images/bg.png);
  background-attachment: fixed;
  background-repeat: repeat;
  font-size: 1.05rem;
  line-height: 22px;
}

nav {
  font-size: large;
  color: var(--accent);
}

.exo-2-normal {
  font-family: "Exo 2", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-style: var(--text);
}

.container {
  background-color: var(--primary);
  max-width: 1000px;
  margin: 0 auto;
}

.header {
  width: auto;
  height: 200px;
  background-image: url(https://files.catbox.moe/lkpayd.png);
}

nav {
  display: flex;
  width: auto;
  height: 50px;
  background-color: var(--secondary);
  justify-content: space-evenly;
  align-items: center;
}

nav > ul {
  margin: auto;
  display: flex;
  justify-content: space-evenly;
  list-style-type: none;
}

.flex {
  width: auto;
  display: flex;
}

.bio-content {
  width: auto;
  margin-top: 10px;
}

main {
  width: 800px;
  height: auto;
  background-color: var(--background);
  padding: 65px 20px;
  background-image: url("/images/div6.png"), url("/images/div6.png");
  background-position: top, bottom;
  background-repeat: repeat-x;
}

ul {
  padding-left: 20px;
  font-size: smaller;
}

ul2 {
  list-style-position: inside;
}

aside {
  width: 200px;
  background-color: var(--primary);
  padding: 20px;
}

footer {
  display: flex;
  width: auto;
  height: 50px;
  background-color: var(--secondary);
  align-items: center;
  justify-content: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: 2px solid var(--secondary);
  color: var(--secondary);
}

.underline {
  border-bottom: 2px solid var(--secondary);
  overflow: hidden;
}

h2.underline {
  padding-bottom: 4px;
}

h1 {
  text-decoration: underline var(--secondary);
}

a {
  color: var(--secondary);
}

a:hover {
  color: var(--accent);
}

nav > a:link {
  color: var(--primary);
  background-color: transparent;
  text-decoration: none;
}

nav > a:hover {
  color: var(--background);
  background-color: transparent;
  text-decoration: underline;
}

nav > a:visited {
  color: inherit;
}

footer p {
  margin: auto;
}

/*Gifs*/

.gif-section {
  width: 100%;
  height: 100%;
}

.gif-section > h3 {
  padding-bottom: 5px;
  text-decoration-line: underline;
}

.gif-row {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  width: 100%;
  align-items: center;
}

.gif-row > div {
  width: 180px;
  height: max-content;
}

.gif-row > div > img {
  display: block;
  width: 100%;
  height: auto;
}

/* Gif End*/

.sidebar-box {
  width: 100%;
  padding: 10px;
  background-color: #2f377a;
  border: 1px solid #d0d4fb;
}

.center-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  width: 50%;
}

/*Counter*/

.countup {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 30px;
}
.countup .timeel {
  display: inline-block;
  padding: 10px;
  background: #151515;
  margin: 0;
  color: white;
  min-width: 2.6rem;
  margin-left: 13px;
  border-radius: 10px 0 0 10px;
}
.countup span[class*="timeRef"] {
  border-radius: 0 10px 10px 0;
  margin-left: 0;
  background: var(--secondary);
  color: var(--background);
}

/* Counter End*/

.center {
  display: flex;
  width: 100%;
  justify-content: center;
}

/* Table + Bio */

table,
th,
td {
  border: 1px solid var(--background);
  text-align: left;
  table-layout: fixed;
  padding: 4px;
  border-collapse: collapse;
}
th,
td {
  background-color: var(--secondary);
}

.bio {
  background-color: var(--secondary);
  padding: 2px;
  border: 2px solid var(--text);
  width: 300px;
  margin-left: 10px;
  text-align: left;
  box-sizing: border-box;
  color: var(--background);
  flex-shrink: 0;
  float: right;
  font-size: medium;
  line-height: normal;
}

.bio-h2 {
  text-align: center;
  color: var(--background);
  margin: 10px;
}

.bio-a {
  color: var(--primary);
}
