body{
    font-family: 'EB Garamond', Monospace;
    background-image: url("../img/bg.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    font-size: 1.1em;
    padding-bottom: 50px;
}

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

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

h1, h2 {
    /* Main title styles */
    color: rgba(55, 0, 88, 1);
    font-size: 3em;
    text-shadow: 0 0 20px rgba(255, 255, 255, 1);
    z-index: auto;
}

.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;
}

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

p {
    text-align: center;
    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: 70%;
    margin: 0 auto;
    background-color: rgba(55, 00, 88, .8);
    border: 1px solid white;
    border-radius: 1em;
    padding-left: 1.5em;
    padding-right: 1.5em;
    padding-bottom: 1.5em;
}

.textbox-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

.textbox {
    margin: 1.5em;
    padding: 0.5em;
    padding-left: 2em;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 1em;
    box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.7);
    border: 1px solid black;
}

.textbox-container img {
    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 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: 1em;
    color: white;
    margin: 1.5em auto;
    padding: 1.5em;
    max-width: 70%;
}

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

.quotebox p {
    color: rgba(255, 255, 255, 1.0);
    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.8em 0.8em 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);
    maxwidth: 50%;
}

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

.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;
    }
}


/*
=======================================================
Footer formatting
=======================================================
*/

.my-footer {
    display: flex;
    width: 100%;
    justify-content: center;
    position: fixed;
    bottom: 10px;
    left: 0;
    right: 0;
}

.footer-content{
    width: 80%;
    background-color: rgba(55, 00, 88, .8);
    color: white;
    justify-content: center;
    display: flex;
    padding: 5px;
    border: 1px solid white;
    border-radius: 1em;
}

@media (max-width: 768px) {
    .footer-content{
	width: 95%;
    }
}

.footer-content img {
    display: block;
}

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

a:link {
    color: rgba(255, 0, 255, 1);
}

a:visited {
    color: rgba(200, 0, 255, 1);
}

a:hover {
    color: rgba(00, 128, 256, 1.0); /* 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: 1em;
    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: 1em;
    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;
    padding: 0px, 10px;
    height: 50px;
    width: 150px;
    border-color: #000000;
    border-radius: 5px;
    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);
}

/*
=======================================================
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%;
}

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