@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:focus {
  outline: none;
}

* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
  border: 0;
  height: 100%;
}

body {
  color: #191832;
  font-size: 16px;
  font-family: 'Inter', sans-serif, arial;
  line-height: 24px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

img {
  display: block;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
  word-wrap: break-word;
}

a, a:hover, a:active, a:focus, a:visited {
  color: #0f89a7;
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.hero {
  flex: 1 1 0%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero .container {
  padding: 32px 24px 120px;
}

.hero .logo img {
  margin: 0 auto 24px;
  width: 400px;
  max-width: 80%;
}

.hero h1 {
  font-size: 48px;
  text-align: center;
}

.hero h1 strong {
  font-weight: 800;
}

.hero .contact {
  text-align: center;
  font-style: italic;
}

.ocean {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12vh;
  min-height: 80px;
  overflow: hidden;
  z-index: 10;
}

.ocean .waves {
  position: relative;
  width: 100%;
  height: 100%;
  margin-bottom: -7px; 
  max-height: 200px;
}

@keyframes waves-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

.ocean .parallax > use {
  animation: waves-forever 50s cubic-bezier(.55, .5, .45, .5) infinite;
}

.ocean .parallax > use:nth-child(1) {
  fill: rgba(42, 137, 166, 0.2);
  animation-delay: -1.4s;
  animation-duration: 14s; 
}

.ocean .parallax > use:nth-child(2) {
  fill: rgba(42, 137, 166, 0.4); 
  animation-delay: -6s;
  animation-duration: 20s;
}

.ocean .parallax > use:nth-child(3) {
  fill: rgba(42, 137, 166, 0.7); 
  animation-delay: -14.3s;
  animation-duration: 26s;
}

.ocean .parallax > use:nth-child(4) {
  fill: #2a89a6; 
  animation-delay: -32s; 
  animation-duration: 40s;
}

@media (min-width: 768px) {
  
  .hero .container {
    padding: 40px 40px 160px;
  }
  
  .ocean {
    height: 20vh;
    min-height: 120px;
  }
  
}