@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nanum+Pen+Script&display=swap');

/* Start https://www.cursors-4u.com */ * {cursor: url(https://cur.cursors-4u.net/anime/ani-12/ani1136.ani), url(https://cur.cursors-4u.net/anime/ani-12/ani1136.gif),
    auto !important;} /* End https://www.cursors-4u.com */

:root {
    --background-color: #c0daff;
    --box-color: #60359a;
    --font-color: #0061d3;
    
    --padding: 10px;
    
    --font: 'Nanum Pen Script', serif;
}

main {
    margin-top: 200vh;
    width: 602px;
    height: 776px;
    max-width: 800px;
    margin: auto;
    align-items: center;
    background-image: url(images/notebook.png);
    background-repeat: no-repeat;
    position: relative;
    z-index: 0;
    box-sizing: border-box;
    
}

.box {
    width: inherit;
    height: inherit;
    border-radius: 5px;
    margin: auto;
    padding:  40px;
    text-align: center;
}



body {
    display: flex;
  align-items: flex-start;
  justify-content: center;
    min-height: 100vh;
  font-size: 1.8em;
    font-family: var(--font);
  margin: 0;
  background-size: inherit;
    background-color: var(--background-color);
    line-height: 0.7em;
    color: var(--font-color);
    background-image: url(images/selbg.gif)
}


.overflowtext {
    overflow: auto;
    width: 80%;
    margin: auto;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: center;
    height: 150px;
}

p {
    padding: 0;
    font-size: 1em;
}

h1 {
    font-family: var(--font);
    font-size: 1.5em;
  text-align: center;
  animation: tilt 1s infinite alternate;
}

@keyframes tilt {
  from { transform: rotate(5deg); }
  to { transform: rotate(-5deg); }
}

.box-content {
    width: 80%;
    height: 100px;
    justify-content: center;
    text-align: center;
    align-content: center;
    margin: auto;
}

.bigwrap {
    width: 800px;
    margin: auto;
    height: 700px;
    align-items: center;
    position: relative;
}

.sticker {
    position: absolute;
    right: 5vh;
    top: 40vh;
    display: block;
    float: right;
}

::selection {
  background: rgba(255, 118, 207, 0.39);
}

a {
    color: #ff60e0;
}

.nyancat {
    border: 3px solid;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-slice: 1;
    border-image-source: linear-gradient(to bottom right, #b827fc 0%, #2c90fc 25%, #b8fd33 50%, #fec837 75%, #fd1892 100%);
    background-color: #CCC;
    margin: 20px;
      
}

.highlight {
    background: rgba(255, 118, 207, 0.39)
}

.sel {
    z-index: 10;
    position: absolute;
  display: inline-block;
  margin: 0 0.5rem;

  animation: bounce; /* referring directly to the animation's @keyframe declaration */
  animation-duration: 2s; /* don't forget to set a duration! */
}

.sel {
    z-index: 10;
}