/* ===================== DARK MODE SUPPORT ===================== */
html.dark-mode {
    --bg-main: #181a1b;
    --bg-secondary: #23272b;
    --bg-glass: rgba(36, 39, 46, 0.7);
    --bg-glass-strong: rgba(36, 39, 46, 0.92);
    --border-main: #333a40;
    --border-light: #444b52;
    --text-main: #f3f6fa;
    --text-secondary: #bfc9d1;
    --accent: #3399ff;
    --accent-hover: #1976d2;
    --shadow: 0 4px 20px 3px rgba(0, 0, 0, 0.45);
    --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.7);
}

html.dark-mode body {
    background: var(--bg-main);
    color: var(--text-main);
}

html.dark-mode header,
html.dark-mode #main-menu-container,
html.dark-mode #content-container,
html.dark-mode .main_section_area,
html.dark-mode .container,
html.dark-mode .info-section,
html.dark-mode footer,
html.dark-mode #tagline,
html.dark-mode .menu-item .dropdown-content,
html.dark-mode .menu-list.mobile.open {
    background: var(--bg-secondary) !important;
    color: var(--text-main) !important;
    border-color: var(--border-main) !important;
}



html.dark-mode .menu-item a:hover {
    color: #fff;
    background-position: left bottom;
    box-shadow: 0 2px 8px rgba(51, 153, 255, 0.25);
}

html.dark-mode #container-descriptions h2 {
    color: #fff;
}

html.dark-mode .color-info,
html.dark-mode .competitor-header h3 {
    color: black;
}

html.dark-mode .more-menu-item a,
html.dark-mode .Policy-menu-item a {
    color: var(--text-secondary);
}

html.dark-mode .more-menu-item a:hover,
html.dark-mode .Policy-menu-item a:hover {
    color: var(--accent);
}

html.dark-mode #tagline {
    color: #888;
}

/* ===================== END DARK MODE SUPPORT ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
}

body {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background: white;
    color: #333;
    line-height: 1.6;
    z-index: 1000;
}

header {
    width: 100%;
    height: auto;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#main-menu-container {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    padding: 15px 10px;
    border-bottom: 1px solid #e3e3e3;
    background-color: #fff;
}

.logo-container {
    width: 20%;
    height: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo-container img {
    width: 70px;
    height: 70px;
    margin-right: 10px;
}

.menu-container {
    width: 70%;
    height: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.menu-list {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
}


.menu-item a {
    text-decoration: none;
    color: #06f;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 15px;
    background: linear-gradient(to right, #06f 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: background-position 0.5s ease, color 0.5s ease;
}

.menu-item a.active,
.menu-item a.active:visited {
    color: #fff !important;
    background-position: left bottom !important;
    background: #06f !important;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.4);
}

.menu-item a:hover {
    background-position: left bottom;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.4);
}

/* Make dropdown behave like a menu item */
.menu-item.dropdown {
    position: relative;
    bottom: 5px;
}

.menu-item.dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

/* Dropdown content hidden by default */
.menu-item .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 180px;
    box-shadow: 0 4px 20px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #fff;
    border-radius: 6px;
    z-index: 999;
    padding: 10px 0;
    list-style: none;
}

/* Each dropdown item */
.menu-item .dropdown-content li a {
    display: block;
    padding: 10px 20px;
    color: #06f;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.menu-item .dropdown-content li a:hover {
    color: #fff;
}

/* Show dropdown on hover */
.menu-item.dropdown:hover .dropdown-content {
    display: block;
}

/* Optional: arrow icon rotation on hover (if using Font Awesome or custom) */
.menu-item.dropdown:hover i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

#content-container {
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    background: #fff;
}

#hiding-container {
    margin-top: 40px;
    padding: 20px;
    z-index: 1000;
}

#hiding-container h1 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 10px;
    line-height: 1.2;
    background: linear-gradient(90deg, #06f 30%, #a0e9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* text-fill-color: transparent; */
    z-index: 10000;
}

#container-descriptions {
    width: 100%;
    height: auto;
    padding: 0 20px 20px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#container-descriptions h2 {
    font-size: 18px;
    font-weight: 400;
    color: #666;
    line-height: 1.5;
}

.container {
    width: 60%;
    height: auto;
    margin: 0 auto;
    background-color: white;
    border: 1px solid #ffe9e9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 200px;
    padding-bottom: 100px;
}

.subtitle {
    color: var(--gray);
    margin-bottom: 30px;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray);
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #06f;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.input-group {
    display: flex;
    max-width: 800px;
    margin: 0 auto 30px;
}

