@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Elms+Sans:ital,wght@0,100..900;1,100..900&family=Quicksand:wght@300..700&display=swap');


:root {
    --main-text: #729D98;

    --block-bg1: rgba(7, 31, 35, 0.7);
    --block-bg2: rgba(41, 30, 42, 0.7);
    --block-border1: #1A383E;
    --block-border2: #52465A;

    --solid-block-bg: #080B10;

    --head-color: #17C9A8; 

    --link-main: #0EDFB1;
    --link-hover: #FF9AEF;

    --progress-bg: rgb(52, 58, 64);
    --progress-color: #17C9A8;
}


/************************************** MAIN **************************************/

*,
*::before,
*::after { box-sizing: border-box; }
* {
    margin:0; padding:0;
    cursor: url('https://cdn.cursors-4u.net/previews/skull-01fc92fb-32.webp') 32 32, auto !important;
}
html, 
body{ height:100%; }
body {
    display: flex;
    flex-direction: column;
    background: linear-gradient(0deg, rgba(3, 17, 15, 0.7)), url(https://images.squidge.org/images/2026/05/29/eventide_bg.jpg) no-repeat fixed;
    background-size: cover;
    color: var(--main-text);
    font-family: 'Elms Sans';
}

a, a:hover, a:focus {
	text-decoration: none;
	color: var(--link-main);
	text-shadow: none;
	-webkit-transition: 500ms linear 0s;
	-moz-transition: 500ms linear 0s;
	-o-transition: 500ms linear 0s;
	transition: 500ms linear 0s;
	outline: 0 none;
}
a:hover, a:focus {
	color: var(--link-hover);
	text-shadow: -1px 1px 8px var(--link-hover), 1px -1px 8px var(--link-hover);
}

br {display:block;margin-bottom:1.5em;}

hr {border: 0; height: 1px; margin: 50px 0;
    background-image: linear-gradient(to right, rgba(26, 56, 62, 0), rgba(26, 56, 62, 0.75), rgba(26, 56, 62, 0));
}

h2 {
    color: var(--head-color);
    font-family: Cinzel;
    text-align:center;
    text-transform:uppercase;
    font-size:26px; letter-spacing:3px;
    margin-bottom: 10px;
  
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 16px 0;
  grid-gap: 22px;
}

h2:after,h2:before {
  content:" ";display:block;background-color:transparent;
  border-bottom: 1px solid #669FA2;}

/************************************** PROGRESS BARS **************************************/

.progress {
    height:20px;font-size:12px;line-height:22px;overflow:hidden;text-align:start;font-weight:400;border-radius:6px;box-sizing:border-box;display:flex;padding:3px;
    background: var(--progress-bg); color: rgb(222, 226, 230);}
.progress-bar {
    display:flex;flex-direction:column;justify-content:center;overflow:hidden;text-align:center;white-space:nowrap;border-radius:3px;
    background: var(--progress-color); color: #000;}

/************************************** SPLASH **************************************/

#splash {
    display:flex; justify-content:center; align-items:center; text-align:center; flex-direction:column; min-height:100vh;}
.splash-welcome {
    display:block; font-size:72px;
    font-family: Cinzel; color: #17C9A8;}

.splash-welcome span {display: inline-block;animation: wave 3s ease-in-out infinite;}
.splash-welcome span:nth-child(1) {animation-delay: 0s;}
.splash-welcome span:nth-child(2) {animation-delay: 0.2s;}
.splash-welcome span:nth-child(3) {animation-delay: 0.4s;}
.splash-welcome span:nth-child(4) {animation-delay: 0.6s;}
.splash-welcome span:nth-child(5) {animation-delay: 0.8s;}
.splash-welcome span:nth-child(6) {animation-delay: 1s;}
.splash-welcome span:nth-child(7) {animation-delay: 1.2s;}
@keyframes wave {
    0%, 100% {transform: translateY(0);}
    50% {transform: translateY(-20px);}
}
.splash-intro {
    padding: 20px;
    width: 650px;
    text-align: justify;
}
.splash-enter {
    font-family: Cinzel;
    font-size: 28px;
    border-left: 2px solid var(--link-main);
    border-right: 2px solid var(--link-main);
    padding: 0 20px;
}
.splash-nav {
    padding: 20px;
    border-top: 1px dotted var(--link-main);
    margin-top: 20px;
}
.splash-nav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 600px;
}
.splash-nav li {
    list-style: none;
    text-align: center;
    width: 45%;
    margin: 5px;
}
.splash-nav li a {
    display: block;
    border: 1px solid var(--link-main);
}

/************************************** TOP NAVIGATION **************************************/

#navbar {
    background: var(--solid-block-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 30px;
    margin-bottom: 100px;
    border-bottom: 1px solid #669FA2;
    font-family: Quicksand;
}
#navbar ul {display: flex;}
#navbar ul li {
    list-style-type: none;
    padding: 10px;
    magin: 0 10px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: bold;
    font-size: 12px;
}
#navbar a {
    color: #0EDFB1;
    text-decoration: none;
    padding: 10px 20px;
}
#navbar a:hover {
    color:#0EDFB1;
    transition: 500ms linear 0s;
    text-shadow: -1px 1px 8px #0EDFB1;
}

