@import url("https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* * {
  outline: 1px solid red;
} */

/* General Body Styling */
body,
html {
  margin: 0;
  padding: 0;
  color: white;
  height: auto;
}

main {
  width: 100%;
  display: flex;
  flex-direction: column;
}

body.no-scroll {
  overflow: hidden;
}

/* HEADER */

.hero-section {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(
    80deg,
    rgb(5, 124, 172, 0.4),
    rgb(199, 10, 114, 0.4)
  );
  overflow: hidden;
  z-index: 10;
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* explicitly lower than .title-container */
}

#up {
  position: absolute;
  height: 800px;
  width: 800px;
  border-radius: 50%;
  background-image: radial-gradient(
    circle,
    rgb(5, 124, 172),
    rgb(43, 247, 202, 0.5)
  );
  filter: blur(90px);
  animation: down 30s infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

#down {
  position: absolute;
  right: 0;
  height: 800px;
  width: 800px;
  border-radius: 50%;
  background-image: radial-gradient(
    circle,
    rgba(245, 207, 82, 0.8),
    rgba(199, 10, 114)
  );
  filter: blur(80px);
  animation: up 30s infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

#left {
  position: absolute;
  height: 600px;
  width: 600px;
  border-radius: 50%;
  background-image: radial-gradient(
    circle,
    rgba(5, 124, 172),
    rgba(183, 253, 52, 0.8)
  );
  filter: blur(80px);
  animation: left 30s 1s infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

#right {
  position: absolute;
  height: 600px;
  width: 600px;
  border-radius: 50%;
  background-image: radial-gradient(
    circle,
    rgba(26, 248, 18, 0.6),
    transparent
  );
  filter: blur(80px);
  animation: right 40s 0.5s infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

@keyframes down {
  0%,
  100% {
    top: -100px;
  }
  70% {
    top: 700px;
  }
}

@keyframes up {
  0%,
  100% {
    bottom: -100px;
  }
  70% {
    bottom: 700px;
  }
}

@keyframes left {
  0%,
  100% {
    left: -100px;
  }
  70% {
    left: 1300px;
  }
}

@keyframes right {
  0%,
  100% {
    right: -100px;
  }
  70% {
    right: 1300px;
  }
}

.title-container {
  position: absolute;
  text-align: center;
  animation: fadeIn 2s ease-in-out;
  z-index: 2;
  padding-bottom: 3em;
}

#subtitle {
  font-size: 1.5em;
  text-align: center;
  font-weight: 500;
  width: 50%;
  margin: 0 auto;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* TEXT */

h1 {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  font-size: 3.5em;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 1em;
  width: 60%;
}

h3 {
  font-family: "Libre Franklin", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 2em;
  text-align: center;
  padding: 10px;
  border: 2px white solid;
  border-radius: 5px;
  margin: 0 auto;
  margin-bottom: 2em;
  width: fit-content;
}

p {
  font-family: "Libre Franklin", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 1.3em;
  margin: 0 auto;
}

#creditos {
  margin: 0 auto;
  text-align: center;
  margin-top: 5em;
}

#creditos a {
  color: white;
  text-decoration: none;
}

#creditos a:hover {
  color: aqua;
}

/* SECTIONS */

.sections {
  flex: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  background-color: #010112;
  padding-bottom: 10em;
}

.sections p {
  width: 35%;
  text-align: left;
  margin: 0 auto;
  margin-bottom: 2em;
}

.bgimage {
  width: 100%;
  position: sticky;
  top: 0px;
  margin-top: 15em;
  z-index: -2;
}

/* Section 1 */

.fade-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(to top, #010112, transparent);
  z-index: 1;
  pointer-events: none;
  transform: translateY(-30px);
}

#section1 {
  position: relative;
  z-index: 1000;
  isolation: isolate; /* 👈 KEY: creates a new stacking context */
}

#section1 p {
  padding: 1em;
  margin-top: 90vh;
}

#stickydiv {
  height: auto;
}

#stickydiv p {
  background-color: rgba(0, 0, 17, 0.8);
}

#last-p {
  margin-bottom: 30em;
}

#first-p {
  margin-top: 10em;
  margin-bottom: 10em;
}

.map-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10em;
}

#portugal {
  width: 40%;
}

.pino {
  cursor: pointer;
  pointer-events: bounding-box; /* amplia área ao bounding box */
}

