/* Page - ViewApp */
.download-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    max-width: 60em;
}
.download-item {
    background-color: rgba(83, 157, 184, 0.25);
    padding: 20px;
    border: 1px solid #3a3a3a; /* Border around each grid item */
}
.download-link {
    padding: .4em;
    user-select: none;
    cursor: pointer;
}
#extra-downloads {
    height: 0px;
    overflow: hidden;
    transition: height .30s;
}
#downloads-splitter {
    max-width: 60em;
}

.appinfo_back {
    font-size: 1.3em;
    padding: .8em;
    width:fit-content;
}
.appinfo_extra {
    margin-top: 1em;
    font-size: 1.3em;
    padding-left: .8em;
    padding-right: .8em;
    background-color: rgba(50, 49, 139, 0.2);
    width:fit-content;
}
.apppicture {
    width:35vw;
    max-width: 90%; 
    float: left; 
    margin: 1em;
    border-radius: .5em;
    display: block;   
    clear: both;

    @media screen and (max-width: 688px) {
        border-radius: 3vw;
        width: 90%;
    }
}
.apppicturesmall {
    width: 20vw;
    max-width: 90%; 
    float: left; 
    margin: 1em;
    border-radius: .5em;  
    display: block;
    clear: both;

    @media screen and (max-width: 688px) {
        border-radius: 3vw;
        width: 40vw;
    }
}

.app-platform {
    font-size: 1.5em;
    text-decoration: none;
    padding: .5em;
}

.app-platform i {
    font-size: 1em;
    font-weight: 500;
    font-style: normal;
    text-decoration: none;
    padding: .1em;
}

/* ViewPage -> News */
#news-info {
    background-color: var(--generic-background);
    padding: 20px;
    border-radius: 15px;
    list-style-type: none;
    font-size: 1.25em;

    width: max-content;
}
#news-info li {
    padding-top: 10px;
}
#news-rate-box {
    background-color: var(--generic-background);
    border-radius: 1em;
    margin-top: 20px;
    box-sizing: border-box;
    width: fit-content;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;

    font-size: 25px;
    color: black;
}
#news-rate-box span {
    font-size: 1.25em;
    margin-right: 10px;
    cursor: pointer;
    filter: drop-shadow(0px 0px 5px rgb(56, 58, 58));

    padding-left: 10px;
    padding-right: 10px;

    background-color: #ffffff;
    border-radius: 1em;

    transition: all .30s ease-in-out;
    display: inline-block;
}
#news-rate-box span:hover {
    transform: scale(1.15);
}
#news-rate-box b {
    margin-left: 5px;
    margin-right: 5px;
}
.selected-rating {
    background-color: rgb(145, 247, 247) !important;
}
#news-comment-box-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 1em;
}
#news-comment-box-top img {
    width: 3em;
    border-radius: .5em;
    
    margin: 1em;
    margin-top: 0;
    margin-bottom: 0;
}
#news-comment-box-bottom {
    max-width: 40em;

    display: flex;
    flex-direction: row;
}
#news-comment-box-bottom textarea {
    height: 4em;
}
#news-comment-box-bottom button {
    max-width: 10em;
}

/* Reviews */
.reviewinfo {
    display: flex;
    align-items: center;
    justify-content:left;

    @media screen and (max-width: 688px) {
        flex-direction: column;
        align-items: start;
    }
}
.reviewinfo div {
    display: flex;
    align-items: center;
    justify-content:left;
}
.reviewinfo > div {
    justify-content: space-between;
    
    @media screen and (max-width: 688px) {
        width: 100%;
    }
}
.reviewinfo img {
    border-radius: 2em;
    height: 2em;
    margin-right: 10px;
}
.reviewinfo button {
@media screen and (min-width: 688px) {
    margin-left: auto;
    }

    @media screen and (max-width: 688px) {
        width: auto;

        padding-left: 20px;
        padding-right: 20px;
    }
}

#reviewpostbox {
    background-color: rgba(131, 131, 131, 0.3);
    padding: .5em;
    margin-top: 1em;
    border-radius: 1em;
    max-width: 40em;
    display: none;
    opacity: 0;

    overflow: hidden;
    transform: translateY(-50%);

    transition: all .25s;
}
#reviewtopbox img {
    width: 4em;
    border-radius: 1em;
    
    margin: 1em;
    margin-top: 0;
    margin-bottom: 0;
}
#reviewtopbox div {
    display: flex; /* Use flex container */
    align-items: center;
    margin-bottom: 1em;
}
#reviewcenterbox {
    display: flex;
}
#reviewbottombox {
    display: flex;
    text-align: center;
    flex-basis: auto;
    margin: .4em;
    justify-content: center;

    font-size: 3em;
}
@media screen and (max-width: 768px) {
    #reviewbottombox {
        font-size: min(2.5em, 10vw);
    }
}
#reviewpostbox input {
    margin: .2em;
}
#reviewpostbox button {
    margin: .2em;
    max-width: 15em;
}
#review-user {
    border-top-left-radius: 1em;
    border-bottom-left-radius: 1em;
}
#review-message {
    border-radius: 1em;
    min-height: 2.5em;
}
#review-button {
    border-top-right-radius: 1em;
    border-bottom-right-radius: 1em;
}
.review-item {
    display: block;
    padding: 1em;
    width: calc(100%-10em);
    margin: .5em;
    border-radius: 1em;

    max-width: 50em;

    background-color: rgba(145, 145, 145, 0.3);
    border: rgb(206, 164, 25) 3px solid;
}
.review-stars {
    font-size: 2em;
    margin: .4em;
}
.review-name {
    color: #865d05;
    font-weight: 600;
}
.login_sustain { /* asks user to log in */
    padding: 1em;
    text-align: center;
}
.login_sustain button{
    width: 200px;
}