* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  font-family: "Poppins", sans-serif;
}

body {
  width: 100vw;
  height: 100vh;
  background:
  linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0)
  ),
  linear-gradient(
    0deg,
    #182848,
    #2980b9
  );
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.water_layer {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  pointer-events: none;
  z-index: -1;
  background-image: url("assets/images/water_layer.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.16;
  background-blend-mode: overlay;
  filter: url("#turbulence");
}

svg {
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.light-effect{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0x;
  right: 0px;
  opacity: 0.4;
}
.seabed{
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0x;
  right: 0px;
  object-fit: cover;
  object-position: 18% center;
}

.seabed,
.medusa,
.diver,
.tagline,
header,
.social-network a {
  opacity: 0;
  transform: translateY(20px);
}

/*
:::: NAVBAR ::::
*/

header {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  display: flex;
  z-index: 999;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: transparent;
}

header h1 {
  font-size: clamp(1.8rem, 1.2rem + 1.33vw, 2.6rem);
  font-weight: 900;
  color: #dabe8e;
  opacity: 0.8;
}

.navlist {
  display: flex;
  margin-left: auto;
}
.navlist a {
  font-size: clamp(1rem, 1.2vw + 0.8rem, 1.5rem);
  font-weight: 600;
  color: #dabe8e;
  opacity: 0.8;
  display: inline-block;
  padding-left: 5vw;
  transition: all 0.35s ease;
}
.navlist a:hover {
  opacity: 1;
  transform: scale(1.05);
}

header button{
  background: transparent;
  border: none;
}
#iconMenu {
  font-size: 3rem;
  font-weight: 400;
  color: #dabe8e;
  opacity: 0.8;
  display: none;
  cursor: pointer;
  z-index: 999;
}


/*
:::: WATER ::::
*/

.hero {
  height: 55%;
  width: 100%;
  display: grid;
  grid-template-columns: 35fr 10fr 55fr;
  grid-template-areas: "left center right";
}

.diver {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-area: left;
}
.diver img {
  width: 300px;
  max-width: 50%;
  height: auto;
  animation: floaty_diver 6s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes floaty_diver {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

.medusa {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: flex-end;
  grid-area: center;
}
.medusa img{
  width: clamp(120px, 20vw, 250px);
  height: auto;
  filter:
    drop-shadow(0 0 5px #00aaff)
    drop-shadow(0 0 15px #00aaff)
    drop-shadow(0 0 30px #00aaff);
  animation: floaty_medusa 6s ease-in-out infinite 2s;
}
@keyframes floaty_medusa {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.3deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.tagline {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  grid-area: right;
}
.tagline h1 {
  color: #dabe8e;
  font-size: clamp(2rem, 3.5vw, 6rem);
  font-size: 900;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding: 0 1rem;
}

.fishes1 {
  height: 134px;
  width: 250px;
  opacity: 0.1;
  position: absolute;
  top: 15%;
  right: 5%;
  z-index: -99;
}


/*
:::: SEABED ::::
*/

.fish_coral{
  padding-left: 15px;
  width: 100px;
  height: 104px;
  opacity: 0.3;
  animation: move_fish1 10s ease-in-out infinite;
  z-index: 10;
}

.social-network{
  position: absolute;
  bottom: 5%;
  right: 16%;
  padding: 10px 20px;
  z-index: 10;
  transform: rotate(5deg);
}
.social-network i{
  color: #dabe8e;
  font-size: clamp(22px, 3vw, 33px);
  opacity: 0.3;
  padding-left: 25px;
  transform: rotate(15deg);
  transform: skewX(-15deg);
  transition: all 0.6s ease;
  display: inline-block;
}
.social-network i:hover {
  opacity: 1;
  transform: scale(1.2);
}


/*
:::: responsive ::::
*/

 @media (max-width: 1024px) {

  #iconMenu {
    display: block;
  }
  .navlist {
    position: absolute;
    top: -50vh;
    right: 0vw;
    width: 100vw;
    height: 50vh;
    background-color: hsla(0, 0%, 0%, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-evenly;
    transition: all 0.5s ease;
    border-radius: 4px 0 0 4px;
  }

  .navlist a {
    color: #dabe8e;
    z-index: 999;
  }
  .navlist.open {
    top: 0;
  }

  .social-network{
    position: absolute;
    bottom: 0;
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(0deg);
  }
  .social-network i {
    padding-left: 15px;
  }
}

@media (max-width: 767px){

  .hero {
    grid-template-columns: 35fr 10fr;
    grid-template-rows: 2fr 1fr;
    grid-template-areas:
      "left center"
      "right right";
  }
}

