:root {
    --blue: #468ecc;
    --dark-grey: #4a4a4a;
    --white: #fff;
    --black: #000;
    --trans-black: rgba(0, 0, 0, 0.1);
    --dark-blue: #1d4365;
    --orange: #f39200;
    --footer-height: 55px;
    --header-height: 85px;
}

.color-theme {
    --bg: var(--white);
    --text: var(--dark-grey);
    --nav-bg: var(--blue);
    --link: var(--blue);
    --link-hover: var(--dark-grey);
    --caption: var(--blue);
    --zoom-bg: var(--trans-black);
}

.bw-theme {
    --bg: var(--white);
    --text: var(--black);
    --nav-bg: var(--black);
    --link: var(--black);
    --link-hover: var(--black);
    --caption: var(--black);
    --zoom-bg: var(--trans-black);
}

.dark-theme {
    --bg: var(--black);
    --text: var(--white);
    --nav-bg: var(--black);
    --link: var(--white);
    --link-hover: var(--white);
    --caption: var(--white);
    --zoom-bg: var(--white);
}

html {
    font-family: 'Source Sans Pro',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
    word-break: break-word;
    word-spacing: 1px;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    font-size: 16px;
    height: 100vh;
}

.zoomed-in {
    font-size: 32px;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: var(--bg);
    color: var(--text);
    transition: 0.1s ease-in-out;
}

h1, h2 {
    font-weight: 500;
    margin: 15px auto 5px;
    text-align: center;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

#logo {
    width: 250px;
}

table {
    width: 100%;
    margin: auto;
    border-collapse: collapse;
}

table p {
    margin: 3px auto;
    line-height: 1.6em;
}

.t-border-tb {
    border-top: 2px solid #dbdbdb;
    border-bottom: 2px solid #dbdbdb;
}

td, th {
    padding: 0.6rem;
    width: 50%;
    margin: 50px;
    vertical-align: top;
}

a {
    text-decoration: none;
    color: var(--link);
    transition: 0.15s ease;
}

a:hover, a:focus {
    color: var(--link-hover);
    text-decoration: underline;
}

header {
    height: var(--header-height);
}

.header-upper {
    height: 16px;
    background-color: var(--nav-bg);
}

.header-lower {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    background-color: white;
}

.header-btn {
    border: none;
    width: 30px;
    height: 30px;
    padding: 5px;
    transition: 0.1s ease-in-out;
}

.header-btn:hover, .header-btn:focus {
    transform: scale(1.05);
}

.zoom-btns {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 47vh;
    right: 3vw;
}

.zoom-btn {
    width: 40px;
    height: 40px;
    margin: 3px;
    border: none;
    border-radius: 3px;
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.1);
    background-color: var(--zoom-bg);
    font-size: 22px;
    transition: 0.1s ease-in-out;
}

.zoom-btn:hover, .zoom-btn:focus {
    transform: scale(1.05);
}

.page-container {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: justify;
    width: 70%;
    min-height: calc(100vh - (var(--header-height) + var(--footer-height)));
    margin: 0 auto;
    padding: 2rem;
    transition: 0.1s ease-in-out;
}

.t-caption {
    color: var(--caption);
    font-weight: 900;
    letter-spacing: 1px;
}

.t-container {
    width: 100%;
    margin: 20px auto;
    text-align: left;
}

.t-box {
    margin: 0 auto 20px;
}

.id-img {
    width: 100%;
    background-color: white;
    border-radius: 5px;
    padding: 5%;
}

.legend {
    margin: 10px 0;
    text-align: left;
}

footer {
    display: flex;
    justify-content: center;
    background-color: var(--nav-bg);
    box-sizing: border-box;
    border-top: 2px solid #ffffff55;
    height: var(--footer-height);
}

footer a {
    color: #fff;
    font-weight: 500;
    padding: 1rem;
}

footer a:hover, footer a:focus {
    color: #e2e8f0;
    text-decoration: none;
}

.btn-selected {
    box-shadow: 0 0 3px 0 black;
    border-radius: 5px;
    transform: scale(1.05);
}

/*media queries*/

@media screen and (max-width: 1200px) {
    .page-container {
        width: 80%;
    }
}

@media screen and (max-width: 992px) {
    .page-container {
        width: 90%;
    }

    .zoom-btns {
        right: 1vw;
    }

    .zoom-btn {
        width: 30px;
        height: 30px;
        margin: 2px;
    }
}

@media screen and (max-width: 600px) {
    html {
        font-size: 14px;
    }

    .zoomed-in {
        font-size: 28px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .zoom-btn {
        width: 20px;
        height: 20px;
        font-size: 14px;
        font-weight: 600;
    }

    .page-container {
        width: 95%;
        padding-left: 1rem;
    }

    #logo {
        width: 180px;
    }
}