@font-face {
    font-family: 'rainyhearts';
    src: url(/fonts/rainyhearts-Medium.otf)format('truetype'),
    url(fonts/rainyhearts-Medium.otf)format('truetype');
}

body {
    image-rendering: pixelated;
    height: 100%;
    background-image: url('https://somatheworld.neocities.org/about/abtbg3.png');
    background-size: 2.6%;
    background-repeat: repeat;
    background-position: top left;
    background-color: #dbecf5;
    z-index: 0;
    cursor: url("https://somatheworld.neocities.org/strawbautocursor.png"), default;
    font-family: 'rainyhearts';
}

html {
    height: 100%;
}

iframe {
    height: 500px;
    width: 250px;
    border: none;
}
  
a,button{
    cursor: url("https://somatheworld.neocities.org/strawblinkcursor.png"), auto;
}


u {
  text-decoration-thickness: 2px;
}

p {
    color: #dbecf5; 
    margin: 0px;
}

h1 {
    color: #a0c9e3;
    letter-spacing: 1px;
    font-family: 'rainyhearts';
    z-index: 0;
    font-size: 24px;
    line-height: 20px;
    margin-bottom: 10px;
    margin-top: 0px;
}

h2 {
    color: #dbecf5;
    letter-spacing: 1px;
    font-family: 'rainyhearts';
    z-index: 0;
    font-size: 20px;
    line-height: 20px;
    margin-bottom: 3px;
    margin-top: 0px;
}

a {
    text-decoration: underline;
    text-decoration-thickness: 2px;
} 
a:link {
    color: #dbecf5;
    text-decoration: underline;
    text-decoration-thickness: 2px;
} 
a:visited {
    color: #a0c9e3;
} 
a:hover {
    text-decoration: none;
}

#contain {
}

#frostingtop {
    display: block;
    width: 828px;
    height: 167px;
    margin-bottom: -40px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    align-self: center;
    z-index: 1;
}

#cake {
    image-rendering: pixelated;
    z-index: 0;
    background-image: url('https://somatheworld.neocities.org/about/cakebg2.png');
    width: 930px;
    padding-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
    position: relative;
    align-self: center;
    border: 4px solid #f3979a;
    display: block;
    margin-top: -12px;
    border-bottom: none;
    background-size: 35%;
}

#frostingbottom {
    display: block;
    width: 828px;
    height: 66px;
    margin-top: -55px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    align-self: center;
    z-index: 1;
}

#hii {
    margin-bottom: 2px;
}

#columns {
    display: flex;
    flex-direction: row;
    border-image: url(https://somatheworld.neocities.org/about/threadborder.png) 8 / 16px round;
    padding: 10px;
    width: 860px;
    margin-left: auto;
    margin-right: auto;
}

#begin {
    display: flex;
    flex-direction: row; 
    margin: 9px;
}

#abtsite {
    margin-bottom: 0px;
}

#favstuff {
    display: grid;
    grid-template-columns: 260px 260px;
    column-gap: 15px;
    row-gap: 10px;
}

#favstuff h2 {
    border: 2px dashed #f3979a;
    padding-left: 4px;
    padding-bottom: 4px;
}

#deer {
    margin-right: 20px;
    width: 1450%;
    height: 120%;
}


#lefty {
    width: 272px;
    margin: 10px;
}

#hordiv {
    background-image: url(https://somatheworld.neocities.org/about/hordivdia.png);
    background-repeat: repeat-x;
    height: 22px;
    margin-top: 10px;
    margin-bottom: 10px;
    background-size: 96px;
}

#vertdiv {
    background-image: url(https://somatheworld.neocities.org/about/vertdivdia.png);
    background-position: center;
    background-repeat: repeat-y;
    background-size: 22px;
    width: 24px;
    margin: 0px;
    margin-top: 8px;
}

#righty {
    width: 564px;
    margin: 10px;
}

#abttitle {
    z-index: -1;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    display: block;
}

#back {
    z-index: 3;
    font-size: 24px;
    text-align: center;
    display: block;
    padding-top: 5px;
    padding-bottom: 10px;
}

  #gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-evenly;
    border-width: 0 1px;
}

.image-container img {
    width: 150px;
    height: auto;
    display: block;
    border: 1px solid var(--col1);
    image-rendering: auto;
  }
  
.drawcenter {
    text-align:center;
}

canvas {
    cursor: crosshair; 
}

  button {
    font-family: 'rainyhearts';
    background-color: #fefeff;
    color: #1a2c45;
    border: none;
    font-size: 18px;
  }
  
  button:hover {
    background-color: #ffdcde;
    color: #1a2c45;
  }
  
    .slider {
    -webkit-appearance: none;
    height: 5px;
    background: #a0c9e3;
    outline: none;
    opacity: 0.7;
  }
  
  .slider:hover {
    opacity: 1;
  }
  
    
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #dbecf5;
    border: none;
  }
  
  .slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #dbecf5;
    border: none;
  }

#color-picker-wrapper {
  width: 90px;
  margin: 0 auto;
  border: none;
  margin-top: 10px;
}


@media screen and (max-width: 620px) {
  #abttitle {
    width: 90%;
}

#cake {
    width: 96.7%;
    margin-left: -8px;
}

#columns {
  width: 93%;
  flex-direction: column;
}

#lefty {
  width: 100%
}

#righty {
  width: 100%
}

#favstuff {
    display: grid;
    grid-template-columns: 93%;
}

#contain {
    width: 100%; 
}  

#drawboxcanvas {
    width: 94%; 
}  

  #gallery {
    margin-left: -21px;
}

.drawcenter {
    margin-left: -20px;
}

iframe {
      width: 93%; 
      height: 50%;
}

}
