/* nueva barra de sociales */

@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/icomoon.eot?i226ha');
  src:  url('../fonts/icomoon.eot?i226ha#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?i226ha') format('truetype'),
    url('../fonts/icomoon.woff?i226ha') format('woff'),
    url('../fonts/icomoon.svg?i226ha#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-facebook:before {
  content: "\ea90";
}
.icon-instagram:before {
  content: "\ea92";
}
.icon-twitter:before {
  content: "\ea96";
}
.icon-youtube:before {
  content: "\ea9d";
}

.social-bar {
  position: fixed;
  right: 0;
  top: 35%;
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 100;
}

.icon {
  color: white;
  text-decoration: none;
  padding: .7rem;
  display: flex;
  transition: all .5s;
}

.icon-facebook {
  background: #2E406E;
}

.icon-twitter {
  background: #339DC5;
}

.icon-youtube {
  background: #E83028;
}

.icon-instagram {
  background: #3F60A5;
}

.icon:first-child {
  border-radius: 1rem 0 0 0;
}

.icon:last-child {
  border-radius: 0 0 0 1rem;
}

.icon:hover {
  padding-right: 3rem;
  border-radius: 1rem 0 0 1rem;
  box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.42);
}





/* segunda red social */
.newsocial{
  position: fixed;
  top: 1%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1000;
  transform: translate(-262px);
  /*transform: translate(-262px);*/
  /*353 response*/
}

.newsocial a{
  color: #fff;
  /*background-color: rgba(0,0,0,0.4);*/
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  display: block;
  margin: 5px;
  padding: 20px;
  width: 300px;
  text-align: right;
  border-radius: 50px;
  transition: 1s;
  transition-property: transform;
}

.newsocial a:nth-child(1){
  background-color: #3b5998;
}
.newsocial a:nth-child(2){
  background-color: #bb0000;
}
.newsocial a:nth-child(3){
  background-color: #125688;
}

.newsocial a:hover{
  transform: translate(110px);
  color: #fff;
}

.newsocial i{
  margin-right: 10px;
  font-size: 30px;
  width: 30px;
  height: 30px;
}

.newsocial a li{
  color:#ffffff;
}


.position-facebook{
  transform: translate(70px);
}

.position-youtube{
  transform: translate(-80px);
}

.position-instagram{
  transform: translate(-110px);
}
/* transporta a la derecha el div de facebook al hacer hover*/
.newsocial a:hover:nth-child(1) div{
     transform: translate(80px);
}
/* transporta a la derecha el div de youtube al hacer hover*/
.newsocial a:hover:nth-child(2) div{
     transform: translate(80px);
}
/* transporta a la derecha el div de instagram al hacer hover*/
.newsocial a:hover:nth-child(3) div{
     transform: translate(65px);
}

@media only screen and (max-width: 600px) {
   .newsocial{
    position: fixed;
    top: 1%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1000;
    transform: translate(-260px);
  }
    /* transporta a la derecha el div de instagram al hacer hover*/
  .newsocial a:hover:nth-child(1) div{
       transform: translate(80px);
  }
  
  .newsocial a{
      font-size: 10px;
      padding: 10px;
      width: 278px;
    }
}
@media only screen and (max-device-width : 320px){
  .newsocial{
    position: fixed;
    top: 1%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1000;
    transform: translate(-260px);
  }
    /* transporta a la derecha el div de instagram al hacer hover*/
  .newsocial a:hover:nth-child(1) div{
       transform: translate(80px);
  }
  
    .newsocial a{
      font-size: 10px;
      padding: 10px;
      width: 278px;
    }
}


/* hasta aqui segunda red social */