#city-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 17, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 5000;
  padding-bottom: 7em;
}

#city-overlay.active {
  opacity: 1;
  visibility: visible;
}

#city-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  height: 100%;
}

#city-image {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
  transform: scale(0.9);
  transition: transform 0.4s ease;
}

#city-overlay.active #city-image {
  transform: scale(1);
}

.city-info {
  margin-left: 4em;
  max-width: 50%;
}

.city-info a {
  color: aqua;
  text-decoration: none;
}

.city-info a:hover {
  cursor: pointer;
}

#close-overlay {
  position: absolute;
  top: 40px;
  right: 60px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
}

#close-overlay:hover {
  transform: scale(1.2);
  color: aqua;
}

/* Section 2 */

#sectiontwofirstp {
  margin-top: 10em;
  margin-bottom: 0;
}

#section2 {
  padding-bottom: 0;
}

.centeredimg {
  margin: 10em auto;
  width: 35%;
  display: flex;
  flex-direction: column;
}

.centeredimg img {
  max-width: 100%;
  margin: 0 auto;
}

#section2 p {
  background-color: rgba(0, 0, 17, 0.771);
  padding: 1em;
}

/* Section 3: Interactive formation */

#section3 {
  display: block;
  padding-bottom: 2em;
}

#animation-container {
  position: relative;
  width: 90%;
  height: 100vh;
  margin: 0 auto;
}

.gif-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gif-wrapper .plus {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.2em;
  width: 50px;
  height: 50px;
  padding: 10px 10px;
  border-radius: 50%;
  color: white;

  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 2em;
  user-select: none;
  transition: background 0.2s;
}

.sundiv {
  width: 30%;
  left: 10%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.winddiv {
  position: absolute;
  width: 50%;
  top: 30%;
  left: 30%;
  z-index: 1; /* Layer it between the Sun and Earth */
}

.earthdiv {
  width: 15%;
  right: 10%;
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
}

#sun {
  width: 100%;
}

#earth {
  width: 100%;
  transform: rotate(15deg);
}

.plus-tooltip-container {
  position: relative;
  display: inline-block;
}

.plus-tooltip-container .plus:hover {
  background: #ff0043;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: 300px;
  background: #ff0043;
  color: white;
  text-align: center;
  padding: 1em;
  border-radius: 5px;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  transition: opacity 0.3s;
  font-size: 1em;
  font-family: "Libre Franklin", sans-serif;
  pointer-events: none;
}

.plus-tooltip-container.show-tooltip .tooltip-text,
.plus-tooltip-container .plus:hover + .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Section 4 */

#section4 {
  padding-bottom: 0;
}

/* Section 6: Interactive aurora */

