footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 45px;
  z-index: 9;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
footer .links .social *,
footer .links .cv {
  color: #FFFFFF;
}
footer .wrapper {
  width: 100%;
  margin: 0 auto;
}
footer .contact {
  display: none;
}
footer a.left,
footer a.right {
  display: inline-block;
  position: relative;
  width: 44px;
}
footer a .triangle {
  width: 0;
  height: 0;
  border-style: solid;
  position: relative;
  top: 13px;
  left: 14px;
}
footer a.left .triangle {
  border-width: 8px 11px 8px 0;
  border-color: transparent #FFFFFF transparent transparent;
}
footer a.right .triangle {
  border-width: 8px 0 8px 11px;
  border-color: transparent transparent transparent #FFFFFF;
}
/*footer a.left1 .triangle{
  border-color: transparent #0F0F0F transparent transparent;
}
footer a.left2 .triangle{
  border-color: transparent #00A388 transparent transparent;
}
footer a.left3 .triangle{
  border-color: transparent #14387F transparent transparent;
}
footer a.right1 .triangle{
  border-color: transparent transparent transparent #FF1220;
}
footer a.right2 .triangle{
  border-color: transparent transparent transparent #0F0F0F;
}
footer a.right3 .triangle{
  border-color: transparent transparent transparent #00A388;
}
*/
footer .contact {
  display: none;
}
footer a.back_to_the_top,
footer .social a,
footer .contact,
footer .burger,
footer .music {
  cursor: pointer;
}
footer .contact,
footer .burger,
footer .music {
  width: 30%;
}
footer .burger {
  width: calc(100% - 88px);
  text-align: center;
}
footer .burger .square {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  height: 44px;
}
footer .burger .rectangle {
  box-sizing: content-box;
  width: 24px;
  height: 6px;
  margin: 0;
  border-style: solid;
  border-color: #FFFFFF;
}
footer .burger .rectangle.top {
  border-width: 3px;
}
footer .burger .rectangle.bottom {
  border-top-width: 0;
  border-left-width: 3px;
  border-right-width: 3px;  
  border-bottom-width: 3px;
}
footer .burger .icon.active .rectangle {
  box-sizing: border-box;
  border-color: transparent;
  background-color: #FFFFFF;
  width: 28px;
  height: 4px;
  border-width: 0;
}
footer .burger .icon.active .rectangle.top {
  margin: 5px 0;
}
footer .burger .icon.active .rectangle.bottom {
  margin: 0 0 5px 0;
}
footer .back_to_the_top,
footer .contact,
footer .social,
footer .music {
  height: 44px;
}
footer .back_to_the_top svg,
footer .contact svg,
footer .music svg,
footer .burger svg {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
footer .burger .icon:hover svg,
footer .burger .icon.active svg {
  top: 40%;
}
footer .links {
  display: none;
  left: 0;
  position: absolute;
  top: -82vh;
}
footer .mid {
  font-size: 11px;
  font-weight: 700;
  position: absolute;
  width: 100vw;
  text-align: center;  
}
footer .mid.social {
  height: 65px;
}
footer .mid.social a {
  vertical-align: middle;
}
footer .mid.social p {
  font-size: 11px;
  line-height: 9px;
  width: 56px;
  text-align: center;
  display: inline-block;
  vertical-align: middle;
}
footer .mid.social img {
  width: 100%;
  height: 100%;
}
footer .mid.cv {
  padding-top: 55px;
}
footer .mid.cv a {
  height: 32px;
  width: 32px;
  line-height: 28px;
  font-size: 18px;
  font-weight: 700;
  margin-left: 25px;
  text-align: center;
  letter-spacing: -1px;
  display: inline-block;
}
footer .mid.cv a::before {
  content: '.';
  line-height: 26px;
  font-size: 24px;
  position: absolute;
  margin-left: -6px;
}
footer a.back_to_the_top {
  text-align: center;
  cursor: pointer;
}
footer a.back_to_the_top svg {
  height: 24px;
  display: none;
}

/* useless code under */

footer a.back_to_the_top p,
footer a.back_to_the_top div {
  display: inline-block;
  vertical-align: middle;
}
footer a.back_to_the_top div {
  position: relative;
  left: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  text-align: center;
  color: #FFFFFF;
}
footer a.back_to_the_top:hover > div {
  background-color: #FFFFFF;
}
footer a.back_to_the_top div p {
  font-size: 10px;
  color: #FFFFFF;
  position: relative;
  top: -1px;
  line-height: 15px;
}
footer .menu {
  position: absolute;
  font-size: 14px;
  width: 0;
  height: 0;
  z-index: 8;
  opacity: 0;
}
footer .menu ul {
  width: 100%;
  padding-top: calc(50vh - 3*70px);
}
footer .menu ul a {
  width: 100%;
  text-align: center;
  padding: 2vh 0;
  text-transform: uppercase;
  display: block;
}
footer .music {
  text-align: right;
}

@media screen and (min-width: 1200px) {

  footer .links{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: calc(100% - 300px);
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: initial;
  }
  footer .mid {
    position: initial;
  }
  footer .mid.social,
  footer .mid.cv {
    padding-top: 0;
    height: initial;
  }
  footer .contact,
  footer .music {
    width: 150px;
  }
  footer .contact {
    display: block;
  }
  footer a.left,
  footer a.right {
    display: none;
  }
  footer .links .social,
  footer .links .cv {
    color: initial;
  }

}
