body {
    background-color: rgb(28, 45, 69);
    color: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0 0 6rem 0;
}

a {
    color: inherit;
    text-decoration: none;
}

h1 {
    font-weight: 100;
}

.slim {
    font-weight: 100;
}

.full-container {
    max-width: 52rem;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

nav {
    /* background-color: #000e0d; */
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.561);
    padding-top: 0.6rem;
    padding-bottom: 1rem;
}

.stack {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.line-up {
    display: flex;
    flex-direction: row;
    column-gap: 1rem;
    align-items: center;
}

.error {
    color: rgb(216, 73, 73);
}

.main-content {
    margin: auto;
    max-width: 52rem;
    padding: 0 2rem;
}

.input-container {
    display: flex;
    flex-direction: column;
    row-gap: 6px;
}

.form-fields {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.btn-primary {
    padding: 0.5rem 1rem;
    background-color: #ffee60;
    text-transform: capitalize;
    cursor: pointer;
    border: 1px solid #ffee60;
    border-radius: 4px;
    font-size: 1rem;
}

.btn-secondary {
    padding: 0.5rem 1rem;
    background-color: white;
    text-transform: capitalize;
    cursor: pointer;
    border: 1px solid white;
    border-radius: 4px;
    font-size: 1rem;
}

.btn-tertiary {
    padding: 0.5rem 0rem;
    color: white;
    background-color: transparent;
    text-transform: capitalize;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.btn-delete {
    padding: 0.5rem 1rem;
    color: rgb(216, 73, 73);
    background-color: transparent;
    text-transform: capitalize;
    cursor: pointer;
    border: 1px solid white;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
}

.btn-entity {
  background-color: white;
  border: none;
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
}

.search-bar {
    display: flex;
    max-width: 400px;
    background-color: white;
    border-radius: 4px;
    padding-left: 4px
}

.search-bar input {
    font-size: 1rem;
    width: 100%;
    border: none;
}

.search-bar input:focus {
    outline: none;
    box-shadow: none;
}

.toggle-container {
    display: flex;
}

.toggle {
    background-color: rgb(195, 195, 195);
    color: black;
    padding: 0.2rem 1rem;
    text-transform: capitalize;
    cursor: pointer;
    font-size: 0.8rem;
    border-bottom: 4px solid rgb(171, 171, 171);
}

.toggle:nth-child(even) {
    border-radius: 0 4px 4px 0;
    border-right: 1px solid rgb(171, 171, 171);
}

.toggle:nth-child(odd) {
    border-radius: 4px 0 0 4px;
}

.selected {
    background-color: white;
    border-bottom: 4px solid #ffee60;
}

.card {
    border-bottom: 0.5px solid white;
}

.top-1 {
    margin-top: 1rem;
}

h1, h2, h3 {
    margin-top: 1rem;
    margin-bottom: 0.4rem;
}

ul {
    margin: 0.4rem 0;
    list-style-type:square;
}

.sub-text {
    font-size: 0.8rem;
}

.disabled {
    opacity: 0.6;
    cursor: auto;
}

.warning {
    color: rgb(216, 73, 73);
    font-size: 0.8rem;
    text-transform: lowercase;
    padding: 0 6px; 
}

.empty-img {
    background-color: rgb(69, 81, 97);
    height: 120px;
    width: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.med-input {
    max-width: 280px;
}

label {
    text-transform: capitalize;
}

@keyframes hide-toast {
    0% {opacity: 0.95;}
    80% {opacity: 0.95;}
    100% {opacity: 0;}
}

.error-toast {
    animation: 5s 1 hide-toast;
    position: fixed;
    top: 50px;
    left: 50px;
    opacity: 0;
    min-width: 300px;
    height: 60px;
    padding: 0.5rem;
    border-radius: 2px;
    background-color: rgb(216, 73, 73);
    display: flex;
    align-items: center;
}

.search-results {
    position: absolute;
    background-color: white;
    border: 1px solid black;
    color: black;
    border-radius: 4px;
    top: 46px;
    left: 0px;
    padding: 0.2rem 0;
    max-height: 100px;
    overflow: scroll;
    z-index: 1;
}

.search-result {
    padding: 0 0.5rem;
}

.search-result:hover {
    background-color: rgba(28, 45, 69, 0.283);
    cursor: pointer;
}

button:hover {
    cursor: pointer;
}

ul {
    padding: 0 1rem;
}

input[readonly] {
    border: none;
    background-color: transparent;
    color: white;
}

.modal-container {
    position: fixed;
	top:0px;
	bottom: 0px;
	left:0px;
	right:0px;
    display: flex;
    justify-content: center;
	background-color:rgba(0,0,0,0.5);
	z-index:1000;
}

.modal-body {
    position:fixed;
    border: 2px solid white;
    background-color: rgb(28, 45, 69);
    width: 80vw;
    padding: 0 2rem 2rem 2rem;
    max-width: 600px;
}

.float-btn {
    position: fixed;
    bottom: 2rem;
    right: 50%;
    transform: translate(50%, 0%);
}

.x-btn {
    position: absolute;
    right: 32px;
    top: 32px;
    background-color: transparent;
    border: none;
    color: white;
    font-size: 28px;
}

.yellow {
    color: #ffee60;
}

.section-intro {
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.561);
    font-size: 2rem;
    background: url('/static/aaron-burden-UIib0bAvWfs-unsplash.jpg');
    background-size: cover;
    height: 300px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    display: grid;
    grid-template-columns: 60% 40%;
    align-items: center;
}

@keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
.fade-in {
    animation-name: fadeIn;
    animation-timing-function: cubic-bezier(0.455, 0.03, 0.515, 0.955);
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

.climb-search-results {
    margin-top: 1rem;
}

table {
    border-collapse: collapse;
    width: 100%;
    max-width: 700px;
}

tr {
    border-top: 0.5px solid white;
    border-bottom: 0.5px solid white;
}

tr:first-child {
 border-top: none;
}

th {
    text-transform: uppercase;
    text-align: left;
}

th, td {
    padding: 0.5rem;
}

.caps {
    text-transform: capitalize;
}

.clickable:hover {
    text-decoration: underline;
}

.ascent-card {
    border-bottom: 0.5px solid white;
}

.ascent-card:first-child {
    border-top: 0.5px solid white;
    padding-top: 1rem;
}

.grade-box {
    width: 50px; 
    height: 14px; 
    border-radius: 4px;
    border: 0.5px solid white;
    display: inline-block; 
}

.forum-card {
    border-bottom: 0.5px solid white;
    padding: 1rem 0;
}

.icon-btn {
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    color: white;
    padding: 0;
}
