* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #ecececff;
    color: black;
}

h1 {
    font-size: 30px;
    line-height: 32px;
    font-family: "Xanh Mono", monospace;

}

h2 {
    font-size: 13px;
    line-height: 15px;
    font-weight: 300 !important;
    font-family: "Google Sans Code", monospace;
    text-transform: uppercase;
}

h3 {
    font-size: 13px;
    line-height: 15px;
    font-weight: 300 !important;
    font-family: "Google Sans Code", monospace;
    opacity: 0.6;
}

p {
   font-size: 18px;
    line-height: 20px;
    font-weight: 400 !important;
    font-family: "Google Sans Code", monospace;
    text-transform: none;
}

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

a:hover {
    opacity: 0.3;
}


header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: white;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    margin-bottom: 20px;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 25px;
    padding-bottom: 25px;
    width: 100%;
    position: fixed;
    z-index: 2;
    top: 0;
    max-width: 1000px;
    gap: 40px;
}

.logo-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    font-family: "Xanh Mono", monospace;
}

.nav-menu-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: flex-end;
    font-family: "Google Sans Code", monospace;
    font-weight: 300 !important;
    text-transform: uppercase;
    color: black;
    text-decoration: none;
    align-items: center;
}

.nav-menu-footer-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: flex-end;
    font-family: "Google Sans Code", monospace;
    font-weight: 300 !important;
    text-transform: uppercase;
    color: black;
    text-decoration: none;
    align-items: center;
}

.nav-menu-container, a {
    transition: 0.3s ease;
}

section {
    display: flex;
    z-index: 1;
    min-height: 50vh;
    margin-bottom: 20px;
    margin-top: 20px;
    background-color: white;
    border-radius: 40px;
    padding-left: 40px;
    padding-right: 40px;
}

#hero {
    flex-direction: row;
    width: 100%;
    gap: 20px;
    margin-top: 125px;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    width: 50%;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 25px;
    padding-bottom: 25px;
}

.hero-right {
    align-content: flex-end;
    width: 100%;
    background-image: url(../images/hero-img.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
}

#download {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 20px;
}

.download-ios-box {
    display: flex;
    flex-direction: row;
    width: 50%;
    align-items: center;
    gap: 20px;
    background-color: white;
    border-radius: 40px;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 25px;
    padding-bottom: 25px;
    transition: 0.3s ease;
}

.download-ios-box:hover {
    opacity: 0.6;
    border: 2px solid black;

}

.ios-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-android-box {
    display: flex;
    flex-direction: row;
    width: 50%;
    background-color: white;
    gap: 20px;
    border-radius: 40px;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 25px;
    padding-bottom: 25px;
    transition: 0.3s ease;
    align-items: center;
}

.download-android-box:hover {
    opacity: 0.6;
    border: 2px solid black;
}

.android-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#feature-1 {
    flex-direction: row;
    width: 100%;
    gap: 20px;
    justify-content: center;
}

.feature-1-left {
    align-content: flex-end;
    width: 30%;
    background-image: url(../images/feature-1-left-img.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
}

.feature-1-center {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 30%;
    padding-top: 25px;
    padding-bottom: 25px;
}

.feature-1-right {
    align-content: flex-end;
    width: 30%;
    background-image: url(../images/feature-1-right-img.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
}

#feature-2 {
    flex-direction: row;
    width: 100%;
    gap: 20px;
}

.feature-2-left {
    align-content: flex-end;
    width: 50%;
    background-image: url(../images/feature-2-img.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.feature-2-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    justify-content: center;
    gap: 10px;
    width: 50%;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 25px;
    padding-bottom: 25px;
}

#feature-3 {
    flex-direction: row;
    width: 100%;
    gap: 20px;
    justify-content: center;
}

.feature-3-left {
    align-content: flex-end;
    width: 30%;
    background-image: url(../images/feature-3-left-img.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.feature-3-center {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 30%;
    padding-top: 25px;
    padding-bottom: 25px;
}

.feature-3-right {
    align-content: flex-end;
    width: 30%;
    background-image: url(../images/feature-3-right-img.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
}

#feature-4 {
    flex-direction: row;
    width: 100%;
    gap: 20px;
}

.feature-4-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    justify-content: center;
    gap: 10px;
    width: 50%;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 25px;
    padding-bottom: 25px;
}

.feature-4-right {
align-content: flex-end;
    width: 50%;
    background-image: url(../images/Feature-4-img.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

footer {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 25px;
    padding-bottom: 50px;

    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    background-color: white;
    gap: 40px;
    justify-content: space-between;
}

.bottom-gradient {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20vh;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255, 255, 255, 0.604) 100%);
    pointer-events: none;
    z-index: 3;
}

.download-ios-box .ios-logo {
    width: 50px; /* initial width */
    flex-shrink: 0; /* prevent shrinking too much */
}

.download-ios-box .ios-logo img {
    width: 100%;
    height: auto; /* maintain aspect ratio */
    display: block;
}

.download-android-box .ios-logo {
    width: 70px; /* initial width */
    flex-shrink: 0; /* prevent shrinking too much */
}

.download-android-box .ios-logo img {
    width: 100%;
    height: auto; /* maintain aspect ratio */
    display: block;
}



@media only screen and (max-width: 600px) {
  body {
    width: 95% !important;
  }

  header {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 8px;
    padding-top: 8px;
    width: 95%;
    max-width: 1000px;
    gap: 20px;
  }

  .nav-menu-container {
    gap: 20px;
  }

  .nav-menu-footer-container {
    justify-content: center;
    gap: 20px;
  }

  section {
    min-height: 40vh;
    padding-left: 20px;
    padding-right: 20px;
  }

  #hero {
    flex-direction: column;
    gap: 0;
    margin-top: 85px;
  }

  .hero-left {
    width: 100%;
    align-items: center;
  }

  .hero-right {
    width: 100%;
    height: 30vh;
  }

  #download {
    display: none;
    flex-direction: column;
  }

  .download-ios-box {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .download-android-box {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  #feature-1 {
    flex-direction: column-reverse;
    gap: 0;
  }

  .feature-1-right {
    display: none;
  }

  .feature-1-center {
    width: 100%;
  }
  .feature-1-left {
    width: 100%;
    height: 30vh;
    background-size: contain;
  }

  #feature-2 {
    flex-direction: column-reverse;
  }

  .feature-2-left {
    width: 100%;
    height: 30vh;
  }

  .feature-2-right {
    width: 100%;
    align-items: center;
  }

  #feature-3 {
    flex-direction: column;
  }

  .feature-3-left {
    display: none;
  }

  .feature-3-center {
    width: 100%;
    align-items: center;
  }
  
  .feature-3-right {
    width: 100%;
    height: 30vh;
    background-size: contain;
  }

  #feature-4 {
    flex-direction: column;
  }

  .feature-4-left {
    width: 100%;
    align-items: center;
  }

  .feature-4-right {
    width: 100%;
    height: 30vh;
  }

  footer {
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 8px;
    gap: 20px;
  }

}