/* Variables */
:root {
    --bubble-space: -80px;
}

.banner {
    background: url("banner.jpg") no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
}
.banner h1 {
    font-size: 80px;
}
@media (max-width: 490px) /* Compact Width */ {
    .banner h1 {
        font-size: 44px;
    }
}
.lego {
    background-color: var(--grouped-bg-color);
}
.models {
    display: flex;
    flex-wrap: wrap;
}
.models a {
    width: 318px;
    max-width: 50%;
    color: var(--text-color);
}
.models.featured a {
    width: 478px;
    max-width: 100%;
}
.models div {
    margin-bottom: 32px;
    transition: all 0.2s;
    text-align: left;
}
.models img {
    width: calc(100% - 8px);
    background-color: var(--grouped-secondary-bg-color);
	border-radius: 8px;
}
.models a:hover {
	color: var(--accent-color);
    text-decoration: none;
}
.models a:active img {
    -webkit-filter: brightness(0.8);
}
.models a .tag {
    font-size: 17px;
    background-color: #1987FF33;
    border-radius: 5px;
    color: #1987FF;
    padding: 1px 6px;
}
.models a .tag.popular-tag {
    background-color: #FFB40033;
    color: #FFB400;
}
.models a .tag.buy-tag {
    background-color: #06c50033;
    color: #06c500;
}
.links a {
    margin: 8px 16px;
    display: inline-block;
}
.info {
    margin: 8px 0;
    display: inline-flex;
    text-align: left;
    vertical-align: top;
    max-width: calc(100% - 8px);
}
.info img {
    width: 96px;
    height: 96px;
}
.info div {
    padding: 0;
    position: relative;
}
.info div h2, .info div p {
    margin: 0;
    width: auto;
}
.info div p {
    margin-top: -8px;
}
.info div a {
    position: absolute;
    bottom: 0;
}
.screenshot {
    width: calc(100% - 8px);
    border-radius: var(--border-radius);
}
.end-banner {
    height: 540px;
    background: url("rct.webp") no-repeat center center;
    background-size: cover;
}