:root {
  /* --shadow-erd: 0 4px 15px rgba(0, 0, 0, 0.1) !important; */
  --gray-color: #787878;
  --bg-color: #FAF8FF;
  --primary-color: #485E92;
  --primary-container-color: #D9DFF6;
}

html {
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box !important;
  overflow-y: scroll;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

body {
  margin: 0;
  background-color: var(--bg-color);
  font-family: 'Roboto', sans-serif;
}

main {
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

strong {
  color: var(--primary-color);
}

.header {
  --min-height: 100vh;
  display: flex;
  flex-direction: column;
  min-height: var(--min-height);
  overflow: hidden;
  padding-top: 64px;
}

@supports (--min-height:100svh) {
  .header {
    --min-height: 100svh;
  }
}

.scene-img {
  width: 100%;
}

.app-bar.scrolled {
  border-bottom-color: var(--primary-container-color);
}

.app-bar {
  border-bottom: 2px solid transparent;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2;
  background-color: var(--bg-color);
}

.app-bar-header-scrolled {
  display: none;
}

.app-bar.passed-threshold .app-bar-header-scrolled {
  display: block;
}

.app-bar.passed-threshold #horizontal-logo {
  display: none;
}

.app-bar.passed-threshold .app-bar-nav {
  justify-content: space-between;
}

.app-bar-nav {
  align-items: center;
  display: flex;
  height: 72px;
  justify-content: center;
  padding: 0 16px;
  max-width: 960px;
  margin: 0 auto;
}

.app-bar-logo {
  height: 56px;
}

.main-header {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 8px 16px 16px;
}

@media (min-width: 1080px) {
  .main-header {
    flex-direction: row;
    gap: 80px;
    width: 960px;
    align-items: center;
    margin: 0 auto;
  }
}


.scene-container {
  align-items: end;
  display: flex;
  flex: 1;
  justify-content: center;
  position: relative;
}

.scene {
  max-width: 240px;
  width: 100%;
  aspect-ratio: 1 / 1;
}

@media (min-width: 768px) {
  .scene {
    max-width: 400px;
  }
}

.hero {
  align-items: center;
  display: flex;
  flex: 1;
  flex-direction: column;
}

@media (min-width: 1080px) {
  .hero {
    gap: 24px;
  }
}

.hero-texts {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  max-width: 344px;
}

@media (min-width: 768px) {
  .hero-texts {
    max-width: 480px;
  }
}

.slogan {
  font-size: 32px;
  line-height: 1.2em;
  margin: 16px 0 0;
  overflow-wrap: anywhere;
  text-align: center;
}

.more-explanation {
  text-align: center;
  line-height: 24px;
  font-size: 16px;
  margin: 0;
}

.explanation {
  text-align: center;
  color: var(--gray-color);
  line-height: 24px;
  font-size: 16px;
  margin: 0;
}

.explanation-align-start {
  line-height: 24px;
  font-size: 16px;
  margin: 0;
}

.hero-call-to-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  max-width: 320px;
  width: 100%;
}

.btn-material-large {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1px;
  height: 48px;
  padding: 0 24px;
  border-radius: 24px;
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}


.sections-container {
  padding-top: 120px;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

@media (min-width:1080px) {
  .sections-container {
    padding-top: 0px;
  }
}

.features {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.section-container {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 0 16px;
}

@media (min-width:1080px) {
  .section-container {
    flex-direction: row;
    gap: 96px;
    margin: 0 auto;
    width: 960px;
  }
}

@media (min-width: 1080px) {
  .row-reverse {
    flex-direction: row-reverse;
  }
}

.section-texts {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 480px;
}

.section-title {
  text-align: center;
  color: var(--primary-color);
  margin: 0;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 36px;
  }
}

.section-media {
  width: 280px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


@media (min-width: 768px) {
  .section-media {
    width: 360px;
  }
}

@media (min-width: 1080px) {
  .section-media {
    width: 440px;
  }
}

.section-media>img {
  width: 100%;
}

.section-trailer {
  width: 100%;
  display: flex;
  justify-content: center;
  max-width: 480px;
}

.trailer-container {
  width: 100%;
  background-color: var(--primary-container-color);
  aspect-ratio: 16/9;
  border-radius: 28px;
}

.boat-depart-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  width: 100%;
}

.app-preview-container {
  aspect-ratio: 9/16;
  width: 240px;
  border-style: solid;
  border-color: var(--primary-color);
  border-radius: 28px;
  border-width: 4px;
  overflow: hidden;
}

@media(min-width: 768px) {
  .app-preview-container {
    width: 300px;
  }
}

.boat-button-container {
  max-width: 320px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.more-section-list {
  display: flex;
  flex-direction: column;
  gap: 120px;
  background-color: var(--primary-container-color);
  padding-top: 120px;
  padding-bottom: 120px;
}

.more-section {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.divider {
  width: 60%;
  border-style: solid;
  border-color: var(--bg-color);
  height: 1px;
}

.app-preview-container>* {
  width: 100%;
  height: 100%;
}
