html {
    min-height: 100%;
}

html, body, p, ul, li, span, h1, h2, h3, h4, h5, h6, ul, li {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    background-color: #fbfcfe;
    overflow-x: hidden;
    width: 100vw;
}

button {
    background-color: #fff;
    border: none;
    cursor: pointer;
}

h3 {
    font-weight: 600;
}

h4 {
    text-align: left;
    font-size: 1.63rem;
    color: #282829;
    letter-spacing: 1.2px;
    font-weight: 500;
}

p {
    font-weight: 200;
    font-size: 0.88rem;
    line-height: 20px;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.Maxcard {
    box-sizing: border-box;
    padding-top: 4.12rem;
    padding-bottom: 4.12rem;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0rem 0.38rem 1.75rem 0rem rgba(62, 70, 83, 0.07);
}

.nav {
    position: sticky;
    top: 0;
    padding-left: 2rem;
    padding-right: 2rem;
    height: 5.63rem;
    z-index: 100;
    background: #FFFFFF;
    box-shadow: 0rem 0.38rem 1.75rem 0rem rgba(62, 70, 83, 0.07);
}

.main {
    box-sizing: border-box;
    padding: 0;
    padding-top: 0;
}

.logo {
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.DownLoad {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    color: #1B1B1B;
    text-align: center;
    margin-right: 10vw;
    text-align: left;
    background-color: transparent;
    margin-left: 60px;
}

.logo .left {
    display: flex;
    align-items: center;
    margin-left: 0;
}

.logo .left img {
    margin-left: 10vw;
    width: 140px;
    height: 48px;
}

.home {
    position: relative;
    text-align: center;
    height: 50.4167vw;
    background-image: url('./img/background.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

.home h3 {
    font-family: PingFangSC, PingFang SC;
    margin-left: 61.7vw;
    font-weight: 600;
    font-size: 51px;
    color: #FFFFFF;
    line-height: 71px;
    text-align: left;
    font-style: normal;
}

.home p {
    margin-left: 61.7vw;
    width: 487px;
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 26px;
    color: #FFFFFFa0;
    line-height: 34px;
    text-align: justify;
    font-style: normal;
}

.home .logo {
    margin-left: 61.7vw;
    width: 313px;
    height: 112px;
}

.home .download_apple {
    margin-left: 61.7vw;
    margin-top: 49px;
    width: 240px;
    height: 76px;
    cursor: pointer;
}

.ios {
    margin: 0 0.rem;
    background-color: #FFAC26;
    font-size: 1.2rem;
}

.adr {
    margin: 0 0.69rem;
    background: #8BAB2F;
}

.ios, .adr {
    position: relative;
    color: #FFFFFF;
    z-index: 20;
    padding: 1rem 3rem;
    border: 0.06rem solid rgba(228, 228, 228, 1);
    box-shadow: 0rem 0.25rem 0.63rem 0rem rgba(0, 0, 0, 0.04);
    border-radius: 2rem;
    vertical-align: middle;
}

.ios::before, .adr::before {
    position: absolute;
    display: inline-block;
    vertical-align: middle;
    left: 1.5rem;
    width: 0.99rem;
    height: 1.22rem;
    content: '';
    background-size: 100%;
}

#IosDown::before, #AdrDown::before {
    top: 50%;
    transform: translateY(-50%);
}

.items {
    align-items: center;
    margin: 0;
    justify-content: space-evenly;
}

.items img {
    width: 40vw;
}

.items div h3 {
    font-family: PingFangSC, PingFang SC;
    font-weight: 600;
    font-size: 46px;
    color: #2266FF;
    line-height: 65px;
    text-align: left;
    font-style: normal;
}

.right div h3 {
    /*text-align: right;*/
}

.items div h4 {
    width: 494px;
    font-family: PingFangSC, PingFang SC;
    font-weight: 300;
    font-size: 32px;
    color: #4C4D58;
    line-height: 45px;
    text-align: justify;
    font-style: normal;
}

.right div h4 {
    /*text-align: right;*/
}

.Maxcard div {
    margin-left: 100px;
    margin-right: 100px;
}

.highlight-container, .highlight {
    position: relative;
}

.highlight-container {
    display: inline-block;
}

.highlight-container:before {
    content: " ";
    display: block;
    height: 90%;
    width: 100%;
    margin-left: -3px;
    margin-right: -3px;
    position: absolute;
    background: #ffd5007f;
    transform: rotate(2deg);
    top: -1px;
    left: -1px;
    border-radius: 20% 25% 20% 24%;
    padding: 10px 3px 3px 10px;
}

.footer {
    align-items: center;
    display: flex;
    justify-content: center;
}

.legal {
    margin-left: 20px;
}

.legal p {
    font-family: PingFangSC, PingFang SC;
    font-weight: 500;
    font-size: 16px;
    color: #404040;
    line-height: 22px;
    text-align: left;
    font-style: normal;
}

#rectangle-blue-short {
    width: 60px;
    height: 8px;
    background: #2266FF;
    border-radius: 4px;
    margin-left: 0;
    margin-top: 10px;
    margin-bottom: 60px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo .left img, .DownLoad {
        margin-left: 0;
        margin-right: 0;
    }

    .nav {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .nav .logo .left img {
      width: 80px; /* Adjust the width as needed */
      height: auto;
      margin-left: 0;
    }

    .nav .DownLoad {
      font-size: 1.5rem; /* Increase font size */
      padding: 0.5rem 1rem; /* Add padding for larger button */
    }

    .home {
        height: auto;
        padding: 2rem 1rem;
        background-size: contain;
        background-image: url('./img/bg_mobile.png');
        height: 60vw;
        background-color: white;
    }

    .home h3, .home p, .home .logo, .home .download_apple {
        margin-left: 0;
        margin-right: 0;
        text-align: center;
        width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
        display: none;
    }
    .home h3 {
      font-size: 32px;
    }
    .home p {
      font-size: 24px;
    }

    .home .logo {
      width: 50%;
      height: auto;
      margin: 0 auto;
    }

    .home .logo img {
      width: 100%;
      height: auto;
    }

    .home .download_apple {
      width: 50%;
      height: auto;
      margin: 0 auto;
    }

    .home .download_apple img {
      width: 100%;
      height: auto;
      margin-top: 20px;
      margin-bottom: 15px;

    }

    .items {
        flex-direction: column;
    }

    .items img {
        width: 80vw;
        margin-bottom: 1rem;
        order: 1;
    }

    .items div h3, .items div h4 {
        width: auto;
        text-align: center;
        padding: 1rem;
        font-size: 18px;
        line-height: 20px;
    }

    .items div {
        order: 2;
    }

    .Maxcard div {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    #rectangle-blue-short {
      margin: 10px auto 10px auto;
    }

    .footer {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .legal {
      margin-left: 0;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .legal p {
      margin-bottom: 0.5rem;
    }
}
