/* =========================================================
   GRAMANIA PUBLIC SITE
   Site-only stylesheet
   ========================================================= */

@font-face {
    font-family: "IranSans";
    src: url("/assets/fonts/iran_sans_medium.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --site-bg: #0b0d12;
    --site-panel: #141821;
    --site-panel-2: #1b2130;
    --site-text: #e9edf5;
    --site-muted: #9ca7b8;
    --site-line: #2a3242;
    --site-accent: #6ea8ff;
    --site-danger: #e66b72;
    --site-ok: #55c48a;
}

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    overflow-y: scroll;
}

body.public-page {
    margin: 0;
    min-height: 100vh;

    background:
        linear-gradient(
            rgba(11, 13, 18, 0.45),
            rgba(11, 13, 18, 0.45)
        ),
        url("/assets/photos/web-bg.jpg") center top / cover no-repeat fixed;

    color: var(--site-text);
    font-family: "IranSans", Tahoma, Arial, sans-serif;
    line-height: 1.8;
}

.public-page .wrap {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.public-page h1,
.public-page h2,
.public-page h3 {
    line-height: 1.3;
}

.public-page a {
    color: var(--site-accent);
}

.public-page code {
    word-break: break-all;
}

/* =========================================================
   Header
   ========================================================= */

.public-page .top {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(12, 15, 22, 0.94);
    border-bottom: 1px solid var(--site-line);
    backdrop-filter: blur(10px);
}

.public-page .topbar {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 66px;
    padding: 12px 0;
}

.public-page .brand {
    flex: 0 0 auto;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: #fff;
    text-decoration: none;
}

.public-page .nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
}

.public-page .nav a {
    padding: 7px 9px;
    border-radius: 7px;
    color: #cbd4e2;
    text-decoration: none;
}

.public-page .nav a:hover {
    background: var(--site-panel-2);
    color: #fff;
}

.public-page .lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    color: var(--site-muted);
    font-size: 12px;
}

.public-page .lang-switch a {
    padding: 4px 5px;
}


/* =========================================================
   Mobile Navigation Toggle
   ========================================================= */

.public-page .nav-toggle {
    display: none;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--site-line);
    border-radius: 9px;
    background: var(--site-panel);
    color: var(--site-text);
    cursor: pointer;
    box-sizing: border-box;
}

.public-page .nav-toggle:hover {
    background: var(--site-panel-2);
}

.public-page .nav-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.public-page .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.public-page .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.public-page .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   Main / Cards
   ========================================================= */

.public-page main.wrap {
    min-height: 50vh;
}

.public-page .card {
    margin: 18px 0;
    padding: 20px;
    background: linear-gradient(
        180deg,
        rgba(32, 66, 117, 0.76),
        rgba(17, 21, 29, 0.96)
    );
    border: 1px solid var(--site-line);
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
}

.public-page .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.public-page .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.public-page .grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.public-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.public-page .stat {
    padding: 16px;
    background: #10151e;
    border: 1px solid var(--site-line);
    border-radius: 10px;
    color: var(--site-muted);
}

.public-page .stat strong {
    font-size: 28px;
    color: #fff;
}

.public-page .muted {
    color: var(--site-muted);
}

/* =========================================================
   Buttons
   ========================================================= */

.public-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    margin-top: 14px;
    padding: 8px 12px;

    border: 1px solid #527fca;
    border-radius: 7px;

    background: linear-gradient(
        180deg,
        #3d69a7,
        #2d4f82
    );

    color: #fff;
    font-family: "IranSans", Tahoma, Arial, sans-serif;
    line-height: 1.8;
    text-decoration: none;
    cursor: pointer;

    transition:
        filter 0.15s ease,
        transform 0.15s ease;
}

.public-page .btn:hover {
    filter: brightness(1.08);
}

.public-page .btn.secondary {
    background: #202938;
    border-color: #384458;
}

.public-page .btn.danger {
    background: #5c2930;
    border-color: #8d3e48;
}

