* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

nav {
    font-family: serif;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: rgba(25, 167, 177, 0.5);
    font-family: Arial, Helvetica, sans-serif;
}

nav ul li {
    float: left;
    padding: 10px !important;
}

nav a {
    text-decoration: none;
    text-align: center;
    padding: 14px 16px;
}

nav a:link {
    color: black;
}

nav a:visited {
    color: black;
}

nav a:hover {
    background-color: lavender;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #E1EBE7;
}

td, th {
    padding: 10px;
    border: 1px solid black;
    /* text-align: center; */
}

td a {
    color: #43275C;
}

.prod {
    color: mediumseagreen;
}

.prod,
.dev,
.dep {
    font-size: .75em;
}

.disclaimer {
    width: 50vw;
}

footer {
    text-align: center;
    font-family: sans-serif;
    background-color: rgb(25, 167, 177);
}

#photo {
    object-fit: cover;
    object-position: center center;
    width: 50vw;
    height: 50vh;
}

.lgtxt {
    font-size: 1.5em;
    padding-left: 10px;
}

address {
    padding-left: 10px;
    padding-bottom: 2.5px;
}

header {
    background-color: rgb(25, 167, 177);
}

.name {
    text-align: center;
    letter-spacing: 1em;
}

.desc {
    text-align: center;
    letter-spacing: .25em;
}

.top-ico {
    width: 100%;
    height: 5vh;
    background-repeat: no-repeat;
    background-size: 2.5vw 2.5vw;
    background-image: url(assets/blur_on.svg);
    background-position: center;
}

.ind-box {
    margin: auto;
    transition: all .2s ease-in-out;
    width: 33.3vw;
    height: 75vh;
    float: left;
    text-decoration: none;
}

.ind-box a {
    text-decoration: inherit;
    color: inherit;
}

.ind-box:hover {
    transform: scale(1.1);
}

.ind-box h1 {
    padding: .75em;
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.index img {
    width: 100%;
}

.ib1 {
    background-color: rgb(34, 100, 100);
}

.ib2 {
    background-color: rgb(10, 139, 162);
}

.ib3 {
    background-color: rgb(21, 168, 222);
}

.ind-container {
    position: relative;
    text-decoration: none;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.ghub-header {
    color: white;
}

.socials {
    color: white;
}

.socials figcaption {
    position: absolute;
    bottom: 0;
}

.ghub {
    background-color: black;
}

.glab {
    background-color: #554488;
}

.glab img {
    width: 70%;
    transform: translate(0px, -5vh);
}

.goog {
    background-color: #ca707d;
}

.imcpr {
    position: absolute;
    bottom: 0;
}

input[type="submit"] {
    margin-left: 300px;
}

label {
    float: left;
    display: block;
    text-align: right;
    width: 300px;
    padding-right: 2em;
}

input, textarea {
    display: block;
    margin-bottom: 20px;
}

fieldset {
    text-align: right;
    width: fit-content;
    margin-left: 270px;
}

fieldset label {
    width: 75px;
}

.reqd {
    color: red;
    font-size: 1.25em;
}

.pad-left {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.25em;
    padding-left: 10px;
}

figcaption {
    font-family: sans-serif;
    font-size: .75em;
    text-align: center;
}

.ind-box figcaption {
    transition: all .1s ease-in-out;
    transform: translateY(5vh);
}

.ind-box:hover figcaption {
    transform: scale(.9) translateY(-5vh);
}

figcaption a {
    text-decoration: underline !important;
}

h1, p {
    margin-left: 1vw;
}

iframe {
    margin-left: 2.5vw;
}

/* For Tablets */
@media only screen and (max-width: 64em) {

    /* On real phones, (observed on S20 FE 5G) the elements on the homepage would move when clicked.
    This should fix that issue. */
    .ind-box:hover * {
        transition: none;
        transform: none;
    }

    figure {
        position: relative;
    }

    .ind-box figcaption {
        transition: none;
        height: 2.5vh;

    }

    .ind-box {
        position: relative;
    }

    .goog h1, .goog img {
        transform: translateY(-8vh);
    }
}

/* For Phones */
@media only screen and (max-width: 37.5em) {
    .goog h1, .goog img {
        transform: none;
    }

    form, #formheader {
        display: none;
    }

    .ind-box {
        width: 100%;
        height: 55vh;
    }

    .ind-container {
        display: unset;
        justify-content: unset;
    }

    table {
        font-size: smaller;
    }

    .top-ico {
        background-size: 5vh 5vh;
    }

    iframe {
        width: min-content;
    }
}