@font-face {
    font-family: "LovelyFont";
    src: url('resources/font/font.ttf') format("truetype");
}

.container {
    margin: auto;
    width: 50%;
    height: 600px;
    position: relative;
}

#notebook {
    top: -120px;
    margin: auto;
    pointer-events: none;
    position: relative;
    width: 630px;
    height: 900px;
    background-image: url('resources/png/notebook-background.png');
    z-index: 0;
}

#notebook #date {
    position: relative;
    top: 200px;
    left: 80px;
    font-family: LovelyFont;
    font-size: 35px;
}

#notebook #content {
    position: relative;
    top: 200px;
    left: 80px;
    font-family: LovelyFont;
    font-size: 35px;
    max-width: 480px;
    pointer-events: all;
    max-height: 500px;
    width: 480px;
    height: 500px;
    display: inline-block;
    overflow-y: auto;
    padding: 5px;
}

#notebook #bookmarks {
    pointer-events: none;
    position:absolute;
}

.bookmark {
    position: relative;
    left: 0px;
    top: 200px;
    width: 50px;
    height: 40px;
    margin: 10px;
    background-color: aqua;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    pointer-events: all;
    z-index: -1;
}

.bookmark:hover {
    cursor: pointer;
    transform: translateX(-10px);
}

.bookmark:before {
    content: "";
    position: absolute;
    right: 44px;
    top: 0px;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-right: 34px solid aqua;
    border-bottom: 20px solid transparent;
  }


#nextpage {
    width: 40px;
    height: 40px;
    top: 805px;
    background-image: url(resources/png/next-page.png);
    background-size: contain;
    position: absolute;
    left: 555px;
    pointer-events: all;
}

#nextpage:hover {
    visibility: visible;
    cursor: pointer;
}

#notebook #abandon {
    width: 40px;
    height: 40px;
    top: 800px;
    background-image: url(resources/png/abandon.png);
    background-size: contain;
    position: absolute;
    left: 550px;
    pointer-events: all;
}

#notebook #abandon:hover {
    cursor: pointer;
}

#notebook #new-diary {
    top: 760px;
    width: 80px;
    height: 80px;
    left: 50px;
    background-size: cover;
    position: absolute;
    background-image: url(resources/png/quill.png);
    pointer-events: all;
}

#notebook #new-diary:hover {
    cursor: pointer;
}

#notebook #save {
    top: 790px;
    width: 50px;
    height: 50px;
    left: 50px;
    background-size: cover;
    position: absolute;
    background-image: url(resources/png/save.png);
    pointer-events: all;
}

#notebook #save:hover {
    cursor: pointer;
}

.tooltip {
  width: 80px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;   
  pointer-events: all;
  top: -30px;
  font-size: 10px;
  z-index: 1;
}

#edit {
    width: 40px;
    height: 40px;
    top: 200px;
    background-image: url(resources/png/edit-new-icon-22.png);
    background-size: contain;
    position: absolute;
    left: 500px;
    pointer-events: all;
}

#edit:hover {
    cursor: pointer;
}

#timelines {
    position: absolute;
    top: 140px;
    left: 20px;
    pointer-events: all;
}

.timeline-year {
  position: relative;
  background-color: white;
  border: 4px solid #FF9F55;
  border-radius: 50%;
  width: 10px;
  height: 10px;
}

.timeline-month {
  position: relative;
  background-color: white;
  border: 4px solid #FF9F55;
  left: 3px;
  border-radius: 50%;
  width: 4px;
  height: 4px;
}

.timeline-bar  {
  content: '';
  position: absolute;
  width: 6px;
  height: 700px;
  background-color: white;
  top: 5px;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.date {
    right: 100px;
    position: relative;
    line-height:10px;
    vertical-align: auto;
    color: white;
    width: 100px;
    text-align: center;
    pointer-events: none;
    font-family: LovelyFont;
}

.timeline-month .date {
    line-height: 5px;
    font-size: 10px;
    width: 50px;
    right: 60px;
}

.timeline:hover {
    transform: scale(1.5);
    cursor: pointer;
}


body {
  background-color: #474e5d;
  font-family: Helvetica, sans-serif;
}