input[type="text"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s;
}

input[type="text"]:focus {
    border-color: var(--primary);
}

#extractBtn {
    padding: 12px 20px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s;
    background-color: #06f;
}

button:hover {
    background-color: #0055cc;
}

.upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-area:hover {
    border-color: var(--primary);
}

.upload-area i {
    font-size: 3rem;
    color: #06f;
    margin-bottom: 15px;
}

.upload-area p {
    color: var(--gray);
    margin-bottom: 10px;
}

.upload-area small {
    color: #aaa;
}

#fileInput {
    display: none;
}

.export-png-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #06f;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s;
}

.export-png-btn:hover {
    background-color: #0055cc;
}

.results {
    display: none;
    margin-top: 40px;
    animation: fadeIn 0.5s ease;
}

.brand-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
    align-items: center;
}

.color-card {
    width: 120px;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.color-card:hover {
    transform: translateY(-5px);
}

.color-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
}

.button-container {
    text-align: center;
    width: 100%;
}

.color-display {
    height: 100px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 10px;
}

.color-info {
    padding: 0px;
    background-color: white;
    text-align: center;
}

.color-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.color-value {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--gray);
}

.competitors-section h2 {
    margin-bottom: 20px;
    color: var(--dark);
    text-align: center;
}

.competitors-grid {
    display: grid;
    flex-wrap: wrap;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.competitor-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.competitor-header {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.competitor-colors {
    display: flex;
    height: 80px;
}

.competitor-color {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 5px;
    font-size: 0.8rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.loading {
    display: none;
    text-align: center;
    margin: 30px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.error {
    color: var(--accent);
    text-align: center;
    margin: 20px 0;
    display: none;
}

.input-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.upload-container {
    border: 2px dashed #ccc;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-container:hover {
    border-color: #3498db;
    background-color: #f8f9fa;
}

.upload-icon {
    font-size: 48px;
    color: #06f;
    margin-bottom: 10px;
}

#file-input {
    display: none;
}

.color-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.color-box {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-box:hover {
    transform: scale(1.1);
}

.simulation-section {
    margin-top: 40px;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #06f;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.filter-btn:hover {
    background-color: #0055cc;
}

.filter-btn.active {
    background-color: #012f6f;
}

.image-comparison {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.image-palette-group {
    flex: 1;
    min-width: calc(33% - 30px);
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.image-container img {
    max-width: 100%;
    max-height: 250px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.image-title {
    margin-top: 10px;
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.2em;
}

.palette-view {
    margin-top: 10px;
}

.palette-title {
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
    color: #2c3e50;
}

.palette-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.palette-color {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.info-section {
    width: 100%;
    margin-top: 40px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: start;
    padding-left: 40px;
}

.info-hiding {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.info-section h3 {
    color: #2c3e50;
    margin-top: 0;
    font-size: 22px;
}

.info-section p {
    line-height: 3.3;
}


#functionality-section {
    width: 100%;
    height: auto;
    padding: 20px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_section_area {
    width: 75%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px 10px rgba(0, 0, 0, 0.05);
}

.fade-in {
    animation: fadeIn 0.7s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

footer {
    width: 100%;
    height: auto;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 30px;
    border-top: 1px solid #c3c2c2;
    background-color: #fff;
    box-shadow: 2px 2px 10px 10px rgba(0, 0, 0, 0.05);
}

#footer-logo {
    width: 25%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: yellow; */
}

#footer-logo img {
    width: 120px;
    height: 120px;
    margin-right: 10px;
}

#footer-content {
    width: 75%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    align-items: center;
}

#more-section {
    width: 50%;
    height: auto;
    display: grid;
    justify-content: center;
    align-items: center;
}

.more-menu-list {
    list-style: none;
    display: grid;
    gap: 15px;
    padding: 0;
    margin: 0;
    text-align: left;
}

.more-menu-list p {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #06f;
    margin-bottom: 10px;
}

.more-menu-item a {
    text-decoration: none;
    color: #555;
    font-weight: 400;
    padding: 6px 0;
    border-radius: 0;
    transition: all 0.2s ease;
    display: inline-block;
    font-size: 14px;
}

.more-menu-item a:hover {
    color: #06f;
    transform: translateX(3px);
}

#policy-section {
    width: 50%;
    height: auto;
    display: grid;
    justify-content: center;
    align-items: center;
    position: relative;
    right: 100px;
}

.Policy-menu-list {
    list-style: none;
    display: grid;
    gap: 15px;
    padding: 0;
    margin: 0;
    text-align: left;
}

.Policy-menu-list p {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #06f;
    margin-bottom: 10px;
}

.Policy-menu-item a {
    text-decoration: none;
    color: #555;
    font-weight: 400;
    padding: 6px 0;
    border-radius: 0;
    transition: all 0.2s ease;
    display: inline-block;
    font-size: 14px;
}

.Policy-menu-item a:hover {
    color: #06f;
    transform: translateX(3px);
}

#tagline {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-top: 1px solid #e3e3e3;
    font-size: 12px;
    font-weight: 300;
    background-color: #fff;
    color: #888;
}

#tagline h3 {
    font-weight: 300;
}


/* ===== Decorative Circles for UI Enhancement ===== */
.decorative-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
    filter: blur(0.5px) saturate(1.2);
    transition: opacity 0.5s;
}

.circle-top-left {
    top: -120px;
    left: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle at 60% 40%, #06f 60%, #fff0 100%);
    box-shadow: 0 0 80px 20px #06f3, 0 0 0 0 #fff0;
}

.circle-bottom-right {
    top: 170px;
    right: 0;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at 40% 60%, #ff6fcb 60%, #fff0 100%);
    box-shadow: 0 0 60px 10px #ff6fcb55, 0 0 0 0 #fff0;
    overflow: visible;
    transform: translate(50%, 50%);
    pointer-events: none;
    opacity: 0.15;
}

.circle-bottom-right2 {
    top: 320px;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at 40% 60%, #ee8ac9 60%, #fff0 100%);
    box-shadow: 0 0 60px 10px #ff6fcb55, 0 0 0 0 #fff0;
    overflow: visible;
    transform: translate(50%, 50%);
    pointer-events: none;
    opacity: 0.15;
}

html,
body {
    overflow-x: clip;
}

.circle-center-fade {
    bottom: 250px;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at 50% 50%, #ffd600 60%, #fff0 100%);
    opacity: 0.22;
    box-shadow: 0 0 40px 10px #ffd60055, 0 0 0 0 #fff0;
}

body {
    position: relative;
    /* Ensure decorative circles are positioned absolutely relative to body */
}



/* 1440px and below */
@media (max-width: 1440px) {
    .main_section_area {
        width: 90%;
    }

    #main-gradient-container {
        width: 90%;
    }
}

@media (max-width: 1225px) {
    .main_section_area {
        width: 95%;
    }

    #main-gradient-container {
        width: 95%;
    }

    .left_section {
        width: 51%;
    }
}

