@import url(//fonts.googleapis.com/css?family=Lato:300:400);

:root {
  --blue: #115594;
  --blue-dark: #0f3355;
  --brown: #6c584c;
  --cream: #f5efe8;
}

body {
  margin: 0;
}

h1 {
  font-family: 'Lato', sans-serif;
  font-weight:300;
  letter-spacing: 2px;
  font-size:48px;
}
p {
  font-family: 'Lato', sans-serif;
  letter-spacing: 1px;
  font-size:14px;
  color: #333333;
}

.header {
  position:relative;
  text-align:center;
  background: linear-gradient(60deg, #1e4ca2 0%, #1b4693 100%);
  color:white;
}
.logo {
  width:50px;
  fill:white;
  padding-right:15px;
  display:inline-block;
  vertical-align: middle;
}

.inner-header {
  height:65vh;
  width:100%;
  margin: 0;
  padding: 0;
}

.flex { /*Flexbox for containers*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.waves {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}

.content {
  position:relative;
  height:20vh;
  text-align:center;
  background-color: white;
}

/* Animation */

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}
.card {
  position: relative;
  z-index: 1;
  text-align: center;
  width: min(100%, 760px);
  perspective: 1000px;
}

@keyframes drift {
  0% {
    transform: translate3d(-3%, -2%, 0) scale(1);
  }
  50% {
    transform: translate3d(2%, 1%, 0) scale(1.03);
  }
  100% {
    transform: translate3d(3%, -1%, 0) scale(1.06);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.logo {
  display: block;
  width: min(86vw, 520px);
  max-width: 520px;
  margin: 0 auto;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.25));
  transition: transform 0.2s ease, filter 0.2s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.card:hover .logo {
  transform: scale(1.03) rotateY(10deg) rotateX(3deg);
  filter: drop-shadow(0 22px 35px rgba(0, 0, 0, 0.35));
}

.tagline {
  margin-top: 1.4rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #333;
}

.social-footer {
  position: relative;
  padding: 2rem 1rem;
  background-color: white;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--blue);
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 50%;
  border: 2px solid var(--blue);
}

.social-links a:hover {
  background-color: var(--blue);
  color: white;
  transform: scale(1.1);
}

.social-links svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .social-links {
    gap: 1.5rem;
  }

  .social-links a {
    width: 40px;
    height: 40px;
  }

  .social-links svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }
  .content {
    height: 30vh;
  }
  h1 {
    font-size: 24px;
  }
}