/* =========================================================
   Forms
   ========================================================= */

.public-page .form {
    width: min(720px, 100%);
    margin: 30px auto;
}

.public-page .form label {
    display: block;
    margin: 12px 0 5px;
}

.public-page input,
.public-page select,
.public-page textarea,
.public-page button {
    box-sizing: border-box;
    font-family: "IranSans", Tahoma, Arial, sans-serif;
}

.public-page input,
.public-page select,
.public-page textarea {
    padding: 9px;
    border: 1px solid #30394a;
    border-radius: 7px;
    background: #0d1118;
    color: #edf2f8;
}

.public-page .form input,
.public-page .form select,
.public-page .form textarea {
    width: 100%;
    margin: 6px 0 12px;
}

.public-page .form textarea {
    min-height: 160px;
    resize: vertical;
}

.public-page .captcha-wrap {
    max-width: 100%;
    margin: 16px 0;
    overflow: hidden;
}

/* =========================================================
   Flash / Notice
   ========================================================= */

.public-page .flash {
    margin: 12px 0;
    padding: 10px 14px;
    border-radius: 8px;
}

.public-page .flash.error {
    background: #3a1d22;
    border: 1px solid #703640;
}

.public-page .flash.success {
    background: #173426;
    border: 1px solid #2c6c4c;
}

.public-page .flash.info {
    background: #19324f;
}

.public-page .notice {
    margin: 12px 0;
    padding: 12px;
    background: #101723;
    border: 1px solid #2c3a52;
    border-radius: 8px;
}

/* =========================================================
   Tables
   ========================================================= */

.public-page .table-scroll {
    overflow-x: auto;
}

.public-page .table {
    width: 100%;
    border-collapse: collapse;
}

.public-page .table th,
.public-page .table td {
    padding: 10px;
    border-bottom: 1px solid var(--site-line);
    vertical-align: top;
}

.public-page .table th {
    color: #aeb9ca;
    text-align: start;
}

.public-page .table a {
    color: #8db8ff;
}

.public-page .table th a {
    color: inherit;
}

.public-page .table form label {
    display: block;
    margin: 6px 0;
}

.public-page .table form input,
.public-page .table form select,
.public-page .table form textarea,
.public-page .table form button {
    font-family: "IranSans", Tahoma, Arial, sans-serif;
}

.public-page .table form input,
.public-page .table form select,
.public-page .table form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #3a4657;
    border-radius: 6px;
    background: #0c1118;
    color: #fff;
}

/* =========================================================
   Search / Actions
   ========================================================= */

.public-page .search {
    display: flex;
    align-items: stretch;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.public-page .search input,
.public-page .search select,
.public-page .search .btn {
    height: 42px;
    min-height: 42px;
    margin-top: 0;
}

.public-page .search input {
    flex: 1 1 260px;
    min-width: 220px;
}

.public-page .search select {
    flex: 0 0 190px;
    width: 190px;
    min-width: 190px;

    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 12px;
    padding-right: 36px;

    line-height: 1.5;
    text-overflow: ellipsis;
}

.public-page .search .btn {
    flex: 0 0 auto;
    min-width: 100px;
    padding: 8px 16px;
    white-space: nowrap;
}

/* =========================================================
   Balance / Account
   ========================================================= */

.public-page .balance-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: #101722;
    border: 1px solid #334055;
    border-radius: 10px;
}

.public-page .balance-box strong {
    font-size: 1.5rem;
}

.public-page .character-details {
    line-height: 1.9;
}

.public-page .purchase-total {
    margin: 18px 0;
    padding: 12px;
    background: #111722;
    border: 1px solid var(--site-line);
    border-radius: 8px;
}

.public-page .actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* =========================================================
   Shop
   ========================================================= */

.public-page .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.public-page .product-card {
    padding: 20px;
    background: #111722;
    border: 1px solid var(--site-line);
    border-radius: 12px;
}

.public-page .product-card h3 {
    margin-top: 0;
}

