@import url("https://fonts.googleapis.com/css2?family=Aleo:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&display=swap");

#app {
    background-color: #f6f4ee;
    display: flex;
    flex-direction: column;
    font-family: "Outfit", Arial, sans-serif;
    font-weight: 200;
    height: 100vh;
    margin: 0;
}

nav {
    height: 48px;
    padding: 8px 16px;
}

main {
    flex: 1 0;
    overflow-y: scroll;
    margin: 8px 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Aleo", "Times New Roman", serif;
    font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

.logo-wrap {
    align-items: center;
    display: flex;
    color: black;
    font-family: "Aleo";
    font-size: 22px;
    font-weight: 700;
    gap: 8px;
    height: 100%;
    text-decoration: none;
}

.logo {
    display: block;
    height: 100%;
}

.search-display-block {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    justify-content: center;
    margin: auto;
    max-width: 600px;
    padding: 0 24px;
    width: 100%;
}

.search-wrap {
    align-items: center;
    background-color: white;
    border: 1px solid black;
    border-radius: 5px;
    display: flex;
    gap: 4px;
    padding: 6px;
    margin: 2px;
}

.search-wrap-focus {
    outline: 1px solid #1e90ff;
}

.search-icon {
    display: block;
    width: 16px;
    height: 16px;
}

.search-bar {
    border: none;
    height: 100%;
    font-size: 16px;
    padding: 0px 4px;
    width: 100%;
}

.search-bar:focus,
.search-bar:focus-visible,
.search-bar:active {
    border: none;
    outline: none;
}

.search-results {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-result-item {
    border-top: 1px solid #dcd9d0;
    display: flex;
    gap: 16px;
    padding: 16px 0;
    padding-right: 16px;
}

.search-result-item:last-child {
    border-bottom: 1px solid #dcd9d0;
}

.search-result-num {
    color: gray;
    font-size: 14px;
    line-height: 16px;
    margin-left: 2px;
}

.search-result-title-link {
    color: midnightblue;
    font-family: "Aleo", "Times New Roman", serif;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 200ms ease-out;
}

.search-result-title-link:visited {
    color: darkslategray;
}

.search-result-title-link:hover, .search-result-title-link:focus-visible {
    color: royalblue;
}
