/* --- Global Variables --- */
:root {
    /* Theme Colors */
    --theme-border-color: #ebebeb;
    --theme-border-color-hover: #d4d4d4;
    --blue-button: #00b9f4;
    --blue-button-hover: #00a7e9;
    --light-theme-color: #f9f9f9;
    --theme-sidebar-border: #e8e8e8;
    --button-text-color: #585858;

    /* Grid Layout */
    --cols: 6;
    --gap: 2rem;
    --cell-max: 240px;

    /* Article Layout */
    --article-width-full: 800px;
    --article-width-desc: 600px;
    --article-margin-full: 2rem auto;
    --article-text-color: #333333;
}

/* --- Article Responsiveness --- */
@media (max-width: 1400px) {
    :root {
        --article-width-full: 700px;
        --article-width-desc: 600px;
    }
}

@media (max-width: 1300px) {
    :root {
        --article-width-full: 650px;
        --article-width-desc: 570px;
    }
}

@media (max-width: 1100px) {
    :root {
        --article-width-full: 600px;
        --article-width-desc: 540px;
    }
}

@media (max-width: 1000px) {
    :root {
        --article-width-full: 580px;
        --article-width-desc: 500px;
    }
}

@media (max-width: 900px) {
    :root {
        --article-width-full: 560px;
        --article-width-desc: 480px;
    }
}

@media (max-width: 800px) {
    :root {
        --article-width-full: 530px;
        --article-width-desc: 450px;
    }
}

@media (max-width: 700px) {
    :root {
        --article-width-full: 500px;
        --article-width-desc: 420px;
    }
}

/* --- Identical Responsiveness --- */
@media (max-width: 1800px) {
    :root {
        --gap: 1.5rem;
    }
}

@media (max-width: 1600px) {
    :root {
        --cols: 5;
    }
}

@media (max-width: 1400px) {
    :root {
        --cols: 4;
    }
}

@media (max-width: 1100px) {
    :root {
        --cols: 3;
    }
}

@media (max-width: 1000px) {
    :root {
        --cols: 4;
    }
}

@media (max-width: 750px) {
    :root {
        --cols: 3;
    }
}

@media (max-width: 600px) {
    :root {
        --cols: 2;
    }
}

@media (max-width: 400px) {
    :root {
        --cols: 1;
        --gap: 1rem;
    }
}

/* --- Global Resets --- */
html {
    height: 100%;
}

body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: #fff;
    min-width: 303px;
    /* Ensure readability on very small screens */
    position: relative;
    letter-spacing: normal;
    color: #000;
}

/* --- Top Bar Layout --- */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    box-sizing: border-box;
    width: 100%;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    flex: 1;
}

.top-bar-right {
    justify-content: flex-end;
}

/* --- Top License Text Styling --- */
.top-license {
    text-align: center;
    color: #afafaf;
    font-size: 0.85rem;
    margin: 0;
    flex: 1;
}

/* --- Sticky Navigation Menu --- */
.sticky-menu-container {
    position: sticky;
    top: 1rem;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    width: fit-content;
    margin: 1rem auto;
    padding: 3px;
    gap: 0;

    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
    max-width: 95vw;
    overflow-x: auto;
    scrollbar-width: none;
}

.sticky-menu-container::-webkit-scrollbar {
    display: none;
}

.nav-btn {
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 1rem;
    border-radius: 100px;
    height: 48px;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    background: transparent;
    color: #000;
    letter-spacing: 0.01rem;
}

.nav-btn .material-symbols-outlined {
    font-size: 1.5rem;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.nav-btn.active {
    background: #000 !important;
    color: #fff !important;
}

@media (max-width: 480px) {
    .nav-btn {
        padding: 0 0.9rem;
    }
}

/* --- Mobile Menu Tweaks (<460px) --- */
@media (max-width: 380px) {

    /* Navbar adjustments */
    .nav-btn {
        width: 48px;
        height: 48px;
        padding: 0;
        border-radius: 50%;
        font-size: 0;
        gap: 0;
    }

    .nav-btn .material-symbols-outlined {
        font-size: 1.5rem;
        margin: 0;
    }

}

@media (max-width: 570px) {

    /* Top bar buttons mobile adjustments */
    .top-bar .theme-button {
        width: 48px;
        padding: 0;
        border-radius: 50%;
        gap: 0;
        justify-content: center;
    }

    .top-bar .theme-button .btn-text {
        display: none;
    }

    .top-bar .theme-button .material-symbols-outlined {
        font-size: 1.5rem;
        margin: 0;
    }
}

@media (max-width: 420px) {
    .logo-text {
        display: none;
    }
}


#logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    max-width: 90vw;
}

#logo img.logo-icon {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    object-fit: cover;
}

#logo .logo-text {
    color: var(--article-text-color);
    font-size: 2rem;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.8px;
    margin: 0;
}

