/*** 

This stylesheet has seen a minor revamp and now has different default padding and looks. The old appearance can be used via the "old" class.

***/
@font-face {
    font-family: 'NDStruebios';
    src: url('NDStruebios.woff'); /* Assuming font is in the same /style/ folder */
    font-display: swap;
}


body {
  font-family: 'NDStruebios';
  font-size: 14px;
  text-align: left;

  /* Default background (fallback) */
  background-color: #8dd0fb;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

.page-blog {
  background-image: url("/images/wood.jpg");
 background-size: 512px ;
   background-repeat: repeat;
  background-color: white;
}

.page-medialog {
  background-image: url("/images/medialog.jpg");
    background-color: gray;
}

.page-gaming {
  background-image: url("/images/gaming.jpg");
    background-color: purple;
}

.page-shrines {
  background-image: url("/images/shrines.jpg");
    background-color: gold;
}

.page-mii {
  background-image: url("/images/about.jpg");
      background-color: pink;
}

li {
  text-align: left; /*You can change this, but centered lists can look kind of weird.*/
  margin-left: 20px
  }

h1 {
  text-align: center;
  font-size: 20px;
  letter-spacing:4px;
  }
  
/*Use as the class of spans or divs you want to have normal left-aligned text.*/
/*You can combine classes by putting them together with a space, i.e. <div class="box left"> will be a div using "box" and "left" styles.*/
.left {
  text-align:left;
  }

/*A box that stays at a fixed height and scrolls when content gets too long.*/
.box {
  margin: 0 auto;
	overflow: auto;
	background-color: #fff;
	border: 2px solid #000;
	width: 32em;
	height: 24em;
	margin-top: 10.5%;
	padding: 3.5em 4em;
}

.box-round {
  margin: 0 auto;
	background-color: #fff;
	border: 2px solid #000;
	width: 32em;
	height: 24em;
	margin-top: 7.5%;
	overflow: auto;
	padding: 20px;
	padding-bottom: 30px;	
	border-radius: 50%;
	padding: 7.5em 6em;
}

/*A box that doesn't scroll, instead growing in height.*/
.box-noscroll {
  margin: 5% auto 4% auto;
	background-color: #fff;
	border: 2px solid #000;
	width: 32em;
	padding: 3.5em 4em;
}

/*Old box attributes. Use if you want an old-style box.*/
.old {
	margin-top: 3%;
	margin-bottom:3%;
	width: 460px;
	min-height:50px;
	padding: 20px;
	padding-bottom: 30px;	
  }
  
/*Prevent overflow of large images.*/
.box img, .box-noscroll img, .box-round img {
  max-width: 100%;
  height: auto;
  }

.back a {
  background-color: transparent;
  text-decoration: none;
}

.back a:link {
  color: white;
}

.back a:visited {
  color: white;
}

.back a:hover {
  color: blue;
  text-decoration: underline;
}

.grow {
  transition: all 0.2s ease-in-out;
}

.grow:hover {
  transform: scale(1.1);
}

/* This can be anywhere in your file */
html {
  scroll-behavior: smooth;
}

/* 1. The Wrapper */
.tooltip-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* 2. The Tooltip Box */
.tooltip-text {
  visibility: hidden;
  width: 160px;
  background-color: #2d3436; /* Dark slate color */
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  
  /* Positioning - Appears above the image */
  position: absolute;
  z-index: 10;
  bottom: 110%; /* Sits just above the image */
  left: 50%;
  transform: translateX(-50%) translateY(10px); /* Centered and slightly lowered for animation */
  
  /* Smooth Fade & Slide */
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 3. The Little Arrow (Triangle) */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%; /* At the bottom of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #2d3436 transparent transparent transparent;
}

/* 4. The Magic: Hover Trigger */
.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0); /* Slides up into place */
}


/*For narrow screens.*/
@media (max-width: 500px) {
  .box, .box-noscroll {
    width: 85%;
    }
  }
  
/*Mobile compatibility*/
@media (orientation: portrait) {
  .box, .box-noscroll {
    width: 85%;
    }
  }