* {
    font-family: 'Poppins';
}

#library-services {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

#library-services-page {
    display: grid;
    grid-template-columns: 70% 30%;
    grid-template-rows: 1fr;
    width: 80%;
    margin: 0 auto;
}

.library-services-page__title {
    margin-bottom: 2rem;
    color: #000000;
    font-size: 2rem;
    padding: 0 3rem;
}

.library-services-page__right__title {
    font-size: 2.7rem;
    font-weight: 200;
    color: #0f1b31;
    margin-bottom: 1rem;
    font-family: 'Poppins' !important;
    text-align: left;
    width: 100%;
}

.library-services-page__left {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    padding: 3rem;
}

.library-services-page__left.active {
    display: flex;
}

.library-services-page__right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: fit-content;
    border-left: 1px solid #000000;
    padding: 3rem;
}

.library-services-page__right__links {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: start;
    line-height: 2.5rem;
}

.library-services-page__right__links__item {
    color: #0f1b31;
    text-decoration: none;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.library-services-page__right__links__item:hover {
    color: var(--theme-color);
}

.library-services-page__right__links__item .active {
    color: var(--theme-color);
}

.library__vmg__page__content__item__description {
    font-size: 1.1rem;
    color: #333;
    text-align: left;
    font-family: 'Poppins' !important;
    font-weight: 300;
}

#list {
    line-height: 3rem;
    padding: 1rem
}


#library-services-page__tab-headers {
    display: none;
    flex-wrap: wrap;
    width: 100%;
}

#library-services-page__tab-headers > button {
    background-color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
    flex: 1;
    text-align: center;
    font-family: 'Poppins';
}

#library-services-page__tab-headers > button:hover {
    background-color: #ddd;
}

#library-services-page__tab-headers > button.active {
    border-top: 5px solid var(--theme-color);
    background-color: #f3f7fb;
    color: var(--theme-color);
    font-weight: 450;
}

.library-services-page__tab-content {
    display: none;
    padding: 2rem;
    line-height: 2rem;
    text-align: left;
    background-color: #f3f7fb;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.library-services-page__tab-content li {
    padding: 0.8rem;
}

.library-services-page__tab-content__title {
    color: #074ccc;
    font-size: 1.5rem;
}

.library-services-page__tab-content__description {
    margin: 1rem 0;
}

.library-services-page__tab-content__subtitle {
    font-style: italic;
    font-size: 1.2rem;
    margin: 1rem 0;
}

#reference-book-services-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 2rem;
    line-height: 2rem;
    background-color: #f3f7fb;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.reference-book-services-content__title {
    color: var(--theme-color);
    align-items: start;
}

.reference-book-services-content__description {
    color: #000000;
    padding: 1rem;
}

.reference-book-services-content__subtitle {
    font-size: 1rem;
    font-style: italic;
}

.library-orientation-and-instruction__title {
    align-items: start;
}

#library-orientation-and-instruction-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 2rem;
    line-height: 2rem;
    text-align: left;
    background-color: #f3f7fb;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


#inter-library-loan-referral-service-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 2rem;
    line-height: 2rem;
    text-align: left;
    background-color: #f3f7fb;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#internet-service-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 2rem;
    line-height: 2rem;
    text-align: left;
    background-color: #f3f7fb;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* Media Query for Portrait Orientation */
@media screen and (orientation: portrait) {
    .library-services__top {
        padding: 0.5rem 1rem;
        height: auto;
    }

    .library-services__top__links {
        flex-direction: column;
        padding: 0.5rem;
        height: auto;
        justify-content: center;
        margin: 0;
    }

    .library-services__top__links__list {
        margin: 0.5rem 0;
        font-size: 0.8rem;
    }

    .library-services__top__links__list a {
        font-size: 0.8rem;
    }

    #library-services__top__title {
        display: flex;
        align-items: center;
    }

    .library-services-page {
        padding: 2rem 1rem;
    }

    .library-services-page__title {
        font-size: 1.25rem;
        padding: unset;
        margin: unset;
    }

    .library-services-page {
        grid-template-columns: 1fr;
        padding-bottom: 5rem;
    }

    .library-services-page__right__title {
        font-size: 1.5rem;
    }

    .library-services-page__left {
        padding: 1rem;
    }

    .library-services-page__right {
        padding: 1rem;
        border-left: unset;
    }

    .tablinks {
        font-size: 0.6rem;
        padding: 10px 12px;
    }

    .library-services-page__tab-content {
        padding: 1.3rem;

    }
}