body,
html {
    height: -webkit-fill-available !important;
}

.main {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    overflow: scroll;
}

#apps {
    width: 240px;
    display: flex;
    flex-direction: column;
    margin-right: 30px;
    min-width: 200px;
}

#apps>h1,
#apps>button {
    font-family: "SF Pro Text", "Helvetica Neue", HelveticaNeue, Helvetica, Arial, sans-serif;
    font-size: 15px;
    letter-spacing: -0.016em;
    -webkit-font-smoothing: antialiased;
    border: unset;
    background-color: unset;
    text-align: left;
    padding: unset;
    padding: 10px;
}

#apps>h1 {
    font-weight: 500;
    font-size: 18px;
    display: block;
    margin-top: 0;
}

#apps>div {
    content: '';
    position: relative;
    width: 100%;
    height: 1px;
    background-color: rgb(214, 214, 214);
    margin: 24px 0;
}

#apps>div:first-child {
    display: none;
}

#apps>button {
    font-weight: 400;
    margin-left: 24px;
    cursor: pointer;
    font-size: 16px;
}

#description {
    flex-grow: 1;
    overflow: scroll;
    padding-bottom: 50px;
    padding-right: 24px;
}

.app-info-display {
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.app-info-display>header {
    display: flex;
    flex-direction: row;
    justify-content: start;
    margin-bottom: 30px;
}

.app-info-display>header>img {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    /* border: solid 4px white; */
    box-shadow: 0 0 12px -4px #0008;
    margin: 5px;
    margin-right: 30px;
}

.app-info-header-row {
    margin: 15px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: -webkit-fill-available;
}

.app-info-header-row>div {
    width: 50%;
}

.app-info-header-row>div:first-child {
    color: #777;
    margin: auto 0;
}

.app-info-header-row>div:last-child {
    text-align: right;
}

.app-info-header-text {
    flex-grow: 1;
    /* max-width: 500px; */
}

.app-info-header-text>h1 {
    margin-top: 0;
    margin-bottom: 20px;
}

h1.app-body-title {
    font-family: -apple-system, SF Pro Text, Helvetica Neue, HelveticaNeue, Helvetica, Arial, sans-serif;
    margin: 0;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .019em;
    line-height: 24px;
}

.app-links {
    display: flex;
    flex-direction: column;
}

.app-links>a:last-child {
    border-bottom: solid 1px rgb(214, 214, 214);
}

.app-link-row {
    border-top: solid 1px rgb(214, 214, 214);
    width: -webkit-fill-available;
    padding: 8px 0;
    display: flex;
    flex-direction: row;
    cursor: pointer;
    text-decoration: none;
    color: #000;
}

.app-link-row>.link-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.app-link-row>.link-share {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    padding: 4px;
    object-fit: contain;
    transition: ease 300ms background-color;
}

.app-link-row>* {
    margin: auto 10px;
}

.link-title {
    font-size: 16px;
    font-weight: 400;
    margin-right: auto;
}

.app-body {
    margin-top: 50px;
    font-size: 16px;
    font-weight: 300;
}

#description:nth-child(4){
    margin-top: 0 !important;
}

.component-body {
    display: flex;
    flex-direction: row;
}

.component-body>div {
    flex-grow: 1;
}

.component-body>img {
    width: 220px;
    margin-top: -30px;
    margin-left: 50px;
    margin-right: 30px;
}

.component-body.flipped {
    flex-direction: row-reverse;
}

.component-body.flipped>img {
    margin-top: 0px;
    margin-left: 10px;
    margin-right: 50px;
}

@media screen and (min-width: 500px) {

    #apps>button:hover {
        color: #08f;
    }

    .app-link-row:hover>.link-title {
        color: #08f;
    }

    .app-link-row>.link-share:hover {
        background-color: #7772;
    }

}

@media screen and (max-width: 500px) {

    .main {
        flex-direction: column;
        margin: unset;
        width: -webkit-fill-available !important;
        padding-top: 10px !important;
        max-width: unset;
    }

    #apps{
        flex-direction: row;
        overflow-x: scroll !important;
        overflow-y: hidden !important;
        width: -webkit-fill-available;
        max-width: unset;
        margin: unset;
        margin-bottom: 20px;
        min-height: 60px !important;
        max-height: 60px !important;
    }

    #apps>h1{
        /* font-size: 12px !important; */
        /* margin: auto !important; */
        display: none;
    }
    
    #apps>button{
        font-size: 14px !important;
        margin: auto !important;
        padding: unset !important;
        width: fit-content !important;
        max-width: unset !important;
        min-width: 100px;
        text-align: center;
        font-weight: 600;
        line-height: 60px !important;
        color: #08f !important;
    }

    .app-info-display>header{
        flex-direction: column !important;
    }

    .app-info-display>header>img{
        margin: 20px auto !important;
    }

    .app-info-header-text>h1{
        width: -webkit-fill-available !important;
        text-align: center;
    }

    #description {
        padding-left: 24px;
    }

    .component-body{
        flex-direction: column-reverse !important;
    }

    .component-body>img {
        width: 80%;
        max-width: 300px;
        margin: 20px auto !important;
        margin-top: 20px !important;
        margin-bottom: 50px !important;
    }

}