:root {
    --gradient-glow: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(199, 91, 36, 1) 46%, rgba(206, 139, 84, 1) 69%, rgba(251, 220, 172, 1) 90%, rgba(238, 238, 238, 1) 100%);
}


body {
    overflow-x: hidden;
    font-size: 12pt;
    cursor: url(media/cursors/standard.png), auto;
    background: #45543b;
    background: radial-gradient(circle, rgba(69, 84, 59, 1) 30%, rgba(18, 20, 18, 1) 100%);
    background: url(media/daibg.jpg);
    background-attachment: fixed;
    font-family: "Asul", serif;
    font-weight: 400;
    font-style: normal;
}

p {
    margin: 12px 0
}

h1 {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-variant: small-caps;
}

a {
    color: #fbdcac;
}
a:hover {
    cursor: url(media/cursors/area_transition.png), auto;
    text-shadow: 0 0 3px #dd5129;
    font-style: italic;
}

table {
    margin: 12px 0;
    border: hidden;
    width: 100%
}
table tr td:first-child {
    text-align: left;
    font-weight: 700
}
table tr td:nth-child(2) {
    text-align: right;
}

/* LAYOUT */
#container {
    margin: 50px auto;
    position: relative;
    width: 70%;
}

#flex {
    display: flex;
    flex-direction: row;
}

#sidebar {
    width: 250px;
}

.portrait {
    /* TO ADD YOUR OWN IMAGE: change the below image to your own -- its dimensions should be around 300 x 515 */
    background-image: url(media/portrait-placeholder.png);
    
    filter: drop-shadow(2px 2px 5px black);
    margin: 25px 5px 0;
    width: 100%;
    height: 343px;
    border: 30px solid;
    border-image: url(media/DAI_empty_tarot.png) 36 stretch;
    box-sizing: border-box;
    border-radius: 18px;
    background-repeat: no-repeat;
    background-size: 100%;
    background-clip: border-box;
    background-origin: border-box;
}

#stamp {
    width: 110px;
    height: 110px;
    position: absolute;
    transform: translateY(-95px) translateX(-48px) rotate(-15deg);
    filter: drop-shadow(2px 2px 2px black);
}

#charname {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 15pt;
    font-variant: small-caps;
    text-shadow: 0 0 3px black;
    box-sizing: border-box;
    width: 100%;
    margin: 25px 5px 25px;
    padding: 10px;
    text-align: center;
    position: relative;
    background: var(--gradient-glow);
    display: block;
    color: white;
    &:after {
		position: absolute;
		z-index: -100;
		content: "";
		right: -20px;
		top: 0;
		height: 100%;
		width: 50%;
		background: rgba(238, 238, 238, 1);
	}
    &:before {
		z-index: -1;
		content: "";
		position: absolute;
		left: -10%;
		top: 0;
		height: 100%;
		width: 100%;
		background: inherit;
		-webkit-transform: skewX(30deg);
		-moz-transform: skewX(30deg);
		-ms-transform: skewX(30deg);
		transform: skewX(30deg);
	}
}

.description {
    box-sizing: border-box;
    width: 100%;
    border: 2px solid #fbdcac;
    border-radius: 18px;
    box-shadow: 0 0 10px #dd5129;
    margin: 25px 5px 25px;
    padding: 10px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.56);
    color: #eee;
}

/* MAIN CONTENT */
#main {
    box-sizing: border-box;
    width: calc(100% - 200px);
    border: 2px solid #fbdcac;
    border-radius: 18px;
    box-shadow: 0 0 10px #dd5129;
    margin: 25px;
    padding: 30px 30px 40px;
    background-color: rgba(0, 0, 0, 0.56);
    color: #eee;
    overflow-y: auto;
    overflow-x: auto;
}

.row:after {
  content: "";
  display: table;
  clear: both
}

.griditem {
    border: hidden;
    float: left;
    padding: 10px;
    box-sizing: border-box;
    height: 100%
}

.column-66 {
    width: 66.666%;
}

.column-33 {
    width: 33.333%;
    text-align: center;
}

/* Responsivity */
@media screen and (max-width: 1000px) {
  .column-66,
  .column-33 {
    width: 100%;
    text-align: center;
  }
}

/* Sidebar Origins Icons */
#origins-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
}
.origins-item {
    display: block;
    width: 50px;
    margin: 5px;
    font-size: 10px;
}
.origins-item img{
    width: 50px;
    filter: brightness(190%) drop-shadow(0 0 1px #666);
    border: 1px solid #eee;
    border-radius: 50px;
}

/* Hexagonal Image */
.hex {
    display: inline-block;
    margin: 10px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    position: relative;
    width: 98px;
    height: 114px;
    background: #ccc;
    box-sizing: border-box;
}
.hex img {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    position: absolute;
    top: 2px; 
    left: 2px; 
    width: 94px; 
    height: 110px; 
}

/* angled header */
.angled {
    margin-top: 10px;
    padding: 2px;
    font-family: "Chakra Petch", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 120%;
    font-variant: small-caps;
    text-align: center;
    text-shadow: 0 0 3px black;
    background: linear-gradient(61deg, rgba(0, 0, 0, 0) 14%, rgba(199, 92, 38, 1) 48%, rgba(210, 119, 66, 1) 57%, rgba(227, 160, 109, 1) 68%, rgba(251, 220, 172, 1) 82%, rgba(238, 238, 238, 1) 100%);
    display: block;
    color: white;
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
}


/* CREDIT (please do not remove!) */
#seal:hover + #credit{
    display: block;
}
#credit:hover {
    display: block
}
#credit {
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 10px;
    filter: drop-shadow(2px 2px 2px black);
    padding: 15px;
    z-index: 99;
    position:absolute;
}


/* ---- particles.js by https://github.com/VincentGarreau/particles.js/ ---- */ 
#particles-js{position:fixed; width: 100%; height: 100%; z-index: -100; top: 0; left: 0; right: 0; bottom: 0; z-index: -999}
canvas {display: block;}