.public-page .product-price {
    margin-top: 14px;
    font-size: 1.2rem;
    font-weight: 800;
}

.public-page .product-description {
    min-height: 3.5em;
    color: var(--site-muted);
}

.public-page .guest-price-hidden {
    color: var(--site-muted);
    font-style: italic;
}

.product-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    margin-bottom: 10px;
}

.product-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 7px 16px rgba(0, 0, 0, 0.30));
}

/* =========================================================
   Downloads
   ========================================================= */

.public-page .download-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.public-page .download-row {
    margin: 0;
    padding: 14px 16px;
    background: #111722;
    border: 1px solid var(--site-line);
    border-radius: 9px;
}

.public-page .download-row h3 {
    margin: 0 0 5px;
    font-size: 16px;
}

.public-page .download-row p {
    margin: 0;
    color: var(--site-muted);
    font-size: 13px;
    line-height: 1.6;
}

.public-page .download-row .btn {
    margin-top: 10px;
}

/* =========================================================
   Streams
   ========================================================= */

.public-page .stream-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin: 18px 0;
}

.public-page .stream-card {
    overflow: hidden;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
}

.public-page .stream-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #101522;
}

.public-page .stream-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-page .stream-placeholder {
    display: grid;
    height: 100%;
    place-items: center;
    font-size: 42px;
    font-weight: 800;
}

.public-page .live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    background: #d33;
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.public-page .stream-body {
    padding: 15px;
}

.public-page .stream-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =========================================================
   Badges
   ========================================================= */

.public-page .badge {
    display: inline-block;
    padding: 3px 7px;
    background: rgba(46, 125, 246, 0.18);
    border-radius: 999px;
    font-size: 12px;
}

.public-page .unread td {
    font-weight: 700;
}

/* =========================================================
   Maintenance
   ========================================================= */

