@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Poppins:wght@600;700&display=swap");

:root {
  --bs-border-color: #e8e8e8;
}

/* Start custom overrides */

html {
  font-size: 16px;
}

body {
  background-color: #f1f4f6;
  min-height: 568px;
  overflow-y: auto;
}

html,
body {
  font-family: "Lato", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

.gift-card-wrapper
  .gift-card-aspect-ratio
  .gift-card-image-wrapper
  img.local-product-image {
  max-height: 100%;
  height: auto;
}

.invalid-feedback {
  display: none;
}

/* Utils */

.blur-bg {
  -webkit-filter: blur(0.5rem);
  filter: blur(0.5rem);
}

.ms-inherit {
  margin-left: inherit;
}

.pb-6 {
  padding-bottom: 6rem;
}

.pb-7 {
  padding-bottom: 7rem;
}

.container-fluid {
  padding-left: 2rem;
  padding-right: 2rem;
}

.container-fluid.max-width {
  max-width: 1320px;
}

.container-fluid.max-width-ultra {
  max-width: 1320px;
}

@media (max-width: 991.98px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .container-fluid.no-mobile-padding {
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
  }

  .container-fluid.no-mobile-padding .product-grid .card {
    border-radius: 0;
  }
}

@media (max-width: 766.98px) {
  .justify-content-start-md {
    justify-content: flex-start !important;
  }
}

.bg-light {
  background-color: #ffffff !important;
}

.bg-light-alt {
  background-color: #f8f9fa !important;
}

.bg-secondary {
  background-color: #f1f2f3 !important;
}

.bg-image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.border-top,
.border-end,
.border-bottom,
.border-start {
  border-color: #f1f2f3 !important;
}

.shadow-sm {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px !important;
}

/* Typography */

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: -0.5px;
}

h2,
.h2,
h5,
.h5,
h6,
.h6 {
  letter-spacing: 0px;
}

h1 a,
.h1 a,
h2 a,
.h2 a,
h3 a,
.h3 a,
h4 a,
.h4 a,
h5 a,
.h5 a,
h6 a,
.h6 a {
  color: inherit;
}

h1.modal-title {
  font-size: calc(1.275rem + 0.3vw);
}
h2 {
  font-size: 1rem;
}

h6 [class*="fa-"] {
  margin-right: 0.375rem;
  font-size: 1.5rem;
}

h6 * {
}

h2 [class*="fa-"] {
  margin-right: 0.375rem;
  font-size: 1.5rem;
}

h2 * {
}

.text-secondary-links a {
      color: rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important;
}

/* Navbar */

.navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
  box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 2px;
}

@media (max-width: 991.98px) {
  .navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .navbar-collapse > div:first-child {
    margin-top: 1.5rem;
  }
}

.navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
}

.navbar > .d-flex > div {
  margin-left: 1rem;
  margin-right: 1rem;
}

.navbar > .d-flex > div:first-child {
  margin-left: 0;
}

.navbar > .d-flex > div:last-child {
  margin-right: 0;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-item:not(:last-child) {
    margin-right: 1rem;
  }
}

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link.active {
  color: #212529;
  font-weight: 700;
}

.navbar-light .navbar-nav .nav-link:focus {
  color: #212529 !important;
}

.navbar-light .navbar-nav .nav-link [class*="fa-"] {
  margin-right: 0.375rem;
}

.navbar-dark .navbar-nav .nav-link {
  color: #ffffff;
}

.navbar .navbar-nav .nav-item .nav-link {
  padding-top: var(--bs-btn-padding-y);
  padding-bottom: var(--bs-btn-padding-y);
}

.navbar .navbar-nav .nav-item .nav-text {
  display: inline-block;
  vertical-align: middle;
}

.nav.footer-nav .nav-item {
  padding-left: 1rem;
}

.nav.footer-nav .nav-item:first-child {
  padding-left: 0;
}

.nav.footer-nav .nav-item .nav-link {
  padding: 0;
}

/* Buttons */

a {
  text-decoration: none;
}

.btn {
  font-weight: 700;
  white-space: nowrap;
}

