/*
SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
*/

/* COLOR THEME */
:root {
  --primary-color: #053b68;
  --secondary-color: #6c757d;
  --background-color: #224cc1;
  --text-color: #0f0f0f;
  --btn-text: #ff9727;
  --btn-color: #053b68;
  --btn-color2: #1866a7;
  --btn-color3: #052b4b;
  --btn-shadow: #ff9727;
  --light-ocean-blue: #b3dfee;
  --deep-ocean-blue: #013a63;
  --gold: #ff9727;
}
@font-face {
  font-family: "LostFish";
  src: url(media/fonts/LostFish.ttf);
}

/* UNIVERSALS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  font-family: "LostFish", sans-serif;
}

.container {
  width: 100%;
  min-height: 240vh;
  height: 1600px;
  margin: auto;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(
    to bottom,
    #48aef1 0%,
    #b3dfee 50%,
    #01233a 75%
  );
}

nav {
  position: fixed;
  width: 100%;
  padding: 24px 100px;
  display: flex;
  justify-content: center;
  z-index: 2000;
}
.nav-container {
  width: 80%;
  max-width: 1000px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.logo {
  position: relative;
  font-size: 32px;
  color: var(--gold);
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}
#hair {
  position: absolute;
  width: 100px;
  left: -28px;
  top: -20px;
  transform: rotate(-4deg);
}

#text1 {
  position: absolute;
  width: 80%;
  z-index: 3000;
  bottom: 0;
}

#ocean {
  width: 100%;
  height: 130%;
  bottom: 0;
  position: absolute;
}
#wave1 {
  fill: #2f9ae2;
  opacity: 0.2;
}
#wave2 {
  fill: #3cd9ee;
  opacity: 0.2;
}
#wave3 {
  fill: #1764ad;
  opacity: 0.2;
}
#wave4 {
  fill: #1a8edb;
  opacity: 0.2;
}

.sky,
.ocean {
  height: 100vh;
  width: 100%;
  opacity: 1;
  position: absolute;
}
.ocean {
  bottom: 0;
}

.fishtexts {
  position: relative;
  width: 250px;
  z-index: 500;
  text-align: center;
}
.fishtexts h1 {
  position: absolute;
  color: var(--gold);
  top: 25%;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}
.number {
  font-family: Arial Black, sans-serif;
}
.text1 {
  top: 250px;
  left: 700px;
}
.text2 {
  top: 200px;
  right: -950px;
}
.text3 {
  top: 150px;
  left: 720px;
}

#flying-fish {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  max-width: 580px;
  height: auto;
  transition: top 0.5s;
}

.hero-fish {
  height: 100%;
  width: 100%;
}

@keyframes swimAnimation {
  0%,
  100% {
    transform: translateY(-50%) translateX(-50%) rotate(-2deg);
  }
  50% {
    transform: translateY(-55%) translateX(-50%) rotate(2deg);
  }
}

@keyframes flyAnimation {
  0%,
  100% {
    transform: translateY(-50%) translateX(-50%);
  }
  50% {
    transform: translateY(-45%) translateX(-50%);
  }
}

#splash-image {
  position: absolute;
  left: 50%;
  top: 35%;
  transform: translateX(-50%) translateY(-100%);
  width: 400px;
  height: auto;
  opacity: 0;
  transition: opacity 0.7s ease-out;
  z-index: 100;
}

@keyframes splash-animation {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

footer {
  position: relative;
  border-bottom: var(--gold) 8px solid;
}

.bottom {
  position: relative;
  width: 100%;
}
#ocean-bottom {
  position: absolute;
  width: 100%;
  bottom: -20px;
  z-index: 600;
}
.bottom-buttons {
  height: 220px;
  width: 100%;
  background-image: linear-gradient(to bottom, #2191db 0%, #6cc7ce 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bottom-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 120%;
  max-width: 800px;
  height: 60%;
  z-index: 1500;
  flex-shrink: 0;
  flex-grow: 1;
}
.tele-app {
  display: flex;
  align-items: center;
  justify-content: center;
}
.bottom-container {
  display: flex;
  flex-direction: column;
  height: 80%;
  align-items: center;
  justify-content: center;
}
.buy {
  position: absolute;
  width: 240px;
  height: 240px;
  top: -120px;
  padding: 20px;
  border: var(--gold) 3px solid;
  border-radius: 30px;
  margin: 12px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background-image: linear-gradient(to bottom, #095d7e 0%, #053b68 100%);
  box-shadow: 3px 6px var(--gold);
  color: var(--gold);
  transform: translate(-6px -3px);
  font-size: 48px;
}
.buy:hover {
  border: var(--gold) 3px solid;
  background-image: linear-gradient(to bottom, #0c4d81 0%, #136f94 100%);

  color: var(--gold);
  font-size: 48px;
  cursor: pointer;
}
#footer-trans {
  z-index: 1000;
  top: 0px;
  position: absolute;
  transform: translateY(-50%);
}
.ca {
  flex-shrink: 1;
  flex-grow: 0;
  margin-top: 16px;
  word-break: break-all;
}

/* BUBBLES HOLY FK */

