:root {
    --background-color: #FFF;

    --text-color: #555;
    --link-color: #2A8CB7;
    --link--visited-color: #8F00F5;
}

html[data-theme='light'] {
    --background-color: #FFF;
    --background-transparent: rgba(255, 255, 255, 0.95);
    --background-color-accent: #E0E0E0;
    --text-color: #555;
    --link-color: #2A8CB7;
    --link--visited-color: #8F00F5;
   
}

html[data-theme='dark'] {
    --background-color: #1c1b22;
    --background-transparent: rgba(28, 27, 34, 0.95);
    --background-color-accent: #383644;
    --text-color: #F7F8F8;
    --link-color: #69BADD;
    --link--visited-color: #BB5CFF;
}

#theme-toggle {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5em;
    padding: 6px;
    border: none;
    background-color: transparent;
    z-index: 600;

}

[data-theme='light'] #theme-toggle {
    filter: contrast(70%) brightness(120%) opacity(40%);
}

[data-theme='dark'] #theme-toggle {
    filter: contrast(70%) brightness(130%) opacity(40%);
}

[data-theme='light'] #theme-toggle:hover {
    filter: none;
    cursor: pointer;
}

[data-theme='light'] #theme-toggle:active {
    font-size: 1.45em;
}

[data-theme='dark'] #theme-toggle:hover {
    filter: none;
    cursor: pointer;
}

[data-theme='dark'] #theme-toggle:active {
    font-size: 1.45em;
}

[data-theme='light'] #theme-toggle::after {
    content: "\1F31E";
}

[data-theme='dark'] #theme-toggle::after {
    content: "\1F319";
}
body {
    line-height: 1.5;
    color: var(--text-color);
    background: var(--background-color);
    font-family: "Helvetica", "Arial", sans-serif;
}

h2 {
    margin-top: 1em;
    padding-top: 1em;
}

label {
    padding-left: 10px;
}

a {
    color: var(--link-color);
}

a:visited {
    color: var(--link--visited-color);
}

.menu-bar {
    height: 40px;
    position: sticky;
    z-index: 500;
    box-shadow: 0 4px 2px -2px rgba(0,0,0,.15);
    padding-left: 1rem;
    padding-right: 1rem;
    /* background-color: aqua; */
}

.menu-bar>a {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.menu-bar>a>span {
    margin:0;
    margin-left: 5px;
    margin-top: 5px;
    color: var(--text-color);
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100%;
    font-family: Helvetica, Arial, sans-serif;
}
h1{ min-height:50px }
footer{ min-height:50px }

body{ 
    display:flex; 
    flex-direction:column; 
    padding-bottom: 0px;
    padding-top: 0px;
    align-items: stretch;
}

* {
    box-sizing: border-box;
  }
  
footer {
    margin-top:auto; 
    text-align: center;
}

.hero {
    margin: 3rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.hero > * {
    display: flex;
    justify-self: center;
    align-self: center;
    flex-direction: column;
}

.hero > img {
    width: 10rem;
    height: 10rem;
}

.hero > h1 {
    font-size: 3rem;
    margin: 0.25rem;
}

.hero > p {
    font-size: 1.5rem;
    margin: 0.5rem;
}

.hike-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;

}
.hike-grid>div {
    display: flex;
    justify-content: center;
    gap: 3.5rem 2rem;
    flex-wrap: wrap;
    max-width: calc(900px + 4rem);
    /* grid-auto-rows: auto; */
    /* grid-gap: 3rem; */
}

.hike-card h2 {
    margin: 0;
    padding-top: 0.25rem;
}

.hike-card img {
    height: 300px;
    width: 300px;
    background-color: var(--background-color-accent);
    border-radius: 0.5rem;
    filter:drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.1));
}

.hike-card img:title {
    display: none;
}
.trip-labels {
    display: flex;
    width: 100%;
    justify-content: left;
}

.trip-labels>span {
    display: block;
    color: white;
    background-color: #00CC8F;
    border-radius: 0.5rem;
    padding: 0px 8px;
    margin: 0px 4px;
    font-size: 0.8rem;
    filter:drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.1));
}

.trip-labels>span:first-child {
    margin-left: 0;
}
