@import "https://www.nerdfonts.com/assets/css/webfont.css";

:root,
[data-theme="1"] {
  --backcolor: #161616;
  --selectioncolor: #868af6;
}

[data-theme="2"] {
  --backcolor: #1e2122;
  --selectioncolor: #77b2b4;
}

[data-theme="3"] {
  --backcolor: #14121d;
  --selectioncolor: #e6aaa7;
}

[data-theme="4"] {
  --backcolor: #181825;
  --selectioncolor: #7bbbf9;
}

[data-theme="5"] {
  --backcolor: #000000;
  --selectioncolor: lime;
}

[data-theme="6"] {
  --backcolor: #282828;
  --selectioncolor: #a48a66;
}

[data-theme="7"] {
  --backcolor: #011627;
  --selectioncolor: #ffffff;
}

[data-theme="8"] {
  --backcolor: #300a24;
  --selectioncolor: #dddada;
}

body {
  background-color: var(--backcolor);
  padding: 15px;
  font-family: "Source Code Pro", monospace;
}

.nav {
  text-align: center;
  align-items: center;
  border: 1px solid #a9a9a9;
  padding: 10px 20px;
  color: rgb(255, 255, 255);
  max-width: 50%;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  margin-bottom: 30px;
}

.head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin-left: 20%;
  margin-right: 20%;
  text-align: left;
}

.head-text {
  flex: 1;
  text-align: right;
}

.head-img {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
}

legend {
  display: table;
  min-width: 0px;
  position: relative;
  margin: auto;
  text-align: center;
}

.nav .selected {
  color: var(--selectioncolor);
}

.nav a {
  text-decoration: none;
  color: #b9b9b9;
}

.content {
  text-align: center;
  align-items: center;
  border: 1px solid rgb(169, 169, 169);
  padding: 10px 20px;
  color: rgb(255, 255, 255);
  max-width: 50%;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  min-height: 60vh;
  min-width: 0;
}

.pridemonthbanner {
  text-align: center;
  align-items: center;
  border: 1px solid rgb(169, 169, 169);
  padding: 10px 20px;
  margin-bottom: 10px;
  margin-top: -5px;
  color: rgb(255, 255, 255);
  max-width: 50%;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  min-width: 0;
}

.pridemonthhr {
  background: linear-gradient(
    90deg,
    rgba(255, 138, 138, 1) 0%,
    rgba(255, 198, 148, 1) 14%,
    rgba(255, 239, 148, 1) 31%,
    rgba(182, 255, 145, 1) 53%,
    rgba(171, 213, 255, 1) 79%,
    rgba(216, 138, 255, 1) 100%
  );
  height: 5px;
  border: 0;
}

i {
  color: var(--selectioncolor);
}

.utils {
  text-align: center;
  align-items: center;
  padding: 10px 20px;
  color: rgb(255, 255, 255);
  max-width: 50%;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  min-width: 0;
  font-family: "Source Code Pro", monospace;
}

.utils .left {
  float: left;
}

.utils .right {
  float: right;
}

.exp {
  text-align: left;
  margin-left: 20%;
  margin-right: 20%;
}

.content a {
  text-decoration: none;
  color: gray;
}

.project {
  text-align: left;
  margin-left: 20%;
  margin-right: 20%;
  max-width: 100%;
  overflow: hidden;
}

.alert {
  text-align: center;
  align-items: center;
  border: 1px solid rgb(169, 169, 169);
  padding: 10px;
  color: rgb(255, 255, 255);
  max-width: 50%;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  min-width: 0;
}

.alertdiv {
  background-color: var(--backcolor);
  left: 0;
  top: 35vh;
  position: fixed;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.secondary {
  color: var(--selectioncolor);
}

.footer {
  text-align: center;
  align-items: center;
  border: 1px solid rgb(169, 169, 169);
  padding: 10px 20px;
  color: rgb(255, 255, 255);
  max-width: 50%;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  min-width: 0;
}

.footer a {
  text-decoration: none;
  color: gray;
}

@media only screen and (max-width: 600px) {
  .footerlogo {
    font-size: 7px;
  }

  body {
    padding: 5px;
  }

  .nav {
    padding: 10px 20px;
    max-width: 85%;
  }

  .content,
  .pridemonthbanner,
  .footer {
    max-width: 85%;
    height: auto;
  }

  .exp {
    margin-left: 5%;
    margin-right: 5%;
  }

  .utils {
    display: none;
  }

  .head {
    margin-left: 5%;
    margin-right: 5%;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .head-text {
    text-align: center;
  }

  .head-img {
    width: 100px;
    height: 100px;
  }
}

.project-item {
  margin-bottom: 8px;
}

.project-item a {
  color: var(--selectioncolor);
}

.project-item a:hover {
  text-decoration: underline;
}

.contact-row a {
  color: var(--selectioncolor);
}

.contact-row a:hover {
  text-decoration: underline;
}

.dimmed {
  color: gray;
}

[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  font-family: "Source Code Pro", monospace;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #212121;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out;
}

[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
}

.preloaddiv {
  background-color: var(--backcolor);
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.5s;
  opacity: 1;

  animation: no-js 10s forwards;
}
.pldanim {
  opacity: 0;
  pointer-events: none;
}

.preloaddiv h1 {
  color: white;
}

@keyframes no-js {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.loader {
  display: flex;
  gap: 10px;
}

.loader span {
  width: 15px;
  height: 15px;
  background-color: #363636;
  animation: loaderanim 1.2s infinite step-end;
}

.loader span:nth-child(1) {
  animation-delay: 0s;
}

.loader span:nth-child(2) {
  animation-delay: 0.3s;
}

.loader span:nth-child(3) {
  animation-delay: 0.6s;
}

.loader span:nth-child(4) {
  animation-delay: 0.9s;
}

@keyframes loaderanim {
  0% {
    background-color: var(--selectioncolor);
  }

  25% {
    background-color: #363636;
  }
}

.warn {
  border-left: var(--selectioncolor) solid 2px;
  padding-left: 10px;
}

.badgelink {
  background-color: var(--selectioncolor);
  color: var(--backcolor);
  min-width: 334px;
  min-height: 54px;
}

.badgesmarquee {
  border: 1px solid var(--selectioncolor);
  border-radius: 3px;
  padding: 5px;
}

.footerlogo {
  color: var(--selectioncolor);
  font-weight: bold;
}
