:root {
  --background-color: #ffffff;
  --content-background-color: transparent;


  --text-color: #ed95cf;
  --sidebar-text-color: #ed95cf;
  --link-color: #ed95cf;
  --link-color-hover: #b6ffd0;


  --font: Arial, sans-serif;
  --heading-font: KiwiSoda, cursive;
  --font-size: 20px;


  --margin: 0px;
  --padding: 10px;
  --border: 2px solid #604834;
  --round-borders: 5px;
  --sidebar-width: 300px;
}

@font-face {
  font-family: KiwiSoda;
  src: url(KiwiSoda.ttf);
}

* {
  box-sizing: border-box;
}

img {
  border-radius: 10px;
}

.imgborder {
  border: 3px double #646a80;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-size: var(--font-size);
  margin: 0;
  padding: var(--margin);
  color: var(--text-color);
  font-family: var(--font);
  line-height: 1.2;
  background-image: url("https://dl.glitter-graphics.com/pub/3220/3220297i5qbn43nng.png");
}


::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: 515px;
  display: grid;
  margin-left: 12px;
  grid-gap: var(--margin);
  grid-template: "main" / auto;
  border-width: 7px;
  border-style: solid; 
  border-image: url("https://i.imgur.com/NJa4bp2.png") 8 fill round;         
}


main {
  grid-area: main;
  height: 500px;
  width: 500px;
  padding: 30px;
  background-image: url(https://dl.glitter-graphics.com/pub/3695/3695584hy1y08wr9a.jpg);
  border-radius: 15px; 
  border: 2px solid #604834;
}

.box {
    display: block;
    text-align: justify;
    padding: 10px;
    height: 435px;
    overflow-y: scroll;
    background: #ffffff;
    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;
}

.box2 {
    display: block;
    text-align: justify;
    box-shadow: 5px 5px 10px 0 white inset, -5px -5px 10px 0 white inset;
    background-color: #e0ffeb;
    padding: 10px;
    height: 175px;
    border-radius: 10px;
}

.title2 {
  height: 50px;
  width: 150px;
  padding: 10px;
  border: 1px #000 solid;
  border-radius: 5px;
  background: linear-gradient(to bottom, #ffffff 0%, #ceffd9 50%, #b6ffd0 51%, #dfffe6 100%);
  box-shadow: inset white 0 0 2px 1px, #5f9a7eb0 1px 1px 2px -1px;
}

.spot {
  position: absolute;
  left: 400px;
  top: 15px;
  transform: rotate(-5deg);
  z-index: 1;
}

.spot2 {
  position: absolute;
  left: 1180px;
  top: 450px;
  transform: rotate(0deg);
  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,
main .two-columns {
  margin: 0.75em 0;
}


main ol,
main ul {
  margin: 0.5em 0;
  padding-left: 1.5em;
}


main ol li,
main ul li {
  margin-bottom: 0.2em;
  line-height: 1.3;
}


main ol {
  padding-left: 2em;
}


main blockquote {
  background: rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin: 1em 0;
  border-radius: 10px;
}


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: 2.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;
}


.two-columns {
  display: flex;
}


.two-columns > * {
  flex: 1 1 0;
  margin: 0;
}


.two-columns > *:first-child {
  padding-right: 0em;
}


.two-columns > *:last-child {
  padding-left: 0em;
}


.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: "main" auto / 1fr;
  }

  main {
    max-height: none;
    padding: 15px;
  }


  .images {
    flex-wrap: wrap;
  }


  .images img {
    width: 100%;
  }


  #skip-to-content-link {
    font-size: 1rem;
  }
}
