/* Place font imports or self-host here. */
@import url('https://fonts.googleapis.com/css2?family=Syne+Mono&display=swap');

/* CSS References: https://www.w3schools.com; https://developer.mozilla.org/en-US/ */
body {
    background: #000 url("../bloodborne-shrine/hunterworkshop.png") fixed;
    background-size: cover;
    cursor: url('../cur/black-rose.cur'), auto;
    font: 15.5px 'Syne Mono', monospace;
    color: #7a968d;
    /* Line height is similar to line spacing in a word document. */   
    line-height: 1.5;
    text-align: center;
  }

/* Custom Links */
  a {
    color: #64757a;
    text-decoration: none;
    cursor: url('../cur/black-rose.cur'), auto;
  }
  a:hover {
      background: #7a968d;
      text-decoration: underline;
  }

/* Puts border around images using the .imgborder code. */
  img.border {border: 3px double #7a968d;}

/* Puts shadow around images using the .imgshadow code. */
  img.shadow {
    border-radius: 50%;
    box-shadow: 20px 20px 20px 20px rgb(0,0,0);
  }

/* Footer Background - Can also be used to highlight */
p.highlight { 
  background: rgba(0,0,0,.7) url("../bg/transparent/black-paper.png") fixed repeat;
  padding: 7px;
  color: #7a968d;}


/* "Invisible" table -Use only with title. */  
table {border-collapse: collapse; width: 100%; margin: 0 auto;}
table, td, th {border: none;}

  /* Table for favs - Be sure to add table id into the html doc */
  #favorites {
    width: 95%;
    border: 1px dotted #7a968d;
  }
  
  #favorites td, #favorites th {
    background-color: rgba(122,150,141,.5);
    border: 1px solid #967a83;
    padding: 3px;
    text-align: center;
    color: #000;
  }


/* Use div id whenever '#' is present. Float: left makes the element float left of its container. */
#bb {
  /* Margin code below indicates layout should be in the center of a webpage. */
  margin: 0 auto;
  width: 900px;
  border: 4px ridge #7a968d;
}

#shrine {
  width: 870px;
  margin: 0 auto;
  /* Code below indicates the distance between the shrine and notes. */
  margin-top: 10px;
  background: rgba(0,0,0,.7) url("../bg/transparent/black-paper.png") fixed repeat;
  padding: 7px;
}

#notes {
  width: 900px;
  margin: 0 auto;
  /* Code below indicates the distance between the shrine and notes. */
  margin-top: 10px;
}
  
.doll {  
  bottom: 0;
  right: 0;
  position: fixed;
}


/* CSS Animation code for back and forth affect. */
  img.bf {
    animation: rotation 4s infinite linear;
  }
  @keyframes rotation { 0% { -webkit-transform: rotate(0deg); }
    25% {  -webkit-transform: rotate(3deg); }
    50% { -webkit-transform: rotate(0deg); }
    75% { -webkit-transform: rotate(-3deg); }
    100% { -webkit-transform: rotate(0deg); } }

/* CSS Animation code for floating affect. */
  img.float {  
    animation-name: float;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    margin-left: 30px;
    margin-top: 5px;
}

@keyframes float {
    from { transform: translate(0,  0px); }
    65%  { transform: translate(0, 15px); }
    to   { transform: translate(0, -0px); }    
}

/* Custom webkit scrollbar - only works in webkit browsers  */
  ::-webkit-scrollbar {width: 10px;}
  ::-webkit-scrollbar-track {background: #19222a;}
  ::-webkit-scrollbar-thumb {background: #7a968d;}