/* 1024px and below */
@media (max-width: 1024px) {

    .main_section_area,
    #main-gradient-container {
        width: 98%;
        flex-direction: column;
        padding: 20px;
    }

    .right_section {
        order: 1;
    }

    .left_section {
        order: 2;
    }

    #slider-container {
        width: 100%;
        margin: 20px 0 40px 10px;
        text-align: left;
        display: block;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    /* Slider track styling */
    #slider-container input[type="range"] {
        width: 50%;
    }

    .file-section {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 85px;
        margin-bottom: 50px;
    }

    #paletteBox-hiding {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 13px;
    }

    #palette-section {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 10px;
        margin-bottom: 20px;
    }

    #shared-color-box {
        width: 50%;
    }

    #export-controls {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        margin-left: 10px;
    }

    #exportBtn {
        width: 55%;
    }

    .left_section,
    .right_section {
        width: 100%;
        padding: 10px;
    }

    .menu-list {
        gap: 2px;
        font-size: 13px;
    }
}

/* Responsive menu for <= 900px */
@media (max-width: 900px) {
    .menu-container {
        position: relative;
    }

    #menuToggle {
        display: flex !important;
        z-index: 1201;
    }

    .menu-list {
        display: none;
    }

    .menu-list.mobile.open {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        right: 0;
        width: 60vw;
        max-width: 340px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.18);
        z-index: 1200;
        padding: 48px 28px 24px 28px;
        gap: 18px;
        border-radius: 16px 0 0 16px;
        transition: transform 0.3s cubic-bezier(.4, 2, .6, 1), opacity 0.3s;
        opacity: 1;
        transform: translateX(0);
    }

    .menu-list.mobile {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 60vw;
        max-width: 340px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.18);
        z-index: 1200;
        padding: 48px 28px 24px 28px;
        gap: 18px;
        border-radius: 16px 0 0 16px;
        transition: transform 0.3s cubic-bezier(.4, 2, .6, 1), opacity 0.3s;
        opacity: 0;
        transform: translateX(100%);
    }

    body.menu-open {
        overflow: hidden;
    }

    .menu-list.mobile.open .menu-list {
        position: relative;
        right: 200px;
    }

    .menu-list.mobile.open .menu-item {
        position: relative;
        top: 100px;
        left: 10px;
        margin-bottom: 10px;
    }

    .menu-list.mobile.open .menu-item a {
        font-size: 1.2rem;
        padding: 14px 10px;
        width: 100%;
        border-radius: 8px;
        background: none;
        color: #06f;
        text-align: left;
        box-shadow: none;
        transition: background 0.2s, color 0.2s;
    }

    .menu-list.mobile.open .menu-item a.active {
        background: #06f !important;
        color: #fff !important;
    }

    .menu-list.mobile.open .menu-item a:hover {
        background: #0055cc !important;
        color: #fff !important;
    }

    #slider-container {
        width: 100%;
        margin: 20px 0 40px 10px;
        text-align: left;
        display: block;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    /* Slider track styling */
    #slider-container input[type="range"] {
        width: 55%;
    }

    .file-section {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 65px;
        margin-bottom: 50px;
    }

    #paletteBox-hiding {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 13px;
    }

    #palette-section {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 10px;
        margin-bottom: 20px;
    }

    #shared-color-box {
        width: 50%;
    }

    #export-controls {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        margin-left: 10px;
    }

    #exportBtn {
        width: 55%;
    }
}

