* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
    list-style: none;
    text-decoration: none;
}

body {
    height: 100vh;
    background-position: center;
    background-size: cover; 
 
    font-size: 20px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    box-shadow: 0 5px 10px #000;
    z-index: 2;
}

header .logo {
    font-size: 35px;
    font-weight: 900;
    color: #000;
    transition: .5s;
    z-index: 1;
}

header .logo:hover {
    transform: scale(1.2);
    z-index: 1;
}

header nav ul li {
    position: relative;
    float: left;
    z-index: 1;
}


header nav ul li a {
    padding: 15px;
    color: #000;
    font-size: 16px;
    display: block;
    z-index: 1;
}

header nav ul li a:hover {
transition: 0.5s;
background: #000;
color: #fff;
z-index: 1;
}

nav ul li ul {
    position: absolute;
    left: 0;
    white-space: 180px;
    background: #fff;
    display: none;
    z-index: 1;
}

nav ul li ul li {
width: 100%;
border: 1px solid rgba(0,0,0,.1);
z-index: 1;
}


nav ul li ul li ul {
    left: 139px;
    top: 0;
    z-index: 1;
}

nav ul li:hover > ul {
    display: initial;
    z-index: 1;
}

 .p {
    position: absolute;
    bottom: 80%;
    left: 30%;
    font-size: 40px;
    color: white;
    z-index: 1;
   }

   .p-2 {
    position: absolute;
    bottom: 70%;
    left: 20%;
    font-size: 33px;
    color: white;
    z-index: 1;
   }

   .p-3 {
    position: absolute;
    bottom: 50%;
    left: 10%;
    font-size: 30px;
    color: white;
    z-index: 1;
   }

   .p-4 {
    position: absolute;
    bottom: 40%;
    left: 10%;
    font-size: 30px;
    color: white;
    z-index: 1;
   }

   .p-5 {
    position: absolute;
    bottom: 30%;
    left: 10%;
    font-size: 30px;
    color: white;
    z-index: 1;
   }

.intro {
    position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.logo {
      font-size: 72px;
      color: #00a2ff;
      text-shadow: 0 0 5px rgba(0, 162, 255, 0.8);
      animation: underwaterAnimation 2s linear infinite;
    }
    
    @keyframes underwaterAnimation {
      0%, 100% {
        transform: translateY(0);
        opacity: 1;
      }
      50% {
        transform: translateY(-20px);
        opacity: 0.8;
      }
    }

  

    .footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1f1f1f;
    padding: 10px;
    text-align: center;
    color: #fff;
    }

    .a-footer {
        color: white;
        font-size: 22px;
        z-index: 1;
    }

    .a-footer:hover {
        transition: 0.5s;
        color: orange;
        font-size: 30px;
    }

    .sprite-container {
    height: 100vh;
    display: flex;
    align-items: center;
}

.sprite-image {
    height: 145px;
    width: 240px;
    background: url(../img/Fe.png) 0px 0px;
    animation: play 0.9s steps(1) infinite,
        swim 10s linear infinite;
    position: absolute;
    left: 0;
}

@keyframes play {
    100% {
        background-position: -1450px;
    }
}

@keyframes swim {
    100% {
        left: 95%;
    }
}

.sprite-container2 {
    display: flex;
    align-items: center;
}

.sprite-image2 {
    height: 185px;
    width: 180px;
    background: url(../img/Fe2.png) 0px 0px;
    animation: play 0.9s steps(1) infinite,
        step 10s linear infinite;
    position: absolute;
    bottom: 225px;
    right: 0;
}

@keyframes play {
    100% {
        
    }
}

@keyframes step {
    100% {
        right: 100%;
    }
}

