* {
    margin: 0; padding: 0;
    box-sizing: border-box;
}

:root {
    scroll-behavior: smooth;
}

body {
    background-color: rgb(255, 242, 215);
    color: rgb(68, 20, 12);
    font-family: verdana;
    padding-bottom: 500px;
}

header {
    background-color: rgb(132, 64, 50);
    position: fixed;
    top: 0;
    width: 100%;
}

header hr {
    border: 2px solid #b98953;
}

nav {
    text-align: center;
    padding: 0.5em;
}

nav a {
    color: rgb(255, 242, 215);
    text-decoration: none;
    padding-inline: 0.5em;
}

.heading {
    padding-top: 4em;
}

.heading div {
    width: 80%;
    height: 60px;
    margin: 0px auto;
    background-color: #a76344;
}

.heading h1 {
    text-align: center;
    text-transform: lowercase;
    color: rgb(255, 242, 215);
    padding-top: 8px;
}

h2 {
    text-align: center;
    font-weight: normal;
    background-color: #a76344;
    color:rgb(255, 242, 215)
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 3em;
}

form fieldset {
    min-height: 400px;
    padding-top: 60px;
    border: 0;
}

select {
    font-size: 1.2em;
    margin: 8px;
}

label, 
input[type=text], 
input[type=tel], 
input[type=url],
input[type=email],
textarea {
    font-size: 1.5em;
    font-style: italic;

}

textarea {
    width: 60%;
    min-height: 200px;
    font-style: inherit;
    padding: 8px;
    line-height: 1.5;
}

input[type=text], input[type=date] {
    width: 60%;
    min-height: 35px;
}

input[type=checkbox], input[type=radio], input[type=range] {
    transform: scale(1.5);
    margin: 4px 8px 4px 2px;
}

input[type=range] {
    margin-left: 80px;
}

#sugarOutput {
    font-size: 2em;
    color: #ab3a11;
    font-weight: bold;
}

input:focus {
    background-color: rgb(255, 251, 235);
}

input[type=submit] {
    background-color: rgb(132, 64, 50);
    color: rgb(255, 242, 215);
    border: 0;
    padding: 12px;
    font-size: 1.2em;
    margin: 2em 0;
    border-radius: 15%;
}