html * {
    box-sizing: border-box;
}

body, html {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    margin: 0;
    padding: 0;
    background: #9AC7E9;
    font-family: 'Roboto', sans-serif;
}

/*body {*/
/*    background-image: url('./img/bg_test4.svg');*/
/*    background-position: center;*/
/*    background-repeat: no-repeat;*/
/*    background-size: cover;*/
/*background-attachment: fixed;*/
/*}*/


.header-wrapper {
    background-image: url('./img/header1.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.section:nth-child(2) {
    background-image: url('./img/header2.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.section:nth-child(3) {
    background-image: url('./img/header3.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.section:nth-child(4) {
    background-image: url('./img/header4.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.section:nth-child(5) {
    background-image: url('./img/header5.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.section:nth-child(6) {
    background-image: url('./img/header6.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.section:nth-child(7) {
    background-image: url('./img/header7.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#fp-nav ul li a span {
    background: white !important;
}

#content-container {
    /*padding: 4rem 0;*/
}

.inlay {
    max-width: 1000px;
    margin: 0 auto;
}

header {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

header h1, header h2 {
    text-align: center;
    margin: 0 auto;
}

footer {
    background: green;
    padding: 2rem 0;
}

footer p, footer h3 {
    color: #fff;
    font-weight: 300;
    line-height: 1.5rem;
}

.center-x {
    display: flex;
    justify-content: center;
}


section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

section:last-of-type {
    margin-bottom: 0;
}

/*******************/
/*copied style from mainplot example*/

.axis path,
.axis line {
    fill: none;
    stroke: #000;
    shape-rendering: crispEdges;
}

.dot {
    fill: #DE4040;
}

.dot:hover {
    /*stroke: #000;*/
    fill: green;
    cursor: pointer;
}

#tooltip {
    background-color: #fff;
    opacity: 0;
    position: absolute;
    padding: 1rem;
    border: 0;
    border-radius: 8px;
    pointer-events: none;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

#tooltip h3 {
    margin: 0 0 0.5rem 0;
    color: #DE4040;
    font-size: 1.25rem;
}

#tooltip h4 {
    font-weight: 500;
    margin: 0;
}

#tooltip.active {
    display: block;
    opacity: 1;
}

#tooltip span, #tooltip h4 {
    overflow-wrap: break-word;
    font-size: 0.8rem;
    color: #111;
}

#tooltip .header {
    display: flex;
    justify-content: space-between;
}

#tooltip .body {
    display: flex;
    flex-direction: column;
}

#tooltip span {
    margin-bottom: 0.5rem;
}

#tooltip span:last-of-type {
    margin-bottom: 0;
}

#tooltip #deaths {
    position: relative;
    padding-left: 1.5rem;
}

#tooltip #deaths:before {
    font-family: "Font Awesome 5 Free";
    pointer-events: none;
    display: inline-block;
    font-size: 1rem;
    position: absolute;
    font-weight: 900;
    color: #DE4040;
    content: "\f54c";
    left: 0;
    top: -1px;
}

/*styling line_histogram*/

#line_histogram .line-path {
    fill: none;
    stroke-width: 5;
    stroke-linejoin: round;
    stroke-linecap: round;
    mix-blend-mode: multiply;

}

#line_histogram text {
    font-family: sans-serif;
}

#line_histogram .tick text {
    font-size: 1rem;
    fill: #635F5D;
}

#line_histogram .tick line {
    stroke: #C0C0BB;
}

#line_histogram .axis-label {
    font-size: 1.4rem;
    fill: #8E8883;
}

#line_histogram .title {
    font-size: 2.7em;
    fill: #635F5D;
    text-anchor: middle;
}

.chart-container {
    background: #fff;
    border: 0;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

.intro img {
    height: 400px;
    width: auto;
}

.intro p {
    padding: 2rem;
    line-height: 1.5rem;
}

.svg-container {
    width: 920px;
    height: 460px;
    margin: 0 auto;
    position: relative;
}

.svg-container.deathcauses {
    height: 420px;
}

.chart-container h3 {
    color: #111;
    font-size: 1.5rem;
    font-weight: 400;
}

/*styling season_bar_chart*/


#season-bar-chart .axis-label {
    font-size: 1rem;
    fill: #635F5D;
}

#season-bar-chart .tick line {
    stroke: #C0C0BB;
}

#season-bar-chart .tick text {
    font-size: 1rem;
    fill: #635F5D;
}


/*styling scatterplot with menu*/
#scatter_plot_with_menu .body {
    margin: 0px;
    overflow: hidden;
}

#scatter_plot_with_menu .circle {
    fill: red;
    opacity: 0.3;
}

#scatter_plot_with_menu .tick text {
    font-size: 2.7em;
    fill: #635F5D;
}

#scatter_plot_with_menu .tick line {
    stroke: #C0C0BB;
}

#scatter_plot_with_menu .axis-label {
    font-size: 5em;
    fill: #8E8883;
}

#menus {
    font-size: 2.5em;
    text-align: center;
}

#menus select {
    font-size: 2.5rem;
}

#menus select option {
    font-size: 1rem;
}

@keyframes particleAnimation {
    from {
        left: -100px;
        top: 100px;
    }
    to {
        left: calc(20%);
        bottom: 100px;
    }
}

.p {
    position: fixed;
    left: 0px;
    top: 50px;
    width: 1px;
    height: 1px;
    background-color: white;
    position: fixed;
    transform: rotate(45deg);
}

.p::before {
    position: absolute;
    display: block;
    content: "";
    width: 100px;
    right: 1px;
    top: 0px;
    height: 1px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.p-2 {
    animation: shoot2 8s infinite;
    animation-delay: 2s;
}

.p-3 {
    animation: shoot3 7s infinite;
    animation-delay: 3s;
}

.p-1 {
    animation: shoot1 10s infinite;
    animation-delay: 7s;
}

@keyframes shoot2 {
    0% {
        left: 0px;
        top: 100px;
        opacity: 1;
    }

    10% {
        left: calc(10%);
        top: 200px;
        opacity: 0.1;
    }

    11% {
        left: calc(20%);
        bottom: 100px;
        opacity: 0;
    }

    100% {
        left: -100px;
        top: 100px;
        opacity: 0;
    }
}

@keyframes shoot3 {
    0% {
        left: 50%;
        top: 200px;
        opacity: 1;
    }

    10% {
        left: 60%;
        top: 360px;
        opacity: 0.1;
    }

    11% {
        left: 60%;
        top: 360px;
        opacity: 0;
    }

    100% {
        left: 50%;
        top: 300px;
        opacity: 0;
    }
}

@keyframes shoot1 {
    0% {
        left: 80%;
        top: 10px;
        opacity: 1;
    }

    20% {
        left: 100%;
        top: 200px;
        opacity: 0.1;
    }

    21% {
        left: 60%;
        top: 200px;
        opacity: 0;
    }

    100% {
        left: 50%;
        top: 300px;
        opacity: 0;
    }
}

#menus select {
    font-size: 1.2rem;
}

#menus {
    font-size: 1.2rem;
}

#fp-nav ul li .fp-tooltip {
    color: #FA6400 !important;
    text-shadow: black;
}