.lock-positioning {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.resource-sidebar {
    width: 80%;
    height: 25vh;
    overflow: inherit;
    position: sticky;
    top: 10%;
}

.resources-display-overview {
    display: flex;
    flex-wrap: wrap;
    border-radius: 5px;
    width: 100%;
    max-width: 1450px;
    margin: 15px;
}

.resources-display-overview-box {
    display: flex;
    flex-wrap: wrap;
    border-radius: 5px;
    width: 100%;
    max-width: 800px;
    margin: 15px;
}

.resources-display-overview-smaller {
    display: flex;
    flex-wrap: wrap;
    border-radius: 5px;
    width: 100%;
    max-width: 500px;
    margin: 15px;
}

.resources-main-display {
    border-radius: 10px;
    background: #4f85ab;
    color: #454545;
    position: relative;
    box-shadow: 0.5 5px 8px rgba(0, 0, 0, 0.1); /* A gentle shadow for depth */
    transition: background 1s ease, transform 0.3s ease;
}

.resources-main-display:hover {
    transform: scale(1.1); /* Scale up the size by 5% on hover */
    background: #d50214 !important;
}

.resources-main-title {
    color: rgb(196, 87, 44);
    font-size: 18px;
    font-weight: bold;
    width: 100%;
}

.resources-title-underlined {
    color: rgb(62, 137, 144);
    font-size: 18px;
    font-weight: bold;
    text-decoration: underline;
    width: 100%;
}

.resources-category {
    color: rgb(150, 198, 119, 1.0);
    font-size: 16px;
    font-weight: bold;
    width: 100%;
}

.resources-subcategory {
    font-size: 16px;
    color: rgb(255, 255, 255);
    padding-left: 20px;
    width: 100%;
}

.resources-sentence {
    font-size: 16px;
    color: rgb(255, 255, 255);
    width: 100%;
}

.resources-subsection {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-direction: column;
}