:root {
  --content-background-color: #ffffff;
  --sidebar-background-color: #ffffff;

  --text-color: #95c2fd;
  --sidebar-text-color: #000000;
  --link-color: #000000;
  --link-color-hover: #000000;

  --font: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Osaka, メイリオ, Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', 'ＭＳ ゴシック' , 'MS Gothic', 'Noto Sans CJK JP', TakaoPGothic, sans-serif;
  --heading-font: '', toon;
  --font-size: 16px;

  --margin: 0px;
  --padding: 5px;
  --border: none;
  --sidebar-width: 220px;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  border-radius: 0px 0px 10px 10px;
  font-size: var(--font-size);
  margin: 0;
  padding: var(--padding);
  color: var(--text-color);
  font-family: var(--font);
  line-height: 1.2;
  background-image: url("https://i.imgur.com/zG0uT81.gif");
}

::selection {
  background: rgba(0, 0, 0, 0.2);
}

mark {
  text-shadow: 1px 1px 4px var(--link-color);
  background-color: inherit;
  color: var(--text-color);
}

a {
  text-decoration: underline;
}

a,
a:visited {
  color: var(--link-color);
}

a:hover,
a:focus {
  color: var(--link-color-hover);
  text-decoration: none;
}


.layout {
  width: 595px;
  padding: 50px;
  display: grid;
  grid-gap: var(--margin);
  grid-template: "header header" auto "leftSidebar main" auto "footer footer" auto / var(--sidebar-width) auto;
}

main {
  grid-area: main;
  overflow-y: auto;
  padding: var(--padding);
  background-image: url("https://i.pinimg.com/avif/736x/f8/22/84/f8228494f72ed52ef089b1664ca7579e.avf"); 
  background-size: contain;
}


header {
  grid-area: header;
  font-size: 1.2em;
  text-shadow: 2px 0 #ffffff, -2px 0 #ffffff, 0 2px #ffffff, 0 -2px #ffffff, 1px 1px #ffffff, -1px -1px #ffffff, 1px -1px #ffffff, -1px 1px #ffffff;
  border: var(--border);
  background-image: url("https://i.pinimg.com/736x/eb/69/4b/eb694b4977275b6712b3945839b3cbd0.jpg");
  background-repeat: repeat;
  background-size: contain;
  border-radius: 10px 10px 0px 0px;
}

