* { box-sizing: border-box; }

html{ font-family: ms pgothic; 
    width: 100%;
    overflow-x: hidden;
    }

body{ display: flex;
    flex-flow: row nowrap;
    width: 1000px;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    background: white url("images/gingham-pink-small.png") repeat;
    }

nav{ position: sticky;
    top: 20px;
    width: 180px; 
    max-height: 140px;
    background-color: lavenderblush;
    border-radius: 5px;
    box-shadow: 7.5px 5px rgb(255,255,255,1), -5px 5px rgb(255,255,255,1);
    padding: 10px;
    }
    
nav ul{ list-style-type: none; margin-top: 10px; padding-left: 0px; }
nav ul li a{ color: inherit; text-decoration: none; }
nav ul li a:hover{ text-decoration: underline; }

.containertitle{ display: flex;
    justify-items: flex-start;
    align-items: center; 
    padding-left: 10px;
    background-color: pink;
    border: pink solid 2px;
    border-radius: 5px;
    height: 45px;
    }
    
nav .containertitle{ width: 160px; }

#bio{ position: sticky;
    top: 180px; 
    max-height: 300px;
    background-color: lavenderblush;
    border-radius: 5px;
    box-shadow: 7.5px 5px rgb(255,255,255,1), -5px 5px rgb(255,255,255,1);
    padding: 20px;
    }

#navigation{
    display: flex;
    flex-flow: column;
    margin-right: 45px;
}

.fanfic_tag{
    border-bottom: 1px dotted;
    font-size: 0.95em;
}

main{ display: flex;
    flex-flow: column nowrap;
    width: 800px;
    }

.container{ 
    width: 800px;
    background: lavenderblush;
    box-shadow: 7.5px 5px rgb(255,255,255,1), -5px 5px rgb(255,255,255,1);
    border-radius: 5px;
    margin: auto;
    margin-bottom: 12.5px;
    padding: 10px;
    overflow: hidden;
    }

.gallery{ 
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    padding-bottom: 10px;
    padding-top: 10px;
    overflow-y: auto;
    scrollbar-width: auto;
    }
    
.break{ width: 100%; height: 0px; }

.galleryImg img{
    width: 33em;
    border: white 4px solid;
    border-radius: 15px;
    margin: 5px 10px;
}

.work{
    margin: 20px 0px;
}

.worktitle {
    font-weight: bold;
}

.worklist {
    padding-left: 10px;
}

/*tooltips*/

    .tooltip {
      cursor: pointer;
    }

    .tooltip-content {
      position: absolute;
      display: none;
      padding: 10px 6px 10px 10px;
      font-size: 14px;
      line-height: 1.3em;
      z-index: 999;
      margin-top: 10px;
      max-width: 400px;
      border: 2px solid #ff6faf;
      z-index: 9999;
      background-color: white;
    }
      
    .typeA {
      border: 2px solid purple;   
    }  