* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-feature-settings: 'pnum' on, 'lnum' on;
    font-family: "Hubot Sans", serif;
}

/* :root{
    --bg-color:rgb(230, 230, 230);
    --card-coror: rgb(241, 241, 241);
    --heading-color1:rgb(255,255,255);
    --heading-color2:rgb(40, 40, 40);
    --text-body:rgba(0,0,0,0.6);
    --text-overline1:rgba(255,255,255,0.4);
    --text-overline2:rgba(0,0,0,0.4);
    --accent-color: #822000;
    --card-bg: #232323;
    --card-bg-border: solid #424242;
} */

body{   
    background-color: var(--bg-color);
    color: var(--heading-color1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Text Start */

.text-projectpage-overline {
    color: var(--text-overline1);
    text-align: left;
    letter-spacing: 1.5px;
    margin-top: 1px;
    font-size: 11px;
    font-weight: 500;
    line-height: 19px;
}

.text-projectpage-heading {
    color: var(--heading-color1);
    letter-spacing: -.1px;
    text-shadow: 0 0 20px rgba(255, 255, 255, .2), 0 -6px 15px rgba(0, 87, 255, .25), 0 5px 15px rgba(255, 90, 0, .1);
    font-size: 40px;
    font-weight: 500;
    line-height: 125%;
    font-family: "Cinzel", serif;
}

.text-projectpage-subheading {
    color: var(--heading-color1);
    letter-spacing: .1px;
    flex: 0 auto;
    font-size: 24px;
    font-weight: 500;
    line-height: 125%;
}

.text-projectpage-body {
    color: var(--text-body);
    letter-spacing: .4px;
    flex: 1;
    font-size: 16px;
    font-weight: 300;
    line-height: 150%;
}

.text-highlighted-body {
    color: rgba(242, 242, 242, .9);
    text-shadow: 0 0 10px rgba(242, 242, 242, .4);
    font-weight: 400;
}

/* Text End */

.section-general {
    background-image: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 1200px;
    display: flex;
    gap: 3rem;
    padding: 3rem 0 120px 0;
}

.divider{
    width: 100%;
    border: 1px var(--card-bg-border);
}

.section-general-header{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.section-general-header h2{
    font-family: "Cinzel", serif;
}

.container-general {
    grid-row-gap: 96px;
    flex-direction: column;
    width: 100%;
    display: flex;
}

.overline-wrapper {
    grid-column-gap: 12px;
    align-self: flex-start;
    align-items: center;
    display: flex;
}

.icon-section-dot {
    background-color: white;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    box-shadow: 0 0 15px #ffffff;
}

.search-field{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
    /* background: url(/SanityKeeper/img/stone-2.jpg); */
    /* background: url(../img/stat-block-top-texture.png), url(../img/paper.jpg); */
    background-color: var(--card-color);
    border-radius: .5rem;
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat, repeat; 
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.234);
    width: 1200px;
}

/* .search-field::before, .search-field::after {
    content: "";
    display: block;
    background: var(--accent-color);
    background-size: 100% 100%;
    height: 6px;
    position: absolute;
    left: -3px;
    right: -3px;
} */
  
.search-field::before {
    top: -3px;
}
  
.search-field::after {
    bottom: -3px;
}
  
*, *::before, *::after {
    box-sizing: inherit;
    -webkit-tap-highlight-color: transparent;
    outline: 0;
}
  
*, *::after, *::before {
    box-sizing: inherit;
}

.group {
    display: flex;
    flex-direction: column;
    line-height: 28px;
    position: relative;
    padding: 1.5rem;
    gap: 2rem;
    width: 100%;
    /* background-image: radial-gradient(circle closest-corner at 30% 0, rgba(242, 242, 242, 0.15), rgba(0, 0, 0, 0)); */
}

.search-bar{
    position: relative;
    padding: 0 1rem;
    padding-left: 2.75rem;
    border-bottom: 2px solid rgba(0,0,0,0.4);    
    transition: 0.3s ease;
}

.input {
    position: relative;
    width: 100%;
    height: 40px;
    line-height: 28px;
    background-color: transparent;
    border: none;
    outline: none;
    color: #0d0c22;
    transition: 0.3s ease;
}
  
.input::placeholder {
    color: #757575;
}
  
.search-bar:focus,
.search-bar:hover,
.input:focus {
    outline: none;
    border-color: var(--accent-color);
}
  
#icon {
    position: absolute;
    left: 1.75rem;
    font-size: 2rem;
}

#options{
    display: flex;
    gap: 1rem;
    margin-right: 1.5rem;
}

