/* Our default values set as CSS variables */
:root {
  --color-bg: #000000;
  --color-text-main: #000000;
  --color-primary: #ffff00;
  --wrapper-height: 87vh;
  --image-max-width: 300px;
  --image-margin: 3rem;
  --font-family: "HK Grotesk";
  --font-family-header: "HK Grotesk";
}

/* Basic page style resets */
* {
  box-sizing: border-box;
  overflow: hidden;
}
[hidden] {
  display: none !important;
}

/* Import fonts */
/* @font-face {
  font-family: HK Grotesk;
  src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Regular.otf?v=1603136326027")
    format("opentype");
}
@font-face {
  font-family: HK Grotesk;
  font-weight: bold;
  src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Bold.otf?v=1603136323437")
    format("opentype");
} */

/* Our remix on glitch button */
.btn--remix {
  font-family: HK Grotesk;
  padding: 0.75rem 1rem;
  /* font-size: 1.1rem; */
  line-height: 1rem;
  font-weight: 500;
  height: 2.75rem;
  align-items: center;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #000000;
  box-sizing: border-box;
  border-radius: 4px;
  text-decoration: none;
  color: #000;
  padding: 10px;
  white-space: nowrap;
  margin-left: auto;
}
.btn--remix img {
  margin-right: 0.5rem;
}
.btn--remix:hover {
  background-color: #d0fff1;
}

/* Navigation grid */
.footer {
  display: flex;
  justify-content: space-between;
  margin: 1rem auto 0;
  padding: 1rem 0 0.75rem 0;
  width: 100%;
  flex-wrap: wrap;
  border-top: 4px solid #fff;
}

.footer a:not(.btn--remix):link,
a:not(.btn--remix):visited {
  font-family: HK Grotesk;
  font-style: normal;
  font-weight: normal;
  font-size: 1.1rem;
  color: #000;
  text-decoration: none;
  border-style: none;
}
.footer a:hover {
  background: var(--color-primary);
}

.footer .links {
  padding: 0.5rem 1rem 1.5rem;
  white-space: nowrap;
}

.divider {
  padding: 0 1rem;
}
/******************************************************************************
END Glitch hello-app default styles
******************************************************************************/
html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: HK Grotesk;
  background-color: var(--color-bg);
}

/* Page structure */
.wrapper {
  min-height: var(--wrapper-height);
  display: grid;
  place-items: center;
  margin: 0 1rem;
}
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Very light scaling for our illustration */
.title {
  color: #2800ff;
  font-family: HK Grotesk;
  font-style: normal;
  font-weight: bold;
  font-size: 100px;
  line-height: 105%;
  margin: 0;
}

/* Very light scaling for our illustration */
.illustration {
  max-width: 100%;
  max-height: var(--image-max-width);
  margin-top: var(--image-margin);
}

/* Instructions */
.instructions {
  margin: 1rem auto 0;
}

/* Button - Add it from the README instructions */
button,
input {
  font-family: inherit;
  font-size: 100%;
  background: #ffffff;
  border: 1px solid #000000;
  box-sizing: border-box;
  border-radius: 4px;
  padding: 0.5rem;
  margin-left: 0.75rem;
  transition: 500ms;
}

/* Subheading */
h2 {
  color: #2800ff;
}

/* Interactive image */
.illustration:active {
  transform: translateY(5px);
}

/* Button dip
- Toggling this class on and off will move it down and up again
- The button transition property above determines the speed of the translate (500ms)
*/
.dipped {
  transform: translateY(5px);
}

.vis-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

.main-container {
  /*   max-width: 60vw; */
  margin-bottom: 5vh;
  margin-left: 3vw;
  display: flex;
  flex: 1;
  align-content: center;
  flex-direction: column;
  align-content: stretch;
  align-items: flex-start;
  height: 90vh;
  gap: 0.5vw;
  overflow: visible;
}

.entry,
.subEntry {
  overflow-wrap: break-word;
  inline-size: auto;
  width: auto;
  height: 100%;
  min-height: fit-content;
  display: flex;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  margin: 0;
  /* max-height: ; */
  overflow: visible;
  /*transition: max-height 0.4s ease-out;*/
}

.subTopicSentences,
.topicSentences {
  /* font-size: 4vmin; */
  color: white;
  background: none;
  border-radius: 1vh;
  margin: 0;
  /*   margin-top: 10px; */
  max-width: 75vw;
  min-width: fit-content;
  padding: 0.2vh 1vw; /* Padding relative to viewport */
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease, font-size 0.3s ease;
}

.repSentences {
  color: white;
  font-size: 1.5vmin; /* Smaller font size relative to topicSentences */
  background: none;
  border-radius: 1vh;
  padding: 0.2vh 1vw;
  max-width: 75vw;
  min-width: fit-content;
  margin-top: 0.5em;
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#vis-level-text {
  min-width: 10vw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5vw;
}

.vis-level-container {
  display: flex;
  justify-content: flex-start;
  align-items: left;
  width: auto;
  margin-bottom: 3px;
  padding: 0.2vh;
}

.top-informational-text {
  color: white;
  font-size: 2.5vmin;
  background: rgb(92 92 92 / 35%);
  border-radius: 1vh;
  margin-top: 0.5vh;
  margin-bottom: 1.5vh;
  padding: 0.2vh 0.8vw;
  display: block;
  font-weight: bolder;
  text-align: center;
}

#jumpToCurrent {
  background: #841b5f;
}

.info-container {
  align-items: left;
  /*   margin: 1vw; */
  margin-left: 3vw;
}

.subTopics-Container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.time, .total-time {
  color: white;
  display: block;
  font-size: 2vmin;
  min-width: fit-content;
  text-align: center;
  margin: 0;
}

.subTopicSentences {
  color: pink;
}

#selected-entry .entry.show {
  margin: 5px;
}

.counter {
  color: red;
  display: flex;
}

.line,
.subLine {
  display: flex;
  flex-direction: row;
  /*     flex-grow: 1; */
  inline-size: auto;
  width: 100vw;
  overflow: visible;
  transition: max-height 0.4s ease-out;
}

.subLine {
  margin: 10px;
}

.fade .line,
.fade .subLine {
  transition: all 0.4s ease-out;
  opacity: 0;
}

.line.show,
.subLine.show {
  max-width: 100%;
}

.fade .line.show,
.fade .subLine.show {
  opacity: 1;
}

.timeBlock,
.turnBlock {
  width: 2vw;
  min-width: 1.5vw;
  background-color: white;
  height: auto;
  margin: 0 1vw;
  border-radius: 20px;
}

span {
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
}

/* Speech bubble transition styles
.speechBubbleItem {
  transition: opacity 0.3s ease, transform 0.3s ease, font-size 0.3s ease;
  transform-origin: right center;
}

.speechBubble {
  transition: width 0.3s ease, position 0.3s ease, right 0.3s ease, top 0.3s ease;
  transform-origin: right center;
} */
