/******************************************************************************
START Glitch hello-app default styles

The styles in this section do some minimal CSS resets, set default fonts and 
colors, and handle the layout for our footer and "Remix on Glitch" button. If
you're new to CSS they may seem a little complicated, but you can scroll down
to this section's matching END comment to see page-specific styles.
******************************************************************************/
/* Our default values set as CSS variables */
:root {
  --color-bg: #69D6D4;
  --color-text-main: #FFFFFF;
  --image-max-width: 300px;
  --image-margin: 3rem;
  --font-family: "Inconsolata";
  --font-family-header: "Inconsolata";
}

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

body {
  font-family: 'Inconsolata', monospace;
  background-color: var(--color-bg);
}

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

p {
  font-size: 1.0rem;
  line-height: 1.3em;
}

/* Title h1 style */
.title {
  color: #2800FF;
  font-family: 'Inconsolata', monospace;
  font-style: normal;
  font-weight: bold;
  font-size: 100px;
  line-height: 105%;
  margin: 2rem 0 0;
}

button {
  font-family: inherit;
  font-size: 100%;
  background: rgba(255, 255, 255, 0);
  border: 1px solid #ffffff;
  box-sizing: border-box;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  color: #ffffff;
  margin-top:1em;
  margin-bottom:1em;
}

button:hover {
  background: rgba(255, 255, 255, 0.25);
}

#trash {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#carousel {
  touch-action: none;
}

.card {
  --colorFill: hsl(179, 100%, 15%);  /* 0..359 */
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  color: white;
  padding: 2em;
  z-index: 0;
  background-color: var(--colorFill);
  box-shadow: 0px 0px 4px black;
  touch-action: none;
}

.slider {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform: rotate(0deg);
  transform-origin: center;
  /*height: min(90vw, 90vh);*/
}

.track {
  --colorStroke: hsl(0, 100%, 15%);
  --colorFill: hsl(0, 100%, 15%);
  --side: min(90vw, 90vh);
  border: 2px solid var(--colorStroke);
  background-color: var(--colorFill);
  height: 56px;
  width: min(100%, var(--side));
  padding: 4px;
  margin-bottom: 10px;
  /*transition: <property> <duration> <timing-function> <delay>;*/
  transition: background-color 0.2s;
  transition: border-color 0.2s;
  /* todo: transitions */
}

.marker {
  --colorFill: hsl(0, 100%, 15%);
  background-color: var(--colorFill);
  transition: background-color 0.2s;
  height: 100%;
  width: 40%;
}

.vertical-center {
  transform: translate(0, 50%);
}

#intro0 {
  z-index: 1;
}

#intro1 {
  z-index: 0;
}

#intro2 {
  z-index: -1;
}

#intro3 {
  z-index: -2;
}

#intro4 {
  z-index: -3;
}

.instructions {
  font-size: .8em;
  font-style: italic;
  touch-action: none;
}

.connector {
  --colorFill: hsl(0, 100%, 15%);
  background-color: var(--colorFill);
  height: 100%;
  position: absolute;
  top: 0px;
  left: 25px;
  width: 10px;
  z-index: 10;
  visibility: hidden;
}

.particle {
  position: absolute;
  opacity: 1;
  width: 10px;
  height: 10px;
  pointer-events: none;
  z-index: 3;
  top: 0px;
  left: 0px;
  transform-origin: center;
}