#home .home, #about .about, #characters .characters, #gallery .gallery, #commissions .commissions, #links .links {border: 1px solid #0EDFB1;}

.content {
    width: 80%;
    margin: auto;
    flex: 1 0 auto;
}

.layout {
    display:flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.col {
    flex-basis: 50%;
    box-sizing: border-box;
    padding: 15px;
}

.button {
    font-family: Quicksand;
    position: relative;
    display: block;
    text-align: center;
    margin: 20px auto;
    padding: 10px;
    font-weight: bold;
    border: 1px solid var(--block-border1);
    &::before,
    &::after {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        transition: .3s ease-in-out;
    }
    &::before {
        top: -5px;
        left: -5px;
        border-top: 1px solid var(--block-border1);
        border-left: 1px solid var(--block-border1);
    }
    &::after {
        right: -5px;
        bottom: -5px;
        border-bottom: 1px solid var(--block-border1);
        border-right: 1px solid var(--block-border1);
    }
    &:hover::before,
    &:hover::after {
        width: calc(100% + 9px);
        height: calc(100% + 9px);
        border-color: #3C646C;
    }
}

.block, .block2 {
    padding: 15px;
    margin-bottom: 20px;
}

.block {
    background: var(--block-bg1);
    border: 1px solid var(--block-border1);
}

.block2 {
    background: var(--block-bg2);
    border: 1px solid var(--block-border2);
    color: #A296AF;
}

.block2 .button {
    color: #A296AF;
    border: 1px solid var(--block-border2);
}

.block2 .button a {
    color: #A296AF;
}
.block2 .button a:hover {
    color: var(--link-hover);
}

.block2 .button:hover {
    color: var(--link-hover);
    border: 1px solid var(--link-hover);
}

.block ul {
    list-style-type: circle;
    list-style-position: inside;
    padding: 20px;
}

.list-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.likes, .dislikes {
    list-style:none;letter-spacing:5px;padding:20px;
    font-family: Cinzel;
}
.likes li:before {
    content:"✔";margin-right:10px;
    color: greenyellow;
}
.dislikes li:before {
    content:"✘";margin-right:10px;
    color: red;
}

/************************************** NEWS **************************************/
.news scrollbox {
    overflow:auto;height:200px;}
.news date {
    display: block;
    font-weight: bold;
}
.news update {
    display: block;
    padding: 10px;
}

.friends ul {
    display: flex;
    font-family: Quicksand;
}
.friends ul li {
    list-style-type: none;
    padding: 10px;
    magin: 0 10px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: bold;
    font-size: 15px;
}
.friends a {
    color: #0EDFB1;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #0EDFB1;
}
.friends a:hover {
    color:#0EDFB1;
    transition: 500ms linear 0s;
    text-shadow: -1px 1px 8px #0EDFB1;
}

footer {
    flex-shrink: 0;
    background: var(--solid-block-bg);
    text-align:center;
    padding: 20px;
    border-top: 1px solid #669FA2;
    font-family: Cinzel;
}

/************************************** CHARACTER SELECT PAGE **************************************/

.character-selector {
    width:300px; 
}
.character-selector ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.character-selector li {
    background: var(--block-bg1);
    font-family: Quicksand;
    position: relative;
    display: block;
    text-align: center;
    margin: 20px auto;
    padding: 10px 50px;
    font-weight: bold;
    border: 1px solid var(--block-border1);
    &::before,
    &::after {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        transition: .3s ease-in-out;
    }
    &::before {
        top: -5px;
        left: -5px;
        border-top: 1px solid var(--block-border1);
        border-left: 1px solid var(--block-border1);
    }
    &::after {
        right: -5px;
        bottom: -5px;
        border-bottom: 1px solid var(--block-border1);
        border-right: 1px solid var(--block-border1);
    }
    &:hover::before,
    &:hover::after {
        width: calc(100% + 9px);
        height: calc(100% + 9px);
        border-color: #3C646C;
    }
}
.character-select li a {
    display:block;
}
.character-selector li span {
    display: block;
}

#select-display {
    flex-grow: 3; 
    height: 1000px;
    background-image: url('');
    background-repeat: no-repeat;
    background-position: center;
}


