html {
    --testing: 0;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 0px;
    margin: 0px;
}

body {
    font-family: sans-serif;
    padding: 0px;
    margin: 0px;
}

iframe {
    border: none;
    width: 100%;
    height: 100%;
}

a {
    color: rgb(255,81,0);
    text-decoration: none;
}

h1,h2,h3,h4,h5,h6 {
    font-weight: normal;
    font-style: normal;
  }

a:hover {
    color: rgb(0,134,255);
}

input , select {
    text-align: center;
    font-size: 1vw;
    height: 2vw;
    border: 1px solid rgb(0,0,0);
}

/* Spacers */

.space-20 {
    padding-top: 10vw;
    padding-bottom: 10vw;
}

.space-10 {
    padding-top: 5vw;
    padding-bottom: 5vw;
}

.space-5 {
    padding-top: 2.5vw;
    padding-bottom: 2.5vw;
}

.space-2 {
    padding-top: 1vw;
    padding-bottom: 1vw;
}

.space-1 {
    padding-top: .5vw;
    padding-bottom: .5vw;
}

.space-s-5 {
    padding-left: 2.5vw;
    padding-right: 2.5vw;
}

.space-s-2 {
    padding-left: 1vw;
    padding-right: 1vw;
}

.space-s-1 {
    padding-left: 0.5vw;
    padding-right: 0.5vw;
}

.space-s-half1 {
    padding-left: 0.25vw;
    padding-right: 0.25vw;
}

/* Page Layout */

#content {
    overflow: hidden;
    padding-top: 1vw;
    padding-bottom: 1vw;
    margin: 0 auto; /* centers projects div */
    width: 95%; /* adds space on both sides */
    max-width: 1080px; /* keeps div from being too wide */
    background-color: rgba(255,0,0,var(--testing));
}

.content-flex {
    background-color: rgba(0,255,255,var(--testing));
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
}

.content-column {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.content-centered {
    text-align: center;
}

/* Blocks */

.page-title {
    text-align: center;
    font-size: 2.5vw;
    color: rgb(50,50,50);
}

.section-title {
    text-align: left;
    font-size: 1.5vw;
    font-weight: bold;
}

.section-title-no-bold {
    text-align: left;
    font-size: 1.5vw;
}

.center-title {
    text-align: center;
    font-size: 1.75vw;
    font-weight: bold;
}

.center-text {
    text-align: center;
    font-size: 1vw;
}

.divider {
    margin-top: 1vh;
    border-bottom: 1px solid rgb(200,200,200);
    margin-bottom: 1vh;
}

.text {
    text-align: left;
    font-size: 1.25vw;
    line-height: 1.5vw;
}

.text-small {
    text-align: left;
    font-size: 1vw;
    line-height: 1.25vw;
}

.text-center {
    text-align: center;
    font-size: 1.25vw;
    line-height: 1.5vw;
}

/* Containers */

.container-main-section {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    border: 2px solid rgb(200,200,200);
    border-radius: 1vw;
    margin: 1vw;
    padding: 1vw;
}

.container-flex-horizontal {
    display: flex;
    flex-direction: row;
}

.container-flex-centered {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.container-graph {
    border: 1px solid rgb(200,200,200);
    border-radius: 1vw;
    padding: 1vw;
    margin: 1vw;
}

/* Table */

.datapoint-acid {
    color: rgb(255,0,0);
}

.datapoint-base {
    color: rgb(0,0,255);
}

.datapoint-pH {
    color: rgb(125,0,125);
}

.datatable table {
    border-collapse: collapse;
    width: 100%;
}

.datatable th{
    font-weight: bold;
}

.datatable td, .datatable th{
    border: 1px solid rgb(200,200,200);
    text-align: center;
    font-size: 1vw;
    padding: .5vw;
}

.datatable tr:nth-child(even) {
    background-color: rgb(240,240,240);
}