:root {
  --max-width: 1400px;
  --slate-gray: #4a4e69;
  --landing-box-shadow: 0px 6px 18px 6px rgba(0, 0, 0, 0.09);

  font-family: Poppins, sans-serif;
  font-display: block;
}

html,
body {
  overflow-x: hidden;
  overscroll-behavior-x: none;
  margin: 0;
  color: var(--black);
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* Demo */
#demo-section {
  position: relative;
  align-self: center;
  width: calc(100vw - 22px);
  max-width: 1600px;
  margin-bottom: 72px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  background-color: #2d3642;
  aspect-ratio: 16 / 9;
}

@media screen and (max-width: 900px) {
  #demo-section {
    aspect-ratio: 3 / 2;
  }
}

@media screen and (max-width: 640px) {
  #demo-section {
    aspect-ratio: 1 / 1;
  }
}

#demo-overlay {
  /* background-color: rgba(255,0,0,0.1); */
  position: absolute;
  inset: 0 0 0 0;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
  z-index: 1;
}

#demo-overlay::before {
  content: 🎉;
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translate(-50%, 0%);
  z-index: 10;
}

#demo-section::after {
  content: attr(tooltip-content);
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, 0%);
  border-radius: 8px;
  color: white;
  padding-top: 8px;
  padding-bottom: 8px;
  opacity: 0.6;
  transition: opacity 0.3s ease-in-out;
  text-align: center;
  pointer-events: none;
}

#demo-container {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0px 4px 30px 15px #13161b;
}

#demo-container[hovered]::after,
#demo-container:hover::after {
  opacity: 1;
}

#demo-container {
  transform: scale(0.75) translateX(-6.25%);
  width: 110%;
  height: 100%;
}

#iframe-navbar {
  background-color: white;
  height: 28px;
  width: calc(100% - 16px);
  padding-left: 8px;
  padding-right: 8px;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  /* border-bottom: 1px solid #aaa; */
  background-color: #e8eaed;
  display: flex;
  flex-direction: row;
  align-items: center;
}

[theme="dark"] #demo-container {
  background-color: #262d39;
}

[theme="dark"] #iframe-navbar {
  background-color: #3c4043;
}

.navbar-button {
  height: 10px;
  width: 10px;
  border-radius: 10px;
  background-color: #fe5f57;
  margin-right: 4px;
}

.navbar-button:nth-child(2) {
  background-color: #fdbc30;
}

.navbar-button:nth-child(3) {
  background-color: #26c940;
}

#iframe-container {
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(30px);
  overflow: hidden;
}

#iframe-container[revealed] {
  opacity: 1;
  transform: translateY(0px);
  transition: opacity 1s ease, transform 0.5s ease;
}

iframe,
.iframe {
  height: 100%;
  width: 100%;
  border: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  overflow: hidden;
}

/* Action bar */
#action-bar {
  position: absolute;
  width: 320px;
  height: 48px;
  left: 50%;
  transform: translateX(-50%);
  bottom: -24px;
  border-radius: 8px;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  z-index: 99;
}
#action-bar button {
  flex-basis: 33%;
  flex-shrink: 0;
}
#action-bar svg {
  margin-right: 8px;
}

/* Feature Sections */
#features-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#features-section lona-marketing-card {
  flex: 1 1 300px;
  margin: 2px;
  background-color: #f1f1f1;
  height: 360px;
  border-radius: 24px;
}

#features-section lona-marketing-card:nth-child(2),
#features-section lona-marketing-card:nth-child(3),
#features-section lona-marketing-card:nth-child(6) {
  flex: 1 1 450px;
}
