/* ------------------ GLOBAL ------------------ */
html, body {
    font-family: 'Nunito', sans-serif !important;
}

/* ------------------ FRONT PAGE ------------------ */
.frontpage-two-container {
  background-color: white;
}

/* sections with orange bg */
.frontpage-two-container .header-section,
.frontpage-two-container footer,
.frontpage-two-container .download-section {
  background-color: #ff7f4c;
}

/* container widths */
.frontpage-two-container .navbar-container,
.frontpage-two-container .content-section,
.frontpage-two-container .catchy-section,
.frontpage-two-container footer .footer-container,
.frontpage-two-container .header-container,
.frontpage-two-container .download-container {
  width: 1000px;
  margin: auto;
}

/* buttons */
.frontpage-button {
  width: 100%;
  padding: 1rem;
}

.frontpage-button-secondary {
  background-color: #ffcfb4 !important;
  color: #d83300 !important;
  box-shadow: 0 -2px 0 0 #ffb386 inset !important;
  width: 100%;
  padding: 1rem;
}

/* ------------------ DOWNLOAD ------------------ */
.frontpage-two-container .download-section { 
    margin-top: 299px !important;
  }
.frontpage-two-container .download-section .download-container .milo-app{
        width: 65%;
        max-width: 560px;
        margin-top: -250px !important; /* pushes it outside */
        z-index: 2; 
}

/* text colors */
.title-color,
.text-color {
  color: #FF7F4C;
}

/* layering */
.content-section,
.catchy-section,
.catchy-section img {
  position: relative;
  z-index: 2;
}

/* catchy section */
.frontpage-two-container .catchy-section {
    margin-bottom: -9vw; /* pull it down over the SVG */
    margin-top: 80px;
}
.frontpage-two-container .catchy-section img {
        margin-bottom: -6px;
    }

.frontpage-two-container .catchy-section + svg {
    position: relative;
    z-index: 1;
    display: block;
    height: auto;
    margin-top: 0;
}

.frontpage-two-container .catchy-bg-color {
    background-color: #FF5100;
}

/* ------------------ NAVBAR ------------------ */
.navbar-section {
  transition: all 0.1s ease-in-out;
  background-color: white;
  border-radius: 0 0 8px 8px;
}

.navbar-section .ms-auto {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.navbar-logo,
.footer-logo {
  height: 50px !important;
  width: auto;
}

.hamburger-btn {
  background-color: transparent;
  border: none;
  color: #ff7f4c;
  padding: 0.5rem 0.75rem;
}

.hamburger-btn:hover {
  background-color: #ffcfb4;
  color: #d83300;
}

.login-btn,
.help-btn {
  background-color: #ffcfb4;
  color: #d83300;
  box-shadow: 0 -2px 0 0 #ffb386 inset;
}

.help-btn {
  width: 80px;
}

.navbar-fixed {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(10,10,10,.1);
  background-color: #ff7f4c;
}

/* get start button */
.btn.get-start-button {
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;

    background-color: #eb671b !important;
    border: none !important;

    /* inset shadow = pressed bottom effect */
    box-shadow: inset 0 -4px 0 #ba4400 !important;

    color: white !important;
}

.get-start-button.show {
    opacity: 1;
    visibility: visible;
}

/* ------------------ HEADER ------------------ */
.header-section section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 96px 0 60px;
}

.header-section .slogan {
  max-width: 600px;
}

.header-description {
  max-width: 500px;
}

/* language text */
.language p {
  writing-mode: horizontal-tb;
  word-break: keep-all;
}

/* chat bubble */
.cloud-container {
  position: relative;
  display: inline-block;
}

.cloud-container .bi-chat,
.cloud-container .bi-chat-right {
  font-size: 150px;
  color: white;
}

.cloud-text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  color: white;
  font-size: 1.25rem;
}

.milo-label .cloud-text {
  top: 45%;
}

/* milo */
.milo-img {
  transform: translate(20px, -90px);
}

.milo-text {
  transform: translateX(-99px);
}

.milo-name {
  margin-left: -0.3rem;
}

.milo-img-color {
    background-color: transparent; /* removes any background */
    filter: sepia(0.95) saturate(300%) hue-rotate(1deg) brightness(1.05) contrast(1.1);
    opacity: 0.9; /* keeps it close to original */
}

.milo-label {
  transform: translate(95px, 40px);
}

/* ------------------ CONTENT ------------------ */
.frontpage-two-container .content-section {
    margin-top: -22vw !important;
}

.content-section-spacing {
    margin-top: -3rem;
}

.frontpage-two-container.content-description {
    max-width: 500px;
}

/* ------------------ ANIMATIONS ------------------ */
.waving {
  display: inline-block;
  transform-origin: 70% 80%;
  animation: wave-hand 2.5s infinite;
}

@keyframes wave-hand {
  0% {transform: rotate(0)}
  20% {transform: rotate(14deg)}
  40% {transform: rotate(-4deg)}
  60% {transform: rotate(10deg)}
  100% {transform: rotate(0)}
}

.bouncing {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,100% {transform: translateY(0)}
  40% {transform: translateY(-18px)}
}

/* ------------------ FOOTER ------------------ */
footer {
  padding-bottom: 100px;
}

.support-section {
  margin-top: -30px;
  padding-top: -80px;
}

footer a {
  text-decoration: none;
  color: black;
}

