html {
    scroll-behavior: smooth;
}


body{
background-image:url(/images/bg800bulbs.jpg);
font-family: "Bitter", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 2rem;
}

header{
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem; 
    border-radius: 10px 10px 0px 0px ;  
}

nav a{
    text-decoration: none;
    margin-right: 1rem;
}

nav a:hover{
    color: chocolate;
    cursor: pointer;
}

h1{
    font-size: 2rem;
    border-bottom: 1px solid black;
    margin-bottom: 1rem;

}

h2{
    font-size: 1rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid black;
   
}

h3{
    font-size: 1rem;
    margin-top: 2rem;
}

main{
    background-color: white;
    padding: 1rem;
}

.wrapper{
    max-width: 50vw;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    margin-bottom: 8rem;
    box-shadow: 0px 0px 10px black;
      
}

.empty-line{
  
    display: block;
    height: 1rem;
}

.floatright{
    float: right;
    margin-left: 1rem;
    margin-bottom: 1rem;
    border-radius: 10px;
}

.clearfloats{
    clear: both;
    height: 4rem;
}



.button{
    display: flex;
    justify-content: center;
    text-decoration: none;
    width:30%;
    margin: 1rem;
    margin-left: auto;
    margin-right: auto;
    background-color:lightgray;
    padding: 0.5rem;
    border-radius: 10px;
    border: solid rgb(170, 166, 166);
    border-width: 0.1rem;
    box-shadow: 0px 0px 10px lightgray;
}

.button:hover{
    color:chocolate;
    cursor: pointer;
}


.flex{
    display:flex;
    flex-direction: column;
}

.article{
    margin:1rem;
    padding: 2rem;
    background-color: rgb(221, 232, 228);
    border: solid  rgb(203, 226, 218);
    border-left-width: 1rem;
}


.floatleft{
    float: left;
    margin-right: 1rem;
    margin-bottom: 1rem;

}

.author{
    font-size: 1rem;
    font-weight: bold;
}

form{
    background-color: rgb(203, 226, 218);
    margin: auto;
    padding: 1rem 2rem;
    border-radius: 1rem;
    line-height: 1.5rem;
}

form input, textarea{
    padding: 0.6rem;
    border-radius: 0.5rem;
}

textarea, input{
    border: 1px solid lightgray;
}

textarea:focus, input[type=text]:focus{
    outline: 1px solid black;
}

textarea{
    width:100%;
    height: 200px;
}


.checkbox{
    padding-top: 1rem;
    text-align: center;
}

.form-button{
    padding-top: 1rem;
    text-align: center; 
}


.submit-button, .reset-button{
width: 80px;
}

.submit-button:hover, .reset-button:hover{
    color: chocolate;
    cursor: pointer;
}


footer{
    background-color: chocolate;
    padding: 2rem;
    border-radius: 0px 0px 10px 10px;
}

footer p{
    color: white;

}