.header-content {
  padding: var(--padding);
  margin-top: 10px;
  color: #fdb2df;
  background: linear-gradient(to bottom, #ffffff 0%, #cde3ff 50%, #bcdaff 51%, #cce2ff 100%);
  box-shadow: inset white 0 0 2px 1px, #5f9a7eb0 1px 1px 2px -1px;
}

.header-title {
  font-family: var(--heading-font);
  font-size: 1.5em;
  font-weight: bold;
  
}

.header-image img {
  width: 100%;
  height: auto;
}

aside {
  grid-area: aside;
  border: var(--border);
  border-radius: var(--round-borders);
  overflow: hidden;
  background-image: url("https://i.pinimg.com/736x/39/12/54/39125402682f45fb34d4b8f6764a5d79.jpg");
  padding: var(--padding);
  color: var(--sidebar-text-color);
}

.border {
    border-width: 7px;
    border-style: solid;
    border-image: url(https://64.media.tumblr.com/0bf9b5b…/e7a46821cfe7af87-12/s250x400/d314d89….png) 7 fill round;
}

.border2 {
    border-width: 7px; 
    border-style: solid; 
    border-image: url("https://i.imgur.com/2jXrMdE.png") 11 fill round;       
}

.box {
    display: block;
    overflow-y: scroll;
    height: 120px;
    width: 230px;
    padding: 10px;
    background-color: #fff;
    border: 3px double #646a80;
    border-radius: 10px;
    box-shadow: inset 0px 0px 1px 2px white, 0 0 0.105em 0 #929bba, inset 0 0 0.575em 0 #929bba;
}

.txt{
  display: block;
  overflow-y: scroll;
  height: 120px;
  width: 230px;
  padding: 5px;
  background-color: #fff; border: 1px solid #b8885f;
  border-radius: 5px;
}

.box2 {
    grid-area: main;
    background-color: #fff;
    border: 2px solid #FFD6DA;
    border-radius: 5px;
    box-shadow: inset #ffffff 0 3px 7px 0px, inset #FFD6DA 0 0 4px 1px;
    padding: 10px;
}

.box3 {
    grid-area: main;
    background-color: #fff;
    border: 2px solid #FFD6DA;
    border-radius: 5px;
    box-shadow: inset #ffffff 0 3px 7px 0px, inset #FFD6DA 0 0 4px 1px;
    padding: 10px;
}

.about {
    grid-area: main;
    width: 255px;
    height: auto;
    background-color: #daeaff;
    border: solid 2px #957356;
    border-radius: 5px;
    box-shadow: inset #ffffff 0 3px 7px 0px, inset rgb(124, 183, 255) 0 0 4px 1px;
    padding: 10px;
}

.box5 {
    grid-area: main;
    width: 255px;
    height: auto;
    background-image: url(https://i.pinimg.com/1200x/f2/3f/27/f23f27302f448c6905576e7682a75a06.jpg);
    border: 2px solid #FFD6DA;
    border-radius: 5px;
    box-shadow: inset #ffffff 0 3px 7px 0px, inset #FFD6DA 0 0 4px 1px;
    padding: 10px;
}

.left-sidebar {
  grid-area: leftSidebar;
}

.right-sidebar {
  grid-area: rightSidebar;
}

.sidebar-title {
  font-weight: bold;
  font-size: 1.2em;
  font-family: var(--heading-font);
}

.sidebar-section:not(:last-child) {
  margin-bottom: 3em;
}

.sidebar-section ul,
.sidebar-section ol {
  padding-left: 1.5em;
}

.sidebar-section > *:not(p):not(ul):not(ol):not(blockquote) {
  margin-top: 10px;
}


.sidebar-section blockquote {
  background: rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin: 1em 0;
  border-radius: 10px;
  overflow: hidden;
}

.sidebar-section blockquote > *:first-child {
  margin-top: 0;
}

.sidebar-section blockquote > *:last-child {
  margin-bottom: 0;
}

.wrapper {
    margin: 2rem auto 0.5rem auto;
    width: 32rem;
    height: fit-content;
    background: rgb(255, 255, 255);
    padding: 14px;
    border: 1px solid #ffb6de;
    box-shadow: inset #fdb2df 0 0 4px, #c395b0 0 0 2px;
    background: url(https://file.garden/ZRW6VPKULjLI59VM/graphics/backgrounds/tumblr_1906d26…_976002a6_75.webp);
    border-radius: 5px;
}

.img2 {
    position: absolute;
    left: 600px;
    top: 179px;
    z-index: 1;
}

main {
  line-height: 1.5;
}

main a,
main a:visited {
  color: var(--link-color);
}

main a:hover,
main a:focus {
  color: var(--link-color-hover);
  text-decoration-style: wavy;
}

main p,
main .image,
main .full-width-image{
  margin: 0.75em 0;
}

main pre {
  margin: 1em 0 1.5em;
}

main code {
  text-transform: none;
}

main center {
  margin: 1em 0;
  padding: 0 1em;
}

main hr {
  border: 0;
  border-top: var(--border);
  margin: 1.5em 0;
}

main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
  font-family: var(--heading-font);
  margin-bottom: 0;
  line-height: 1.5;
}

main h1:first-child,
main h2:first-child,
main h3:first-child,
main h4:first-child,
main h5:first-child,
main h6:first-child {
  margin-top: 0;
}

main h1 {
  font-size: 1.5em;
}

main h2 {
  font-size: 1.4em;
}

main h3 {
  font-size: 1.3em;
}

main h4 {
  font-size: 1.2em;
}

main h5 {
  font-size: 1.1em;
}

main h6 {
  font-size: 1em;
}

.image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.full-width-image {
  display: block;
  width: 100%;
  height: auto;
}

.images {
  display: flex;
  width: calc(100% + 5px + 5px);
  margin-left: -5px;
  margin-right: -5px;
}

.images img {
  width: 100%;
  height: auto;
  padding: 5px;
  margin: 0;
  overflow: hidden;
}

#skip-to-content-link {
  position: fixed;
  top: 0;
  left: 0;
  display: inline-block;
  padding: 0.375rem 0.75rem;
  line-height: 1;
  font-size: 1.25rem;
  background-color: var(--content-background-color);
  color: var(--text-color);
  transform: translateY(-3rem);
  transition: transform 0.1s ease-in;
  z-index: 99999999999;
}

#skip-to-content-link:focus,
#skip-to-content-link:focus-within {
  transform: translateY(0);
}

@media (max-width: 800px) {
  body {
    font-size: 14px;
  }

  .layout {
    width: 100%;
    grid-template: "header" auto  "main" auto "footer" auto / 1fr;
    
  }

  .left-sidebar { 
    display: none;
  }

  aside {
    border-bottom: 1px solid;
    padding: 9px;
    font-size: 0.9em;
  }

  main {
    max-height: none;
    padding: 15px;
  }

  .images {
    flex-wrap: wrap;
  }

  .images img {
    width: 100%;
  }

  #skip-to-content-link {
    font-size: 1rem;
  }
}


.border {
border-width:7px;
border-style:solid;
border-image: url("https://64.media.tumblr.com/0bf9b5b1bc56ef2bd4a443aeec3dab08/e7a46821cfe7af87-12/s250x400/d314d89c3d9fb927d552b57cf19abec1d0b29c13.png") 7 fill round; 
} 