/*** box sizing border-box for all elements ***/
*,
*::before,
*::after{box-sizing:border-box;}
a{text-decoration:none; color:inherit; cursor:pointer;}
button{background-color:transparent; color:inherit; border-width:0; padding:0; cursor:pointer;}
figure{margin:0;}
input::-moz-focus-inner {border:0; padding:0; margin:0;}
ul, ol, dd{margin:0; padding:0; list-style:none;}
h1, h2, h3, h4, h5, h6{margin:0; font-size:inherit; font-weight:inherit;}
p{margin:0;}
cite {font-style:normal;}
fieldset{border-width:0; padding:0; margin:0;}

html{ 
  font-size: 1px;/*for using REM units*/
}
body{
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-size: 16rem;
  font-weight: 400;
  line-height: 1.3;
  color: #ffffff;
  background: #4E4E4E;
}

header {
  background-color: #111111;
}

nav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  width: 960px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Barlow', sans-serif;
  font-size: 28rem;
}

#nav li {
  float: left;
}

#nav li a {
  display: block;
  color: #BCBCBC;
  text-align: center;
  padding: 0 20px 10px 20px;
  text-decoration: none;
  text-transform: uppercase;
}

a.active {
  color: #D32300;
}

#nav li a.active {
  color: #D32300;
}

#social li {
  float: right;
}

#social li a {
  display: block;
  height: 30px;
  padding: 0 5px;
}

#logo {
  margin: 0;
  padding: 0;
  font: 0/0 a;
  text-shadow: none;
  color: transparent;

  background: url(../images/logo-header.png) no-repeat 0 0;
  display: block;
  height: 131px;
  width: 960px;

  margin-left: auto;
  margin-right: auto;
}

main {
  margin-top: 20px;
  background: #1F1F1F;
  width: 940px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  font-family: 'Barlow', sans-serif;
}

main section {
  min-height: 300px;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  line-height: 40rem;
  background-color: #111111;
  color: #4E4E4E;
  font-size: 12rem;
  text-align: center;
}

footer section {
  display: inline;
  width: 50%;
}

footer section.copyright {
  float: left;
}

footer section.links {
  float: right;
  width: 40%;
}

footer section.links ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

footer section.links li {
  float: left;
  padding: 0 20px;
}