/* user styles */

/* styles are what change the color and sizes of stuff on your site. */

/* these are variables that are being used in the code
these tended to confuse some people, so I only kept 
the images as variables */

@font-face {
  font-family: "To_Japan";
  src: url(../fonts/To_Japan.woff);
}

:root {
  --body-bg-image: url("../backgrounds/bgcloth.gif");
  -content: #43256e;
}

body {
  font-family: "To_Japan";
  font-size: 12px;
  margin: 0;
  background-color: #ffffff;
  /* you can delete the line below if you'd prefer to not use an image */
  background-size: 65px;
  color: #000000;
  background-image: var(--body-bg-image);
}

/* below this line is CSS for the layout */

/* this is a CSS comment
to uncomment a line of CSS, remove the * and the /
before and after the text */

/* the "container" is what wraps your entire website */
/* if you want something (like the header) to be Wider than
the other elements, you will need to move that div outside
of the container */
#page-container {
  position: relative;
  min-height: 100vh;
}

#content-wrap {
  padding-bottom: 2.5rem; /* Footer height */
}

#footer {
  background-image: url("../dividers/brownfooter.gif");
  background-repeat: repeat-x;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 2.5rem; /* Footer height */
  z-index: 99;
}

#container {
  max-width: 1100px; /* this is the width of your layout! */
  /* if you change the above value, scroll to the bottom
  and change the media query according to the comment! */
  margin: 0 auto; /* this centers the entire page */
}

/* the area below is for all links on your page
EXCEPT for the navigation */
#container a {
  color: #f58795;
  font-weight: bold;
  /* if you want to remove the underline
  you can add a line below here that says:
  text-decoration:none; */
}

#topborder {
  width: 100%;
  height: 50px;
  position: fixed;
  background-image: url("../dividers/brownheader.gif");
  background-repeat: repeat-x;
  z-index: 99;
}

/* navigation section!! */
#navbar {
  height: 60px;
  width: 100%;
  background-image: url("../graphics/toplaceborder2.gif");
  background-repeat: repeat-x;
  margin: 0 auto; /* this centers the entire page */
}
#navbar ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
  justify-content: space-evenly;
}
#navbar li {
  padding-top: 17px;
}

/* navigation links*/
#navbar li a {
  color: #000000; /* navbar text color */
  font-weight: 800;
  text-decoration: none; /* this removes the underline */
}
/* navigation link when a link is hovered over */
#navbar li a:hover {
  color: #f58795;
  text-decoration: underline;
}
#flex {
  display: flex;
}

/* this colors BOTH sidebars
if you want to style them separately,
create styles for #leftSidebar and #rightSidebar */
aside {
  width: 200px;
  font-size: smaller; /* this makes the sidebar text slightly smaller */
}

#leftSidebar {
  background-image: url("../graphics/roseright.gif");
  background-repeat: repeat-y;
  width: 149px;
  font-size: smaller; /* this makes the sidebar text slightly smaller */
}

#rightSidebar {
  background-image: url("../graphics/roseleft.gif");
  background-repeat: repeat-y;
  width: 149px;
  font-size: smaller; /* this makes the sidebar text slightly smaller */
}

/* this is the color of the main content area,
between the sidebars! */
main {
  background-color: #ffffff;
  background-repeat: repeat;
  flex: 1;
  padding: 20px;
  order: 2;
}

.scrapbookheader {
  height: 100px;
  position: relative;
  bottom: 0;
  padding-top: 50px;
  padding-bottom: 5px;
  text-align: center;
  color: #8C746C;
  font-size: 50px;
  z-index: 0;
}

.biggestcontainer {
  justify-content: center;
  display: grid;
  grid-template-columns: auto auto auto;
  padding-bottom: 50px;
  gap: 50px;
}

.centerimage {
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 16px;
  box-shadow: 3px 3px 5px #666;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 16px;
  text-align: center;
  color: #604E46;
}

.box23 {
  background: #ccb3a1; /* 背景色 */
  box-shadow: 3px 3px 5px #666;
  box-sizing: border-box;
  margin: 45px auto 20px;
  padding: 60px 20px 20px;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 2;
  max-width: 300px;
}

.icon01 {
  background: url(../graphics/masking01.png) no-repeat center;
  height: 50px;
  position: absolute;
  top: -25px;
  width: 100%;
}

.backbutton {
    position: fixed;
    top: 60px;
    left: 20px;
    z-index: 2;
}

.backbutton img:hover {
  transform: scale(1.1);
}

/* what's this "order" stuff about??
allow me to explain!
if you're using both sidebars, the "order" value
tells the CSS the order in which to display them.
left sidebar is 1, content is 2, and right sidebar is 3! */

#leftSidebar {
  order: 1;
}
#rightSidebar {
  order: 3;
}

h1,
h2,
h3 {
  color: #f58795;
}
h1 {
  font-size: 25px;
}
strong {
  /* this styles bold text */
  color: #f58795;
}

/* CSS for extras */

#topBar {
  width: 100%;
  height: 30px;
  padding: 10px;
  font-size: smaller;
  background-color: #f58795;
}

/* so you wanna change the width of your page? 
by default, the container width is 900px.
in order to keep things responsive, take your new height,
and then subtrack it by 100. use this new number as the 
"max-width" value below
*/

@media only screen and (max-width: 1100px) {
  #flex {
    flex-wrap: wrap;
  }
  aside {
    width: 100%;
  }
  /* the order of the items is adjusted here for responsiveness!
  since the sidebars would be too small on a mobile device.
  feel free to play around with the order!
  */
  main {
    order: 1;
  }
  #leftSidebar {
    order: 2;
  }
  #rightSidebar {
    order: 3;
  }
  #navbar ul {
    flex-wrap: wrap;
  }
}
