/* =========================================================
JUMPHUB
mykindlebooks.net/jumphub/
Mobile-first personal Internet start page
========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  }

html {
scroll-behavior: smooth;
}

body {
font-family: Arial, Helvetica, sans-serif;
background: #f4f6f8;
color: #202124;
line-height: 1.5;
}

a {
color: #1558a6;
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

/* =========================
PAGE CONTAINER
========================= */

.container {
width: 100%;
max-width: 760px;
margin: 0 auto;
background: #ffffff;
min-height: 100vh;
padding-bottom: 40px;
}

/* =========================
HEADER
========================= */

header {
text-align: center;
padding: 22px 16px 14px;
background: #ffffff;
}

.logo {
font-size: 2rem;
font-weight: 800;
letter-spacing: -1px;
color: #111827;
}

.logo span {
color: #1769aa;
}

.tagline {
margin-top: 3px;
font-size: 0.95rem;
color: #667085;
}
/* =========================
   JUMPHUB HERO IMAGE
   ========================= */

.hero-image {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================
SEARCH
========================= */

.search-area {
padding: 8px 16px 18px;
}

.search-form {
display: flex;
width: 100%;
}

.search-form input {
flex: 1;
min-width: 0;
padding: 12px 14px;
border: 1px solid #c9ced6;
border-right: none;
border-radius: 8px 0 0 8px;
font-size: 16px;
outline: none;
}

.search-form input:focus {
border-color: #1769aa;
}

.search-form button {
padding: 0 18px;
border: none;
border-radius: 0 8px 8px 0;
background: #1769aa;
color: #ffffff;
font-size: 15px;
font-weight: 700;
cursor: pointer;
}

.search-form button:hover {
background: #10548a;
}

/* =========================
SECTION HEADINGS
========================= */

.section {
padding: 0 16px;
margin-bottom: 20px;
}

.section-title {
font-size: 1rem;
font-weight: 800;
color: #111827;
padding-bottom: 7px;
margin-bottom: 7px;
border-bottom: 2px solid #e5e7eb;
}

/* =========================
MY PERSONAL LINKS
========================= */

.personal-links {
display: flex;
flex-wrap: wrap;
gap: 7px 12px;
align-items: center;
}

.personal-link {
font-size: 15px;
font-weight: 600;
}

.add-link {
display: inline-block;
padding: 5px 10px;
border: 1px dashed #1769aa;
border-radius: 5px;
color: #1769aa;
background: #f7fbff;
font-size: 14px;
font-weight: 700;
cursor: pointer;
}

.add-link:hover {
background: #eaf5ff;
text-decoration: none;
}

/* =========================
QUICK LINKS
========================= */

.quick-links {
display: flex;
flex-wrap: wrap;
gap: 8px;
}

.quick-link {
padding: 6px 11px;
background: #f2f4f7;
border: 1px solid #dde1e6;
border-radius: 6px;
font-size: 14px;
font-weight: 700;
color: #253858;
}

.quick-link:hover {
background: #e9edf2;
text-decoration: none;
}

/* =========================
AMAZON DROPDOWN
========================= */

.amazon-menu {
position: relative;
display: inline-block;
}

.amazon-button {
padding: 6px 11px;
background: #fff3d6;
border: 1px solid #e5b84b;
border-radius: 6px;
color: #222222;
font-size: 14px;
font-weight: 700;
cursor: pointer;
}

.amazon-dropdown {
display: none;
position: absolute;
top: 100%;
left: 0;
z-index: 1000;
width: 230px;
margin-top: 4px;
padding: 5px 0;
background: #ffffff;
border: 1px solid #d8dde5;
border-radius: 7px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.amazon-dropdown.show {
display: block;
}

.amazon-dropdown a {
display: block;
padding: 9px 13px;
color: #202124;
font-size: 14px;
}

.amazon-dropdown a:hover {
background: #f4f6f8;
text-decoration: none;
}

/* =========================
STICKY A-Z NAVIGATION
========================= */

.az-nav {
position: sticky;
top: 0;
z-index: 500;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2px;
padding: 7px 8px;
margin-bottom: 14px;
background: rgba(255, 255, 255, 0.97);
border-top: 1px solid #e5e7eb;
border-bottom: 1px solid #d7dce2;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.az-nav a {
min-width: 23px;
padding: 3px 2px;
text-align: center;
font-size: 13px;
font-weight: 800;
color: #1769aa;
border-radius: 4px;
}

.az-nav a:hover {
background: #eaf4fc;
text-decoration: none;
}

/* =========================
A-Z DIRECTORY
========================= */

.directory {
padding: 0 16px;
}

.letter-section {
scroll-margin-top: 60px;
margin-bottom: 16px;
}

.letter-heading {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 3px;
padding-bottom: 3px;
border-bottom: 1px solid #e6e8eb;
}

.letter {
font-size: 1.35rem;
font-weight: 900;
color: #1769aa;
}

.site-list {
list-style: none;
}

.site-list li {
display: flex;
align-items: center;
min-height: 31px;
border-bottom: 1px dotted #e5e7eb;
}

.site-list li:last-child {
border-bottom: none;
}

.site-list a {
flex: 1;
padding: 4px 2px;
font-size: 15px;
}

/* =========================
FAVORITE STAR
========================= */

.favorite-btn {
flex: 0 0 auto;
border: none;
background: transparent;
padding: 4px 7px;
font-size: 19px;
line-height: 1;
color: #9aa0a6;
cursor: pointer;
}

.favorite-btn:hover,
.favorite-btn.active {
color: #d69e00;
}

/* =========================
ADD PERSONAL LINK FORM
========================= */

.add-link-panel {
display: none;
margin-top: 12px;
padding: 12px;
background: #f8fafc;
border: 1px solid #dfe4ea;
border-radius: 8px;
}

.add-link-panel.show {
display: block;
}

.add-link-panel label {
display: block;
margin: 8px 0 3px;
font-size: 13px;
font-weight: 700;
}

.add-link-panel input {
width: 100%;
padding: 9px 10px;
border: 1px solid #cbd1d8;
border-radius: 5px;
font-size: 16px;
}

.form-actions {
display: flex;
gap: 8px;
margin-top: 10px;
}

.save-button,
.cancel-button {
border: none;
border-radius: 5px;
padding: 8px 13px;
font-size: 14px;
font-weight: 700;
cursor: pointer;
}

.save-button {
background: #1769aa;
color: #ffffff;
}

.cancel-button {
background: #e7e9ec;
color: #333333;
}

/* =========================
AFFILIATE / PARTNER MARK
========================= */

.partner-mark {
margin-left: 5px;
font-size: 10px;
color: #777777;
vertical-align: middle;
}

/* =========================
BOTTOM SEARCH
========================= */

.bottom-search {
margin-top: 30px;
padding: 20px 16px;
border-top: 1px solid #e4e7eb;
}

/* =========================
FOOTER
========================= */

footer {
padding: 10px 18px 25px;
text-align: center;
font-size: 12px;
line-height: 1.6;
color: #747b85;
}

footer a {
color: #5e6875;
}

/* =========================
DESKTOP
========================= */

@media (min-width: 700px) {

```
body {
    padding: 20px 0;
}

.container {
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

header {
    padding-top: 28px;
}

.logo {
    font-size: 2.35rem;
}

.site-list li {
    min-height: 33px;
}

.az-nav a {
    min-width: 25px;
}
```

}

/* =========================
SMALL PHONES
========================= */

@media (max-width: 380px) {

```
.logo {
    font-size: 1.75rem;
}

.section,
.directory,
.search-area {
    padding-left: 11px;
    padding-right: 11px;
}

.az-nav {
    padding-left: 4px;
    padding-right: 4px;
}

.az-nav a {
    min-width: 21px;
    font-size: 12px;
}
```

}
