@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap');

:root {
    --fore: rgb(255, 166, 0);
    --text: white;
    --back: #1f1f1f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: 'Nunito', sans-serif;
}

p {
    margin-bottom: 1rem;
}

h1,
h2,
h3 {
    margin-bottom: 1rem;
}

/*
ul {
    margin-bottom: 1rem;
    list-style-position: inside;
}

li {
    margin-bottom: 0.5rem;
}


/* Style the header element *\/
header {
    background-color: var(--back);
    color: #fff;
    padding: 1rem;
    position: fixed;
    width: 100%;
}

/* Style the navigation links *\/
header nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

header nav a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem;
    /* transition: all 0.2s ease-in-out; *\/
}

header nav a:hover {
    background-color: #fff;
    color: var(--back);
    border-radius: 0.25rem;
    cursor: pointer;
}

#header-spring {
    height: 70px;
}
*/

/* Style the first navigation link differently */
nav a:first-child {
    font-weight: bold;
}

#menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 200px;
    height: 100%;
    background-color: var(--back);
    display: none;
}

#menu.open {
    display: block;
}

#menu nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

#menu h1, #menu h2, #menu h3, #menu h4 {
    color: var(--text);
    /* font-size: 20px; */
}

#menu h1, #menu h2, #menu h3 {
    padding: 5px 0;
    margin-bottom: 5px;
    margin-top: 12px;
}

#menu h4 {
    padding: 3px 0;
    margin-bottom: 3px;
    margin-top: 4px;
}

#menu a {
    display: block;
    width: 100%;
    padding: 5px;
    color: var(--text);
    text-align: center;
    text-decoration: none;
    /* transition: background-color 0.2s ease; */
}

#menu a:hover {
    background-color: var(--text);
    color: var(--back);
    cursor: pointer;
}

#landing {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(40vh - 70px);
    background-color: var(--fore);
}

/* For desktop screens */
@media only screen and (min-width: 1024px) {
    #landing {
        height: calc(30vh - 70px);
    }
}

#landing h1 {
    color: white;
    font-size: 4rem;
    text-align: center;
}

#landing p {
    color: white;
    font-size: 2rem;
    text-align: center;
    margin-top: 0rem;
}

.page-outer {
    padding-top: 50px;
    padding-bottom: 50px;
}

.page-inner {
    padding: 0 1rem;
    max-width: 800px;
    margin: 0 auto;
}

input {
    font-size: 20px;
    margin: 4px;
}

input[type="number"] {
    text-align: end;
    width: 200px;
    margin-right: 8px;
}

.convert-box {
    margin-bottom: 40px;
}