@import url('https://fonts.googleapis.com/css?family=Lato:300,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300&display=swap');
body {
  margin: 0;
  padding: 0;
  width: 100%;
}


.container-fluid
{
  padding: 0px !important; /*I've put this here so that the body and the footer could go edge-to-edge*/
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0 100px;
  background: rgba(38, 38, 38, 0.80);
  /*changed from hex #262626 to rgba*/
  width: 100%;
  box-sizing: border-box;
  z-index: 3; /*this line makes the header always above body elements; set from 1 to 3 for color-overlay*/
}

header .logo {
  color: #fff;
  height: 50px;
  float: left;
}

header nav {
  float: right;
}

header nav ul {
  margin: 0;
  padding: 0;
  display: flex;
}

header nav ul li {
  list-style: none;
  text-transform: uppercase;
}

header nav ul li a {
  height: 50px;
  line-height: 50px;
  padding: 0 20px;
  color: #fff;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 300;
  display: block;
  /* this line is added after :hover below is set up**/
}

header nav ul li a:hover,
header nav ul li a.active {
  color: #fff;
  background: rgba(33, 150, 243, 0.80);
  /*changed from hex #2196f3 to rgba*/
  transition: 1.0s;
  text-decoration: none;
}

.menu-toggle {
  color: #fff;
  float: right;
  line-height: 50px;
  font-size: 24px;
  cursor: pointer;
  display: none;
}

footer
{
  position: relative; /*alternate between absolute and fixed*/ /*this keeps the footer down*/
  bottom: 0;
  text-align: center;
  width: 100%;
  background: rgba(38, 38, 38, 0.80);
}

footer .row
{
  /**box-sizing: border-box;**/
  margin-left: 0;
  margin-right: 0;

}

footer h3 a,
footer a i
{
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  height: 50px;
  line-height: 50px;
  font-size: 24px;
  font-weight: bold;
}

footer h3 a:hover
{
  color: #fff;
  background: rgba(33, 150, 243, 0.80);
  transition: 1.0s;
  text-decoration: none;
  display: block;
  width: 100%;
}

footer a i:hover
{
  color: rgba(33, 150, 243, 0.80);
  transition: 1.0s;
}

footer .social a
{
  margin-left: 20px;
  margin-right: 20px;
}

footer p
{
  color: #fff;
  font-size: 18px;
}

footer a
{
  color: #fff;
  font-size: 18px;
  text-decoration: none;
}

footer a:hover
{
  color: #fff;
  text-decoration: none;
}

#back-to-top
{
  position: fixed;
  right: 15px;
  bottom: 300px;
  border: 2px solid floralwhite;
  background-color: transparent;
  padding: 12px 15px;
  border-radius: 50%;
  outline: none;
  display: none; /*we should discuss if we really need this*/
}

@media (max-width:991px) {
  header {
    padding: 0 20px;
    position: fixed;
  }

  .menu-toggle {
    display: block;
  }

  header nav {
    /*display: none;  to be activated only after header nav ul li a is handled,
    to check if it works, then go to left alignment and set it up from 0 to - 100%*/
    position: absolute;
    width: 100%;
    height: calc(100vb-50px);
    background: rgba(51, 51, 51, 0.75);
    /*changed from hex #333 to rgba */
    top: 50px;
    left: -100%;
    transition: 0.8s;
  }

  header nav.active {
    left: 0;
  }

  header nav ul {
    display: block;
    text-align: center;
  }

  header nav ul li a {
    border-bottom: 1px solid rgba(0, 0, 0, .2);
  }

  @media (max-width:500px) {
    header .logo {
      margin-left: -20px;
    }
  }
}