#bubble {
  position: absolute;
  bottom: 0;
  width: 10px;
  height: 10px;
  opacity: 0.7;
  animation: rise 5s ease-in forwards;
  background-image: url("media/imgs/bubble.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 800;
}

@keyframes rise {
  from {
    bottom: 0;
    opacity: 0.7;
  }
  to {
    bottom: 100%;
    opacity: 0;
  }
}

/* BUTTONS */

.btn-icon {
  width: 32px;
  height: auto;
  stroke: none;
  fill: var(--btn-shadow);
  margin-right: 12px;
}

.fish-icon {
  width: 80%;
  height: auto;
  stroke: var(--gold);
  fill: var(--gold);
}

.btn {
  padding: 8px 16px;
  margin: 5px;
  background-color: var(--btn-color);
  color: var(--btn-text);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clickable {
  background-color: var(--btn-color);
  box-shadow: 0 3px var(--btn-shadow);
  transform: translateY(-3px);
}

.clickable:hover {
  background-color: var(--btn-color2);
  box-shadow: 0 5px var(--btn-shadow);
  transform: translateY(-5px);
  cursor: pointer;
}

.clickable:active {
  background: var(--btn-color3);
  box-shadow: 0 2px var(--btn-shadow);
  transform: translateY(-2px);
}

/* Media Queries for Mobile */
@media (min-width: 1600px) {
  .buy {
    top: -180px;
  }
}
@media (max-width: 1080px) {
  .container {
    min-height: 180vh;
  }
  #ocean {
    height: 100%;
  }

  @keyframes swimAnimation {
    0%,
    100% {
      transform: translateY(-100%) translateX(-50%) rotate(-2deg);
    }
    50% {
      transform: translateY(-105%) translateX(-50%) rotate(2deg);
    }
  }
  #splash-image {
    top: 50%;
  }
  .text1 {
    top: 200px;
    left: 100px;
  }
  .text2 {
    top: 100px;
    right: -550px;
  }
  .text3 {
    top: 150px;
    left: 220px;
  }
}
@media (max-width: 768px) {
  .nav-container {
    width: 80%;
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  #flying-fish {
    max-width: 80%;
  }
  .card {
    position: relative;
    width: 30%;
    height: 50%;
    border: none;
    border-radius: 30px;
    margin: 12px;
  }
  .bottom-cards {
    width: 80%;
  }
  .ca {
    font-size: 12px;
    padding: 0 20px;
  }
  .fishtexts {
    width: 150px;
    font-size: 12px;
  }
  .text1 {
    top: 250px;
    left: 50px;
  }
  .text2 {
    top: 280px;
    right: -200px;
  }
  .text3 {
    top: 350px;
    left: 80px;
  }
}
@media (max-width: 586px) {
  #footer-trans {
    transform: translateY(-30%);
  }
  .nav-btns {
    margin-left: 40px;
  }
  .nav-container {
    justify-content: center;
  }
  .logo {
    font-size: 24px;
  }
}

@media (max-height: 700px) {
  .text3 {
    top: -150px;
  }
}
