@import url('/fonts/mayo/fonts.css');

body #app-output {
  min-height: 100vh;
}

.mayo-logo {
  width: 64px;
  height: 64px;
  position: absolute;
  padding: 14px;
}

.splash-screen {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f6f8fc;
  @media (min-width: 344px) and (max-width: 359px) {
    flex-direction: row;
    height: 96vh;
  }
  @media (min-width: 360px) and (max-width: 389px) {
    flex-direction: row;
    height: 116vh;
  }
  @media (min-width: 390px) and (max-width: 539px) {
    flex-direction: row;
    height: 95vh;
  }
  @media (orientation: portrait) and (min-width: 540px) and (max-width: 900px) {
    flex-direction: row;
    height: 105vh;
  }
  @media (orientation: landscape) and (min-width: 540px) and (max-width: 900px) {
    flex-direction: row;
    height: 205vh;
  }
}

.splash-screen h1 {
  margin-bottom: 5px;
  @media (max-width: 900px) {
    font-size: 21px;
  }
}

.splash-screen h2 {
  font-weight: normal;
  font-size: 24px;
  @media (max-width: 900px) {
    font-size: 13px;
  }
}

.splash-screen h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  color: #0057b8;
  font-size: 18px;
}

.splash-screen p {
  font-size: 14px;
}

.splash-screen p > span {
  font-weight: bold;
}

.splash-screen .splash-image {
  width: 267px;
  height: 367px;
  border-radius: 10px;
  @media (min-width: 344px) and (max-width: 390px) {
    width: 300px;
    height: 130px;
  }
  @media (min-width: 391px) and (max-width: 599px) {
    width: 350px;
    height: 180px;
  }
  @media (orientation: portrait) and (min-width: 600px) and (max-width: 900px) {
    width: 665px;
    height: 300px;
  }
  @media (orientation: landscape) and (min-width: 600px) and (max-width: 900px) {
    width: 400px;
    height: 200px;
  }
}

.splash-screen #splash-content {
  width: 800px; /* You can adjust the width of the container as per your requirement */
  padding: 20px 30px 50px 20px;
  border-radius: 10px;
  border: 1px solid #dbdfe7;
  background-color: #ffffff;
  box-shadow: 0 0 10px #dbdfe7;
  display: flex;
  font-family: 'mayo-sans', MayoClinicSerif-Regular, sans-serif;
  flex-direction: column;
  @media (max-width: 900px) {
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 64px;
  }
}

.splash-screen .horizontal-container {
  display: flex;
  @media (max-width: 900px) {
    display: block;
  }
}

.splash-screen .left-column {
  width: 270px;
  padding-right: 20px; /* Adjust the spacing between columns */
}

.splash-screen .right-column {
  flex-grow: 1;
}

.splash-screen .footer {
  margin-left: 5em;
  margin-top: 1.5em;
}

.loading-bar {
  display: flex;
  padding-top: 0.5rem;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.progress-bar__container {
  width: 80%;
  height: 1rem;
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s;
  background-color: #dbdfe7;
  will-change: transform;
}

.progress-bar {
  position: absolute;
  height: 100%;
  width: 100%;
  background: #e1f0ff;
  background: linear-gradient(90deg, #e1f0ff 0%, #0057b8 100%);
  top: 0;
  bottom: 0;
  border-radius: inherit;
  display: flex;
  animation: ease-in;
  animation-name: progress-bar;
  animation-duration: 3s;
}

@keyframes progress-bar {
  0% {
    left: -100%;
  }
  50% {
    left: -50%;
  }
  100% {
    left: 0;
  }
}

.progress-bar__text {
  display: none;
}