/************************************** CHARACTER PAGES **************************************/

.velameestra {color: #7AFFE7;}
.kaelthas {color: #8075D2;}
.rommath {color: #A52A2A;}
.nalrevin {color: #AC93B8;}
.nayiss {color: #B5FF7A;}
.elegin {color: #66DFBD;}
.character-header {
    margin-top:-100px;
    width:100%;
    padding: 50px 0;
    font-family: Cinzel;
    font-variant: small-caps;
}
.character-header .label, .character-header .info {
    color: #fff;
    font-size: 17px;
    letter-spacing: 1px;
}
.character-header .title {
    font-size: 36px;
    letter-spacing: 5px;
    margin-left: 100px;
    padding-bottom: 30px;
}

.character-header .label {
    font-weight: bold;
}
.character-header .info {
    margin-bottom: 35px;
}
.character-section {
    background: var(--solid-block-bg);
    text-align: center;
    font-family: Cinzel;
    padding: 35px 0;
}
.character-section .section-title {
    letter-spacing: 15px;
    font-size: 38px;
}
.character-section .section-subtitle {
    font-size: 25px;
    letter-spacing: 5px;
}
.character-content {
    background: #141414;
}
.character-content h3 {
    font-family: Cinzel;
    font-size: 24px;
    letter-spacing: 8px;
    font-weight: 500;
    padding: 40px 0;
}
.character-content p {
    padding: 20px;
    margin-left: 50px;
}
.ref-gallery {padding: 50px 0;}
.ref-gallery img {
    width: 100%;
    height: 75px;
    object-fit: cover;
    object-position: 100% 15%;
    filter: grayscale(70%) opacity(60%);
    margin: 5px 0;
}
.ref-gallery a {
    position: relative;
    display: block;
    width: 100%;
}
.ref-gallery .caption {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    padding: 10px 0;
    font-family: Cinzel;
    text-align: center;
    position: absolute;
    top: 25px;
    font-size: 18px;
    letter-spacing: 5px;
}

/************************************** CHARACTER PAGES: AESTHETICS AND RELATIONS **************************************/

.aesthetic-themes, .character-relations {
    padding: 20px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 10px;
}
.aesthetic-block {
    flex: 1 1 auto;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 165px;
    padding-right: 15px;
    border: 1px solid var(--block-border1);
}
.aesthetic-block .name {
    font-family: Cinzel;
    font-size: 20px;
    font-variant: small-caps;
    text-align: left;
    letter-spacing: 3px;
    font-weight: bold;
}
.aesthetic-block .info {
}
.relation-block {
    width: 250px;
    text-align: center;
}
.relation-block .img {
    background: #000;
    background-size: cover;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    margin: auto;
}
.relation-block .name {
    font-family: Cinzel;
    font-variant: small-caps;
    font-size: 20px;
}
.relation-block .label {
    font-family: Quicksand;
}
.nsfw-section {display:none;}
.nsfw-section:target {
    display:block;
}

.grid-wrapper > div {
	display: flex;
	justify-content: center;
	align-items: center;
}
.grid-wrapper > div > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
}


.grid-wrapper {
	display: grid;
	grid-gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-auto-rows: 200px;
	grid-auto-flow: dense;
}
.grid-wrapper .wide {
	grid-column: span 2;
}
.grid-wrapper .tall {
	grid-row: span 2;
}
.grid-wrapper .big {
	grid-column: span 2;
	grid-row: span 2;
}
