@font-face {
    font-family: 'unicodetiny';
    src: url(https://somatheworld.neocities.org/webfontkit/tinyunicode-webfont.woff2)format('woff2'),
    url(fonts/TinyUnicode.ttf)format('truetype');
} 
@font-face {
    font-family: 'rainyhearts';
    src: url(/fonts/rainyhearts-Medium.otf)format('truetype'),
    url(fonts/rainyhearts-Medium.otf)format('truetype');
}
@font-face {
    font-family: 'emojifont';
    src: url(/fonts/EmojiFont.ttf)format('truetype'),
    url(fonts/EmojiFont.ttf)format('truetype');
}

    * {cursor: url("https://somatheworld.neocities.org/artautocursor.png"), default;}
body {
    background-image: url("https://somatheworld.neocities.org/art/flowerbg.png");
    background-size: 75px;
    background-color: #ffb559;
    z-index: -3;
    position: absolute;
    width: 100%;
    margin: 0px;
    margin-left: auto;
    margin-right: auto;
    image-rendering: pixelated;
    font-family: 'rainyhearts';
}
html {
    width: 100%;
}

main {
    max-width: none;
}

a,button,summary{
    cursor: url("https://somatheworld.neocities.org/artlinkcursor.png"), auto;
}

.thumbnail-image{
    cursor: url("https://somatheworld.neocities.org/artlinkcursor.png"), auto;
}

.thumbnail-holder{
    cursor: url("https://somatheworld.neocities.org/artlinkcursor.png"), auto;
}

img {
    image-rendering: pixelated;
}

#entirething {
    background-repeat: repeat-y;
    display: block;
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    width: 832px;
    image-rendering: pixelated;
    z-index: -1;
}

#header {
    background-image: url("https://somatheworld.neocities.org/art/paperheader.png");
    background-size: 832px;
    height: 139px;
    padding-top: 1px;
    padding-left: 100px;
}

#bottom {
    background-image: url("https://somatheworld.neocities.org/art/paperbg3.png");
    background-size: 832px;
}

#gallery {
    width: 692px;
    margin-left: auto;
    position: relative;
    padding: 6px;
}

#modal {
  display: none;
  align-items: center;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(255, 175, 121, 0.503);
  background-size: 100%;
}

#modal p {
    font-size: 20px;
  margin: 5px auto;
  padding: 10px;
  border: 2px solid #f2aa84;
  background: #ffcda3;
  text-align: center;
    color: #8f4917;
}

#modal div {
  display: none;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  padding-top: 25px;
  height: 80%;
  width: 80%;
}

#modal img {
  display: block;
  margin: 0 auto;
  max-height: 90%;
  max-width: 90%;
  width: auto;
  height: auto;
  background-color: #ffcda3;
  border: 2px solid #f2aa84;
  padding: 4px;
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  margin-left: -6px;
    margin-bottom: 6px
}

.thumbnail-holder {
  width: 122px;
  height: 122px;
  margin-right: 3px;
  padding: 7px;
  border: 2px solid var(--dkest-color);
  text-align: center;
  transition: transform .2s;
    margin-top: -3px;
    margin-bottom: 11px;
}

.thumbnail-image {
    width: 122px;
    height: 122px;
    border: 2px solid #f2aa84;
    background-color: #ffcda3;
}

h1 {
    font-family: 'rainyhearts';
    font-size: 44px;
    margin-bottom: -14px;
    line-height: 34px;
    letter-spacing: 0px;
    text-align: center;
    margin-top: 56px;
    margin-left: -43px;
    color: #8f4917;
}

#backbutton {
    text-align: center;
    margin-top: 24px;
    margin-left: -40px;
    margin-bottom: 22px;
}

#backbutton > a {
    color: #ed8032;
    letter-spacing: 0px;
    line-height: 24px;
    font-family: 'rainyhearts';
    font-size: 24px;
    margin-top: 16px;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

#main {
    margin-top: 6px;
}

#year {
    font-size: 24px;
    color: #8f4917;
}

#art > img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

#backbutton > a:hover {
    text-decoration: none;
}

@media screen and (max-width: 620px) {
#modal p {
    max-width: 100%;
    font-size: 300%;
}

.thumbnail-holder {
  width: 214px;
  height: 214px;
}

.thumbnail-image {
    width: 214px;
    height: 214px;
}

#year {
    font-size: 48px;
    color: #8f4917;
}

h1 {
    font-size: 60px;
    margin-bottom: -4px;
}

#backbutton > a {
    font-size: 40px;

}

#modal img {
  max-height: 100%;
  max-width: 100%;
}

#modal div {
  height: 90%;
  width: 90%;
}
}

::-webkit-scrollbar {
    width: 10px;
    height: 0px;
}
::-webkit-scrollbar-track {
    background: #ffcda3; 
    border: 2px solid #ed8032;
} 
::-webkit-scrollbar-thumb {
    background: #f2aa84; 
    border: 2px solid #ed8032;
} 
::-webkit-scrollbar-thumb:hover {
    background: #ed8032; 
}