:root {
  --white: 255, 255, 255;
  --red: 229, 57, 53;
  --orange: 251, 140, 0;
  --yellow: 253, 216, 53;
  --green: 67, 160, 71;
  --blue: 30, 136, 229;
  --indigo: 57, 73, 171;
  --violet: 156, 39, 176;

  --theme-color: var(--orange);
}

body {
  background-color: black;
  background-image: radial-gradient(rgba(var(--theme-color), 0.4) 9%,
      transparent 9%);
  background-position: 0% 0%;
  background-size: 50px 50px;
  background-attachment: fixed;
  margin: 0px;
  color: white;
  font-family: "Rubik", sans-serif;
  font-size: 1em;
  scroll-behavior: smooth;
}

.scrollbar-hidden::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge add Firefox */
.scrollbar-hidden {
  -ms-overflow-style: none;
  scrollbar-width: none;
  /* Firefox */
}


p,
li,
ul,
ol,
blockquote,
table {
  color: rgb(204, 204, 204);
  font-size: 1.1rem;
}

strong,
b {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  /* optional: give it your theme color for extra contrast */
  color: white;
}

input,
label {
  color: white;
  font-family: "Rubik", sans-serif;
  font-size: 1em;
}

#example-wrapper {
  margin: 1rem auto;
  margin-bottom: 6rem;
  padding: 1rem;

  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
  grid-template-columns: 200px 1fr 1fr;
  grid-template-areas:
    "⬅️ title title title"
    "⬅️ text photo photo"
    "⬅️ fact photo photo"
    "⬅️ project project project";
  height: 100%;
}

.example-section {
  background-color: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0.5rem;
  padding: 1rem;
  height: 1fr;
  width: 1fr;
}

.example-text {
  margin-top: 0;
  margin-bottom: 0;
}

.example-paragraph {
  display: block;
}

.example-section.vertical {
  flex-direction: column;
  height: max-content;
  width: max-content;
}

.example-button {
  background-color: rgba(13, 13, 13);
  border: 1px solid transparent;
  border-radius: 0.3rem;
  color: rgb(var(--theme-color));
  flex-grow: 1;
  outline: none;
  padding: 1.25rem;
  cursor: pointer;
  width: 160px;
  transition: 100ms;
  /* No select */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.example-button.short {
  color: white;
  padding: 0.3rem 1.5rem;
}

.example-button:hover,
.example-button:focus {
  border: 1px solid rgb(var(--theme-color));
}

.example-button>i {
  height: 2rem;
  font-size: 1.25rem;
  line-height: 2rem;
  width: 2rem;
}

.example-input {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid transparent;
  border-radius: 0.25rem;
  color: white;
  outline: none;
  padding: 10px;
  width: 100%;
}

.example-input::placeholder {
  color: rgba(var(--theme-color), 0.5);
}

.example-input:focus {
  border-color: rgb(var(--theme-color));
}

#side-bar-section {
  grid-area: ⬅️;
  text-align: center;
}

#title-section {
  grid-area: title;
}

#view-section {
  grid-area: 🪟;
}

#progress-section {
  grid-area: 🅿️;
}

#fact-section {
  grid-area: fact;
}

#projects {
  grid-area: project;
  background-color: rgba(0, 0, 0, 0) !important;
  border: none !important;
}

.progress-bar {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  height: 1rem;
  flex-grow: 10;
}

.example-outmark {
  font-family: "proxima nova light", "Helvetica Neue", Helvetica, Arial, Sans-serif;
}

.progress-bar-completion {
  background-color: rgb(var(--theme-color));
  border-radius: inherit;
  height: 100%;
  width: 100%;
  margin: 0;
}

.example-href {
  text-decoration: none;
  color: white;
}

.image-section {
  grid-area: photo;
  gap: 1rem;
  flex-direction: column;
  align-items: center;
}

.image-section {}

.image-section>img {
  height: 100%;
  object-fit: cover;
}

.image-section-rotator {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.image-section-rotator>.image-section-dot {
  background-color: rgba(var(--theme-color), 0.4);
  height: 0.5rem;
  width: 0.5rem;
  margin: 0px;
  padding: 0px;
  border-radius: 100%;
  border: none;
  outline: none;
}

.image-section-rotator>.image-section-dot:hover,
.image-section-rotator>.image-section-dot:focus {
  background-color: rgba(var(--theme-color), 0.8);
  cursor: pointer;
}

.image-section-rotator>.image-section-dot:first-child {
  background-color: rgb(var(--theme-color));
}

#shape-section {
  grid-area: 🔼;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

#shape-section>.example-button {
  border: 1px solid rgba(var(--theme-color), 0.4);
  height: 100px;
}


