:root {
    --auburn_blue: #0C2340;
    --auburn_orange: #cc4e0b;
    --auburn_second_blue: #006c9a;
    --auburn_second_orange: #E87722;
    --background: #ffffff;
    --black: #6E6E6E;
    --gray: #e7e9ec;
    --phone_red: #ff0000;
}


body {
    margin: 0;
    background-color: var(--gray);
    font-family: sans-serif;
}


#launch-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: relative;
    opacity: 0;
    animation: fadeIn 0.1s forwards;
    background-color: rgba(0, 0, 0, 0.1);

}

#logo {
    width: 60vw;
    max-width: 650px;
    height: auto;
    margin-bottom: 20px;
    transition: all 1s ease;
    animation: slide-down 0.8s forwards;
}

#department-buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 10px;
    margin-left: 20px;
    opacity: 0;
    animation: slide-up 0.8s forwards 0.5s;
}

.department-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    background-color: var(--gray);
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: slide-up 0.7s forwards;
    animation-delay: 1s;
}

.department-icon {
    width: 35px;
    height: 35px;
    /*border-radius: 50%;*/
    object-fit: cover;
}


.main-content {
    display: none;
    flex-direction: column;
    height: 100vh;
    background-color: var(--background);
    overflow: hidden;
}

.header_content {
    flex: 10%;
    display: flex;
    background-color: var(--background);
    height: 100%;
    width: 100%;
}


.body_content {
    flex: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--background);
    height: 100%;
    width: 100%;
    overflow: hidden;
}


.top_view {
    flex: 0 0 8%;
    display: flex;
    flex-direction: row;
    /*overflow: hidden;*/
}


.tabs {
    display: flex;
    flex: 100%;
    flex-grow: 0;
    margin-top: 1vh;
    position: relative;
    border-bottom: 2px solid #ddd;
    justify-content: space-around;
    padding-bottom: 5px;
}


.profile_au_logo {
    flex: 20%;
    display: none;
    width: 100%;
}

.profile_au_logo_section {
    display: flex;
    justify-content: center;
    padding-top: 10px;
    padding-left: 10px;
    width: 100%;
}

#profile_main_logo {
    max-width: 200px;
    max-height: 100px;
    height: auto;
    margin-bottom: 10px;
    transition: all 1s ease;
    animation: slide-down 0.6s forwards;
}


.tab-button {
    flex: 1;
    padding: 10px;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    gap: 0.8em;
    flex-direction: column;
    align-items: center;
    color: var(--black);
}

.tab-button i {
    font-size: 1.5em;
    transition: transform 0.3s ease, color 0.3s ease;
}

.tab-button.active {
    color: var(--auburn_orange);
    font-weight: bold;
}

.tab-button.active i {
    transform: scale(1.3);
    color: var(--auburn_orange);
}

.active-indicator {
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--auburn_orange);
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.tab-button.active .active-indicator {
    width: 60%;
    left: 20%;
}

.tab-content {
    display: none;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.1s ease-in-out;
    overflow: hidden;
}

.active-tab {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.search_section {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    width: 100%;
    padding-top: 10%;
    background: var(--background);
    align-items: center;
    transition: padding-top 0.8s ease-in-out;
    overflow: hidden;
}

.search_section.move_up {
    padding-top: 2%;
}


.body_logo {
    flex: 0 0 20%;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}


.logo_section {
    display: flex;
    justify-content: center;
    padding-top: 10px;
    padding-left: 10px;
    /*height: 100%;*/
    width: 40%;
}

#main_logo {
    max-width: 600px;
    height: auto;
    padding: 2vh 2vw;
    transition: all 1s ease;
    animation: slide-down 0.6s forwards;
}

.search_content {
    flex: 0 0 80%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: var(--background);
    align-items: center;
    overflow: hidden;
}


.search_button_parent {
    flex: 0 0 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.category-keywords-container {
    flex: 80%;
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    width: 80%;
    height: 100%;
    overflow: hidden;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--auburn_orange);
    font-size: 1.2em;
    color: var(--auburn_orange);
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.category-header:hover {
    font-weight: bold;
    border-bottom: 3px solid var(--auburn_orange);

}

.arrow-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.category-content {
    display: none;
    padding: 10px;
    border-top: 2px solid var(--gray);
    background: var(--background);
    overflow: hidden;
}

.expanded .arrow-icon {
    transform: rotate(180deg);
}


.search-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--gray);
    border-radius: 50px;
    max-width: 900px;
    width: 80%;
    /*box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);*/
    box-shadow: 0 8px 12px var(--auburn_blue);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    justify-content: space-between;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1em;
    font-size: 1em;
    border-radius: 50px;
    color: var(--auburn_blue);
    background-color: transparent;
    transition: color 0.3s ease, background-color 0.3s ease;
    min-width: 0;
}

