@font-face {
    font-family: coolvetica;
    src: url(coolvetica.ttf);
  }

body{
    margin: 0px;
}

.bg{
    position: fixed;
    z-index: -5;
    width: 100%;
    height: 100%;
}

.bg1 {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -5;
    background: url('img/bg/01.png');
}

.bg3 {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -3;
    background: url('img/bg/03.png');
    animation: scrolling1 400s linear infinite;
    opacity: 10%;
}

@keyframes scrolling1 {
from{
    background-position: 0 0;
}
to{
    background-position: 105% 105%;
}
}

.bg4 {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -2;
    background: url('img/bg/04.png');
    animation: scrolling2 100s linear infinite;
    opacity: 70%;
}

@keyframes scrolling2 {
from{
    background-position: 0 0;
}
to{
    background-position: 105% -105%;
}
}

.logo{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    height: auto;
    max-width: 900px;
}

.socials{
    width: 100%;
    height: 25%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.social{
    min-width: 620px;
    height: 105px;
    background-image: url('img/social/bg.gif');
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center;
    transition: background-image .2s;
    padding: 10px;
    transform: scale(.7);
    position:relative;
    display:inline;
}

.social-logo{
    width: 40%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.frame{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.social:hover{
    background-image: url('img/social/bg-hover.gif');
}

.credits{
    bottom: 0px;
    right: 5px;
    color: #fff;
    position: fixed;
    font-family: coolvetica;
}

a:link{
    color: #4987a6;
    text-decoration: none;
}

a:visited{
    color: #7360c4;
    text-decoration: none;
}

a:hover{
    color: #2d5b73;
    text-decoration: none;
}

@media only screen and (max-width: 991px){
   
    .logo{
        width: 100%
    }

    .social{
        transform: scale(1);
        width: 70%;
        padding-bottom: 100px;
    }

   }

   @media only screen and (max-width: 635px){
   
    .logo{
        width: 100%
    }

    .social{
        transform: scale(.5);
        width: 70%;
        padding-bottom: 100px;
    }

   }