: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;
  overflow-x: hidden;
}

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 2fr 2fr 2fr 2fr;
  grid-template-areas:
    "⬅️ title title title title title"
    "⬅️ text2 text6 text4 text3 text5";
  height: fit-content;
}

.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;
}

.school-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.example-text {
  margin-top: 0;
  margin-bottom: 0;
}

.example-paragraph {
  display: block;
  padding: 0;
}

.example-section.vertical {
  flex-direction: column;
  height: max-content;
  width: max-content;
}

.example-button {
  background-color: rgba(255, 255, 255, 0.05);
  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;
}

.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));
}

.example-paragraph h2 {
  text-align: center;
  font-size: 1.2rem;
}

.text-container {
  position: relative;
  padding: 0 1rem 1rem 1rem;
}

#side-bar-section {
  grid-area: ⬅️;
}

#title-section {
  grid-area: title;
}

#view-section {
  grid-area: 🪟;
}

#progress-section {
  grid-area: 🅿️;
}

#fact-section {
  grid-area: fact;
}

#text1-section {
  grid-area: text1;
}

#text2-section {
  grid-area: text2;
}

#text3-section {
  grid-area: text3;
}

#text4-section {
  grid-area: text4;
}

#text5-section {
  grid-area: text5;
}

#text6-section {
  grid-area: text6;
}

.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;
}

.example-href-container {
  text-align: center;
  margin: 5px;
}

.example-href-read {
  text-decoration: underline;
  color: white;
}

.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));
}

/* 
  grid-template-areas:
    "⬅️ title title title title title"
    "⬅️ text2 text3 text4 text5 text6";
*/

@media(max-width: 850px) {
  #example-wrapper {
    grid-template-areas:
      "⬅️"
      "title"
      "text6"
      "text4"
      "text3"
      "text5"
      "text2";
    margin: 1rem 0 100px;
    padding: 5%;
    grid-template-columns: 100%;
    overflow-x: hidden;
  }

  /*     grid-template-areas: 
      "⬅️ title title title"
      "⬅️ text1 text2 text3"
      "⬅️ text1 text2 text3"; */

  .example-button>i {
    height: 1.5rem;
    font-size: 1rem;
    line-height: 1.5rem;
    width: 1.5rem;
  }

  body {
    overflow: scroll;
  }

  #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;
  }

  #text2-section {
    text-align: center;
  }
}

/* -- 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%;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
  height: 100%;
}

.mySlides img {
  height: 100%;
  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;
}

/* Position the "next button" to the right */
.next {
  right: 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, 0.06),
      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;
}

.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;

}

.tag{
  border-radius: 5px;
  height: min-content;
  color: white;
  font-size: 0.8rem;
  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;
}

.tag:hover{
  background-size: 4px 50px;
  padding: 5px 10px;
}