body {
    background-color: #efefef;
    font-family: 'MedievalSharp', sans-serif;
    font-weight: 500;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "MedievalSharp", sans-serif;
    font-weight: 700;
}

p {
    font-family: "Playfair Display", sans-serif;
    font-size: 1.1rem;
}

p a {
    color: #00528f;
    text-decoration: none;
}

input[type]:focus {
    box-shadow: none;
} 

.bg-brand-dark {
    background-color: #09131E !important;
}

.bg-brand-dark-alt {
    background-color: #170e0c !important;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 10px;
    padding: 7px 0;
}

/*NAVBAR*/
.bg-brand-transparent {
    background: #09131ea8;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.navbar-offset {
    height: 56px;
}
.navbar-dark .navbar-toggler {
    border: none;
}
/*END NAVBAR*/

/*CORNER RIBBON*/
#corner-ribbon {
    position: fixed;
    top: 40px;
    right: -110px;
    background: #b53131;
    rotate: 45deg;
    padding: 8px 100px;
    font-size: 15px;
    z-index: 2000;
    text-align: center;
    line-height: 1.2em;
}
#corner-ribbon a {
    color: #fff;
    text-decoration: none;
    display: block;
    font-family: "Roboto Slab";
}
@media only screen and (max-width: 1600px) {
    #corner-ribbon {
        display: none;
    }
}
/*END CORNER RIBBON*/

/*POSTS*/
.post-image {
    width: 100%;
    max-width: 500px;
    border-radius: 0;
    margin-top: 10px;
    margin-bottom: 10px;
}

.post-list-item h2 a {
    text-decoration: none;
}

.post-body h2, .post-body h3, .post-body h4, .post-body h5 {
    margin-bottom: 0;
    margin-top: 20px;
}

.post-body {
    font-size: 18px;
}

.post-list-grid-item {
    margin-top: 20px;
}
.post-list-grid-item a {
    display: block;
    height: 100%;
    text-decoration: none !important;
    background-color: #f8f8f8;
}
.post-list-grid-item h4 {
    color: #212529;
    font-family: 'Roboto';
    font-weight: 600;
    padding: 20px 20px 10px 20px;
}
.post-list-grid-item p {
    color: #212529;
    padding: 0 20px 10px 20px;
}
.post-list-grid-item img {
    width: 100%;
}

.pagination .page-link {
    color: #212529;
    background-color: #c2c2c2e8;
    border: 0;
}

.pagination .active .page-link {
    background-color: #09131E;
    border-color: #09131E;
}

.post-list-item h2 a {
    color: #09131E;
}

.card-post-top {
    position: relative;
}
.card-post-top img {
    width: 100%;
}
.card-post-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #0b111c7d;
    padding: 30px;
    color: #fff;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.post-meta {
    display: flex;
/*    justify-content: space-between;*/
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 1rem;
}
.post-meta div {
    margin-right: 20px;
}
.post-meta-key {
    color: #526e9d;
}
.post-meta-emoji a {
    text-decoration: none !important;
}
@media only screen and (max-width: 500px) {
    .post-meta {
        display: block;
    }
}
/*END POSTS*/

/*TITLE BAR*/
.title-bar-img {
    position: relative;
    min-height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    /* backdrop-filter: blur(5px); */
}
.title-bar-img:before {
    display: block;
    content: " ";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #12192487;
}
.title-bar-img h1 {
    color: #fff;
    z-index: 2;
    text-align: center;
    padding: 20px;
    margin-top: 56px;
}
/*END TITLE BAR*/