.selected {
  background-color: rgba(var(--theme-color), 0.1);
  border-color: rgb(var(--theme-color));
}

@media(max-width: 850px) {
  #example-wrapper {
    grid-template-areas:
      "⬅️"
      "title"
      "text"
      "photo"
      "fact"
      "project";
    margin: 1rem 0 100px;
    padding: 5%;
    grid-template-columns: 100%;
    overflow-x: hidden;
  }

  .example-button>i {
    height: 1.5rem;
    font-size: 1rem;
    line-height: 1.5rem;
    width: 1.5rem;
  }

  body {
    overflow: scroll;
  }

  h1 {
    font-size: 1.5rem !important;
  }

  #view-section {
    flex-direction: column;
  }

  #view-section>button {
    width: 100%;
  }

  #side-bar-section {
    flex-direction: row;
    flex-wrap: wrap;
    width: calc(100% - 2rem);
    text-align: center;
  }

  #fact-section {
    height: 150px;
  }
}

/* -- YouTube Link Styles -- */

body.menu-toggled>.meta-link>span {
  color: rgb(30, 30, 30);
}

#grid-layout-link {
  bottom: 62px;
}

.yt-link>i {
  color: rgb(239, 83, 80);
}

.meta-link {
  align-items: center;
  backdrop-filter: blur(3px);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  bottom: 10px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: inline-flex;
  gap: 5px;
  left: 10px;
  padding: 10px 20px;
  position: fixed;
  text-decoration: none;
  transition: background-color 400ms, border-color 400ms;
  z-index: 10000;
}

.meta-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.meta-link>i,
.meta-link>span {
  height: 20px;
  line-height: 20px;
}

.meta-link>span {
  color: white;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
}

/* Slideshow container */
.slideshow-container {
  height: 100%;
  width: 100%;
  position: relative;
}

/* Hide the images by default */
.mySlides {
  display: none;
  height: 100%;
}

.mySlides img {
  height: 500px;
  width: 100%;
  object-fit: cover
}


/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  margin-left: 15px;
  margin-right: 15px;
  background-color: rgba(0, 0, 0, 0.8);
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: rgb(251, 140, 0, 0.3);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: rgb(251, 140, 0);
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

















.card {
  position: relative;
}

.card:hover::before {
  opacity: 1;
}

.card::before,
.card::after {
  border-radius: inherit;
  content: "";
  height: 100%;
  left: 0px;
  opacity: 0;
  position: absolute;
  top: 0px;
  transition: opacity 500ms;
  width: 100%;
  pointer-events: none;
}

.card::before {
  background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y),
      rgba(255, 87, 20, .1),
      transparent 40%);
  z-index: 3;
  pointer-events: none;
}

.card::after {
  background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
      rgba(255, 255, 255, 0.4),
      transparent 40%);
  z-index: 1;
}

.card>.card-content {
  background-color: var(--card-color);
  border-radius: inherit;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  inset: 1px;
  padding: 10px;
  position: absolute;
  z-index: 2;
}


.columns {
  display: flex;
  flex-direction: column;
}

.rows {
  display: flex;
  flex-direction: row;
}

.rows>* {
  flex: 1 1 0;
  min-width: 0;
}

.project-item {
  width: 100%;
  gap: 5vw;
  background-color: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1rem;
}

.project-text {}

.project-text>p {
  line-height: 1.5rem;
  font-size: 1.2rem;
}

.project-text>* {
  margin: 0;
  margin-bottom: 1.2rem;
}

.project-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: auto;
}

.project-image>a>img {
  width: 33vw;
  height: 100%;
  float: right;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.align-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tag-holder {
  display: flex;
  flex-wrap: wrap;
  /* align center */
  align-items: center;
  /* justify-content: center; */
  gap: 5px;
  /* position it at the top left of the div */
  /* position: absolute; */
  top: 0;
  left: 0;
  padding: 5px;
  z-index: 10000;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 0 0 10px 0;
  backdrop-filter: blur(3px);
  color: white;
  width: fit-content;
}

.tag {
  border-radius: 5px;
  height: min-content;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 4px 4px;
  transition: background-size 0.3s, padding 0.3s;
  padding: 5px;
  /* No select */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tag:hover {
  background-size: 4px 50px;
  padding: 5px 10px;
}

.emoji {
  font-variant-emoji: emoji;
}

@media(max-width: 850px) {
  .rows {
    flex-direction: column !important;
  }

  .project-image>a>img {
    width: 100%;
    height: auto;
  }
}