#section6 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stars {
  top: 50%;
  left: 50%;
  height: 1px;
  width: 1px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: -42vw -4vh 0px 0px #fff, 25vw -41vh 0px 0px #fff,
    -20vw 49vh 0px 1px #fff, 5vw 40vh 1px 1px #fff, 29vw 19vh 1px 0px #fff,
    -44vw -13vh 0px 0px #fff, 46vw 41vh 0px 1px #fff, -3vw -45vh 0px 1px #fff,
    47vw 35vh 1px 0px #fff, 12vw -8vh 1px 0px #fff, -34vw 48vh 1px 1px #fff,
    32vw 26vh 1px 1px #fff, 32vw -41vh 1px 1px #fff, 0vw 37vh 1px 1px #fff,
    34vw -26vh 1px 0px #fff, -14vw -49vh 1px 0px #fff, -12vw 45vh 0px 1px #fff,
    -44vw -33vh 0px 1px #fff, -13vw 41vh 0px 0px #fff, -36vw -11vh 0px 1px #fff,
    -23vw -24vh 1px 0px #fff, -38vw -27vh 0px 1px #fff, 16vw -19vh 0px 0px #fff,
    28vw 33vh 1px 0px #fff, -49vw -4vh 0px 0px #fff, 16vw 32vh 0px 1px #fff,
    36vw -18vh 1px 0px #fff, -25vw -30vh 1px 0px #fff, -23vw 24vh 0px 1px #fff,
    -2vw -35vh 1px 1px #fff, -25vw 9vh 0px 0px #fff, -15vw -34vh 0px 0px #fff,
    -8vw -19vh 1px 0px #fff, -20vw -20vh 1px 1px #fff, 42vw 50vh 0px 1px #fff,
    -32vw 10vh 1px 0px #fff, -23vw -17vh 0px 0px #fff, 44vw 15vh 1px 0px #fff,
    -40vw 33vh 1px 1px #fff, -43vw 8vh 0px 0px #fff, -48vw -15vh 1px 1px #fff,
    -24vw 17vh 0px 0px #fff, -31vw 50vh 1px 0px #fff, 36vw -38vh 0px 1px #fff,
    -7vw 48vh 0px 0px #fff, 15vw -32vh 0px 0px #fff, 29vw -41vh 0px 0px #fff,
    2vw 37vh 1px 0px #fff, 7vw -40vh 1px 1px #fff, 15vw 18vh 0px 0px #fff,
    25vw -13vh 1px 1px #fff, -46vw -12vh 1px 1px #fff, -18vw 22vh 0px 0px #fff,
    23vw -9vh 1px 0px #fff, 50vw 12vh 0px 1px #fff, 45vw 2vh 0px 0px #fff,
    14vw -48vh 1px 0px #fff, 23vw 43vh 0px 1px #fff, -40vw 16vh 1px 1px #fff,
    20vw -31vh 0px 1px #fff, -17vw 44vh 1px 1px #fff, 18vw -45vh 0px 0px #fff,
    33vw -6vh 0px 0px #fff, 0vw 7vh 0px 1px #fff, -10vw -18vh 0px 1px #fff,
    -19vw 5vh 1px 0px #fff, 1vw 42vh 0px 0px #fff, 22vw 48vh 0px 1px #fff,
    39vw -8vh 1px 1px #fff, -6vw -42vh 1px 0px #fff, -47vw 34vh 0px 0px #fff,
    -46vw 19vh 0px 1px #fff, -12vw -32vh 0px 0px #fff, -45vw -38vh 0px 1px #fff,
    -28vw 18vh 1px 0px #fff, -38vw -46vh 1px 1px #fff, 49vw -6vh 1px 1px #fff,
    -28vw 18vh 1px 1px #fff, 10vw -24vh 0px 1px #fff, -5vw -11vh 1px 1px #fff,
    33vw -8vh 1px 0px #fff, -16vw 17vh 0px 0px #fff, 18vw 27vh 0px 1px #fff,
    -8vw -10vh 1px 1px #fff;

  /* stars were too big with the layers above but left the code in case no one cares  -- as in, if noone's just that  one other loner who actually cares    */

  box-shadow: 24vw 9vh 1px 0px #fff, 12vw -24vh 0px 1px #fff,
    -45vw -22vh 0px 0px #fff, -37vw -40vh 0px 1px #fff, 29vw 19vh 0px 1px #fff,
    4vw -8vh 0px 1px #fff, -5vw 21vh 1px 1px #fff, -27vw 26vh 1px 1px #fff,
    -47vw -3vh 1px 1px #fff, -28vw -30vh 0px 1px #fff, -43vw -27vh 0px 1px #fff,
    4vw 22vh 1px 1px #fff, 36vw 23vh 0px 0px #fff, -21vw 24vh 1px 1px #fff,
    -16vw 2vh 1px 0px #fff, -16vw -6vh 0px 0px #fff, 5vw 26vh 0px 0px #fff,
    -34vw 41vh 0px 0px #fff, 1vw 42vh 1px 1px #fff, 11vw -13vh 1px 1px #fff,
    48vw -8vh 1px 0px #fff, 22vw -15vh 0px 0px #fff, 45vw 49vh 0px 0px #fff,
    43vw -27vh 1px 1px #fff, 20vw -2vh 0px 0px #fff, 8vw 22vh 0px 1px #fff,
    39vw 48vh 1px 1px #fff, -21vw -11vh 0px 1px #fff, -40vw 45vh 0px 1px #fff,
    11vw -30vh 1px 0px #fff, 26vw 30vh 1px 0px #fff, 45vw -29vh 0px 1px #fff,
    -2vw 18vh 0px 0px #fff, -29vw -45vh 1px 0px #fff, -7vw -27vh 1px 1px #fff,
    42vw 24vh 0px 0px #fff, 45vw -48vh 1px 0px #fff, -36vw -18vh 0px 0px #fff,
    -44vw 13vh 0px 1px #fff, 36vw 16vh 0px 1px #fff, 40vw 24vh 0px 0px #fff,
    18vw 11vh 0px 0px #fff, -15vw -23vh 1px 0px #fff, -24vw 48vh 0px 1px #fff,
    27vw -45vh 1px 0px #fff, -2vw -24vh 0px 1px #fff, -15vw -28vh 0px 0px #fff,
    -43vw 13vh 1px 0px #fff, 7vw 27vh 1px 0px #fff, 47vw 5vh 0px 0px #fff,
    -45vw 15vh 1px 1px #fff, -5vw -28vh 0px 1px #fff, 38vw 25vh 1px 1px #fff,
    -39vw -1vh 1px 0px #fff, 5vw 0vh 1px 0px #fff, 49vw 13vh 0px 0px #fff,
    48vw 10vh 0px 1px #fff, 19vw -28vh 0px 0px #fff, 4vw 7vh 0px 0px #fff,
    21vw 21vh 1px 1px #fff, -15vw -15vh 0px 1px #fff, -6vw -42vh 1px 0px #fff,
    -15vw 48vh 1px 1px #fff, -23vw 25vh 1px 1px #fff, -48vw 25vh 0px 1px #fff,
    -31vw -19vh 0px 1px #fff, 4vw 37vh 1px 1px #fff, -43vw 28vh 0px 0px #fff,
    3vw -25vh 0px 1px #fff, -39vw 14vh 0px 1px #fff, -40vw 31vh 0px 1px #fff,
    35vw -36vh 1px 1px #fff, 16vw 49vh 0px 0px #fff, 6vw 39vh 0px 0px #fff,
    3vw -35vh 0px 1px #fff, -44vw -2vh 1px 0px #fff, -6vw 21vh 1px 0px #fff,
    48vw 9vh 1px 1px #fff, -43vw 30vh 1px 1px #fff, 29vw -12vh 1px 1px #fff,
    -48vw 13vh 1px 0px #fff, -42vw 32vh 1px 1px #fff, 34vw 15vh 1px 1px #fff,
    29vw -37vh 1px 1px #fff, 28vw 2vh 0px 0px #fff;
  animation: zoom 17s alternate infinite;
}

