* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}

p.title {
    text-align: left;
    color: #7ea9ba;
    font-size: 2.2rem;
    padding: 0px;
    margin-bottom: 0px;
}

p.subtitle {
    color: #a5cddd;
    font-size: 1.3rem;
}

p {
    align-items: center;
    text-align: left;
    color: rgb(250, 250, 250);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: break-all;
    font-family: sans-serif;
    font-size: 1.1rem;
}


.leader{
    font-weight: 550;
}

/* Solid border */
hr.solid {
    border-top: 0.9px solid #bbb;
    max-width: 750px;
  }



/* ------ START - navigation bar styling -----*/
.navbar {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: white;
}

.page-title {
    font-size: 1.9rem;
    margin-left: 1rem;
    margin: 0.5rem;
}

.navbar-links {
    height: 100%;
}

.navbar-links ul {
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar-links li {
    list-style: none;
}

.navbar-links li a {
    display: block;
    text-decoration: none;
    color: white;
    padding: 1rem;
    font-size: 1.3rem;
}

.navbar-links li:hover {
    background-color: #555;
}

.toggle-button {
    position: absolute;
    top: .75rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
}

@media (max-width: 500px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .toggle-button {
        display: flex;
    }

    .navbar-links {
        display: none;
        width: 100%;
    }

    .navbar-links ul {
        width: 100%;
        flex-direction: column;
    }

    .navbar-links ul li {
        text-align: center;
    }

    .navbar-links ul li a {
        padding: .5rem 1rem;
    }

    .navbar-links.active {
        display: flex;
    }
}

/* ------ END - navigation bar styling -----*/



.chart {
    margin: 0px;
    padding: 0px;
    padding-top: 3px;
    align-items: center;
    justify-content: center;
}

.chart#chart1{
    min-width: 400px;
    width: max-content;
}

.vega-embed.has-actions {
    padding: 0px !important;
}

/* ------ START - cards styling -----*/
body {
    background: #212121;
}

.container {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    flex-direction: row;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    padding-bottom: 220px;
    overflow: auto;
    margin-bottom: 10vh;
}

/* unique styles per graph */

div#transistors.card {
    width: auto;
    height: auto;
}

iframe {
    width: 800px;
    height: 500px;
    border-radius: 10px;
    margin: -5px;
    padding: 0px;
    border: #76939e solid 6px;
}

.card#kepler1 {
    margin: 30px;
    border-radius: 10px;
    border: #76939e solid 0px;
}

.card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 10px;
    margin: 30px;
    padding: 5px;
    border: #76939e solid 6px;
}

.card #solarvscoal {
    display: flex;
    flex-flow: row wrap;
}

.card h5 {
    padding-top: 10px;
    padding-left: 5px;
    font-family: sans-serif;
    margin: 0;
}

.card p {
    padding-top: 5px;
    padding-left: 5px;
    padding-bottom: 5px;
    font-family: sans-serif;
    font-size: 10pt;
    margin: 0;
}


.card .category .tag {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    padding: 5px;
    
}
/* ------ END - cards styling -----*/


/* --- page links ---- */

    /* unvisited and visited link */
    a:link, a:visited {
        color: #FFB995;
        opacity: 1;
        text-decoration: underline;
    }

    /* mouse over link */
    a:hover {
        color: rgb(255, 210, 128);
        text-decoration: none;
    }

    /* selected link */
    a:active {
        text-decoration: underline;
    }

    /* tab selection over link */
    a:focus {
        color: rgb(255, 210, 128);
        text-decoration: none;
    }