* {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

nav {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgb(238, 238, 238);
    align-items: center;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;
    background-color: #333;
    padding: 0px 20px;
    height: 66px;
}

.title {
    color: rgb(238, 188, 29);
    text-decoration: none;
    font-weight: 600;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: 500;
}
.right-nav {
    display: flex;
    gap: 60px;
    align-items: center;
}

#search-box {
    background-color: white;
    height: 36px;
    border: none;
    outline: none;
    border-radius: 15px;
    padding: 15px;
}

/* #search-container {
    border: none;
    padding-left: 8px;
    background-color: transparent;
    font-weight: 500;
    font-size: 15px;
    outline: none;
} */

.search-icon {
    color: #ddd;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: 100px;
}

table {
    width: 95%;
    border-collapse: collapse;
    margin-top: 20px;
}

th,
td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}
th {
    background-color: #f4f4f4;
}
tr:hover {
    background-color: #f1f1f1;
    cursor: pointer;
}

/* Shimmer Screen */
.shimmer-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    display: none;
}
.shimmer {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: conic-gradient(#0000 10%, gold);
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(100%-9px), #000 0);
    animation: spin 1s infinite linear;
}
@keyframes spin {
    to {
        transform: rotate(1turn);
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0px;
}
.page-button {
    margin: 0 5px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    background-color: white;
    cursor: white;
}
.page-button.active {
    background-color: #4caf50;
    color: white;
}

/* fav */
.favorite-icon {
    cursor: pointer;
}
.favorite-icon:hover,
.favorite-icon.favorite {
    color: gold;
}

.container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100vh;
}

.sidebar {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    margin-right: 20px;
}

.chart-section {
    width: 70%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.button-container button {
    margin: 0 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #f0f0f0;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.button-container button.active {
    background-color: #eebc1d;
    color: #fff;
}

.heading {
    font-weight: bold;
    margin-bottom: 20px;
    /* font-family: sans-serif; */
}

.description {
    width: 100%;
    padding: 25px;
    padding-bottom: 15px;
    padding-top: 0;
    text-align: justify;
}

.market-data {
    align-self: flex-start;
    padding: 25px;
    padding-top: 10px;
    width: 100%;
}
.market-data-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid grey;
    }
    .chart-section {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .description {
        padding: 10px;
    }
    .market-data {
        padding: 10px;
    }
    .button-container button {
        padding: 5px 10px;
        font-size: 14px;
    }
}
