@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;1,400&subset=cyrillic&display=swap');

body{
    font-family: 'EB Garamond', Monospace;
    font-size: 1.2em;
    padding-bottom: 50px;
    background: radial-gradient(circle, rgba(102, 0, 255, 1) 3%, rgba(0, 0, 0, 1) 60%);
    min-height: 100vh;
    /* background-image: url("/src/img/bg.jpg"); */
    /* background-size: cover; */
    /* background-attachment: fixed; */
    /* background-position: center; */
}

/*
=======================================================
Ghost Title header container and formatting
=======================================================
*/

.title-container {
    position: relative; /* Needed for absolute positioning */
    text-align: center;
}

h1 {
    color: rgba(55, 0, 88, 1);
    font-size: 3em;
    text-align: center;
    text-shadow:
	0 0 10px rgba(255, 255, 255, 1),
	0 0 30px rgba(255, 255, 255, 1),
	0 0 60px rgba(255, 255, 255, 0.8),
	0 0 100px rgba(255, 255, 255, 0.5);
}

h2 {
    color: rgba(255, 255, 255, 1);
    font-size: 2.5em;
    text-align: center;
}

h3 {
    color: rgba(255, 255, 255, 1);
    font-size: 2.0em;
    text-align: center;
}

h4 {
    color: rgba(255, 255, 255, 1);
    background: rgba(100,100,255,0.2);
    font-size: 1.0em;
    text-align: center;
    border-radius: 0.5em;
}


blockquote {
    color: rgba(255, 255, 255, 1);
    text-align: justify;
    font-size: 0.98em;
    font-style: italic;
    padding-left: 0.5em;
    padding-right: 0.5em;
    border-left: 0.2em solid rgba(100, 0, 200, 1);
    background: rgba(100, 0, 200, 0.2);
    border-radius: 0.5em;
}

.ghost-title {
    position: absolute; /* Place it below the main title */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -75%); /* Fine-tune centering */
    font-size: 3em;
    color: rgba(255, 255, 255, 0.3);
    z-index: -1;
}


li {
    color: rgba(255,255,255,1);
}

p {
    text-align: justify;
    max-width: 100ch;
    margin: 1em auto;
    text-indent: 1.5em;
    /* display: block; */
    /* opacity: 1.0; */
    /* margin-top: 1em; */
    /* margin-bottom: 1em; */
    /* margin-left: 0; */
    /* margin-right: 0; */
}

hr {
    width: 33%;
}

td {
    text-align: center;
}

#fure_zerkalo {
    height: 100%;
    opacity: .9;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.textbox-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(55, 00, 88, .8);
    border: 1px solid white;
    border-radius: 0.25em;
    padding-left: 1.0em;
    padding-right: 1.0em;
    padding-bottom: 1.0em;
    position: relative;
    z-index: 2;
}

figure {
    margin: 1em auto;
    text-align: center;
}

figcaption {
    color: rgba(200, 200, 200, 0.9);
    font-style: italic;
    font-size: 0.85em;
    margin-top: 0.4em;
}

.textbox {
    width: 100%;
    box-sizing: border-box;
    margin: 1em auto;
    padding: 0.5em;
    padding-left: 1.5em;
    padding-right: 1.5em;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0.25em;
    box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.7);
    border: 1px solid black;
}

.textbox-container img {
    display: block;
    margin: 0 auto;
    max-width: 70%;
    max-height: 500px;
    text-align: center;
    border: 1px solid white;
    border-radius: 0.5em;
    box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.7);

}

.textbox-container img.no-border {
    display: block;
    margin: 0 auto;
    max-width: 70%;
    max-height: 500px;
    text-align: center;
    border: none;
    border-radius: none;
    box-shadow: none;
}

.textbox p {
    color: white;
}

/*
=======================================================
Quoteboxes and front page formatting
=======================================================
*/

.homepage-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    padding-bottom: 50px;
    text-align: center
}

.quotebox-front-page {
    position: absolute;
    left: 10%;
    margin: 0;
    right: calc(50% + 150px); /* based on neppermint avi size and margin */

}

.quotebox {
    background-color: rgba(55, 00, 88, .8);
    border: 1px solid white;
    border-radius: 0.25em;
    color: white;
    margin: 1.5em auto;
    padding: 0.1em;
    max-width: 70%;
}