.search-button {
    border: none;
    border-radius: 50%;
    padding: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--background);
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px var(--auburn_orange);
    flex-shrink: 0;
}

.search-button:hover {
    background-color: var(--auburn_orange);
    transform: scale(1.05);
}

.search-icon {
    width: 20px;
    height: 20px;
    fill: var(--auburn_blue);
}


.defined_cat {
    display: flex;
    width: 100%;
    margin-top: 0.3em;
    overflow-y: auto;
    overflow-x: hidden;
}

.keyword-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(200px, 30%, 400px), 1fr));
    gap: 10px;
    width: 100%;
    height: 100%;
}


.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag {
    display: inline-flex;
    align-items: center;
    background-color: var(--auburn_orange);
    font-size: 0.85em;
    color: var(--background);
    cursor: pointer;
    transition: background-color 0.3s ease;

    padding: 5px 10px;
    border-radius: 20px;
}

.tag:hover {
    background-color: var(--auburn_orange);
    color: var(--background);
}


.keyword-category {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 6px;
    background: var(--auburn_second_blue);
    opacity: 1;
    color: var(--background);
    transition: background 0.3s ease;


}

.keyword-item {
    font-size: 0.85rem;
    display: inline-block;
    margin: 5px;
    border: 1px solid var(--auburn_blue);
    cursor: pointer;
    padding: 4px 10px;
    color: var(--auburn_blue);
    border-radius: 20px;
    background: var(--background);
    transition: background 0.3s ease, transform 0.2s ease;
}

.keyword-item:hover {
    background-color: var(--auburn_orange);
    color: var(--background);
    background: var(--auburn_orange);
    transform: scale(1.05);
}

.separator {
    margin-top: 1.2rem;
    border-top: 2px solid var(--auburn_blue);
    width: 96%;
}

.category-wrapper {
    background: var(--background);
    border-radius: 5px;
    border: 1px solid;
    padding-bottom: 0.4em;
    transition: background 0.3s ease;
}


.toggle-icon {
    font-size: 1.2em;
    margin-right: 6px;
    font-weight: bold;
    color: var(--auburn_orange);
    transition: transform 0.3s ease;
}

.keyword-list {
    padding-left: 0.4em;
    display: flex;
    flex-wrap: wrap;
    /*gap: 5px;*/
    transition: max-height 0.3s ease;
}


.remove-icon {
    margin-left: 6px;
    cursor: pointer;
    font-weight: bold;
}


.keyword-item.selected {
    background-color: var(--auburn_second_orange) !important;
    color: white;
    transform: scale(1.05);
}

.suggested-keywords-container {
    display: flex;
    align-items: center;
    margin-top: 1.2em;
    font-size: 1.2em;
    color: #333;
}

.suggested-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    fill: var(--auburn_orange);
}

.suggested-text {
    font-weight: bold;
    color: var(--auburn_orange);
}


@keyframes slide-down {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-up {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-up {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes page-transition {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}


#expert-profile {
    overflow: hidden;
    flex-direction: column;
}

.profile_filtering_view {
    display: flex;
    justify-content: center;
    background-color: var(--auburn_blue);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-button-row {
    display: flex;
    gap: 1em;
    overflow-x: auto;
    width: 100%;
    justify-content: center;
    flex-direction: row;
}

#profile-buttons-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    width: auto;
    padding: 10px;
}

.profile-department-button {
    display: flex;
    justify-content: center;
    cursor: pointer;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 0.7em 1em;
    font-size: 1.1em;
    font-weight: bold;
    background-color: var(--gray);
    border: none;
    border-radius: 1.3em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

.profile-department-button:hover {
    transform: scale(1.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.profile-department-button.active {
    /*border-color: #007bff;*/
    border-color: var(--auburn_orange);
    /*background: linear-gradient(145deg, #007bff, #0056b3);*/
    /*background: linear-gradient(145deg, var(--auburn_orange), var(--auburn_second_orange));*/
    background: var(--auburn_orange);
    color: var(--background);
    /*box-shadow: 0 0 10px rgba(0, 123, 255, 0.8);*/
    box-shadow: 0 0 10px var(--auburn_orange);
    transform: scale(1.15);
    transition: transform 0.3s ease;
}

.profile-department-icon {
    width: 2em;
    height: 2em;
    /*border-radius: 50%;*/
    object-fit: cover;
}

.card_profile-department-icon {
    width: 2.5em;
    height: 2.5em;
    /*border-radius: 50%;*/
    object-fit: cover;
}

.profile-department-button span {
    font-size: 8px;
    color: #333;
}

.profile-department-button.active span {
    color: #fff;
}

#profile-all-departments:hover {
    transform: scale(1.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

#profile-all-departments span {
    color: var(--black);
}

#profile-all-departments.active {
    border-color: var(--auburn_orange);
    background: var(--auburn_orange);
    color: var(--background);
}

#profile-all-departments.active span {
    color: var(--background);
}


.profile-department-button .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--auburn_orange);
    color: white;
    border-radius: 50%;
    padding: 0.2em 0.5em;
    font-size: 0.7em;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: none;
}

.profile-all-departments .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--auburn_orange);
    color: white;
    border-radius: 50%;
    padding: 0.2em 0.5em;
    font-size: 0.7em;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: none;
}

