@font-face {
    font-family: Roboto;
    src: url('Roboto-Regular.ttf');
}

a {
    text-decoration: none;
    color: #75DFF9;
}

html {
    font-family: 'Effra', Roboto, 'Helvetica Neue', Helvetica, arial, sans-serif;
    color: #75DFF9;
    background: #0C1429 url("back.jpg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

h1 {
    font-variant: small-caps;
}

.highlight-color {
    color: white;
    fill: white;
    stroke: #818388;
}

.natural-color {
    color: #75DFF9;
    fill: #75DFF9;
    stroke: white;
}

.natural-color-light {
    color: #61edff
}

.manmade-color {
    color: #FA7533;
    fill:  #FA7533;
    stroke: white;
}

.state, .noncoastal {
    fill: #818388;
}

.mesh {
    fill: none;
    stroke: #D1D1D1;
}

.point {
    stroke-width: 0.05;
}

.point:hover {
    cursor: pointer;
}

.d3-tip {
    font-size: 0.8rem;
    padding: 5px;
    z-index: 3;
}

/* Chart properties
*/

.axis path,
.axis line {
    fill: none;
    stroke: #fff;
    shape-rendering: crispEdges;
}

text {
    fill: #fff;
}

.tick {
    font-size: 1.7vw;
}

.x.axis path {
    display: none;
}

.line {
    fill: none;
    stroke: #61edff;
    stroke-width: 1.5px;
}

#chart-container {
    background-color: #0C1B3C;
    font-size: 1.8vw;
}

.container {
    opacity: 0;
    background-color: #0C1B3C;
}

#info-container, #embed-container {
    border: 1px solid white;
    color: white;
}

#embed-container {
    font-size: 2.2vw;
}

/* TODO: refactor this */
#info-container p, #embed-container p,
#info-container label, #embed-container label,
#info-container input, #embed-container input,
#info-container textarea, #embed-container textarea {
    margin-left: 15px;
    margin-right: 22px;
    font-weight: lighter;
    font-size: 2.2vw;
}

#embed-container p {
    margin-right: 50px;
}

#embed-container input {
    color: black;
}

#embed-container textarea {
    height: 30%;
    width: 90%;
    margin-top: 15px;
    border: none;
    background-color: #0C1B3C;
    color: white;
    resize: none;
    font-family: monospace;
    font-size: 1.8vw;
}

.chart {
    border: 1px solid white;
}

#instructions {
    color: white;
}

rect.bar:hover {
    stroke: white;
    stroke-width: 1.5px;
}

#embed-container input[type="radio"] {
    margin-right: 5px;
    margin-top: 10px;
    margin-left: 16px;
}

.info {
    background-image: url('data:image/svg+xml;charset=UTF-8, %3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2225%22%20height%3D%2225%22%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Cpath%20fill%3D%22%23FA7533%22%20d%3D%22M8.9%2C16.7l1.7-9.2C10.6%2C7.1%2C11%2C6.9%2C11.4%2C7C11.8%2C7%2C12.1%2C7.4%2C12%2C7.7L10.3%2C17c-0.1%2C0.4-0.4%2C0.6-0.9%2C0.5%20C9.1%2C17.4%2C8.8%2C17.1%2C8.9%2C16.7z%22%2F%3E%3C%2Fg%3E%3Cg%3E%3Cpath%20fill%3D%22%23FA7533%22%20d%3D%22M11%2C4.7l0.1-0.6c0.1-0.4%2C0.4-0.6%2C0.9-0.5c0.4%2C0.1%2C0.7%2C0.4%2C0.6%2C0.8L12.5%2C5c-0.1%2C0.4-0.4%2C0.6-0.9%2C0.5%20S10.9%2C5.1%2C11%2C4.7z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3Cg%3E%3Cpath%20fill%3D%22%23FA7533%22%20d%3D%22M10.7%2C21.5C4.8%2C21.5%2C0%2C16.6%2C0%2C10.7C0%2C4.8%2C4.8%2C0%2C10.7%2C0s10.7%2C4.8%2C10.7%2C10.7C21.5%2C16.6%2C16.6%2C21.5%2C10.7%2C21.5z%20M10.7%2C1.6c-5%2C0-9.1%2C4.1-9.1%2C9.1s4.1%2C9.1%2C9.1%2C9.1s9.1-4.1%2C9.1-9.1S15.8%2C1.6%2C10.7%2C1.6z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E') !important;
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
}

.container > .ex {
    position: absolute;
    right: 2%;
    top: 3%;
    width: 5%;
}

.code-container {
    border: 1px solid white;
}

.container > .ex:hover {
    cursor: pointer;
}

.info:hover {
    cursor: pointer;
}

div.x-circle {
    height: 3vw;
    width: 3vw;
    border: 1px solid white;
    border-radius: 50%;
    right: -3.5%;
    top: -4%;
    background-color: #0C1B3C;
    position: absolute;
    z-index: 2;
}

div.x-circle img {
    width: 1.7vw;
    margin: 20% 20% 20% 21%;
    cursor: pointer;
}