* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "OptimusPrincepsSemiBold";
    src: url("./../fonts/OptimusPrincepsSemiBold.ttf") format("truetype");
    font-style: bold;
    font-display: swap;
}

@font-face {
    font-family: "ItalianOldStyleMTStd";
    src: url("./../fonts/ItalianOldStyleMTStd.otf") format("truetype");
    font-style: bold;
    font-display: swap;
}

@font-face {
    font-family: "MyriadPro-Regular";
    src: url("./../fonts/MyriadPro-Regular.ttf") format("truetype");
    font-style: normal;
    font-display: swap;
}

body {
    font-family: "OptimusPrincepsSemiBold", sans-serif;
}

.sidebar {
    min-height: 100vh;
    /* background-color: #f8f9fa; */
    padding-top: 20px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    font-size: 2vw;
    line-height: 1.2;
    color: black;
    text-decoration: none;
}

.menu-links {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    margin-bottom: auto;
}

.menu-links a {
    color: black;
    font-size: 1.8vw;
    margin-bottom: 10px;
    display: block;
    text-align: left;
    text-decoration: none;
    transition: all 0.3s ease;
}

.menu-links a:hover {
    color: #ff4914;
}

.content-body {
    height: calc(100vh - 115px);
    overflow: auto;
}

.about-text {
    font-family: "ItalianOldStyleMTStd";
    font-size: clamp(20px, 5vw, 36px);
}

.resources-list a {
    color: black;
    font-size: 30px;
    text-decoration: none;
    white-space: normal;
    word-wrap: break-word;
}

.gallery img {
    max-width: 170px;
    height: max-content;
}

.chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 350px);
    grid-gap: 16px 25px;
    place-content: center;
    border-radius: 4px;
}

.GalleryBoxs {
    text-decoration: none;
    color: #000;
}

.chart-grid img {
    width: 100%;
    object-fit: cover;
    max-height: 177px;
    border-radius: 4px;
}

.chart-grid p {
    font-family: "MyriadPro-Regular";
    margin: 10px 0;
}

footer {
    /* position: absolute;
    bottom: 0; */
    font-size: 1.5vw;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background-color: #fff;
}

.navbar-toggler {
    display: none;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 3px;
    border-radius: 5px;
}

@media (max-width: 991px) {

    .about-text,
    .resources-list a {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        background-color: #fff;
        min-height: auto;
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100%;
        transition: left 0.3s ease;
        z-index: 1000;
    }

    .sidebar.active {
        left: 0;
    }

    .navbar-toggler {
        display: block;
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 1100;
    }

    .logo {
        font-size: 20px;
    }

    .menu-links a,
    .resources-list a {
        font-size: 18px;
    }

    .content-body {
        height: calc(100vh - 150px);
    }

    .gallery img {
        max-width: 100%;
        height: max-content;
    }

    footer {
        font-size: 18px;
    }
}