.description {
    line-height: 1.6rem;
    text-align: center;
    max-width: 380px;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 400;
    padding: 0 1rem;
}

.description a,
.top-license a {
    color: var(--blue-button);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.description a:hover,
.top-license a:hover {
    color: var(--blue-button-hover);
}

/* --- Buttons --- */
.theme-button {
    border: 0;
    color: var(--button-text-color-alt);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1rem;
    border-radius: 24px;
    height: 48px;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.blue-btn {
    color: #fff !important;
    background: var(--blue-button) !important;
}

.blue-btn:hover {
    background: var(--blue-button-hover) !important;
}

.white-btn {
    color: #000000 !important;
    background: #fff;
    border: 1px solid #efefef;
}

.white-btn:hover {
    border: 1px solid #dddddd;
}

/* --- Album Grid & Blurhash Shadow --- */
.album-grid-wrapper {
    max-width: 1600px;
    margin: 0 auto 3rem auto;
    padding: var(--gap);
}

.album-grid {
    display: grid;
    gap: var(--gap);
    grid-template-columns: repeat(auto-fit, minmax(min(calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)), var(--cell-max)), min(calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)), var(--cell-max))));
    justify-content: center;
}

.tile {
    container-type: inline-size;
    container-name: tile-container;
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    transition: all 0.2s ease-in-out;
    z-index: 955;
    cursor: pointer;
}

.tile:hover {
    z-index: 960;
    filter: drop-shadow(0px 12px 16px rgba(0, 0, 0, 0.2));
}

.blur-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 55%;
    left: 50%;
    opacity: 0;
    filter: blur(10px) brightness(1.2) saturate(1.3);
    z-index: -1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: none;
    transition: all .2s ease;
}

.tile:hover .blur-img {
    filter: blur(25px) brightness(1.3) saturate(1.3);
    opacity: 0.7;
}

.atropos-inner {
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
    aspect-ratio: 1 / 1.3;
    border-radius: 12px;
}

.album-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    mask-image: linear-gradient(black 10%, black 50%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 80%);
    /* CSS drag prevention for native images, crucial for SortableJS */
    -webkit-user-drag: none;
    user-drag: none;
}

.h3-blur-filter {
    position: absolute;
    bottom: -1px;
    left: -1px;
    right: -1px;
    top: -80%;
    z-index: 4;
    background: var(--avg-color);
    backdrop-filter: brightness(.85) contrast(1.3) saturate(1.2);
    mask-image: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.9) 50%, #000 80%, #000);
}

.info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 24px;
    z-index: 5;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.info h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    line-height: 20px;
    z-index: 6;
}

.info p {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    z-index: 6;
}

canvas.blur-canvas,
canvas.shadow-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* --- Support Dialog --- */
.dialog-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1200;
}

.dialog-content {
    background: white;
    padding: 2.2rem 2rem 2rem 2rem;
    border-radius: 20px;
    margin: 1rem;
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--theme-border-color);
    background: #fff;
    cursor: pointer;
    transition: 0.2s;
}

.close-btn:hover {
    color: #000;
    border: 1px solid var(--theme-border-color-hover);
}

.dialog-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.dialog-content h2 {
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
    color: var(--blue-button);
    font-size: 1.6rem;
    font-weight: 450;
    letter-spacing: -0.03rem;
}

.dialog-body {
    text-align: center;
    width: 100%;
    line-height: 1.6;
    color: #444;
    letter-spacing: -0.01rem;
    max-height: 500px;
    overflow-y: scroll;
}

.large-blue-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
    color: var(--blue-button);
}

.large-blue-icon .material-symbols-outlined {
    font-size: 2.8rem;
}

.support-body-p {
    margin: 0 auto 1rem auto;
    max-width: 350px;
    font-size: 1rem;
}

.dialog-actions {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: .5rem;
    margin-top: 1.5rem;
}

.dialog-actions a {
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    box-sizing: border-box;
    width: 90px;
}

.dialog-actions i {
    font-style: normal;
    font-weight: 300;
    font-size: 0.8rem;
    padding-right: 0.1rem;
    opacity: 0.8;
}

.disclaimer {
    margin-top: 30px;
    color: #999999;
    font-size: 0.8em;
    text-align: center;
    line-height: 1.6;
}

.disclaimer a {
    color: var(--blue-button);
    text-decoration: none;
}

/* --- License Modal Specific CSS --- */
.license-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    text-align: left;
    font-size: 0.95rem;
    color: #333;
}


.license-row .material-symbols-outlined {
    font-size: 1.5rem;
    margin-top: 0.05rem;
    color: #333;
    font-variation-settings: 'wght' 700;
}

.license-footer {
    margin-top: 2rem;
    color: #999999;
    font-size: 0.8em;
    text-align: center;
    line-height: 1.6;
}

