html,
body {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: "Roboto", sans-serif;
}

a {
  text-decoration: none;
}
li {
  list-style: none;
}
hr {
  color: grey;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
#logo {
  transition: all 300ms;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
}
li {
  transition: all 300ms;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
}
p {
  font-size: 18px;
}

header {
  width: 100%;
  height: 8%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgb(245, 244, 244);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 1.9);
  z-index: 1;
}

#logo {
  width: 7%;
  float: left;
  margin: 10px 0 0 40px;
}

#logo img {
  width: 210%;
}

#logo:hover {
  opacity: 0.5;
}

header nav {
  float: right;
  margin: 10px 30px 0 0;
}

header nav ul li {
  float: left;
  margin-right: 16px;
  margin-bottom: 0%;
}

header nav ul li a {
  font-size: 24px;
  color: darkslategray;
}

header nav ul li a img {
  width: 32px;
  position: relative;
  margin-top: 0%;
}

header nav ul li:hover {
  padding-top: 1px;
}

header nav ul li a:hover {
  color: rgb(67, 193, 243);
}

footer {
  height: 55px;
  position: fixed;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0%;
  width: 100%;
  background: rgb(245, 244, 244) !important;
  border: 0.5px;
  border-style: solid;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

footer p {
  font-size: 20px;
}

footer p a {
  font-size: 24px;
  color: darkslategray;
}

footer p a:hover {
  color: rgb(67, 193, 243);
  padding-bottom: 20px;
}

.field {
  margin-bottom: 10px;
}

.field label {
  display: block;
  font-size: 22px;
  color: #777;
}

.field input {
  font-size: large;
  width: 556px;
  height: 26px;
  margin: 0px;
  border: 1px;
  border-style: solid;
}

input[type="submit"] {
  font-size: large;
  width: 556px;
  height: 22px;
  margin: 0px;
  border: 2px;
  border-style: solid;
}
h1 {
  margin-top: 13%;
  font-size: 34px;
  color: #969494;
  text-align: center;
}

#message {
  width: 556px;
  height: 226px;
  margin: 5px;
  border: 1px;
  border-style: solid;

  font-size: large;
}

#button:hover {
  background-color: rgb(67, 193, 243);
  color: rgb(110, 110, 110);
  transition: all 400ms ease;
  border-style: solid;
}

#button {
  width: 563px;
  height: 28px;
  margin: 1px;
  border: 1px;
  border-style: solid;
}

@media (max-width: 800px) {
  h1 {
    margin-top: 35%;
  }
  footer p {
    font-size: 15px;
  }

  footer p a {
    font-size: 15px;
  }
  #logo {
    width: 15%;
  }
  header {
    height: 12%;
  }
}

@media (max-width: 600px) {
  header nav ul li a {
    font-size: 18px;
  }

  h1 {
    margin-top: 45%;

    font-size: 23px;
    align-items: center;
  }
  footer p {
    font-size: 15px;
  }

  footer p a {
    font-size: 15px;
  }

  #button {
    width: 390px;
    height: 28px;
    margin: 1px;
    border: 1px;
    border-style: solid;
  }

  #message {
    width: 390px;
    height: 226px;
    margin: 5px;
    border: 1px;
    border-style: solid;

    font-size: large;
  }

  .field input {
    font-size: large;
    width: 390px;
    height: 26px;
    margin: 0px;
    border: 1px;
    border-style: solid;
  }

  input[type="submit"] {
    font-size: large;
    width: 390px;
    height: 22px;
    margin: 0px;
    border: 2px;
    border-style: solid;
  }
  #logo {
    width: 15%;
  }
  header {
    width: 100%;
    height: 18%;
  }
}

@media (max-width: 400px) {
  header nav ul li a {
    font-size: 18px;
  }

  h1 {
    margin-top: 50%;
    font-size: 20px;
  }
  footer p {
    font-size: 12px;
  }

  footer p a {
    font-size: 12px;
  }

  #button {
    width: 340px;
    height: 28px;
    margin: 1px;
    border: 1px;
    border-style: solid;
  }

  #message {
    width: 340px;
    height: 226px;
    margin: 5px;
    border: 1px;
    border-style: solid;

    font-size: large;
  }

  .field input {
    font-size: medium;
    width: 340px;
    height: 26px;
    margin: 0px;
    border: 1px;
    border-style: solid;
  }

  input[type="submit"] {
    font-size: medium;
    width: 340px;
    height: 22px;
    margin: 0px;
    border: 2px;
    border-style: solid;
  }

  header {
    width: 100%;
    height: 18%;
  }

  header nav ul li:hover {
    padding-top: 0px;
  }
}
