body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    font-family: NotoSansTC;
}

nav {
    width: 100vw;
    height: 120px;
    display: flex;
    align-items: center;
    background-color: #ffffff75;
    font-weight: bold;
    position: fixed;
    z-index: 10;
    overflow: hidden;
}

#space {
    width: 2.5%;
}

h1 {
    color: #87BDB7;
    font-size: 35px;
    opacity: 100%;
    padding-left: 3%;
}

#nav-bookmark {
    font-size: 15pt;
    color: white;
    font-weight: 600;
    align-items: center;
    padding-left: 2.5%;
    padding-right: 2.5%;
    padding-top: 60%;
    padding-bottom: 60%;
    background-color: unset;
}

#nav-bookmark:hover {
    font-size: 15pt;
    color: #B3DBD6;
    background-color: white;
    font-weight: 600;
}

#top {
    background: rgb(171, 216, 181);
    background: linear-gradient(90deg, rgba(171, 216, 181, 1) 16%, rgba(157, 197, 210, 1) 56%, rgba(139, 175, 241, 1) 100%);
    color: white;
    width: 100vw;
    height: 100%;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

#top-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#top-h1 {
    font-size: 50pt;
    color: #f1f1f1;
    justify-content: center;
    font-weight: 600;
}

#search {
    width: 45%;
    height: 60px;
    border-radius: 25px;
    /*overflow: hidden;*/
    position: relative;
    justify-content: center;
}

#searchInput {
    width: 100%;
    height: 60%;
    box-sizing: border-box;
    background-color: white;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    font-size: 20pt;
    border: none;
    outline: none;
    padding-left: 10px;
}

#searchInput::placeholder {
    color: #C8E4E1;
    padding-left: 10px;
    font-weight: 600;
}

#searchButton {
    position: absolute;
    top: 0;
    right: 0;
    height: 60%;
    aspect-ratio: 1/1;
    ;
    color: #87BDB7
}

#category {
    width: 100%;
    height: 60%;
    box-sizing: border-box;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #87BDB7;
    overflow: hidden;
    padding: 0 10px;
}


.category-item {
    height: 50%;
    padding-top: 40px;
    padding-bottom: 40px;
    /* border: 2px solid white; */
    color: white;
    /* background-color: white; */
    scale: 1;
    font-size: 15pt;
    /* text-shadow: 2px 2px 10px black; */
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 100ms ease-in-out;
}

.category-item:hover {
    scale: 1.1;
    color: white;
    /* text-shadow: 2px 2px 10px white; */
    font-weight: 400;
}

#searchResult {
    display: none;
    width: 80%;
    height: 50%;
    border-radius: 20px;
    background-color: #87BDB7;
    margin-top: 2%;
    padding: 1%;
    justify-content: flex-start;
    overflow-y: scroll;
    flex-wrap: wrap;
}

section {
    width: 100%;
    padding: 5%;
}

#whatis {
    width: 100vw;
    height: 50vh;
    background-color: #B7DDD8;
    color: white;
}

#middle-h1 {
    color: #f1f1f1;
    font-size: 40px;
    font-weight: 400;
    /*padding-left: -3%;*/
}

.word2 {
    color: #f1f1f1;
    font-size: 20px;
    font-weight: 400;
    padding-right: 10%;
}

#button-h1 {
    color: #87BDB7;
    font-size: 40px;
    font-weight: 400;
}

.word3 {
    color: #87BDB7;
    font-size: 20px;
    font-weight: 400;
    padding-right: 10%;
}


@media (max-width:1030px) {}

@media (max-width:500px) {
    body {
        margin: 0;
        padding: 0;
        width: 30vw;
        height: 100vh;
    }

    nav {
        height: 70px;
    }

    h1 {
        font-size: 17px;
    }

    #nav-bookmark {
        font-size: 9pt;
        padding-left: 1.5%;
        padding-right: 1.5%;
    }

    #nav-bookmark:hover {
        font-size: 9pt;
    }

    #top-h1 {
        font-size: 35pt;
        justify-content: center;
    }

    #search {
        width: 85%;
        height: 45px;
        border-radius: 5px;
    }

    #searchInput {
        width: 100%;
        height: 60%;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    #category {
        width: 100%;
        height: 60%;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    .category-item {
        padding-top: 40px;
        padding-bottom: 40px;
        scale: 1;
        font-size: 10pt;
        font-weight: 400;
    }

    #whatis {
        width: 97vw;
        height: 30%;
    }
}


/* search results */

.appSearchResult {
    background-color: white;
    color: black;
    border-radius: 10px;
    width: 20%;
    font-size: 14pt;
    padding: 1em;
    position: relative;
    margin-right: 1%;
    margin-bottom: 1%;
}

.flexBox {
    display: flex;
}

.appIcon {
    width: 5em;
    height: 5em;
    object-fit: cover;
}

.appName {
    margin: 0;
}

.appCategory {
    color: gray;
}

.appKeyword {
    color: white;
    background-color: #8baff1;
    padding: 0 0.1em;
    border-radius: 0.1em;
    margin-right: 0.2em;
    font-size: 0.7em;
    white-space: nowrap;
}

.appLinks {
    position: absolute;
    bottom: 0;
    right: 0;
}

.appLink img {
    width: 2em;
    height: 2em;
}

.appScreenshot {
    display: none;
    width: 80%;
}

.appDescription {
    margin: 0;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

a.nostyle:link {
    text-decoration: inherit;
    color: inherit;
    cursor: auto;
}

a.nostyle:visited {
    text-decoration: inherit;
    color: inherit;
    cursor: auto;
}