.profile-department-button.active .badge {
    display: block; /* Show when active */
}


.profile_parent {
    flex: 90%;
    display: flex;
    background-color: var(--gray);
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.search_profile {
    flex: 0 0 10%;
    display: flex;
    width: 100%;
    /*height: 10%;*/
    justify-content: center;
    align-items: center;
}

.search_profile .material-icons {
    font-size: 3em;
    cursor: pointer;
    color: var(--auburn_blue);
    background: none;
    border: none;
}

.material-icons:hover {
    color: var(--auburn_orange);
}

.profiles_container {
    flex: 90%;
    display: flex;
    background-color: var(--gray);
    width: 100%;
    /*height: 90%;*/
    justify-content: center;
    align-items: center;
    overflow-y: scroll;
}


#profile_search_input {
    opacity: 0;
    width: 0;
    color: var(--auburn_blue);
    padding: 0.7em 0.6em;
    border: 2px solid #003366;
    border-radius: 25px;
    outline: none;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    transition: width 0.4s ease-in-out, opacity 0.4s ease-in-out;
    background-color: var(--background);
    overflow: hidden;
}

#profile_search_input.open {
    width: 20em;
    opacity: 1;
}


#profile_search_input:focus {
    width: 21em;
    border-color: #f66733;
    box-shadow: 0px 4px 15px rgba(246, 103, 51, 0.5);
}

#profile_search_input::placeholder {
    color: #999;
    transition: color 0.3s ease;
}

#profile_search_input:focus::placeholder {
    color: #f66733;
}


.awesomplete {
    position: relative;
    display: inline-block;
}

.awesomplete > ul {
    background: var(--background);
    border: 1px solid var(--gray);
    border-radius: 5px;
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: 9999;
    max-height: 200px;
    overflow-y: auto;
    list-style: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 90%;
}

.awesomplete > ul > li {
    padding: 10px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background 0.3s ease, color 0.3s ease;
}

.awesomplete mark {
    color: var(--auburn_orange);
    background: none;
    font-weight: bold;
}

.awesomplete > ul > li:hover,
.awesomplete > ul > li[aria-selected="true"] {
    /*background: linear-gradient(to right, #003366, #0059b3);*/
    background: var(--auburn_blue);
    color: white;
}

.awesomplete > ul > li:hover mark,
.awesomplete > ul > li[aria-selected="true"] mark {
    color: var(--auburn_orange);
}

.awesomplete li[aria-selected=true] mark {
    background: none;
}

.department-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    width: 90%;
    box-sizing: border-box;
    position: relative;
}

.department-box.scrollable {
    overflow-y: auto;
}

.search_result {
    display: none;
    align-items: center;
    flex-direction: column;
    border-radius: 10px;
    text-align: center;
    height: 95%;
    width: 90%;
    background-color: red;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.profile-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(400px, 40%, 600px), 1fr));
    gap: 1rem;
    position: absolute;
    top: 7px;
    visibility: visible;
    padding: 3px;
}

.general-info-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    background-color: var(--background);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
    overflow-x: auto;
}


.general-info-card.faded {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    flex-shrink: 0;
    background: var(--auburn_orange);
}

.profile-info {
    display: flex;
    padding-top: 5px;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.profile-name {
    font-size: 1.4em;
    font-weight: bold;
    margin: 0;
    color: var(--auburn_blue);
}

.profile-title {
    font-size: 0.8rem; /* Smaller than the name */
    color: #555; /* Subtle color for secondary text */
    margin: 0.2rem 0 0 0; /* Add slight spacing */
}

.faculty-title {
    font-size: 0.9em;
    font-weight: 500;
    color: var(--black);
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}


.top_profile_info {
    display: flex;
    flex: 0 0 20%;
    padding-top: 10px;
    flex-direction: column;
    justify-content: center;
    gap: 0.5em;
}

.keyword_profile_info {
    display: flex;
    flex: 80%;
    flex-direction: column;
    justify-content: center;
}


.sentinel {
    width: 100%;
    height: 10px;
    background: transparent;
}

.found_researcher_popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    transition: opacity 0.3s ease;
}

