
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    margin: 0 auto;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 16px;
    background: #212121;
    color: white;
}

header {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0px;
    width: 100%;
    z-index: 2;
    background: black;
}

header h1 {
    padding: 0px 25px;
}

nav {
    display: inline-block;
    padding: 25px 10px;
    text-align: right;
}

nav a {
    padding: 15px 20px;
    margin: 5px;
    color: white;
    min-width: 150px;
}
nav a:hover {
    background: #003030;
    border-radius: 20px;
    transition: background 500ms ease;
}

/* */

input {
    font-size: 16px;
}

textarea {
    font-size: 16px;
    resize: vertical;
}

button {
    padding: 10px 25px;
    border: 2px solid #212121;
    color: white;
    background: #212121;
    font-size: 16px;
}

button:hover {
    cursor: pointer;
    border: 2px solid white;
    background: #003030;
    transition: background 0ms ease, border 0ms ease;
}

section {
    top: 150px;
    margin: 0 auto;
    position: relative;
    width: 800px;
}

/* */

section.about {
    display: flex;
}

section.about .text {
    line-height: 1.25;
}

/* */

button.topButton {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    background: black;
}

button.topButton:hover {
    background: #003030;
}

section.tableOfContents {
    top: 150px;
    z-index: 1;
}

section.tableOfContents a {
    color: white;
}

section.projects {
    top: 0px;
    width: 100%;
    line-height: 1.25;
}

section.project {
    padding-top: 90px;
}

section.project h2 {
    padding: 15px;
    background: #003030;
}

section.project h4 {
    padding: 0px 15px;
}

section.project p {
    padding-top: 15px;
}

section.projectGallery {
    top: 0px;
    margin: 15px auto;
    width: 700px;
}

section.galleryBottom {
    top: 0px;
}

section.galleryBottom img:hover {
    cursor: pointer;
    opacity: 0.70;

} 

section.quoteDemo {
    margin: 15px auto;
    padding: 5px 20px;
    top: 0px;
    width: 750px;
    border: 2px solid white;
}

section#project3 {
    padding-bottom: 150px;
}

/* */

section.contactForm .instructions {
    margin-bottom: 10px;
}

section.contactForm form {
    display: grid;
    position: absolute;
    width: 800px;
    grid-template: repeat(4, 1fr) / 2fr 3fr;
    gap: 5px 5px;
    line-height: 2;
}

section.contactLeft {
    display: flex;
    flex-direction: column;
    width: 100%;
    top: 0px;
    grid-row: 1 / 5;
    grid-column: 1 / 2;
}

section.contactForm .name {
    height: 45px;
    padding: 0px 5px;
    margin-bottom: 5px;
}

section.contactForm .email {
    height: 45px;
    padding: 0px 5px;
}

section.contactForm .subject {
    height: 45px;
    padding: 0px 5px;
    margin-top: 5px;
}

section.contactForm .message {
    min-height: 145px;
    grid-row: 1 / 4;
    grid-column: 2 / 3;
}

section.contactForm .links {
    height: 45px;
    width: 100%;
    top: 0px;
    padding: 5px;
}

section.contactForm .status {
    grid-row: 4 / 5;
    grid-column: 2 / 3;
    align-self: start;
    justify-self: center;
    color: green;
}

section.contactForm .send {
    grid-row: 4 / 5;
    grid-column: 2 / 3;
    align-self: start;
    justify-self: end;
}