@font-face {
  font-family: 'DIN Alternate';
  src: url('../fonts/DIN Alternate Bold.ttf') format("truetype");
}
body{
  margin:0;
  background-color: #646464;
  height: 100%;
}
html{
  background-color: #646464;
}
#header{
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: end !important;
  align-items: flex-end !important;
  padding: 15px 50px;
}
.logo a{
 font-family : 'DIN Alternate', sans-serif;;
 font-weight : bold;
 font-size : 48px;
 color : #000000;
 text-decoration: none;
 text-transform: uppercase;
}
.social-links{
  text-align: right;
  max-width: 210px;
}
.logo,.social-links{
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
}
.social-links img{
  max-width: 57px;
  height: 48px;
}
.social-links ul{
  list-style: none;
  padding: 0;
  margin: 0;
}
.social-links ul li a{
  display: inline-block;
}
.social-links ul li{
  display: inline-block;
}
.full-height{
  position: relative;
  overflow: hidden;
} 
#head{
  height: calc(100vh - 86px);
  min-width: 100%;
}
.newsletter{
  position: absolute;
  top: 20%;
  right: 5%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: center !important;
  align-items: center !important;
  width: 440px;
  z-index: 1;
  max-width: 90%;
  opacity: 0;
  transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transform: translate(100%,0);
  box-sizing: border-box;
}
.newsletter.show{
  opacity: 1;
  transform: translate(0,0);
}
.newsletter .left,.newsletter .right{
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
}
.newsletter .left{
  max-width: 141px;
}
.newsletter .right{
  padding-left: 20px;
  max-width: 70%;
}
.newsletter img{
  max-width: 100%;
}
.newsletter #resp{
  font-family : 'DIN Alternate', sans-serif;
  font-weight : bold;
  font-size : 16px;
  line-height : 1.5;
  letter-spacing : 1.04px;
  color : #000000;
  margin-top: 0;
  margin-bottom: 10px;
}
.newsletter h2{
  font-family : 'DIN Alternate', sans-serif;
  font-weight : bold;
  font-size : 26px;
  line-height : 26px;
  letter-spacing : 1.04px;
  color : #000000;
  margin-top: 0;
  margin-bottom: 10px;
}
.newsletter input{
  outline: 0;
  font-family : 'DIN Alternate', sans-serif;
  box-shadow: none;
  border: 1px solid #a8a8a8;
  border-radius: 0;
  color: #ffffff;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  background-color: #000000;
  background-clip: padding-box;
  border: 2px solid #a8a8a8;
  width: 201px;
  max-width: 100%;
  transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  box-sizing: border-box;
}
.newsletter input:focus{
  border: 2px solid #ffffff;
}
.newsletter .close{
  position: absolute;
  top: -33px;
  right: 0;
}
.newsletter .close-icon {
  color: #000000;
  text-decoration: none;
  font-size: 34px;
  line-height: 34px
}
.animate-logo{
  position: fixed;
  top:0;
  left: 50%;
  transform: translate(-50%,0);
  display: block;
  width: 50px;
  animation-name: rotateAcrossScreen;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  z-index: 2;
}
.animate-logo img{
  width:auto;
  max-width: 100%;
}
@keyframes rotateAcrossScreen {
  0%   {
    top:0;
    left: 50%;
    transform: translate(-50%,0);
  }
  25%  {
    left:100%;
    top:50%;
    transform: translate(-100%,-50%);
  }
  50%  {
    left:50%;
    top:100%;
    transform: translate(-50%,-100%);
  }
  75% {
    left:0;
    top:50%;
    transform: translate(0,-50%);
  }
  100% {
    top:0;
    left: 50%;
    transform: translate(-50%,0);
  }
}
@media (max-width: 768px){
  #header{
    padding: 0 25px;
  }
  .logo, .social-links{
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    padding-top: 10px;
  }
  .logo a{
    font-size: 46px;
  }
  .social-links img{
    max-width: 50px;
    height: 40px;
  }
  #head{
    height: calc(100vh - 117px);
  }
}
