@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

*{
  margin: 0;
  padding: 0;
}

:root{
  --dark_colour: gray;
  --light_colour: #FFFFFFF;
  --max_width: 100%;
  --general_padding: 50px;
}

header{
  background-color: #62a5a1;
  /* height: 75px; */
  top: 0;
  left: 0;
  width: 100%;
  height: 105px;
}

h1.logo{
  color: #FFFFFF;
  font-family: 'Lobster', cursive;
  text-shadow: 2px 2px var(--dark_colour);
  /* margin-left: 40px; */
  /* display: inline-block; */
  line-height: 75px;
  text-align: center;
}

/* nav{
  display: inline-block;
  width: calc(100% - 313px);
} */

ul.top-nav{
  display: flex;
  justify-content: space-evenly;
  height: 16px;
  overflow: hidden;

}

ul.top-nav li{
  list-style: none;
}

ul.top-nav li a, ul.top-nav li p{
  text-decoration: none;
  font-family: sans-serif;
  color: #FFFFFF;
  font-weight: bold;
  /* text-shadow: 1px 1px #000000; */
}

ul.top-nav li{
  transition: all 0.5s ease-in-out;
}

ul.top-nav li p{
  color: gold;
  font-size: 1.1em;
}

ul.top-nav li.up:hover{
  /* text-shadow: -1px -1px #000000; */
  transform: translateY(-18px);
}

ul.top-nav li a span.black{
  color: var(--dark_colour);
}

footer{
  background-color: #62a5a1;
  /* position: fixed;
  bottom: 0;
  left: 0; */
  width: var(--max_width);
  height: 75px;
  text-align: center;
  color: var(--light_colour);
}

footer address{
  margin-top: 17px;
}

main{
  top: 75px;
  min-height: calc(100vh - 150px);
  width: 100%;
  /* background-color: aqua; */
}

article p{
  font-size: 20px;
  font-family: sans-serif;
  line-height: 48px;
}
/* section{
  margin-top: 75px;
} */

table{
  /* margin-top: 75px; */
  width: 80%;
  margin: 75px auto;
}

.question, .answer{
  font-size: 20px;
  font-family: sans-serif;
  font-weight: bold;
}

.question{
  color: red;
}
.answer{
  color: green;
}
td{
  padding: 20px 0px;
}

.myForm{
  margin: 75px auto 0px auto;
  width: 80%;
  font-family: arial;
}

.form_input{
  width: 80%;
  margin: 10px auto;
}

.label{
  width: 20%;
  text-align: right;
  display: inline-block;
}

.input{
  width: 70%;
  display: inline-block;
}

.input input, .input select{
  width: 100%;
  padding: 10px;
  border: 0;
  /* border-bottom: 1px black solid; */
  box-shadow:  0 0 15px 4px rgba(0,0,0,0.06);
  border-radius: 20px;
}

*:focus{
  outline: none;
}

#recipe{
  width: 100%;
  height: 100px;
  resize: vertical;
  max-height: 500px;
}

.radio{
  width: 50%;
  margin: 0 auto;
}

#button{
  padding: 10px;
  border: none;
  background-color: #3F51B5;
  color: #FFFFFF;
  font-weight: bold;
  letter-spacing: 3px;
  width: 100%;
  border-radius: 5px;
  height: 40px;
  transition: all 0.5s ease-in-out;
}

#button:hover{
  background-color: #23348F;
  transform: scale(1.05);
}


@media all and (min-width: 750px) {
  h1.logo{
      display: inline-block;
      margin-left: 40px;
  }
  nav{
    display: inline-block;
    width: calc(100% - 438px);
  }
  header{
    height: 75px;
  }
}
