@import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@200&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css");

/* Style the entire page */
:root {
    background-color: #757575;
}

* {
    box-sizing: border-box;
}

/* Style all content */
.contentWrapper {
    font-family: monospace;
    display: grid;
    grid-template-rows: auto 1fr auto;
    place-content: center;
    text-align: center;
    margin: 0;
}

/* Style the nav bar */
#nav {
    background-color: #004481;
    display: flex;
    justify-content: flex-start;
    position: fixed;
    padding: 20px;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

/* Style the text in the nav bar */
a {
    color: #A77C29;
    font-size: 2em;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    margin-left: 25px;
}

/* Style the text in the nav bar for mobile devices */
@media only screen and (max-width: 600px) {
    a {
        color: #A77C29;
        font-size: 1.25em;
        font-weight: bold;
        text-decoration: none;
        position: relative;
        margin-left: 10px;
}
}

/* Create underline animation in the nav bar */
a::after {
    content: "";
    border-bottom: 3px solid #A77C29;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(5px);
    transition: transform 0.3s ease;
    opacity: 0;
    height: 100%;
    width: 100%;
}
a:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Style the header */
.header {
    color: black;
    display: grid;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 75px;
    height: 5vh;
    position: relative;
}

/* Style the main content */

.mainContent {
    min-height: 50vh;
    padding-top: 75px;
    padding-bottom: 60px;
}

.referDefInput {
    padding-bottom: 15px;
}

.dataDisplay {
    border-style: solid;
}

#homeData {
    font-size: 1.25em;
    padding: 5px 10px;
    font-family: monospace;
    position: relative;
}

#smallData {
    font-size: 1.25em;
    padding: 5px 10px;
    font-family: monospace;
    position: relative;
}

#newData {
    font-size: 1.25em;
    padding: 5px 10px;
    font-family: monospace;
    position: relative;
}

#largeData {
    font-size: 1.25em;
    padding: 5px 10px;
    font-family: monospace;
    position: relative;
}

#traverseData {
    font-size: 1.25em;
    padding: 5px 10px;
    font-family: monospace;
    position: relative;
}

.stopwatch {
    font-size: 3em;
}

#start {
    font-size: 1.25em;
    padding: 5px 10px;
    font-family: monospace;
    position: relative;
}

#stop {
    font-size: 1.25em;
    padding: 5px 10px;
    font-family: monospace;
    position: relative;
}

#reset {
    font-size: 1.25em;
    padding: 5px 10px;
    font-family: monospace;
    position: relative;
}

.disclosure {
    font-size: large;
    position: relative;
}
/* Style the footer */

#footer {
    color: black;
    background-color: #CC101F;
    font-family: monospace;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    padding: 15px 15px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
}