.btn.nav-link {
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

.btn:focus {
  box-shadow: 0px 0px 0px 0.25rem rgba(49, 132, 253, 0.5) !important;
}

.btn-sm {
  padding: 0.375rem 1rem;
}

.btn-lg,
.input-group-lg .btn-lg {
  font-size: 1rem;
  line-height: 1;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.btn-icon {
  background-color: transparent;
  border-color: transparent;
}

.btn-icon:hover,
.btn-icon:focus,
.btn-icon:active {
  border-color: transparent;
}

.btn-icon.btn-icon > [class*="fa-"] {
  font-size: 1.25rem;
  margin-right: 0;
}

.input-group-lg .btn-lg {
  border: 0;
}

.input-group .btn[type="submit"] {
  border-top-right-radius: 0.3rem !important;
  border-bottom-right-radius: 0.3rem !important;
}

.btn-lg.btn-round {
  border-radius: 3rem;
}

.btn > [class*="fa-"] {
  margin-right: 0.375rem;
}

.btn-primary,
.btn-outline-primary:hover,
.btn-outline-primary:active {
  color: #ffffff;
}

.btn-primary.disabled,
.btn-primary:disabled {
  background-color: #e8e8e8;
  border-color: #e8e8e8;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none !important;
}

.btn-primary.disabled,
.btn-primary:disabled,
.btn-primary.disabled .text-primary {
  color: #414141 !important;
}

.btn-outline-primary {
  border-color: #e8e8e8;
}

.btn-light {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #212529;
}

.btn-secondary {
  background-color: #e4e5e6;
  border-color: #e4e5e6;
  color: #212529;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background-color: #cdcecf;
  border-color: #cdcecf;
  color: #212529;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 1);
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active {
  border-color: rgba(255, 255, 255, 1);
}

.btn-outline-secondary,
.btn-outline-secondary:focus {
  color: inherit !important;
  border-color: #e8e8e8;
  background-color: transparent !important;
}

.btn-outline-secondary:active,
.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  border-color: #b1b1b1 !important;
}

.btn-link {
  text-decoration: none;
}

.btn-link.no-style {
  padding: 0;
  margin: 0;
}

.btn-image-icon {
  border-radius: 2px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 3px;
  margin-right: 0.375rem;
  max-height: 1rem;
  position: relative;
  top: -1px;
}

.force-btn-default .btn-lg {
  line-height: 24px;
  padding: 6px 12px;
  border-radius: 6px;
}

.force-btn-default .flag-icon {
  width: 16px;
  height: 16px;
  margin-top: -2px;
}

.cart-btn {
  padding: 0.125rem 0.125rem 0.125rem 1.5rem;
}

.card-title {
  padding: 4px 0px 4px 2px;
}

.cart-btn-indicator {
  background-color: #ffffff;
  line-height: 1;
  padding: 0.875rem 1.5rem;
  border-radius: 3rem;
  display: inline-flex;
}

/* Dropdowns */

.dropdown-menu {
  border: 0px;
  border-radius: 6px;
  box-shadow: rgba(142, 142, 142, 0.14) 0px 3px 20px;
  padding: 1rem 0;
  color: #0d1136;
  margin-top: 0.5rem;
}

.dropdown-menu[data-bs-popper] {
  margin-top: 0.5rem;
}

.dropdown-menu {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.dropdown-menu.dropdown-menu-start {
  max-height: 420px; overflow-y: auto;
}

.translate-dropdown-end {
max-height: 420px; overflow-y: auto;
}
.dropdown-item {
  line-height: 1;
  padding: 0.75rem 1.5rem;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: transparent;
  color: #0d1136;
}

/* Navigation */

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: transparent;
}

.nav-link .icon-wrapper {
  display: inline-block;
  width: 25px;
  text-align: center;
}

/* Forms */

.form-control,
.form-select.form-control {
  background-color: #eeeff0;
  border-color: #eeeff0;
  color: #212529;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #e4e5e6;
    color: #909294;
    opacity: 1;
    cursor: not-allowed;
}

.form-control-lg,
.input-group-lg .form-control-lg {
  font-size: 1rem;
  line-height: 1.9;
}

.form-select.form-control-lg {
  padding: 0.5rem 1rem;
}

.input-group-text {
  background-color: #eeeff0;
  border-color: #eeeff0;
  color: #212121;
}

.input-group-lg .input-group-text [class*="fa-"] {
  position: relative;
  top: 1px;
}

.input-group .form-control:not(:first-child) {
  border-left: 0;
}

.form-select {
  border-color: #e8e8e8;
}

.form-select.form-select-sm {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  background-size: 10px;
}

.form-select.form-select-lg {
  font-size: 1rem;
  line-height: 1;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-size: 14px;
}

/* Lists */

.list-group-item {
  padding: 1rem;
  border-bottom: solid 1px #f1f2f3;
  background-color: transparent;
}

/* Badge */

.badge {
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
}

.badge.badge-sm {
  padding: 0.375rem 0.625rem;
}

.badge.rounded-pill > [class^="fa-"] {
  margin-right: 0.25rem;
}

/* Table */

.table th {
  border-bottom: 0;
}

.table > :not(caption) > * > * {
  padding: 1rem;
}

/* Alerts */

.alert {
  border: 0px;
}

.alert.alert-danger a {
  color: #842029;
  text-decoration: underline;
}

.alert-dark {
  background-color: #303030;
  border-color: #303030;
  color: #ffffff;
}

.alert-light {
  background-color: #eeeff0;
  color: inherit;
}

.alert-unround {
  border-radius: 0px;
}

/* Offcanvas */

.offcanvas {
  max-width: 96%;
}

.offcanvas-end {
  width: 420px;
}

.offcanvas-header {
  padding: 1.5rem;
  border-bottom: 1px solid #f1f2f3;
}

.offcanvas-body {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 1.5rem;
}

/* Modal */

.modal-backdrop.show {
  opacity: 0.75;
}

.modal-header {
  border-bottom: 0;
  padding: 1.5rem;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1.25rem 1.5rem 1.5rem;
  border-color: #f1f2f3;
}

.modal-footer > * {
  margin-top: 0;
  margin-bottom: 0;
}

/* Autocomplete */

body .autocomplete {
  font: inherit;
  z-index: 1030;
  margin-top: 1rem;
  border: 0;
  padding: 1rem 0;
  box-shadow: rgba(142, 142, 142, 0.14) 0px 3px 20px;
  border-radius: 6px;
}

body .autocomplete > div {
  padding: 0.75rem 1.5rem;
}

body .autocomplete > div.selected,
body .autocomplete > div:hover:not(.group) {
  background-color: #e9ecef;
}

body .autocomplete > div.selected {
  border: 2px solid red;
}

/* Callout */

.callout-info {
  --bd-callout-bg: rgba(var(--bs-info-rgb), 0.075);
  --bd-callout-border: rgba(var(--bs-info-rgb), 0.5);
}

.callout {
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  background-color: var(--bd-callout-bg, var(--bs-gray-100));
  border-left: 0.25rem solid var(--bd-callout-border, var(--bs-gray-300));
}

/* Misc. */

.small,
small {
  font-size: 0.875em !important;
}

hr {
  background-color: #f1f2f3;
  border-color: #f1f2f3;
  opacity: 1;
}

.hr-dark {
  background-color: #d9d9d9;
}

.border-opacity-0 {
  border-color: transparent !important;
}

.gift-card-wrapper {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  width: 415px;
}

.gift-card-aspect-ratio {
  position: relative;
  height: 0;
  padding-top: 63.093525179856%;
}

.gift-card-wrapper .gift-card-aspect-ratio .gift-card-image-wrapper {
  display: inline-flex;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.gift-card-wrapper .gift-card-aspect-ratio .gift-card-image-wrapper img {
  max-width: 100%;
  margin: auto;
  height: 100%;
}

.gift-card-wrapper .badge {
  margin-top: 0.625rem;
  margin-right: 0.625rem;
}

.checkout-container {
  max-width: 992px;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.auth-container {
  max-width: 768px;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.sidebar {
  width: 280px;
  min-width: 280px;
}

.sidebar [class*="fa-"] {
  width: 20px;
  height: auto;
  max-height: 20px;
  margin-right: 1rem;
}

.sidebar-scroll-wrapper {
  overflow: hidden;
  height: calc(100vh - 96px);
}

.sidebar-scroll-wrapper:hover {
  overflow: auto;
}

.sidebar .sticky-top {
  top: 96px;
  z-index: 1010;
}

.sidebar .nav-item {
  margin-bottom: 0.5rem;
}

.sidebar .nav-item .nav-link {
  font-weight: bold;
  font-size: 0.875rem;
}

.balance-indicator {
  right: 1.5rem;
  bottom: 1.5rem;
  left: auto;
}

.balance-indicator .alert {
  padding: 0.75rem 1.5rem;
}

@media (max-width: 575.98px) {
  .balance-indicator {
    left: 1.5rem;
  }
}

.balance-indicator [class*="fa-"] {
  font-size: 1.5rem;
}

.card-radius {
  border-radius: 16px;
}

.card-radius-md {
  border-radius: 12px;
}

.card-radius-sm {
  border-radius: 7px;
}

.number-input button:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
}

.number-input button:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: 0;
}

.number-input .form-control,
.number-input .input-group-text {
  border-radius: 0;
}

@keyframes skeleton {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

.gift-card-image-wrapper {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.06) 25%,
    rgba(0, 0, 0, 0.15) 37%,
    rgba(0, 0, 0, 0.06) 63%
  );
  background-size: 400% 100%;
  animation-name: skeleton;
  animation-duration: 1.4s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
}

.gift-card-image-wrapper.loaded {
  background: none;
}

.gift-card-image-wrapper:not(.loaded) img {
  opacity: 0;
}

.product-card {
  border: solid 1px #f3f3f3;
  border-radius: 10px;
  transition: all 0.3s ease-in-out 0s;
}

.product-card.disabled .product-image,
.product-image.disabled {
  opacity: 0.45;
}

.product-grid .product-card:not(.disabled):hover {
  box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 4px;
  transform: translateY(-5px);
}

.product-card .number-input {
  min-width: 100px;
}

.product-image.floating {
  position: fixed;
  top: 0px;
  width: 500px;
  height: 500px;
}

.product-desc-toggle.collapsed::after {
  content: "Show More";
}

.product-desc-toggle:not(.collapsed)::after {
  content: "Show Less";
}

.product-desc.collapse:not(.show) {
  display: block;
  height: 3rem;
  overflow: hidden;
}

.product-desc.collapsing {
  height: 3rem;
}

@media (max-width: 991.98px) {
  .product-grid .card {
    border-radius: 0;
    border-left-width: 0;
    border-top-width: 0;
  }

  .product-grid .product-card:hover {
    box-shadow: none;
    transform: translateY(0px);
  }
}

.checkout-card {
  border: 0;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 16px 0px;
}

.cart-product-image {
  min-width: 80px;
}

/* Carousel */

.carousel-caption {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

p.fineprint {
  font-size: 0.8rem;
}

#locationCarousel {
  width: 450px;
}

@media (max-width: 575.98px) {
  .carousel-caption {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item {
  margin-bottom: 45px;
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item p.carousel-indented {
  margin-left: 45px;
}
.carousel-indicators {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
  box-shadow: none !important;
}

/* Spinners */

.spinner-border-sm {
  border-width: 2px;
}

/* Animation */

:root {
  --animate-duration: 1s;
  --animate-delay: 1s;
  --animate-repeat: 1;
}

.animate__animated {
  -webkit-animation-duration: calc(1s / 2);
  animation-duration: calc(1s / 2);
  -webkit-animation-duration: calc(var(--animate-duration) / 2);
  animation-duration: calc(var(--animate-duration) / 2);
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animate__animated_slow {
  -webkit-animation-duration: calc(1s);
  animation-duration: calc(1s);
  -webkit-animation-duration: calc(var(--animate-duration));
  animation-duration: calc(var(--animate-duration));
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animate__animated_fast {
  -webkit-animation-duration: calc(1s / 3);
  animation-duration: calc(1s / 3);
  -webkit-animation-duration: calc(var(--animate-duration) / 3);
  animation-duration: calc(var(--animate-duration) / 3);
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animate__animated.animate__delay-1s {
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
  -webkit-animation-delay: var(--animate-delay);
  animation-delay: var(--animate-delay);
}

@keyframes slideInRight {
  from {
    -webkit-transform: translate3d(120%, 0, 0);
    transform: translate3d(120%, 0, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideOutUp {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    transform: translate3d(0, -100%, 0);
  }
}

.slideOutUp {
  animation-name: slideOutUp;
}

@keyframes slideInDown {
  from {
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

.slideInDown {
  animation-name: slideInDown;
}

@keyframes slideInUp {
  from {
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes tada {
  from {
    transform: scale3d(1, 1, 1);
  }

  50% {
    transform: scale3d(1.025, 1.025, 1.025);
  }

  to {
    transform: scale3d(1, 1, 1);
  }
}

.animate__tada {
  animation-name: tada;
}

@keyframes slideOutDown {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    transform: translate3d(0, 100%, 0);
  }
}

.animate__slideOutDown {
  animation-name: slideOutDown;
}

.animate__slideInUp {
  animation-name: slideInUp;
}

.animate__slideInRight {
  animation-name: slideInRight;
}

.animate__slideInDown {
  animation-name: slideInDown;
}

.skip-to-content-link {
  transition: transform 0.3s;
  width: 0;
  height: 0;
  position: absolute;
  overflow: hidden;
  max-width: 100%;
}

.skip-to-content-link:focus {
  width: 200px;
  height: 50px;
  border: 2px solid black;
  padding: 8px;
  position: relative;
  text-align: center;
}

.pin-content {
  margin-top: 70px;
  margin-bottom: 70px;
}

/* ALERT INFO */

.alert-info {
  background-color: #d6e4f4 !important;
  border-color: #d6e4f4 !important;
  color: #193247 !important;
}

/* LOCAL BANNER */

.local-banner {
  display: block;
  padding: 16px 32px;
  text-align: center;
}

.local-banner a {
  text-decoration: underline;
}

.regionSpinner { display: none !important; }
.spinner-border.spinner-border-sm { margin-top: 9px; }
.region-flag { min-width: 20px; }

.card-text { margin-bottom: 1rem;  }
.banner-mb { margin-bottom: 25px; }

/* REACTIONS */

.reactions-wrapper {
  padding: 1rem 0;
  background-image: linear-gradient(45deg, 
      #21D4FD 0%,     /* Sky Blue */
      #6D0FCF 70%,    /* Midpoint between Blue & Primary */
      #7D2EFF 100%    /* Primary Purple */
  );
  transition:
    height 0.3s ease,
    opacity 0.2s ease-out;
}

/* Smooth collapsing effect */
.reactions-wrapper.collapsing {
  height: 0 !important;
  opacity: 0;
}

/* Keep hidden state smooth */
.reactions-wrapper:not(.show) {
  display: block; /* Prevent abrupt snapping */
  padding: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
}

.reactions-wrapper .reactions-content {
  background: rgba(255,255,255,0.95);
  gap: 1rem;
  padding: 0 1.25rem;
  border-radius: 3rem;
}

.reactions-wrapper:not(.show) .reactions-content {
  opacity: 0;
}

.reactions-wrapper .reactions-content .reaction-text {
  line-height: 1;
}

.reactions-wrapper .reactions-content .success-message {
  height: 42px;
}

.reactions-wrapper .reactions-group {
  gap: 0.5rem;
}

.reactions-wrapper .reaction-emoji {
  font-size: 1.625rem;
  transition: transform 0.3s ease-in-out;
  transform-origin: center center;
  will-change: transform; /* Needed to improve smoothness of hover animation when tooltip is applied */
  backface-visibility: hidden;
  transform: translateZ(0);
}

.reactions-wrapper .reaction-emoji:hover {
  z-index: 10;
  transform: scale(1.5);
}

@keyframes reaction-explode {
  0% {
    transform: scale(1.5);
    opacity: 1;
  }
  25% {
    transform: scale(2);
    opacity: 1;
  }
  100% {
    transform: scale(0.25);
    opacity: 0;
  }
}

.reaction-emoji.animated {
  animation: reaction-explode 0.3s ease-out forwards;
  z-index: 9999;
}

.floating-emoji {
  position: fixed;
  bottom: 0;
  font-size: 2rem; /* Default size */
  opacity: 1;
  animation: floatUp 5s ease-out forwards;
  pointer-events: none; /* Prevent interaction */
  z-index: 9999;
}

/* Keyframes for floating effect */
@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-75vh) scale(1.5);
    opacity: 0;
  }
}

/* CODE ENTRY LAYOUT */

.code-entry-layout {
  height: 100vh !important;
  background: #fff;
}

.no-display { display: none; }
.block-display { display: block; }

@media (max-width: 992px), (max-height: 992px) {
  
    .code-entry-layout {
      height: auto !important;
    }
  
    .code-entry-layout .light-logo {
      display: none !important;
    }  
  
    .code-entry-layout .dark-logo {
      display: block !important;
    }
  
    .code-entry-layout aside {
      display: none !important;
    }
  
    .code-entry-layout .align-self-center {
        width: 100%;
        align-self: inherit !important;
        padding: 32px 0;
    }
}