.found_researcher_content {
    display: flex;
    align-items: center;
    border-radius: 12px;
    max-width: 850px;
    max-height: 600px;
    width: 95%;
    height: 75%;
    position: relative;
    animation: fadeIn 0.6s forwards;
    border: 2px solid var(--auburn_orange);

}

.popup_general-info-card {
    display: flex;
    flex-direction: row;
    text-align: center;
    height: 100%;
    width: 100%;
    background-color: var(--background);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    overflow: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.popup_general-info-card.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}


.faculty_expertise_keywords {
    font-size: 0.85em;
    display: inline-block;
    margin: 5px;
    background: var(--background);
    border: 1px solid var(--auburn_blue);
    color: var(--auburn_blue);
    padding: 4px 10px;
    border-radius: 20px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.faculty-expertise {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

}

.popup_profile-left {
    display: flex;
    flex: 0 0 40%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.popup_profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.popup_profile-right {
    display: flex;
    flex: 60%;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.popup_right_top {
    flex: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup_right_bottom {
    flex: 0 0 10%;
    display: flex;
    gap: 5px;
    flex-direction: column;
    justify-content: center;
}

.popup_profile-header {
    /*display: flex;*/
    align-items: center;
    font-size: 2em;
    font-weight: bold;
}

.popup_faculty-title {
    font-size: 1em;
    margin-top: 0.5rem;
}

.popup_faculty-department {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.4vh;
    gap: 0.3em;
}

.popup_department-name {
    font-size: 0.9em;
}

.popup_profile-footer {
    display: flex;
    justify-content: center;
    gap: 1.2vw;
    margin-top: 1rem;
}

.popup_profile-icon {
    font-size: 1.6em;
    color: var(--auburn_orange);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.popup_profile-icon:hover {
    transform: scale(1.1);
}

.popup_profile-name {
    font-weight: bold;
    margin: 0;
    color: var(--auburn_blue);
}

.popup_faculty_expertise_keywords {
    font-size: 0.85em;
    display: inline-block;
    margin: 5px;
    color: var(--auburn_blue);
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--background);
    border: 1px solid var(--auburn_blue);
    transition: background 0.3s ease, transform 0.2s ease;
}

.faculty_card-footer {
    display: flex;
    flex: 60%;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    margin-top: 1rem;
}

.faculty_card-icon {
    font-size: 1.2em;
    color: var(--auburn_orange);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.faculty_card-icon:hover {
    transform: scale(1.1);
}

.faculty_card-name {
    font-weight: bold;
    margin: 0;
    color: var(--auburn_blue);
}


.faculty_card_bottom {
    flex: 0 0 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.faculty_card_details {
    flex: 0 0 10%;
    display: flex;
}

.faculty_card-header {
    align-items: center;
    font-size: 1.7em;
    font-weight: bold;
    color: var(--auburn_blue);
}

.faculty_card-title {
    font-size: 0.9em;
}

.faculty_card-department {
    display: flex;
    align-items: center;
    justify-content: center;
    /*margin-bottom: 0.4vh;*/
}

.faculty_card-department_name {
    font-size: 0.9em;
}


.view-profile-btn {
    background-color: var(--auburn_blue);
    color: var(--background);
    border: none;
    padding: 10px 15px;
    font-size: 0.9em;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease-in-out;
}

.view-profile-btn .arrow {
    display: inline-block;
    font-size: 1.5em;
    color: var(--auburn_orange);
    transition: transform 0.3s ease-in-out, content 0.3s;
}

.view-profile-btn:hover .arrow {
    content: ">>>";
    animation: moveArrow 0.5s infinite;
}

@keyframes moveArrow {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
    100% {
        transform: translateX(0);
    }
}


@media screen and (max-width: 1084px), screen and (max-width: 1024px) and (orientation: landscape) {
    body {
        font-size: 0.8em !important;
    }

    .keyword-category {
        font-size: 0.7em;
    }

    .keyword-item {
        font-size: 0.8em;
    }

    .category-header {
        font-size: 0.86em;
    }

    .btn-about-ausme {
        font-size: 0.6em;
    }

    .feedback-button {
        font-size: 0.7em;
    }

    .tool_info .link {
        font-size: 0.8em;
    }

    .powered_by_content {
        font-size: 0.8em;
    }

    .tab-button {
        font-size: 0.7em;
    }

    .profile-button-row {
        justify-content: flex-start;
    }

    #profile-buttons-container {
        gap: 0.6em;
    }

    .profiles_container {
        justify-content: flex-start;
    }

    .department-box {
        width: 100%;
    }

    .profile-cards-container {
        width: 95%;
    }

    .popup_profile-header {
        font-size: 1.2em;
    }

    .popup_right_bottom {
        font-size: 0.85em;
    }

    #main_logo {
        max-width: 300px;
    }

}
