@font-face {
    font-family: 'Jost';
    src: url('assets/jost.ttf') format('truetype');
}

:root {
    --tint: rgb(124, 65, 241);
    --tint-transparent: rgba(124, 65, 241, 0.08);

    --tint-background: rgb(223, 207, 255);

    --primary: black;
    --primary-invert: white;
    --secondary-gray: rgb(160, 160, 161);
    --tertiary-gray: rgb(190, 190, 191);
    --quaternary-gray: rgb(220, 220, 221);
    --quinary-gray: rgb(230, 230, 231);

    --light-background-1: rgb(245, 245, 246);
    --light-background-2: rgb(250, 250, 251);

}


body {
    margin: 0px;
    background-color: var(--primary-invert);
    /* overflow: hidden; */
    overflow-x: hidden;
    font-family: Jost, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.mainArea {
    /* border: 1px solid black; */
    /* height: 90%; */
    display: flex;
    padding-left: 20px;
    padding-right: 20px;

    display: flex;
    flex-direction: column;
    align-items: center;


}

.sloganContainer {
    /* border: 1px solid black; */
    margin-top: 15vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;


}

.subtitle {
    /* border: 1px solid black; */
    margin-top: 10px;

    text-align: center;
    color: var(--secondary-gray);
    font-size: 25px;
}

/* *{
    border: none !important ;
} */




.slogan {
    text-align: center;
    line-height: 120%;
    color: var(--primary);
    font-size: 60px;
    font-weight: 600;
}

.downloadBtnContainer {
    /* border: 1px solid black; */
    width: 100%;

    display: flex;
    justify-content: center;
}

.download {
    all: unset;
    /* 移除所有默认样式 */

    cursor: pointer;
    margin-top: 40px;
    margin-bottom: 60px;
    height: 50px;
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--tint);
    border-radius: 30px;
    color: white;
    font-weight: 600;

    font-size: 18px;
    transition: opacity 0.25s ease-in-out;
}

.download:hover {
    opacity: 0.8;

}

.posterContainer {
    /* border: 1px solid black; */
    display: flex;

    width: 100%;
}

.poster, .poster-d {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;

    display: flex;
}

.poster-d {
    display: none;
}

.featuresContainer {
    /* border: 1px solid black; */
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    row-gap: 20px;
    column-gap: 20px;
    margin-top: 80px;
}

.featureBox {
    border: 1px solid var(--tint-transparent);
    background-color: var(--tint-transparent);

    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;

}

/* the content in the feature Box */
.featureIcon {
    /* border: 1px solid black; */
    display: flex;
    flex-direction: row;
    padding: 20px;
    padding-bottom: 0%;
    margin-right: auto;
}

.featureIconImage {
    height: 40px;
    fill: var(--tint);
}

.featureTitle {
    /* border: 1px solid black; */
    color: var(--primary);
    width: calc(100% - 40px);
    padding: 20px;
    padding-bottom: 0%;
    height: auto;

    font-weight: 600;
    font-size: 25px;
}

.featureContent {
    /* border: 1px solid black; */
    color: var(--primary);
    width: calc(100% - 40px);
    padding: 20px;
    padding-top: 10px;
    line-height: 26px;
    font-weight: regular;
    font-size: 18px;
}

.footerArea {
    /* border: 1px solid black; */
    width: 100vw;
    margin-top: 80px;
    background-color: var(--tint);
}

.footerCopyright {
    width: calc(100% - 30px);
    padding: 15px;

    color: white;
    text-align: center;
    font-size: 14px;
    font-weight: normal;
}

@media only screen and (max-width: 1000px) {
    .featuresContainer {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (max-width: 800px) {
    .slogan {
        font-size: 55px;
    }

    .subtitle {
        font-size: 22.5px;
    }

    .featureTitle {
        font-size: 19px;
    }

    .featureContent {
        font-size: 17px;
    }
}

@media only screen and (max-width: 600px) {
    .slogan {
        font-size: 50px;
    }

    .subtitle {
        font-size: 20px;
    }

    .featureTitle {
        font-size: 18px;
    }

    .featureContent {
        font-size: 16px;
    }

    .featuresContainer {
        grid-template-columns: 1fr;
    }
}





@media (prefers-color-scheme: dark) {
    :root {
        --tint-transparent: rgba(124, 65, 241, 0.1);
        --tint-background: rgb(68, 38, 130);

        --primary: white;
        --primary-invert: rgb(20, 20, 21);
        --secondary-gray: rgb(115, 115, 116);
        --tertiary-gray: rgb(85, 85, 86);
        --quaternary-gray: rgb(55, 55, 56);
        --quinary-gray: rgb(45, 45, 46);

        --light-background-1: rgb(30, 30, 31);
        --light-background-2: rgb(25, 25, 26);
    }

    .poster {
        display: none;
    }

    .poster-d {
        display: flex;
    }
}