/*GENERATOR*/
.generator-container {
    background-position: top;
    background-size: auto;
    min-height: calc(95vh);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #093550;
    background-image: url("https://cdn.fantasyname.dinghy.io/assets/img/bg-full-1920w-upscale.jpg?cache=2");
    background-repeat: repeat-y;
    padding-top: 56px;
}
.box {
    width: 100%;
    max-width: 500px;
    /* background: radial-gradient(#B8B0A6, #615549); */
    background-color: #cec9bfcf;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    position: relative;
}
.box-wide {
    max-width: 700px;
}
.box-wider {
    max-width: 900px;
}
.box-fw {
    max-width: unset;
}
.box-inner {
    margin: 5px;
    border: 2px solid #2d3945;
    padding: 35px;
    width: 100%;
    position: relative;
}
.box-inner-top:before, .box-inner-top:after, .box-inner-bottom:before, .box-inner-bottom:after {
    content: '';
    -webkit-mask-size: 24px 24px;
    mask-size: 24px 24px;
    -webkit-mask-image: url(https://cdn.fantasyname.dinghy.io/assets/img/border-top-left.png);
    mask-image: url(https://cdn.fantasyname.dinghy.io/assets/img/border-top-left.png);
    background-color: #2d3945;
    width: 24px;
    height: 24px;
    position: absolute;
    z-index: 100;
    image-rendering: pixelated;
}
.box-inner-top:before {
    top: 15px;
    left: 15px;
}
.box-inner-top:after{
    top: 15px;
    right: 15px;
    transform: rotate(90deg);
}
.box-inner-bottom:before {
    bottom: 15px;
    left: 15px;
    transform: rotate(270deg);
}
.box-inner-bottom:after {
    bottom: 15px;
    right: 15px;
    transform: rotate(180deg);
}
.box > div {
    display: flex;
}
.box-top, .box-bottom, .box-left, .box-right{
    background-color: #09131E;
    border: 2px solid #48515b;
}
.box-top, .box-bottom {
    height: 15px;
}
.box-left, .box-right {
    width: 15px;
    border-top: 0;
    border-bottom: 0;
}
.generator-input-text {
    background: #ffffff17;
    border: 0;
    border-bottom: 2px solid #09131E;
    border-radius: 0;
}
.box-loading .box-inner:before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #afb0aa;
}
.box-loading .box-inner:after {
    content: "Loading...";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
}
.generator-races {
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 5px 5px;
}
.generator-words {
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 5px 5px;
}
.btn-group-fantasy :checked + label {
    background-color: #09131E;
    color: #fff;
}
.btn-fantasy-check {
    background-color: #ffffff17;
}
.btn-fantasy-submit {
    background-color: #09131E;
    color: #fff;
}
.btn-fantasy-submit:hover {
    color: #fff;
}
#generator-error {
    text-align: center;
    padding: 10px;
}
.generator-form-subtitle {
    font-size: 17px;
    text-align: center;
    color: #212529cf;
}
.generator-container-view {
    min-height: 90vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.generator-logo {
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
    margin-bottom: 40px;
}
.generator-profile-image {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    border: 7px solid #09131e;
    aspect-ratio: 1 / 1;
    min-width: 150px;
}
.generator-profile-image-container {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 200px;
}
.generator-profile-image-container:after {
    content: "Loading image...";
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    opacity: 0.7;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: -1;
}
@media only screen and (max-width: 500px) {
    .generator-profile-image-container {
        margin-bottom: 25px;
    }
}
.about-image-container {
    display: flex;
    justify-content: center;
}
.about-image-container img {
    width: 100%;
    max-width: 350px;
}
.title-top-outline {
    text-align: center;
    color: #ffffffd4;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.bg-shift-center {
    background-position: center;
}
/*END GENERATOR*/

/*NAME GRID*/
.name-grid-container {
    margin: 3rem 0;
}
.name-grid ul {
    padding: 0;
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
}
.name-grid li {
    list-style-type: none;
    background-color: #09131ea8;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #ffffffcf;
    cursor: pointer;
    text-align: center;
    padding: 20px 5px 10px 5px;
}
.name-grid a {
    text-decoration: none;
    color: #ffffffcf;
}
.name-grid-full {
    padding: 0;
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 10px;
}
.name-grid-full-item {
    background-color: #cec9bfcf;
    margin: 20px 5px;
    backdrop-filter: blur(10px);
    text-align: center;
    padding: 20px;
    border: 5px solid #09131E;
    max-width: 400px;
    display: flex;
    justify-self: center;
    position: relative;
}
.name-grid-full h2 {
    text-decoration: none;
    color: #212529;
}
.name-grid-full-item .btn-fantasy {
    position: absolute;
    bottom: -4px;
    right: -4px;
}
/*END NAME GRID*/

/*BUTTONS*/
.btn-fantasy {
    background-color: #09131E;
    color: #fff;
}
.btn-fantasy:hover {
    color: #fff;
}
/*END BUTTONS*/

/*PROFILE*/

/*END PROFILE*/