.quotebox-front-page .quotebox {
    margin: 0;
    max-width: 100%;
}

.quotebox p {
    color: rgba(255, 255, 255, 1.0);
    font-style: italic;
    font-size: 0.9em;
    margin-top: 0.5em;
    margin-bottom: 0;
}

.quotebox a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.quotebox a:hover {
    text-decoration: none;
}

.quotebox blockquote {
    text-align: center;
    color: white;
    margin: 1.5em;
    padding: 0.5em;
    padding-left: 2em;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0 0.25em 0.25em 0;
    box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.7);
    border-top: 1px solid black;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
    border-left: 0.2em solid rgba(255, 200, 255, 0.6);
}

.quotebox blockquote:hover {
    transform: translateY(-0.5em);
    border-left-color: rgba(255, 200, 255, 0.9);
}

@media (max-width: 1200px) {
    .quotebox-front-page {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: static;
	left: auto;
	top: auto;
	order: 2;
	margin-top: 1em;
    }
    .homepage-container {
        flex-direction: column;
        align-items: center;
    }
}

/*
=======================================================
Standard elements color, behavior, and design.
=======================================================
*/

a:link {
    color: rgba(000, 128, 255, 1.0);
}

a:visited {
    color: rgba(000, 200, 20, 1);
}

a:hover {
    color: white; /* Example hover color */
    text-decoration: underline; /* Example hover effect */
}

p.n {
    /* For notes.*/
    font-style: italic;
}

/*
=======================================================
Page links container and index header
=======================================================
*/

#neppermint_avi {
    border-radius: 0.25em;
    height: 200px;
    margin-bottom: 10px;
}

.link-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 70%;
    margin: 0 auto;
    order: 1;
}

.link-list {
    background-color: rgba(55, 00, 88, .8);
    padding: 10px;
    border: 1px solid white;
    border-radius: 0.25em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.link-list a {
    display: inline-block;
    padding: 5px;
}

table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
    background-color: rgba(55, 00, 88, .8);
    padding: 10px;
    color: white;
    text-align: center;
}

button {
    font-family: 'EB Garamond', Monospace;
    font-size: 1em;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 150px;
    border-color: #000000;
    border-radius: 0.25em;
    border-width: 1px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.2);
    display: inline-flex;
    position: relative;
}

button:hover {
  background: rgba(0, 0, 0, 0.5);
}

.censor {
  filter: blur(6px);
  transition: filter 0.3s ease;
  display: inline; /* since it's mid-sentence */
}

.censor:hover {
  filter: blur(0);
}

/*
=======================================================
Other silly stuff
=======================================================
*/

button .new_badge {
    display: inline-block;
}

button .new_badge::before {
    content: "New!";
    animation: blinker 1.0s linear infinite;
    color : yellow;
    transform: rotate(-45deg);
    display: inline-block;
    position: absolute;
    left: 5px;
    top: 30%;
}

dt .new_badge::before {
    content: "New!";
    animation: blinker 1.0s linear infinite;
    color: yellow;
    transform: rotate(-45deg);
    display: inline-block;
    position: absolute;
    left: -5%;
    top: 30%;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

/*
=====================================================
List formatting
=====================================================
*/

dt, dd {
    color: white;
}

dt {
    position: relative;
    font-weight: bold;
}

/*
=====================================================
Current media formatter
=====================================================
*/

.media-header {
    background: rgba(0, 0, 0, 0.8);
    border-left: 0.2em solid rgba(100, 0, 200, 1);
    border-radius: 0 0.25em 0.25em 0;
    padding: 0.5em 1em;
    margin-bottom: 1.5em;
    max-width: fit-content;
    margin-left: auto;
}

.media-header p {
    color: rgba(200, 200, 200, 0.9);
    font-style: italic;
    font-size: 0.85em;
    margin: 0.2em 0;
    text-align: left;
    text-indent: 0;
}


/*
For date / location footer at the end of a post.
 */
p.dateline {
    text-align: right;
    text-indent: 0;
    font-style: italic;
    color: rgba(200, 200, 200, 0.9);
}


/*
=====================================================
Images
=====================================================
*/

.taka-img {
    all: unset;
    position: fixed;
    bottom: 50%;
    transform: translateY(50%);
    right: 50px;
    width: 200px;
    z-index: 0;
}