/* --- Admin Specific CSS --- */
.sortable-ghost {
    opacity: 0.4;
    filter: grayscale(100%);
}

.admin-banner {
    background: var(--blue-button);
    color: white;
    text-align: center;
    padding: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#drop-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 185, 244, 0.9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

#drop-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.loading-spinner {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
}

.admin-form input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.admin-btn-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.delete-btn {
    border-color: #ff3b3b !important;
    color: #ff3b3b !important;
    flex: 1;
    display: none;
}

.delete-btn:hover {
    background: #fff0f0 !important;
}

.save-btn {
    flex: 2;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Admin Cursor Overrides */
body.admin-mode .tile {
    cursor: grab;
}

body.admin-mode .tile:active {
    cursor: grabbing;
}



















/* ========================================================= */
/* 2. Layout, Header, & Logo Styles                          */
/* ========================================================= */
.page {
    margin: 3rem;
}

@media (max-width: 600px) {
    .page {
        margin: 2rem;
    }
}

@media (max-width: 500px) {
    .page {
        margin: 1rem;
    }
}

.page-center {
    max-width: 1600px;
    margin: 0 auto;
}

.article-top-bar {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    margin: 0 auto 1rem auto;
    width: 100%;
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #dadada;
    color: #000;
    text-decoration: none;
    transition: all 0.2s ease;
}

.back-btn:hover {
    border-color: var(--theme-border-color-hover);
    background: var(--light-theme-color);
}


.album-header,
.album-description-area {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    margin: 0 auto;
}

.album-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
    font-size: 0.85rem;
    color: #9f9f9f;
}

.album-meta a {
    text-transform: capitalize;
    color: var(--blue-button);
    text-decoration: none;
    transition: all 0.2s ease;
}

.meta-item b {
    font-weight: 500;
    color: #000;
}

.separator {
    color: transparent;
    margin: 0 0.3rem;
}

h1.main-title {
    word-break: break-word;
    font-weight: 450;
    font-size: 3rem;
    text-align: center;
    line-height: normal;
    margin: 0.5rem auto;
    color: #000;
    max-width: var(--article-width-full);
    letter-spacing: -1px;
}

.description {
    word-break: break-word;
    font-size: 1rem;
    text-align: center;
    margin: 1.5rem auto;
    max-width: var(--article-width-desc);
    line-height: 1.8rem;
    color: #707070;
}

.description b {
    font-weight: 600;
    color: #424242;
}

.description a {
    color: var(--blue-button);
    text-decoration-color: #e3e3e3;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 5px;
    text-decoration-style: dashed;
    transition: all 0.2s ease;
}

.description a:hover {
    text-decoration-color: var(--blue-button);
}

/* ========================================================= */
/* 3. Article Content Styles                                 */
/* ========================================================= */
.album-article-area {
    display: flex;
    position: relative;
    justify-content: center;
}

.article {
    word-break: break-word;
    margin: 0 0 4rem 0;
    width: 100%;
    font-size: 1rem;
    text-align: left;
    line-height: 1.8rem;
}

.article b,
.article strong {
    font-weight: 600;
    color: #000000;
}

.article a strong,
.article a {
    color: var(--blue-button);
    text-decoration-color: #e3e3e3;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 5px;
    text-decoration-style: dashed;
    transition: all 0.2s ease;
}

.article a:hover {
    text-decoration-color: var(--blue-button);
}

.article p {
    max-width: var(--article-width-full);
    margin: var(--article-margin-full);
    color: var(--article-text-color);
}

/* Typography */
.article h1 {
    max-width: var(--article-width-full);
    margin: var(--article-margin-full);
    color: var(--article-text-color);
    font-size: 3rem;
    font-weight: 450;
    line-height: normal;
    letter-spacing: -0.9px;
}

.article h1 a {
    text-decoration-thickness: .04em;
}

.article h2 {
    max-width: var(--article-width-full);
    margin: var(--article-margin-full);
    color: var(--article-text-color);
    font-size: 2.5rem;
    font-weight: 450;
    line-height: normal;
    letter-spacing: -0.8px;
}

.article h2 a {
    text-decoration-thickness: .04em;
}

.article h3 {
    max-width: var(--article-width-full);
    margin: var(--article-margin-full);
    color: var(--article-text-color);
    font-size: 2rem;
    font-weight: 450;
    line-height: normal;
    letter-spacing: -0.7px;
}

.article h3 a {
    text-decoration-thickness: .06em;
}

.article h4 {
    max-width: var(--article-width-full);
    margin: var(--article-margin-full);
    color: var(--article-text-color);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.4px;
}

.article h4 a {
    text-decoration-thickness: .06em;
}

.article h5 {
    max-width: var(--article-width-full);
    margin: var(--article-margin-full);
    color: var(--article-text-color);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: -0.2px;
}