footer .privacy-policy-footer {
    margin-top: 40px;
    margin-bottom: -80px;
}

@media (min-width: 768px) and (max-width: 1079px) {

  .frontpage-two-container .navbar-container,
  .frontpage-two-container .content-section,
  .frontpage-two-container .catchy-section,
  .frontpage-two-container footer .footer-container,
  .frontpage-two-container .header-container {
    width: 700px !important;
  }

  /* -------- header -------- */
  .frontpage-two-container .header-container {
    transform: scale(0.8);
    transform-origin: top center;
  }

  .frontpage-two-container .header-section {
    height: 600px;
    position: relative;
    z-index: 2;
  }

  .frontpage-two-container .header-section .slogan {
    max-width: 500px;
  }

  .frontpage-two-container .header-section + svg {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    margin-top: -10px;
  }

  /* -------- content -------- */
  .frontpage-two-container .content-section section img {
    width: 46% !important;
  }

 /* -------- download -------- */
  .frontpage-two-container .download-container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  /* IMAGE SMALLER */
  .frontpage-two-container .download-section .milo-app {
    width: 70%;
    max-width: 380px;
    margin-top: -240px !important;
  }

  /* CONTENT REALLY SMALL */
  .frontpage-two-container .download-content {
    width: 100%;
    max-width: 320px;
    padding: 0 12px;
  }

  /* TEXT FULL WIDTH */
  .frontpage-two-container .download-description {
    width: 100%;
    font-size: 0.95rem;
  }

  .frontpage-two-container .store-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 445px) and (max-width: 767px) {

  .frontpage-two-container .navbar-container,
  .frontpage-two-container .content-section,
  .frontpage-two-container .catchy-section,
  .frontpage-two-container footer .footer-container,
  .frontpage-two-container .header-container,
  .frontpage-two-container .download-container {
    width: 90% !important;
  }

  .frontpage-two-container .content-section section,
  .frontpage-two-container footer .footer-container,
  .frontpage-two-container .download-container {
    display: flex;
    flex-direction: column !important;
  }

  /* -------- navbar -------- */
  .frontpage-two-container .navbar-container .milo-title {
    display: none;
    transition: all 0.3s ease-in-out;
  }

  /* -------- header -------- */
  .frontpage-two-container .header-container {
    transform: scale(0.6);
    transform-origin: top center;
  }

  .frontpage-two-container .header-container .header-catchy {
    transform: scale(0.9);
    transform-origin: top center;
  }

  .frontpage-two-container .header-container h1 {
    font-size: 3rem;
  }

  .frontpage-two-container .header-description {
    font-size: 20px !important;
  }

  .frontpage-two-container .language .provide {
    font-size: 24px !important;
  }

  .frontpage-two-container .header-section {
    height: 425px;
    position: relative;
    z-index: 2;
  }

  .frontpage-two-container .header-section + svg {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    margin-top: -10px;
  }

  /* -------- content -------- */
  .frontpage-two-container .content-section section {
    text-align: center !important;
    margin-top: 100px !important;
  }

  .frontpage-two-container .content-section section.flex-row-reverse {
    flex-direction: column !important;
  }

  .frontpage-two-container .content-section section img {
    width: 70% !important;
  }

  .frontpage-two-container .download-container {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
  }

  /* -------- footer -------- */
  .frontpage-two-container footer {
    align-self: center;
  }

  .frontpage-two-container footer .footer-container div {
    margin-top: 12px;
    margin-bottom: 12px;
  }
}

@media (max-width: 444px) {

  .frontpage-two-container .navbar-container,
  .frontpage-two-container .content-section,
  .frontpage-two-container .catchy-section,
  .frontpage-two-container footer .footer-container,
  .frontpage-two-container .header-container,
  .frontpage-two-container .download-container {
    width: 90%;
  }

  .frontpage-two-container .content-section section,
  .frontpage-two-container footer .footer-container,
  .frontpage-two-container .download-container {
    display: flex;
    flex-direction: column !important;
  }

  /* -------- navbar -------- */
  .frontpage-two-container .navbar-container .milo-title {
    display: none;
    transition: all 0.3s ease-in-out;
  }

  /* -------- header -------- */
  .frontpage-two-container .header-container {
    transform: scale(0.5);
    transform-origin: top center;
  }

  .frontpage-two-container .header-container .header-catchy {
    transform: scale(0.75);
    transform-origin: top center;
  }

  .frontpage-two-container .header-container h1 {
    font-size: 3rem;
  }

  .frontpage-two-container .header-description {
    font-size: 20px !important;
  }

  .frontpage-two-container .language .provide {
    font-size: 24px !important;
  }

  .frontpage-two-container .header-section {
    height: 425px;
    position: relative;
    z-index: 2;
  }

  .frontpage-two-container .header-section .wave-top {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    margin-top: -100px !important;
  }

  /* -------- content -------- */
  .frontpage-two-container .content-section section {
    text-align: center !important;
    margin-top: 100px !important;
  }

  .frontpage-two-container .content-section section.flex-row-reverse {
    flex-direction: column !important;
  }

  .frontpage-two-container .content-section section img {
    width: 70% !important;
  }

  /* -------- footer -------- */
  .frontpage-two-container footer {
    align-self: center;
  }

  .frontpage-two-container footer .footer-container div {
    margin-top: 12px;
    margin-bottom: 12px;
  }
}