:root {
  --font: "Raleway" sans-serif;
  --font-size: 10px;
  --white: #ffffff;
  --black: #000000;
  --blue: steelblue;
  --red: red;
  --grey: lightgrey;
  --light-green: #1abc9c;
}

/* General chart formatting */
body,
html {
  margin: 0;
}

svg {
  clear: both;
  margin-top: 20px;
  margin-bottom: 20px;
  overflow: visible;
}

/* Tip formatting */

.d3-tip {
  line-height: 1;
  font-weight: bold;
  padding: 8px;
  background: var(--grey);
  color: var(--white);
  border-radius: 2px;
}

/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
  box-sizing: border-box;
  display: inline;
  font-size: var(--font-size);
  width: 100%;
  line-height: 1;
  color: var(--grey);
  content: "\25BC";
  position: absolute;
  text-align: center;
}

/* Style northward tooltips differently */
.d3-tip.n:after {
  margin: -1px 0 0 0;
  top: 100%;
  left: 0;
}


/* docs.css */
.marginnote code { 
    font-size: 0.9rem;
  }


.marginnote { float: right;
    clear: right;
    margin-right: -60%;
    width: 50%;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 0.8rem;
    line-height: 1.6;
    vertical-align: baseline;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.marginnote a {font-size: 1.0rem;
color: #777;  }


li .marginnote  { float: right;
    clear: right;
    margin-right: -64.52%;
    width: 53.76%;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.0rem;
    line-height: 1.96;
    vertical-align: baseline;
    position: relative; }


    



/*Chart menu styles*/

.doodl-chart{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 5rem;
  width: fit-content;
}

.dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-button {
    background-color: #dcebf0;
    color: white;
    font-size: 20px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }
  
  .hamburger {
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: white;
    position: relative;
  }
  
  .hamburger::before,
  .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: white;
    left: 0;
  }
  
  .hamburger::before {
    top: -8px;
  }
  
  .hamburger::after {
    top: 8px;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
    right: 0;
  }
  
  .dropdown-content a {
    color: black;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
  }
  
  .dropdown-content a:hover {
    background-color: #dcebf0;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .dropdown:hover .dropdown-button {
    background-color: #2980b9;
  }
