@import url('https://fonts.googleapis.com/css?family=Montserrat:600&display=swap');
/* *{
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
} */
body{
  font-family: 'Montserrat', sans-serif;
  background: url(bg.jpeg);
  background-position: center;
  background-size: cover;
  height: 100vh;
} 
.social-nav{
  position: fixed;
  width: 6rem;
  margin-top: 20rem;
  transition: all 0.3s linear;
  box-shadow: 2px 2px 8px 0px rgba(122, 115, 115, 0.4);
  z-index: 99;
}
.social-nav li{
  height: 4rem;
  position:relative;  
}
.social-nav li a{
  color: white;
  display: block;
  height: 100%;
  width: 100%;
  line-height: 4rem;
  padding-left:25%;
  border-bottom: 1px solid rgba(0,0,0,.4);
  transition: all .3s linear;
}
.social-nav li:nth-child(1) a{
  background: #4267B2;
}
.social-nav li:nth-child(2) a{
  background: #1DA1F2;
}
.social-nav li:nth-child(3) a{
  background: #2BB741;
}
.social-nav li:nth-child(4) a{
  background: #E1306C;
}
.social-nav li:nth-child(5) a{
  background: #2867B2;
}
.social-nav li:nth-child(6) a{
  background: #ff0000;
}
.social-nav li a i{
  position:absolute;
  top: 0.9rem;
  left: 2rem;
  font-size: 2.2rem;
}
.social-nav ul li a span{
  display: none;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}
.social-nav ul li a:hover {
  z-index:1;
  width: 15rem;
  border-bottom: 1px solid rgba(0,0,0,.5);
  box-shadow: 0 0 1px 1px rgba(0,0,0,.3);
  text-decoration:none;
}
.social-nav ul li:hover a span{
  padding-left: 30%;
  display: block;
}
.fab, .fa {
    color: #fff;
}
.social-nav ul {
    margin-bottom: 0;
}