.advanced-search{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-options{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem .5rem;
}

.search-footer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items:end;
}

.search-btn-box{
    display: flex;
    gap: var(--margin-m);
}

.field-box{
    width: 100%;
    display: flex;
    flex-direction: column;
}

.field{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: .75rem;
    justify-content: flex-start;
    padding: 1rem  0 2rem 0;
}

.field-list{
    width: 100%;
    display: none;
    flex-direction: column;
    gap: .5rem;
    padding: 2rem 0;
}

.creature-card{
    position: relative;
}

.creature-card a{
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 8rem;
    border-radius: var(--margin-s);
    overflow: hidden;
    text-decoration: none;
    background: url(../img/stone-2.jpg);
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat, repeat;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.234);
    transition: all .3s ease-in-out;
}

.creature-list a{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 4rem;
    background-color: var(--card-bg);
    border: 1px var(--card-bg-border);
    border-radius: .5rem;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.234);
    transition: all .3s ease-in-out;
}

.creature-list a:hover{
    border-color: var(--accent-color);
}

.creature-list-body{
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: .5rem 1rem;
}

.creature-card a:hover .creature-card-description{
    border-color: var(--accent-color);
}

.creature-card-bg{
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 8rem;
    height: 100%;
    opacity: 1;
    transition: all .3s ease-in-out;
    overflow: hidden;
}

.creature-list-bg{
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 4rem;
    height: 100%;
    overflow: hidden;
}

.creature-list-creator{
    display: flex;
    flex-direction: row;
    flex: 1;
}

.creature-card-bg img{
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 8rem;
}

.creature-card-body{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width:16.5rem;
    background-image: radial-gradient(circle closest-corner at 30% 0, rgba(242, 242, 242, 0.15), rgba(0, 0, 0, 0));
}

.creature-card-header{
    padding: var(--margin-s) var(--margin-m);
    position: relative;
    color: var(--text-body);
}

.creature-card-icon{
    border-radius: 4px;
    font-size: 3em;
    color: var(--accent-color);
    height: 50px;
    width: 50px;
    margin-right: 10px;
}

.creature-card-header-primary{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.creature-card-header-primary .ui{
    color: #ffffff;
    line-height: 1.2;
    font-size: 1.2em;
}

.creature-card-source{
    color: #979AA4;
    font-size: 12px;
    margin-bottom: 5px;
}

.creature-card-description{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .5rem;
    border-top: 1px var(--card-bg-border);
    line-height: 1.5;
    padding: var(--margin-xs) var(--margin-s);
    background: var(--card-bg);
    transition: .3s ease-in-out;
}

.creature-card-description i{
    font-size: 1.5em;
    color: var(--accent-color);
}

.dropdown {
    height: 0%;
    width: 100%;
    display: none;
    position: absolute;
    background-color: var(--card-color);
    flex-direction: column;
    height: min-content;
    padding: .5rem;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.234);
    border-bottom: 4px solid var(--accent-color);
    top: 3rem;
    color: var(--heading-color1);
    font-weight: normal;
    left: 0;
    z-index: 100;
}

.selected_element {
    border-bottom: 2px solid var(--accent-color);
    background: linear-gradient(135deg, #ffffff00, var(--accent-color));
    padding: 0 .5rem;
    transition: all 0.3s ease;
}

.dropdown-option{
    border-bottom: 2px solid rgba(0, 0, 0, 0);
    transition: all 0.3s ease;
}

.dropdown-option:hover {
    cursor: pointer;
    border-color: var(--accent-color);
}

.selected_element:hover,.creature_data:hover{
    border-color: var(--accent-color);
    transform: scale(1.015);
}

#new-adventure-square{
    position: fixed;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: .5rem;
    border-radius: .5rem;
    border: 2px solid var(--accent-color);
    background-color: var(--card-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.234);
}

#new-adventure-form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .5rem;
}

#new-adventure-form input:first-child{
    height: 40px;
}

.custom-file-upload {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: space-between;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border: 2px dashed #4e4e4e;
    background-color: var(--card-color);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0px 48px 35px -48px rgba(0, 0, 0, 0.1);
}

.custom-file-upload .icon {
    display: flex;
    align-items: center;
    justify-content:center;
}

.custom-file-upload .icon i {
    font-size: 80px;
    color: var(--text-body);
}

.custom-file-upload .text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-file-upload .text span {
    font-weight: 400;
}

.custom-file-upload input {
    display: none;
}

.switch-box{
    display: flex;
    flex-direction: row;
    gap: .5rem;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
}

.hidden_element {
    display: none !important;
}