/*---------------------------------------------------------------------
                        Mouse cursor
-----------------------------------------------------------------------*/
.theBall,
.theBall-outer {
  width: 20px;
  height: 20px;
}
.theBall-outer {
  position: fixed;
  top: -20px;
  left: -20px;
  z-index: 9999999999999999999;
  pointer-events: none !important;
}
.theBall {
  position: absolute;
  background-color: rgba(255, 114, 114, 0.8);
  border-radius: 50%;
  -webkit-transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -moz-transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -ms-transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -o-transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: center center;
}
.zooming.theBall {
  background-color: #ff7272;
  -webkit-transform: scale(2);
  -moz-transform: scale(2);
  -ms-transform: scale(2);
  -o-transform: scale(2);
  transform: scale(2);
}

/*---------------------------------------------------------------------
                        Mouse Effect
-----------------------------------------------------------------------*/
.mouse-move {
  position: absolute;
  bottom: -130px;
  left: 50%;
  width: 65px;
  margin-left: -50px;
}
.mouse-move a {
  letter-spacing: 2px;
  font-size: 12px;
  text-transform: uppercase;
  height: 65px;
  width: 65px;
  line-height: 65px;
  display: inline-block;
  border-radius: 900px;
  text-align: center;
}
.mouse-move .boom::before,
.mouse-move .boom::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.mouse-move .boom::before,
.mouse-move .boom::after {
  content: "";
  z-index: -1;
  margin: 0;
  border-radius: 900px;
  box-shadow: inset 0 0 0 2px;
  animation: clipMe 8s linear infinite;
}
.mouse-move .boom::before {
  animation-delay: -4s;
}
@keyframes clipMe {
  0%,
  100% {
    clip: rect(0px, 220px, 2px, 0px);
  }
  25% {
    clip: rect(0px, 2px, 220px, 0px);
  }
  50% {
    clip: rect(218px, 220px, 220px, 0px);
  }
  75% {
    clip: rect(0px, 220px, 220px, 218px);
  }
}
.banner_canvas {
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37), 0 0 0 8px rgba(44, 62, 80, 0.1);
  border-radius: 18px;
  margin: 40px 0 24px 0;
  background: rgba(20, 20, 40, 0.2);
  max-width: 1200px;
  max-height: 70vh;
  display: block;
  transition: box-shadow 0.3s;
}
.banner_canvas:focus,
.banner_canvas:hover {
  box-shadow: 0 0 32px 8px #ff7272, 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(135deg, #23243a 0%, #2e2f4f 100%);
  color: #fff;
  overflow-x: hidden;
}
.site {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  z-index: 1;
  position: relative;
}
.top-title {
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 1rem;
}
.top-title h6 {
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: #ff7272;
  margin-bottom: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
}
.top-title h1 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 16px #23243a88;
}
.main-title {
  width: 100vw;
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
}
.main-title h1 {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 16px #23243a88;
}
.main-title h6 {
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: #ff7272;
  margin-bottom: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0.7rem;
}
.footer {
  text-align: center;
  color: #aaa;
  font-size: 0.95rem;
  margin-top: 2rem;
  padding-bottom: 1.5rem;
  opacity: 0.8;
}
@media (max-width: 1400px) {
  .banner_canvas {
    max-width: 98vw;
    min-width: 0;
    width: 98vw;
  }
}
@media (max-width: 1100px) {
  .layout-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .fluid-controls {
    margin-top: 0;
    margin-bottom: 2rem;
    width: 98vw;
    max-width: 98vw;
  }
  .banner_canvas {
    width: 98vw;
    min-width: 0;
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .main-title h1 {
    font-size: 2.2rem;
  }
  .banner_canvas {
    min-width: 0;
    min-height: 300px;
    height: 40vh;
  }
}
.theBall-outer {
  pointer-events: none !important;
}
.theBall {
  box-shadow: 0 0 16px 4px #ff7272, 0 0 0 2px #fff2;
  transition: background 0.2s, box-shadow 0.2s;
}
.theBall-outer {
  filter: drop-shadow(0 0 12px #ff7272);
}

/* Fluid Sim Controls UI */
.fluid-controls {
  background: rgba(30, 32, 50, 0.92);
  border-radius: 16px;
  box-shadow: 0 2px 16px #23243a55;
  padding: 1.5rem 2rem 1rem 2rem;
  margin: 1.5rem auto 0 auto;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  font-size: 1rem;
  color: #fff;
}
.fluid-controls label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  margin-bottom: 0.2rem;
  gap: 0.7rem;
}
.fluid-controls input[type="range"] {
  width: 170px;
  accent-color: #ff7272;
  margin-left: 1rem;
}
.fluid-controls input[type="checkbox"] {
  accent-color: #ff7272;
  margin-left: 0.7rem;
  transform: scale(1.2);
}
.slider-group, .switch-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.color-group {
  border: 1px solid #444;
  border-radius: 8px;
  padding: 0.7rem 1rem 0.5rem 1rem;
  margin-top: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #23243a;
}
.color-group legend {
  color: #ff7272;
  font-size: 1rem;
  font-weight: 700;
  padding: 0 0.5rem;
}

/* Layout for side-by-side sim and controls */
.layout-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 2.5rem;
  width: 100vw;
  max-width: 100vw;
  min-height: 80vh;
  box-sizing: border-box;
}

.fluid-sim-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
}

.fluid-controls {
  min-width: 320px;
  max-width: 420px;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  flex-shrink: 0;
  box-shadow: 0 2px 16px #23243a55, 0 0 24px 2px #ff727244;
}

.banner_canvas {
  margin: 40px 0 24px 0;
  max-width: 900px;
  min-width: 600px;
  min-height: 600px;
  width: 70vw;
  height: 60vh;
}

@media (max-width: 1400px) {
  .banner_canvas {
    max-width: 98vw;
    min-width: 0;
    width: 98vw;
  }
}
@media (max-width: 1100px) {
  .layout-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .fluid-controls {
    margin-top: 0;
    margin-bottom: 2rem;
    width: 98vw;
    max-width: 98vw;
  }
  .banner_canvas {
    width: 98vw;
    min-width: 0;
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .main-title h1 {
    font-size: 2.2rem;
  }
  .banner_canvas {
    min-width: 0;
    min-height: 300px;
    height: 40vh;
  }
}