.public-page .maintenance-banner {
    margin: 24px 0;
    padding: 34px 24px;
    background: rgba(0, 0, 0, 0.28);
    border: 2px solid var(--maintenance-color, #2e7df6);
    border-radius: 14px;
    box-shadow: 0 0 24px rgba(46, 125, 246, 0.12);
    text-align: center;
    font-size: 14.6px;
}

.public-page .maintenance-title {
    color: var(--maintenance-color, #2e7df6);
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.25;
    white-space: pre-wrap;
}

.public-page .maintenance-page {
    display: flex;
    min-height: 55vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.public-page .maintenance-page h1 {
    max-width: 1000px;
    font-size: clamp(2.2rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.25;
    white-space: pre-wrap;
}

.public-page .maintenance-icon {
    margin-bottom: 12px;
    font-size: 4rem;
}

/* =========================================================
   Rich Content
   ========================================================= */

.public-page .rich-content {
    line-height: 1.8;
}

.public-page pre {
    white-space: pre-wrap;
    word-break: break-word;
}

/* =========================================================
   Footer
   ========================================================= */

.public-page footer {
    margin-top: 50px;
    padding: 30px 0;
    border-top: 1px solid var(--site-line);
    color: var(--site-muted);
}

.public-page .footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 22px;
    row-gap: 12px;
    width: 100%;
    margin: 0 auto 18px;
}

.public-page .footer-social .social-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 5px 5px;
    color: var(--site-muted);
    text-decoration: none;
    white-space: nowrap;

    transition:
        color 0.15s ease,
        opacity 0.15s ease;
}

.public-page .footer-social .social-link:hover {
    color: #fff;
    opacity: 1;
}

.public-page .footer-social .social-link-logo {
    display: block;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    object-fit: contain;
}

.public-page .footer-social .social-link-text {
    display: inline-block;
    line-height: 1.5;
    color: var(--site-muted);
}

.public-page .footer-custom-text {
    width: 100%;
    max-width: 900px;
    margin: 14px auto 10px;
    padding: 0 10px;
    color: var(--site-muted);
    text-align: center;
    line-height: 1.8;
}

.public-page .footer-copy {
    margin-top: 10px;
    text-align: center;
    color: var(--site-muted);
    font-size: 13px;
}

/* =========================================================
   RTL / LTR
   ========================================================= */

html[dir="ltr"] .public-page .table th,
html[dir="ltr"] .public-page .table td {
    text-align: left;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 760px) {

    .public-page .topbar {
        position: relative;
        min-height: 62px;
        padding: 9px 0;
        display: flex;
        align-items: center;
        gap: 10px;
        direction: ltr;
    }

    .public-page .brand {
        order: 2;
        flex: 0 0 auto;
        width: 115px;
        max-width: 32%;
        margin: 0;
        text-align: center;
    }

    .public-page .brand img {
        width: 86px !important;
        height: auto !important;
    }

    .public-page .nav-toggle {
        order: 1;
        display: inline-flex;
        margin-inline-start: 0;
        margin-inline-end: auto;
    }

    .public-page .nav {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        z-index: 25;
        width: 100%;
        margin: 0;
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: rgba(12, 15, 22, 0.98);
        border: 1px solid var(--site-line);
        border-top: 0;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
        max-height: calc(100vh - 62px);
        overflow-y: auto;
        box-sizing: border-box;
    }

    .public-page .nav.nav-open {
        display: flex;
    }

    html[dir="rtl"] .public-page .nav {
        direction: rtl;
    }

    html[dir="ltr"] .public-page .nav {
        direction: ltr;
    }

    .public-page .nav a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        min-height: 44px;
        padding: 9px 13px;
        border-radius: 8px;
        text-align: start;
        white-space: normal;
        overflow-wrap: anywhere;
        font-size: 14px;
    }

    .public-page .nav a:hover {
        background: var(--site-panel-2);
    }

    .public-page .lang-switch {
        width: 100%;
        margin: 5px 0 0;
        padding: 8px 0 0;
        border: 0;
        border-top: 1px solid var(--site-line);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        box-sizing: border-box;
    }

    .public-page .lang-switch a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 0;
        min-width: 0;
        min-height: 40px;
        padding: 6px 10px;
        text-align: center;
    }

    .public-page .card {
        font-size: 15.2px;
        padding: 14px;
    }

    .public-page .footer-social {
        column-gap: 16px;
        row-gap: 10px;
    }

    .public-page .footer-social .social-link {
        gap: 6px;
    }

    .public-page .footer-social .social-link-logo {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }

    /* Mobile Search */
    .public-page .search {
        align-items: stretch;
    }

    .public-page .search input,
    .public-page .search select,
    .public-page .search .btn {
        width: 100%;
        min-width: 0;
        flex: 1 1 100%;
    }

    .public-page .search select {
        padding-left: 12px;
        padding-right: 36px;
    }
}