.article h5 a {
    text-decoration-thickness: .07em;
}

/* Lists */
.article ol {
    max-width: calc(var(--article-width-full) - 4rem);
    margin: var(--article-margin-full);
    color: var(--article-text-color);
    padding: 0;
}

@media (max-width: 560px) {
    .article ol {
        padding: 0 0 0 2.3rem;
    }
}

.article ol li {
    margin: 0.3rem 0;
    padding-left: 0.5rem;
}

.article ol li::marker {
    font-weight: 800;
    color: #000;
}

.article ul {
    max-width: calc(var(--article-width-full) - 4rem);
    margin: var(--article-margin-full);
    color: var(--article-text-color);
    padding: 0 2rem;
    border-left: 3px solid var(--theme-border-color);
}

.article ul li p {
    margin: 1rem auto;
}

/* Code & Preformatted */
.article code {
    font-size: 0.9rem;
    color: var(--button-text-color);
    background: #fafafa;
    padding: 0.15rem 0.3rem;
    border-radius: 4px;
}

.article pre {
    max-width: calc(var(--article-width-full) - 2rem);
    margin: var(--article-margin-full);
    background: #fafafa;
    border: 1px solid var(--theme-border-color);
    border-radius: 15px;
    padding: 1rem;
    white-space: pre-wrap;
    font-size: 0.9rem;
}

.article pre code {
    background: transparent !important;
    padding: 0;
    color: var(--article-text-color);
}

.article pre code.hljs {
    background: transparent !important;
}

/* Blockquotes, Highlights, Dividers */
.article blockquote {
    max-width: var(--article-width-full);
    margin: var(--article-margin-full);
    border: 1px dashed var(--theme-border-color-hover);
    border-radius: 15px;
    padding: 0 2rem;
}

.article blockquote img {
    max-width: 100%;
}

.article mark {
    padding: .2rem;
    border-radius: 5px;
    background-color: #f8ecff;
    color: #9c00ff;
}

.article mark.blue {
    background-color: #e9faff;
    color: #0076d5;
}

.article hr {
    margin: 4rem auto;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--theme-sidebar-border), transparent);
    border: 0;
}

/* Media / Embeds */
.article img {
    max-width: calc(var(--article-width-full) + 8rem);
    margin: 2rem auto;
    height: auto;
    display: flex;
    border-radius: 8px;
}

@media (max-width: 930px) {
    .article img {
        max-width: 100%;
    }
}

.article iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    max-width: calc(var(--article-width-full) + 8rem);
    margin: 0 auto;
    display: flex;
    border-radius: 8px;
}

/* ========================================================= */
/* 4. Responsive Typography Scaling                          */
/* ========================================================= */
@media (max-width: 1800px) {

    .article h1,
    h1.main-title {
        font-size: 2.9rem;
    }

    .article h2 {
        font-size: 2.4rem;
    }

    .article h3 {
        font-size: 1.9rem;
    }

    .article h4 {
        font-size: 1.45rem;
    }

    .article h5 {
        font-size: 1.25rem;
    }
}

@media (max-width: 1400px) {

    .article h1,
    h1.main-title {
        font-size: 2.5rem;
    }

    .article h2 {
        font-size: 2.2rem;
    }

    .article h3 {
        font-size: 1.7rem;
    }

    .article h4 {
        font-size: 1.35rem;
    }

    .article h5 {
        font-size: 1.15rem;
    }
}

@media (max-width: 1200px) {

    .article h1,
    h1.main-title {
        font-size: 2.2rem;
    }

    .article h2 {
        font-size: 2rem;
    }

    .article h3 {
        font-size: 1.5rem;
    }

    .article h4 {
        font-size: 1.3rem;
    }

    .article h5 {
        font-size: 1.1rem;
    }

    .description {
        font-size: 0.95rem;
        line-height: 1.6rem;
    }
}

@media (max-width: 1000px) {

    .article h1,
    h1.main-title {
        font-size: 2.5rem;
    }

    .article h2 {
        font-size: 2.2rem;
    }

    .article h3 {
        font-size: 1.7rem;
    }

    .article h4 {
        font-size: 1.35rem;
    }

    .article h5 {
        font-size: 1.15rem;
    }
}

@media (max-width: 800px) {

    .article h1,
    h1.main-title {
        font-size: 2.2rem;
    }

    .article h2 {
        font-size: 2rem;
    }

    .article h3 {
        font-size: 1.5rem;
    }

    .article h4 {
        font-size: 1.3rem;
    }

    .article h5 {
        font-size: 1.1rem;
    }

    .description {
        font-size: 0.95rem;
        line-height: 1.6rem;
    }
}

@media (max-width: 400px) {
    h1.main-title {
        margin: 0.3rem auto;
    }

    .description {
        margin: 1rem auto;
    }
}