@keyframes zoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.5);
  }
}

.aurora-wrapper {
  display: flex;
  justify-content: center;
  width: 90%;
  margin-bottom: 3em;
}

.effect-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 50%;
  margin: 0 auto;
  gap: 1em;
}

.aurora-effect {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
  border-radius: 10px;
  background: transparent;
  border: 3px dashed white;
  transition: opacity 0.3s ease-in-out, border-color 0.3s;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.aurora-shape {
  position: absolute;
  width: 100%;
  height: 33.33%;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.3s ease-in-out;
}

.aurora-path {
  -webkit-mask-image: linear-gradient(120deg, transparent, white, transparent);
  -webkit-mask-size: 200% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-animation: shimmer 2s linear infinite,
    verticalFlow 1s ease-in-out infinite;

  mask-image: linear-gradient(120deg, transparent, white, transparent);
  mask-size: 200% 100%;
  mask-repeat: no-repeat;
  animation: shimmer 2s linear infinite, verticalFlow 1s ease-in-out infinite;
  transform-origin: center;
}

.red {
  top: 0;
}
.green {
  top: 33.33%;
}
.blue {
  top: 66.66%;
}

.aurora-effect.show-red .red,
.aurora-effect.show-green .green,
.aurora-effect.show-blue .blue {
  opacity: 1;
}

@keyframes verticalFlow {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4%);
  }
  100% {
    transform: translateY(0);
  }
}

/* Subtle shimmer motion */
@keyframes shimmer {
  0% {
    -webkit-mask-position: -200% 0;
    mask-position: -200% 0;
  }
  100% {
    -webkit-mask-position: 200% 0;
    mask-position: 200% 0;
  }
}

.aurora-scale {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  margin-left: 1em;
  font-size: 0.9em;
  user-select: none;
}

.scale-segment {
  height: 30%;
  display: flex;
  align-items: center;
  padding-left: 10px;
  color: white;
  border-left: 4px solid white;
}

.panel {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2em;
  position: relative;
  transform: translateX(15em);
}

