/*
Debug
*/
.debug {
  border: 1px solid red;
}

body {
  --pop-color: rgba(186, 12, 248, 1);
  --pop-color-2: #3d8627;
}

/** Globals **/
html {
  font-size: 16px;
}
body {
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-block;
  color: #333;
}
a:hover,
a:focus {
  color: #666;
  transform: scale(1.02);
}

h1 {
  font-size: 4rem;
  margin: 2rem 0;
}

/*
Nav Bar
*/

#TabsNav {
  border-bottom: 3px solid lightgray;
}

#TabsNav ol {
  margin: 0;
  padding: 0;
  margin-bottom: -3px;
  list-style: none;
}

#TabsNav li {
  display: inline-block;
}

#TabsNav li:last-child {
  margin: 0 0 0 1.5rem;
}

#TabsNav a {
  font-size: 2rem;
  text-decoration: none;
}

#TabsNav a:after {
  display: block;
  content: "";
  border-bottom: solid 3px var(--pop-color);
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
}

#TabsNav a.target-selected:after {
  transform: scaleX(1);
}
#TabsNav a.fromRight::after {
  border-color: var(--pop-color-2) !important;
}

#TabsNav a:after {
  transform-origin: 0% 50%;
}
#TabsNav a.fromRight:after {
  transform-origin: 100% 50%;
}

.facts {
  font-size: 1.5rem;
  display: none;
}

.facts.target-selected {
  display: inherit;
}

.pop {
  color: var(--pop-color);
  font-style: italic;
}

.professional .pop {
  color: var(--pop-color-2);
}

.divider {
  color: grey;
}

.invisibleLink {
  text-decoration: none;
  color: #333;
}

.centered-content {
  padding: 0 5rem;
  position: relative;
}

.section-holder {
  margin-bottom: 3rem;
}

section li {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
}
section ul {
  margin: 0;
  padding: 0.8rem 0 0 0;
}

.strike {
  text-decoration: line-through;
}

#BottomNav {
  position: fixed;
  background: rgba(255, 255, 255, 0.8);
  bottom: 0;
  left: 0;
  right: 0;
  text-align: right;
  padding: 0.5rem;
}

#BottomNav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  bottom: 1rem;
  right: 1rem;
}
#BottomNav li {
  display: inline-block;
  font-size: 1.5rem;
  overflow: hidden;
  white-space: nowrap;
}

#BottomNav li:first-child {
  margin: 0 1rem 0 0;
}

@media (width <= 320px) {
  .centered-content {
    padding: 0 1rem;
  }
  .debug .centered-content {
    background: rgba(0, 0, 0, 0.1);
  }
}

@media (width <= 425px) and (width > 320px) {
  .centered-content {
    padding: 0 2rem;
  }
  .debug .centered-content {
    background: rgba(255, 0, 0, 0.1);
  }
}

@media (width <= 768px) and (width > 425px) {
  .centered-content {
    padding: 0 3rem;
  }
  .debug .centered-content {
    background: rgba(255, 255, 0, 0.1);
  }
}
