body {
    margin: 0;
    padding: 0;
    font-family: HCo Gotham SSm, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;
    background-color: #00090f
}

.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    cursor: pointer;
    z-index: 1000
}

.home {
    position: fixed;
    top: 20px;
    left: 50px;
    cursor: pointer;
    z-index: 1000
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0
}

.menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background-color: #3c3838;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: left .3s ease-in-out;
    max-height: 100vh;
    overflow-y: auto;
    padding-top: 60px;
    padding-bottom: 60px
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 10px
}

.menu-item img {
    width: 50px;
    height: auto;
    margin-right: 10px
}

.menu-item p {
    margin: 0;
    font-weight: bold
}

.menu.open {
    left: 0
}

.menu.scrollable {
    overflow-y: scroll
}

.menu .menu-item p {
    text-decoration: none !important;
    color: #fff;
    border-bottom: 0
}

.menu .menu-item a {
    text-decoration: none !important;
    color: #fff;
    border-bottom: 0
}

.centered-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh
}

.image-container {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    margin-right: 20px
}

.image-section img {
    max-width: 100%;
    height: auto
}

.chart-section {
    margin-top: 20px;
    width: 100%;
    height: 300px
}

.content-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 90vw;
    max-width: 850px;
    height: 644px;
    max-height: 644px;
    background-color: #232527;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4)
}

.flex-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

@media(min-width:725px) {
    .flex-container {
        flex-direction: row
    }
}

.box-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

@media(max-width:944px) {
    .box-grid .box {
        width: 27vw
    }
}

@media(max-width:725px) {
    .box-grid .box {
        width: 90vw
    }
    .content-box {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 90vw;
        max-width: 850px;
        height: 950px;
        max-height: 1200px;
        background-color: #232527;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.4)
    }
    .image-container {
        background-color: rgba(0, 0, 0, 0.6);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
        margin-right: 20px;
        margin-bottom: 20px
    }
}

.box {
    width: 300px;
    height: 103px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #000;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center
}

.box-text {
    margin: 10px 0;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    max-height: 100px;
    overflow: hidden;
    white-space: normal
}

.first-line {
    font-size: 14px;
    color: white;
    padding-bottom: 30px
}

.second-line {
    font-size: 25px;
    font-weight: bold;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%
}

.box p {
    margin: 0
}

.chart-section {
    width: 100%;
    height: 300px
}

.box .second-line {
    white-space: normal;
    word-wrap: break-word;
    max-height: 2.6em;
    overflow: hidden
}

.banner {
    background-color: #f44336;
    color: white;
    padding: 15px;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1
}

.close-button {
    background-color: white;
    color: #f44336;
    border: 0;
    padding: 10px 20px;
    cursor: pointer
}

.close-button:hover {
    background-color: #f44336;
    color: white
}

:root {
    --card-color: #191919
}

body {
    background-color: #141414;
    display: grid;
    height: 100vh;
    margin: 0;
    padding: 0
}

#cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    padding: 1em 0;
    place-self: center;
    position: sticky;
    bottom: 0;
    width: 95%;
    z-index: 2
}

.card {
    background-color: var(--card-color);
    border-radius: .75em;
    cursor: pointer;
    height: 60px;
    width: 250px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    place-items: center
}

.card:hover:before {
    opacity: 1
}

.card:before {
    background: linear-gradient(45deg, transparent 5%, #5e22e0 50%, transparent 99%);
    border-radius: inherit;
    content: "";
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 400ms;
    z-index: 0
}

.card-content {
    background-color: var(--card-color);
    border-radius: inherit;
    display: grid;
    inset: 1px;
    padding: 1em;
    position: absolute
}

.create-button {
    background-color: white;
    color: #ffffff00;
    border: 0;
    padding: 10px 20px;
    cursor: pointer
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5)
}

#modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #333;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white
}

.input-box {
    margin-bottom: 10px
}

#closeModalBtn {
    background-color: red;
    color: white;
    border: 0;
    padding: 10px 20px;
    cursor: pointer
}

#submitModalBtn {
    background-color: #12cb12;
    color: white;
    border: 0;
    padding: 10px 20px;
    cursor: pointer
}

.search-container {
    position: relative;
    margin: 5px 0
}

#searchInput {
    padding: 10px;
    border: 2px solid white;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    outline: 0;
    width: 80%;
    max-width: 1000px
}

.stale-warning {
    position: fixed;
    bottom: 20px;
    right: -300px;
    background-color: #ff4d4d;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-family: sans-serif;
    transition: right 0.5s ease-in-out;
    max-width: 280px;
    z-index: 1000;
    font-family: HCo Gotham SSm, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif
}   