﻿.search-page {
    position: relative;
    height: 100vh;
}

.search-page-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.search-page-logo {
    position: absolute;
    top: -100px;
}

.search-page-logo-image {
    width: 200px;
    height: 50px;
    animation: logo-float 4s infinite ease-in-out;
}

.search-page-subheading {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.search-page-search-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    width: 100%; /* Adjust the width as needed */
    margin: 0 auto;
    cursor: pointer;
}

.search-page-search-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* Stretch the search bar to fill its container */
    position: relative;
}

.search-page-input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    box-shadow: none;
    font-size: 16px;
    color: black;
}

.search-page-button {
    padding: 10px 20px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 5px;
    box-shadow: none;
    font-size: 16px;
    cursor: pointer;
    margin-left: 10px;
}

.search-page-entity-box {
    display: flex;
    justify-content: center;
}

.search-page-entity {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 8px;
    margin-top: 10px;
    background-color: #f1f1f1;
    color: #555;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

    .search-page-entity.selected {
        background-color: #4285f4;
        color: white;
    }

.search-page-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.search-page-option-group {
    margin-bottom: 10px;
}

.search-page-option-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.search-page-option {
    padding: 8px 16px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

    .search-page-option:hover {
        background-color: #f1f1f1;
    }

.search-page-search-box,
.search-page-entity {
    transform: translateZ(0);
    transition: transform 0.3s ease-out;
}

    .search-page-search-box:hover,
    .search-page-entity:hover {
        transform: scale(1.05) translateZ(0);
    }

.search-page-search-bar.active .search-page-options {
    display: block;
}