/* 768px and below */
@media (max-width: 875px) {
    #policy-section {
        width: 50%;
        height: auto;
        display: grid;
        justify-content: center;
        align-items: center;
        position: relative;
        right: 0px;
    }
}



@media (max-width: 675px) {

    .info-section {
        padding-left: 20px;
    }

    .container {
        width: 85%;
    }

    .input-group {
        flex-direction: column;
    }

    input[type="text"] {
        border-radius: 4px;
        margin-bottom: 10px;
    }

    /* button {
        border-radius: 4px;
        width: 100%;
    } */

    .color-card {
        width: 100px;
        height: 140px;
    }

    .color-display {
        height: 80px;
    }
    footer {
        flex-direction: column;
    }

    #footer-logo {
        margin-bottom: 50px;
    }

    #footer-content {
        width: 100%;
    }

    #policy-section {
        width: 100%;
        height: auto;
        display: grid;
        justify-content: center;
        align-items: center;
        position: relative;
        right: 0px;
    }

    #more-section {
        width: 100%;
        height: auto;
        display: grid;
        justify-content: center;
        align-items: center;
    }

    .file-section {
        gap: 30px;
    }
}

@media(max-width: 475px) {
    .menu-list.mobile.open .menu-item a {
        font-size: 1rem;
    }

    .container {
        width: 95%;
    }
}

/* 425px and below */
@media (max-width: 425px) {
    #hiding-container h1 {
        font-size: 30px;
    }

    #container-descriptions h2 {
        font-size: 14px;
    }

    .main_section_area,
    #main-gradient-container {
        width: 100%;
        padding: 20px 5px;
    }

    .logo-container img {
        width: 60px;
        height: 60px;
    }

    .menu-list {
        flex-direction: column;
        gap: 0;
    }

    .menu-item a {
        font-size: 13px;
        padding: 6px 8px;
    }

    #footer-logo img {
        width: 105px;
        height: 105px;
    }
}

/* 375px and below */
@media (max-width: 375px) {
    .menu-list.mobile.open .menu-item {
        left: -20px;
    }

    .menu-list.mobile.open .menu-item a {
        font-size: .8rem;
    }

    #hiding-container h1 {
        font-size: 22px;
    }

    .menu-item a {
        font-size: 12px;
        padding: 4px 6px;
    }

    .color-format-box {
        width: 220px;
    }

    .competitor-card {
        width: 220px;
    }

    #footer-logo img {
        width: 80px;
        height: 80px;
    }
}

/* 325px and below */
@media (max-width: 325px) {
    .menu-list.mobile.open .menu-item {
        left: -10px;
    }

    .menu-list.mobile.open .menu-item a {
        font-size: .7rem;
    }

    .container-descriptions h2{
        font-size: 11px;
    }

    .menu-item a {
        font-size: 10px;
        padding: 2px 4px;
    }
    .competitor-card {
        width: 190px;
    }
}