.atom {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #cdfbfd;
  font-weight: 900;
  font-size: 1.8em;
  color: #001;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  position: relative;
  z-index: 1000;
  transition: transform 0.2s ease;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  user-select: none;
}

.atom:active {
  cursor: grabbing;
}

#outcome-text {
  text-align: center;
  margin-bottom: 2em;
}

.word-red {
  color: #ff4c4c;
  font-weight: 700;
  text-shadow: 0 0 5px rgba(255, 76, 76, 0.6), 0 0 6px rgba(255, 76, 76, 0.4);
}

.word-green {
  color: #6fff6f;
  font-weight: 700;
  text-shadow: 0 0 5px rgba(111, 255, 111, 0.6),
    0 0 6px rgba(111, 255, 111, 0.4);
}

.word-blue {
  color: #6fcaff;
  font-weight: 700;
  text-shadow: 0 0 5px rgba(111, 202, 255, 0.6),
    0 0 6px rgba(111, 202, 255, 0.4);
}

.word-purple {
  color: #b57cff;
  font-weight: 700;
  text-shadow: 0 0 5px rgba(181, 124, 255, 0.6),
    0 0 6px rgba(181, 124, 255, 0.4);
}

/* Section 7 */

#section7 {
  padding-bottom: 0;
}

@media (max-width: 768px) {
  /* General text scaling */
  h1 {
    font-size: 2em;
    width: 90%;
  }

  #subtitle {
    width: 80%;
    font-size: 1em;
  }

  h3 {
    font-size: 1.4em;
    padding: 5px;
    width: 90%;
  }

  p {
    font-size: 1em;
  }

  .sections {
    padding-bottom: 5em;
  }

  .sections p {
    width: 85%;
  }

  /* Hero adjustments */
  .hero-section {
    height: 150vh;
    padding: 2em 0;
  }

  .title-container {
    position: static;
  }

  #creditos {
    width: 50%;
    font-size: 1em;
  }

  /* Section 1 */

  #stickydiv img {
    display: none;
  }

  #section1 p {
    margin-top: 2em;
  }

  #last-p {
    margin-bottom: 0;
  }

  #first-p {
    margin-top: 2em;
    margin-bottom: 5em;
  }

  .map-container {
    margin-bottom: 5em;
  }

  #portugal {
    width: 95%;
  }

  #city-overlay {
    padding-bottom: 0;
  }

  #city-wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #city-image {
    max-width: 90%;
  }

  .city-info {
    margin-left: 0;
    margin-top: 2em;
    max-width: 90%;
  }

  #close-overlay {
    top: 20px;
    right: 20px;
    font-size: 2.2rem;
  }

  /* Section 3 animation container */

  #section2 {
    padding-bottom: 2em;
  }

  #section3 {
    padding-bottom: 8em;
  }

  #section4 {
    padding-bottom: 5em;
  }
  #animation-container {
    height: auto;
  }

  .sundiv,
  .winddiv,
  .earthdiv {
    position: static;
    width: 80%;
    margin: 1em auto;
    transform: none;
  }

  #solarWindCanvas {
    transform: rotate(90deg) translateX(20em) scale(1.4);
    transform-origin: center;
    margin-bottom: 0;
  }

  .gif-wrapper .plus {
    font-size: 2em;
    width: 40px;
    height: 40px;
    margin-top: 1.5em;
  }

  #plus-wind {
    margin-top: -5em;
  }

  /* Tooltip adjustments */
  .tooltip-text p {
    width: 100%;
    bottom: auto;
    top: 110%;
    font-size: 0.9em;
  }

  /* Section 6 aurora + atoms */
  .aurora-wrapper {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .effect-wrapper {
    width: 100%;
  }

  #outcome-text {
    margin-bottom: 0;
  }

  .aurora-effect {
    width: 90%;
    height: 40vh;
  }

  .panel {
    flex-direction: row;
    gap: 1em;
    margin-bottom: 2em;
    transform: none;
  }

  .atom {
    width: 50px;
    height: 50px;
    font-size: 1.2em;
  }

  .aurora-scale {
    margin: 1em 0;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0.5em;
    font-size: 0.8em;
    height: 40vh;
  }

  /*   .scale-segment {
    height: auto;
    border-left: none;
    border-bottom: 2px solid white;
    width: 100%;
    padding: 0.5em;
  } */

  .centeredimg {
    margin: 5em auto;
    width: 80%;
  }
}
