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;
}

h1 {
  margin-top: 5%;
}

@media (max-width: 1400px) {
  #logo {
    width: 10%;
  }

  header {
    height: 10%;
  }

  h1 {
    margin-top: 15%;
  }
}

@media (max-width: 712px) {
  #logo {
    width: 15%;
    float: left;
    margin: 10px 0px 0 40px;
  }

  header {
    height: 13%;
  }

  header nav ul li a {
    font-size: 15px;
  }

  footer p {
    font-size: 15px;
  }

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

  h1 {
    margin-top: 15%;
  }
}

@media (max-width: 400px) {
  header {
    width: 100%;
    height: 18%;
  }

  #logo {
    width: 15%;
    margin: 10px 0px 0 40px;
  }

  header nav ul li a {
    font-size: 18px;
  }

  footer p {
    font-size: 12px;
  }

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

  h1 {
    margin-top: 35%;
  }
}
