@import url("https://use.typekit.net/klk6wks.css");

html {
    overflow-x: hidden;
}

:root {
  --white: linear-gradient(0deg, rgba(0,51,102,1) 1%, rgba(0,0,0,1) 99%);
  --blue: linear-gradient(150deg, rgba(0,51,102,1) 0%, rgba(0,0,0,1) 100%);
}

body {
  background: var(--white);
}

.hero {
  position: relative;
  height: 100vh;
  background: var(--blue);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -100px;
  height: 150px;
  z-index: 1;
  background: var(--white);
  transform: skewY(-3deg);
}

.hero div {
  display: grid;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: calc(150vh - 150px);
  color: #DCF8FF;
  font-size: 120%;
  font-family: "elza-narrow", sans-serif;
  font-weight: 200;
  font-style: normal;
  margin-top: 2%;
}

.hero p{
  color: #80BFCE;
  text-align: center;
  height: calc(150vh - 50px);
  font-family: "allumi-std", sans-serif;
  font-weight: 200;
  margin-top: -10%;
}

.hero p::after {
  content: "";
  display: block;
  background-image: url('images/star_whale.png');
  background-size: 100% 100%;
  width: 1920px;
  height: 1080px;
  position: absolute;
  margin-left: -43%;
  margin-top: -10%;
  z-index: 5;
  animation-name: floating;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating {
    0% { transform: translate(0,  0px); }
    50%  { transform: translate(0, 15px); }
    100%   { transform: translate(0, -0px); }
}

h2 {
 color: #fcf4d2;
 font-family: "allumi-std", sans-serif;
 font-weight: 500;
 font-size: 350%;
 margin-bottom: -1%;
}

h3 {
  color: #dcf8ff;
  font-family: "allumi-std", sans-serif;
  font-weight: 500;
  font-size: 180%;
  margin-bottom: -1%;
}

p {
  color: #80bfce;
  font-family: "allumi-std", sans-serif;
  font-weight: 200;
  font-size: 120%;
  margin-bottom: -.5%;
}

.intro p{
  width: 60%;
}

.intro {
  padding-left: 50%;
  padding-top: 5%;
}

.hero h1::before{
  content: "";
  display: block;
  background-image: url('images/down_arrow.png');
  width: 100px;
  height: 100px;
  background-repeat: no-repeat;
  position: absolute;
  right: 2%;
  top: 90%;
  background-size: 80%;
  z-index: 10;
  animation-name: floating;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.intro h2::before {
  content: "";
  display: block;
  background-image: url('images/intro_whale.png');
  width: 596px;
  height: 376px;
  position: absolute;
  margin-left: -70%;
  top: -10%;
  animation-name: floating;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.intro h2::after {
  content: "";
  display: block;
  background-image: url('images/yellow_circle.png');
  width: 368px;
  height: 376px;
  position: absolute;
  z-index: -1;
  margin-left: -50%;
  top: -12%;
  animation-name: floating;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.baleen h2{
  margin-right: 18%;
  margin-top: 10%;
  text-align: right;
}

.bluewhales {
  padding-left: 20%;
  padding-top: 5%;
  padding-bottom: 30%;
}

.bluewhales p {
  width: 41%;
}

.bluewhales h3::before {
  content: "";
  display: block;
  background-image: url('images/bluewhale.png');
  background-size: 95%;
  background-repeat: no-repeat;
  width: 1296px;
  height: 637px;
  position: absolute;
  margin-left: 2%;
  margin-top: 3%;
  top: %;
  z-index: -1;
  animation-name: floating;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.bluewhales h3::after {
  content: "";
  display: block;
  background-image: url('images/yellow_circle.png');
  background-size: 85%;
  background-repeat: no-repeat;
  width: 600px;
  height: 600px;
  position: absolute;
  z-index: -2;
  margin-left: 45%;
  top: 40%;
  animation-name: floating;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.humpbackwhales {
  padding-right: 18%;
  padding-top: 4%;
  padding-bottom: 30%;
  text-align: right;
}

.humpbackwhales p {
  width: 41%;
  padding-left: 59%;
}

.humpbackwhales h3::before {
  content: "";
  display: block;
  background-image: url('images/humpback.png');
  background-size: 80%;
  background-repeat: no-repeat;
  width: 1296px;
  height: 680px;
  position: absolute;
  margin-left: 15%;
  margin-top: -4%;
  z-index: -1;
  animation-name: floating;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.humpbackwhales h3::after {
  content: "";
  display: block;
  background-image: url('images/yellow_circle.png');
  width: 368px;
  height: 376px;
  position: absolute;
  z-index: -2;
  margin-left: 20%;
  animation-name: floating;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.finwhales {
  padding-left: 20%;
  padding-top: 4%;
  padding-bottom: 30%;
}

.finwhales p {
  width: 45%;
}

.finwhales h3::before {
  content: "";
  display: block;
  background-image: url('images/finwhale.png');
  background-size: 100%;
  background-repeat: no-repeat;
  width: 1296px;
  height: 437px;
  position: absolute;
  margin-left: -2%;
  margin-top: 10%;
  z-index: -1;
  animation-name: floating;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.finwhales h3::after {
  content: "";
  display: block;
  background-image: url('images/yellow_circle.png');
  background-size: 90%;
  background-repeat: no-repeat;
  width: 500px;
  height: 500px;
  position: absolute;
  z-index: -2;
  margin-left: 50%;
  animation-name: floating;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.toothed h2 {
  padding-left: 20%;
}

.belugawhales {
  padding-right: 18%;
  padding-top: 12%;
  padding-bottom: 20%;
  text-align: right;
}

.belugawhales p {
  width: 40%;
  padding-left: 60%;
}

.belugawhales::before {
  content: "";
  display: block;
  background-image: url('images/babybeluga.png');
  background-size: 45%;
  background-repeat: no-repeat;
  width: 500px;
  height: 680px;
  position: absolute;
  margin-left: 35%;
  margin-top: -8%;
  z-index: -1;
  animation-name: floating;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.belugawhales h3::before {
  content: "";
  display: block;
  background-image: url('images/beluga.png');
  background-size: 80%;
  background-repeat: no-repeat;
  width: 1596px;
  height: 680px;
  position: absolute;
  margin-left: 15%;
  margin-top: -3%;
  z-index: -1;
  animation-name: floating;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.belugawhales h3::after {
  content: "";
  display: block;
  background-image: url('images/yellow_circle.png');
  width: 368px;
  height: 376px;
  position: absolute;
  z-index: -2;
  margin-top: -6%;
  margin-left: 28%;
  animation-name: floating;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.orcas {
  padding-left: 20%;
  padding-top: 8%;
  padding-bottom: 30%;
}

.orcas p {
  width: 40%;
}

.orcas h3::before {
  content: "";
  display: block;
  background-image: url('images/orca.png');
  background-size: 95%;
  background-repeat: no-repeat;
  width: 1296px;
  height: 937px;
  position: absolute;
  margin-left: 5%;
  margin-top: 2%;
  z-index: -1;
  animation-name: floating;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.orcas h3::after {
  content: "";
  display: block;
  background-image: url('images/yellow_circle.png');
  background-size: 80%;
  background-repeat: no-repeat;
  width: 600px;
  height: 800px;
  position: absolute;
  z-index: -2;
  margin-left: 40%;
  animation-name: floating;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.dolphins {
  padding-right: 18%;
  padding-top: 5%;
  padding-bottom: 30%;
  text-align: right;
}

.dolphins p {
  width: 40%;
  padding-left: 60%;
}

.dolphins::before {
  content: "";
  display: block;
  background-image: url('images/babydolphin.png');
  background-size: 80%;
  background-repeat: no-repeat;
  width: 600px;
  height: 480px;
  position: absolute;
  margin-left: 48%;
  margin-top: 15%;
  z-index: -1;
  animation-name: floating;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.dolphins h3::before {
  content: "";
  display: block;
  background-image: url('images/dolphin.png');
  background-size: 55%;
  background-repeat: no-repeat;
  width: 1296px;
  height: 580px;
  position: absolute;
  margin-left: 20%;
  margin-top: %;
  z-index: -1;
  animation-name: floating;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.dolphins h3::after {
  content: "";
  display: block;
  background-image: url('images/yellow_circle.png');
  background-size: 100%;
  background-repeat: no-repeat;
  width: 400px;
  height: 400px;
  position: absolute;
  z-index: -2;
  margin-top: 11%;
  margin-left: 40%;
  animation-name: floating;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

footer {
  background-color: #fcf4d2;
  width: 100.9%;
  height: 600px;
  margin: -9px;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    0 calc(100% - 8vw));
  transform: rotate(180deg);
}

.knowmore {
  transform: rotate(180deg);
  width: 50%;
  height: 60%;
  margin-left: 23%;
  text-align: center;
}

.knowmore h4{
  color: black;
  font-family: "allumi-std", sans-serif;
  font-weight: 500;
  font-size: 250%;
}

.knowmore p{
  color: black;
  font-family: "allumi-std", sans-serif;
  font-weight: 100;
  font-size: 180%;
  margin-top: -5%;
  margin-bottom: 2%;
}
