/* Stylings for content presentation */
.app-list {
    display: flex; 
    flex-wrap: wrap;
    background-color: #342e26;
    padding: 10px; 
    margin-top: 25px; 
    margin-bottom: 5px;
}
.app-list h3 {
    margin-top: 0; 
    margin-bottom: 0; 
    font-size: 1.5em;
    font-style: italic;
    color: #675D49;
}
.app-list h4 {
    font-size: 1.2em;
    margin-bottom: 5px;
    width: 100%;
    color: #f9f6f1;
}
.app-list h5 {
    font-size: 1em;
    margin-bottom: 5px;
    width: 100%;
    color: #f3eee4;
}
.app-list p {
    width: 100%; 
    margin-top: 10px;
}
.download-list {
    display: flex; 
    flex-wrap: wrap;
    background-image: linear-gradient(to bottom, #ede5d6, 80%, #342e26);
    padding: 10px; 
    margin-top: 25px; 
    margin-bottom: 5px;
    box-shadow: 2px 2px 10px 0px #ceb992;
}
.download-list p {
    color: #1a1712;
    width: 95%;
    align-items: center; 
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}
.download-list b {
    color: #000;
}
.download-list a {
    color: #f3eee4;
}
.download-list a:visited {
    color: #f3eee4;
}
.app-info {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%; 
    background-image: linear-gradient(to bottom, #675d49, 50%, #342e26);
    margin-top: -10px;
    margin-left: -10px;
    margin-right: -10px; 
    padding-top: 10px; 
    padding-left: 10px; 
    padding-right: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.download-info {
    display: flex;
    justify-content: center; 
    align-items: center;
    width: 100%; 
}
.app-icon {
    width: 64px;
    height: 64px;
    object-fit: cover;
    flex-shrink: 0; 
    margin-right: 10px; 
}
.platform-icon {
    height: auto;
    width: 64px; 
    flex-shrink: 0;
}
.info-table {
    width: 100%;
}
.info-table th,
.info-table td {
    padding: 4px;
    text-align: left;
    border-bottom: 1px solid #444;
    color: #ede5d6;
}
.info-table td:nth-child(2) {
    background-color: #e7dcc9;
    color: #1a1712;
}
.info-table th {
    text-align: center;
    background-color: #81745b; 
    color: #ede5d6;
    font-weight: bold;
    font-size: 1.2em; 
}
.info-table table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
    color: #1a1712;
    font-weight: bold;
    font-size: 0.9em;
}
.screenshot, .screenshot-alt {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
    margin-top: 15px;
    margin-bottom: 15px;
}
.base-buttons {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 1em;
}
.base-buttons a {
    display: inline-block;
    margin: 0;
    padding: 0;
    line-height: 0;
    vertical-align: top;
}
.base-buttons > img {
    display: inline-block;
    margin: 0;
    vertical-align: top;
}
.base-buttons a:hover img {
    transform: scale(1.05);
    transition: transform 0.2s ease-in-out;
}
.base-buttons a img {
    display: block;
}
.iconsize-a {
    width: auto;
    height: 20px;
}
.textstyle-a {
    font-size: 0.9em;
}
.textstyle-b {
    font-size: 0.8em;
}
.ital {
    color: #e7dcc9;
    font-style: italic;
}
.content-wrapper {
    background-color: #342e26;
    color:#f3eee4;
    --fallback-gradient-color: #342e26;
}
.title-bar {
    background-image: url('../images/banners/circuit_b.webp');
}
.main-nav {
    background-image: linear-gradient(to bottom, #ede5d6, 80%, #1a1712);
}
.menu a {
    color: #002010;
}
.menu a:hover {
    background-image: linear-gradient(to bottom, #ede5d6, 50%, #1a1712);
    color: #ede5d6;
}
.content-area {
    background-image: linear-gradient(to top, #ceb992, #1a1712);
}
.site-footer {
    background-color: #ceb992;
    color: #002b40;
}

@media (min-width: 769px) { /*Desktop only */
    .app-list {
        width: 95%;
        margin-left: auto;
        margin-right: auto; 
    }
    .download-list {
        width: 50%;
        margin-left: auto;
        margin-right: auto; 
    }
    .info-table table{
        width: 500px;
        margin: 0 auto;
    }
    .screenshot {
        width: auto;
        max-width: 600px;
    }
    .screenshot-alt {
        width: auto;
        max-width: 300px;
    }
}

@media (max-width: 768px) { /*Mobile only */
    .app-icon {
        width: 40px;
        height: 40px;
    }
    .platform-icon {
        width: 40px;
    }
    .info-table table {
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
    }
    .screenshot, .screenshot-alt {
        width: 100%;
    }
    .base-buttons > img[src="../images/buttons/btn_blank.png"] {
        display: none;
    }
}