@media (max-width: 700px) {

    .public-page .grid-2 {
        grid-template-columns: 1fr;
    }

    .public-page .balance-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-page .table {
        font-size: 12.5px;
    }

    .public-page .download-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {

    .public-page .brand {
        width: 135px;
        max-width: 31%;
    }

    .public-page .nav {
        gap: 3px;
    }

    .public-page .nav a {
        min-height: 38px;
        padding: 4px 2px;
        font-size: 12px;
    }

    .public-page .lang-switch {
        gap: 6px;
    }

    .public-page .footer-social {
        column-gap: 12px;
        row-gap: 9px;
    }

    .public-page .footer-social .social-link {
        gap: 5px;
        padding: 5px 5px;
    }

    .public-page .footer-social .social-link-logo {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    .public-page .footer-custom-text {
        padding: 0 6px;
        font-size: 13px;
    }
}

@media (max-width: 400px) {

    .public-page .brand {
        width: 115px;
        max-width: 30%;
    }

    .public-page .nav {
        gap: 2px;
    }

    .public-page .nav a {
        min-height: 36px;
        padding: 3px 1px;
        font-size: 14px;
    }

    .public-page .lang-switch a {
        min-width: 32px;
        padding: 3px 5px;
    }

    .public-page .footer-social {
        column-gap: 9px;
        row-gap: 8px;
    }

    .public-page .footer-social .social-link {
        gap: 4px;
    }

    .public-page .footer-social .social-link-logo {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
    }

    .public-page .footer-custom-text {
        font-size: 12px;
    }
}

/* =========================================================
   Snow
   ========================================================= */

#gramaniaSnow {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999998;
}

/* =========================================================
   Password Fields
   ========================================================= */

.public-page .password-field {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
}

.public-page .password-field input {
    flex: 1 1 auto;
    min-width: 0;
    margin: 6px 0 12px;
}

.public-page .password-toggle {
    flex: 0 0 auto;
    margin: 6px 0 12px 8px;
    padding: 0 12px;
    border: 1px solid #3a4657;
    border-radius: 7px;
    background: #202938;
    color: #edf2f8;
    cursor: pointer;
}

.public-page .password-toggle:hover {
    filter: brightness(1.08);
}

.public-page .password-match-ok {
    color: var(--site-ok);
}

.public-page .password-match-error {
    color: var(--site-danger);
}

/* =========================================================
   Community Forms
   ========================================================= */

/* Make each form use a clean vertical layout */
.grid-3 > .card form {
    display: flex;
    flex-direction: column;
}

/* Position labels consistently above their inputs */
.grid-3 > .card form label {
    display: block;
    margin: 14px 0 6px;
    line-height: 1.5;
    font-weight: 700;
}

/* Reduce the top spacing of the first label */
.grid-3 > .card form label:first-of-type {
    margin-top: 4px;
}

/* Make all form controls fill the available card width */
.grid-3 > .card form input[type="text"],
.grid-3 > .card form input[type="url"],
.grid-3 > .card form input[type="number"],
.grid-3 > .card form select,
.grid-3 > .card form textarea {
    width: 100%;
    box-sizing: border-box;
}

/* Keep single-line controls at a consistent height */
.grid-3 > .card form input[type="text"],
.grid-3 > .card form input[type="url"],
.grid-3 > .card form input[type="number"],
.grid-3 > .card form select {
    min-height: 42px;
}

/* Give the description field enough space for longer text */
.grid-3 > .card form textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.7;
    padding: 10px 12px;
}

/* Add visual separation before the submit button */
.grid-3 > .card form button.btn {
    margin-top: 18px;
    min-height: 42px;
}

/* Keep the card title visually separated from the form */
.grid-3 > .card h2 {
    margin-top: 0;
    margin-bottom: 16px;
}

/* Align form text to the right when the page is RTL */
html[dir="rtl"] .grid-3 > .card form input,
html[dir="rtl"] .grid-3 > .card form textarea,
html[dir="rtl"] .grid-3 > .card form select {
    text-align: right;
}

/* Align form text to the left when the page is LTR */
html[dir="ltr"] .grid-3 > .card form input,
html[dir="ltr"] .grid-3 > .card form textarea,
html[dir="ltr"] .grid-3 > .card form select {
    text-align: left;
}

/* Adjust spacing and textarea height on smaller screens */
@media (max-width: 600px) {
    .grid-3 > .card form label {
        margin-top: 12px;
        margin-bottom: 5px;
    }

    .grid-3 > .card form textarea {
        min-height: 110px;
    }
}


/* =========================================================
   RTL Select Dropdown Fix
   ========================================================= */

/* Add enough space between RTL text and the native dropdown arrow */
html[dir="rtl"] .grid-3 > .card form select {
    padding-left: 38px;
    padding-right: 22px;
    text-align: right;
}

/* Keep the selected option text away from the dropdown arrow */
html[dir="rtl"] .grid-3 > .card form select option {
    text-align: right;
    padding-right: 8px;
}


/* =========================================================
   Mobile view news on main page photo sise fit fix
   ========================================================= */

@media (max-width: 760px) {

    .public-page .rich-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    .public-page .rich-content img {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 16px auto;
    }

}

