@font-face {
    font-family: Neverwinter;
    src: url("Neverwinter.otf") format("opentype");
    font-display: swap;
}

/* Content Container with SVG Border */
.content-container {
    position: relative;          
    padding: 20px;              
    width: calc(100% - 40px);   

}
/* Page Container with Border */
.page-container {
	font-family: "MV Boli";
    padding: 20px;            
    box-sizing: border-box;  
	min-width: 500px;
	background-image: url("/images/border.png");
	background-image: image-set(
		url("/images/border.webp") type("image/webp"),
		url("/images/border.png")  type("image/png")
	);
	background-position: center; /* Center the image */
	background-repeat: no-repeat; /* Do not repeat the image */
	background-size: cover; /* Resize the background image to cover the entire container */
}

/* Image Container */
.image-container {
    display: flex;
    justify-content: center;    
}

.image-container img {
    max-width: 100%;            
    height: auto;                       
}

/* Info Section Above Navbar */
.social-section {
	width: 300px;
	float: left;
}

.social-image {
    max-width: 100%; /* Make the image responsive */
    height: auto;
}

/* Social Text */
.social-text {
	color: #ffffff;
}

/* Button Container */
.button-container {
	
}
.button-container:hover{
	text-decoration: none;
	background: transparent;
}

/* Small Round Buttons */
.small-button {
    width: 40px; /* Set a fixed width */
    height: 40px; /* Set a fixed height */
    text-align: center;
    text-decoration: none;
}

.small-button:hover {
    
}
/*Info Sction on right panel*/
.info-section {
	float: right;
	max-width: 300px;
}
/* Wrapper for Navbar and Content */
.wrapper {
    display: flex;
    gap: 20px;                       
    justify-content: flex-start; 
    align-items: flex-start;  
	margin-top: -20px;
}
.shop-image{
	margin-top: 10px;
}

/* Navbar */
.navbar {           
    display: flex;
    flex-direction: column;
    padding-top: 90px; /* Adjust the padding to shift the navbar down */
}
.rightcolumnmargin {
	display: flex;
	margin-left: auto;
	margin-right: auto;
}
/* Navbar Label */
.nav-label img {
    max-width: 165px;
    height: 55px;
}

/* Navbar Buttons */
.nav-button {
    background-color: transparent;
    color: black;
    padding: 2px 0px;     
    margin: 8px 0;
    text-align: center;
	font-family: Neverwinter;
	font-size: 20pt;
    text-decoration: none;
    transition: 0.3s ease;
    transform: translateY(0);
	width: 112px;
	margin-left: 82px;
}
.credits-button,
.history-button,
.copy-button,
.shop-button {
    display: inline-block;
    background: linear-gradient(135deg, #81B4A1 0%, #D2B48C 100%);
    border: 2px solid rgba(0, 0, 0, 0.18);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    color: #1e2e22;
    font-family: Neverwinter;
    font-size: 20pt;
    text-decoration: none;
    border-radius: 10px;
    padding: 10px 18px;
    transition: box-shadow 0.3s ease, transform 0.3s ease, filter 0.3s ease;
    transform: translateY(0);
    white-space: nowrap;
}
.credits-button:hover,
.history-button:hover,
.copy-button:hover,
.shop-button:hover {
    filter: brightness(0.92);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    color: #00f5f7;
    text-shadow: -1px -1px 0 #004C53, 1px -1px 0 #004C53, -1px 1px 0 #004C53, 1px 1px 0 #004C53;
}
.nav-button:hover {
    background-color: transparent;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
	color: #00f5f7;
	text-shadow: -1px -1px 0 #004C53, 1px -1px 0 #004C53, -1px 1px 0 #004C53, 1px 1px 0 #004C53;
}
/* Content Container */
.content {
    margin-top: -22px;   
}
.crisispaper {
	max-width: 100%;
	display: flex;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: -7px;
	margin-top: -8px;
}
.imgwrapper {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	display: flex;
}
/* Section Styling */
section {
    /*background-color: #f4f4f4;*/
	font-family: "MV Boli";
    padding: 15px;          
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	text-align: center;
	color: white;
}
section h3 {
	text-align: center;
	font-family: Neverwinter;
	font-size: 35pt;
}

h2 {
	font-family: Neverwinter;
    margin-top: 0;
	font-size: 20pt;
}

p {
    margin: 10px 0 0;
}
a {
    color: #8A5A2B;
	text-decoration: none;
}
a:hover {
    color: #C58B3A;
}
body {
    background-color: #81B4A1; 
    margin: 0;                 
    font-family: Arial, sans-serif; 
	align-content: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.site-footer {
    clear: both;
    display: flex;
    justify-content: center;
    padding: 24px 16px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.site-footer__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.site-footer__profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-footer__profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f0f0f0;
}

.site-footer__text-box {
    max-width: 600px;
    padding: 12px 16px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 1) !important;
}
#maplink{
	min-width: 100%;
}
#notif {
	max-width: 1800px;
	margin-left: auto;
	margin-right: auto;
}
#warning-text {
	color: #ffffff;
}
#thanks-text {
	color: #ffffff;
}
#map {
    width: 100%;
	display: flex;
}
#treasure {
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	display: flex;
}
#dangers {
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}
#living {
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}
#vivian {
	
}
#crisispaper{
}
#anko{
	margin-bottom: 6px;
}
#temi {
	margin-bottom: -11px;
	margin-left: 45px;
}
#shop-button {
	padding: 10px;
}
#disclaimerbutton {
	margin-left: 75px;
	margin-top: 0px;
	padding: 8px;
	
}
#overview{
	margin-top: -25px;
}
#navbar{
	background-image: url("/images/contentlist.png");
	background-position: top; /* Center the image */
	background-repeat: no-repeat; /* Do not repeat the image */
	height: 555px;

}
#shop{
	text-align: center;
}
#manga{
	margin-top: 20px;
}
#socials{
	text-align: center;
}
#searchwidget{
	margin-right: 45px;
}
.result-title{
	width: 123px;
}
#search-results{
	width: 300px !important;
}

/* =====================================================
   Mobile responsiveness — screens 768 px wide or less
   ===================================================== */
@media (max-width: 768px) {
    body {
        align-items: flex-start;
        padding: 8px;
        box-sizing: border-box;
    }

    /* Remove the hard minimum so the page can shrink */
    .page-container {
        min-width: 0;
    }

    /* Left sidebar: unstack from float, full width */
    .social-section {
        width: 100%;
        float: none;
        text-align: center;
    }

    /* Right sidebar: unstack from float, full width */
    .info-section {
        float: none;
        max-width: 100%;
    }

    /* Main wrapper: stack columns vertically */
    .wrapper {
        flex-direction: column;
        gap: 10px;
    }

    /* Nav: horizontal wrapping row instead of tall column */
    .navbar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 10px;
    }

    /* Nav buttons: compact, no forced left offset */
    .nav-button {
        width: auto;
        margin-left: 4px;
        margin-right: 4px;
        font-size: 14pt;
    }

    /* Scale down large headings */
    section h3 {
        font-size: 22pt;
    }

    h2 {
        font-size: 16pt;
    }

    /* Nav background image container: let height be content-driven */
    #navbar {
        height: auto;
        min-height: 200px;
    }

    /* Search results: full width on mobile */
    #search-results {
        width: 100% !important;
    }

    /* Search widget: remove desktop right margin */
    #searchwidget {
        margin-right: 0;
    }
}
