@keyframes flowDown{
  0%{
    transform: translateY(-30px);
  }
  100%{
    transform: translateY(0px);
  }
}
@keyframes flowLeft{
  0%{
    transform: translateX(20px);
  }
  100%{
    transform: translateX(0px);
  }
}
@keyframes vibing{
  0%{
    transform: translateY(0px);
  }
  50%{
    transform: translateY(-3px);
  }
  100%{
    transform: translateY(0px);
  }
}

.loading {
  width: 40px;
  height: 30px;
  --c:no-repeat linear-gradient(#333333 0 0);
  background:
    var(--c) 0    100%/8px 30px,
    var(--c) 50%  100%/8px 20px,
    var(--c) 100% 100%/8px 10px;
  position: relative;
  clip-path: inset(-100% 0);
}
.loading:before{
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #000;
  left: -16px;
  top: 0;
  animation: 
    l5-1 2s   linear infinite,
    l5-2 0.5s cubic-bezier(0,200,.8,200) infinite;
}
@keyframes l5-1 {
  0%   {left:-16px;transform:translateY(-8px)}
  100% {left:calc(100% + 8px);transform:translateY(22px)}
}
@keyframes l5-2 {
  100% {top:-0.1px}
}

@keyframes fadeInUpCustom {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  60% {
    opacity: 1;
    transform: translateY(-5px);
  }
  80% {
    transform: translateY(2px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes slideInUpCustom {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  60% {
    opacity: 1;
    transform: translateY(5px);
  }
  80% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
  }
}

body {
  margin: 0;
  position: relative;
  height: 100vh;
  background: linear-gradient(45deg, #8a9c86, #a3b8a0, #6b8e76, #8a9c86);
  background-size: 400%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: gradientShift 15s ease infinite;
  min-width: 1024px;
  min-height: 610px;
  overflow-x: scroll;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

h1{
  font-size: 22px;
  font-family: var(--font6);
  margin: 0px;
  letter-spacing: 0.6px;
  padding: 0px;
}
p{
  margin: 0px;
  padding: 0px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  color: dimgrey;
}
.hrNav {
  width: 94%;
  height: 1px;
  margin: 0 auto;
  margin-bottom: 15px;
  border: none;
  background-color: #a4ba9e;
}

#container {
  display: none;
  position: relative;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 94vh;
  min-width: 1024px;
  min-height: 592px;
}
#profileName {
  font-size: 19px;
  color: white;
  text-align: center;
  color: #919191;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin: 2px auto;
  width: 90%;
  overflow: hidden;
}
.profilePic{
  width: 120px;
  height: 120px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 120px;
  margin-top: 8%;
  margin-bottom: 5px;
}

#logoutBtn {
  margin-top: 51px;
  font-size: 120%;
  background-color: transparent;
  border: none;
  border-radius: 5px;
  color: white;
  width: 55%;
  padding: 2% 2%;
  cursor: pointer;
  transition: 0.3s ease;
}
#logoutBtn:hover {
 background-color: #383838;
}

.navBtn {
  display: flex;
  align-self: center;
  justify-content: center;
  font-size: 22px;
  letter-spacing: 0.4px;
  background-color: #262424;
  color: white;
  border: 1px solid transparent;
  margin-bottom: 3.5%;
  padding: 1%;
  width: 92%;
  height: 6%;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s ease;
}
.navBtn:hover,
.navBtn.navActive {
  border: 1px solid rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
  background-color: #303030;
}
.navIcon{
  width: 22px;
  height: 22px;
  padding: 2px 4px 0px 4px;
  border-radius: 12px;
  transition: 0.3s ease;
}
.navText{
  color: white;
  margin: 0px;
  padding: 3px 0px 0px 1px;
  font-size: 20px;
  line-height: 22px;
  font-family: var(--font8);
  font-weight: 500;
  color: whitesmoke;
}
#navigation-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 19%;
  max-width: 250px;
  height: 100%;
  background-color: #262424;
  border-radius: 27px;
  box-shadow:0px 5px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUpCustom 1s ease-out forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
#navigation-container:hover {
  transform: translateY(-3px);
  box-shadow:0px 5px 4px rgba(0, 0, 0, 0.5);
}

.toastIcon{
  position: absolute;
  display: none;
  z-index: 1000;
  width: 170px;
  top: 62%;
  left: 83%;
}

#main-container {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 78%;
  max-width: 1200px;
  margin-left: 1%;
  min-width: 780px;
  border-radius: 27px;
  background-color: #f8f5f2;
  animation: fadeInUpCustom 1.2s ease-out forwards;
}

.baseContainer {
display: flex;
height: 100%;
width: 100%;
animation: fadeInUpCustom 1.2s ease-out forwards;
}

@media screen and (max-width: 1200px){
  

  #profileName{
    font-size: 20px;
  }
  .profilePic{
    width: 110px;
    height: 110px;
  }
}

@media screen and (max-width: 1150px){
  
  #navigation-container{
    width: 6%;
  }
  .navText{
    display: none;
  }
  #profileName{
    display: none;
  }
  .profilePic{
    width: 24px;
    height: 24px;
    margin-top: 10px;
  }
  .navBtn{
  width: 40px;
  height: 40px;
  margin-bottom: 7%;
  border-radius: 40px;
  padding: 0px;
  }
  .navIcon{
    padding: 0px;
    align-self: center;
  }
  #main-container{
    width: 91%;
  }
}
.notify{
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 1000;
  width: auto;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  padding: 0px 3px;
  background-color: #333333;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  top: 90%;
  left: 70%;
  min-width: 280px;
  cursor: default;
}
.notifyIcon{
  width: 40px;
  margin-top: 2px;
}
.notifyText{
  padding: 0px 5px;
  color: white;
}

#categoryTypeContainer{
  display: flex;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 1200;
  width: 100%;
  height: 100%;
}


@keyframes notifyAnimation{
0% {
    transform: perspective(400px) rotateX(90deg);
    opacity: 0;
  }
  30% {
    transform: perspective(400px) rotateX(0deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotateX(0deg);
    opacity: 1;
  }
  100% {
    transform: perspective(400px) rotateX(-90deg);
    opacity: 0;
  }
}

/* Add to your CSS file or <style> tag in the HTML */
@keyframes flipTransaction {
  0% {
    transform: perspective(400px) rotateX(90deg);
    opacity: 0;
  }
  100% {
    transform: perspective(400px) rotateX(0deg);
    opacity: 1;
  }
}

@keyframes valueRemove {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-20px);
  }
}

@keyframes valueAdd {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

#splashScreen{
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  justify-content: center;
  width: 97%;
  height: 95%;
  background-color: #f2f2f0;
  border-radius: 27px;
  animation: fadeInUpCustom 1.2s ease-out forwards;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.4s ease-out;
  border: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  cursor: default;
}
#splashScreen:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.6);
}

.splashTxt1{
  font-family: 'Ethan Sans', sans-serif;
  font-weight: bold;
  font-size: 50px;
  animation: fadeInUpCustom 1s ease;
}

.typewriter{
  color: #333333;
  font-family: var(--font16);
  letter-spacing: 600;
  font-weight: 550;
  font-size: 18px;
  overflow: hidden;
  border-right: .15em solid #333333;
  white-space: nowrap;
  animation: 
    typing 2.0s steps(30, end),
    blink-caret .7s step-end infinite;
}

/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  0% { border-color: transparent }
  50% { border-color: #333333 }
  100% { border-color: transparent }
}

.userDetailsBackground, .monthlyGoalBackground{
  display: flex;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 100;
}
#userDetailsContainer{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 400px;
  height: 270px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background-color: #f2f2f0;
}
.userInput, #getGoalAmount{
  margin-top: 5px;
  font-family: var(--font12);
  font-size: 18px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.8);
  height: 30px;
  width: 85%;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  background-color: white;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}
.userInput:focus,
.userInput:active,
#getGoalAmount:focus,
#getGoalAmount:active{
  outline: none;
  border-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
#submitBtn, #setGoal{
  font-family: 'Poppins', sans-serif;
  font-weight: 620;
  font-size: 17px;
  color: white;
  text-align: center;
  letter-spacing: 0.6px;
  background-color: #333333;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  margin-top: 10px;
  padding: 7px 0px;
  width: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: 0.3s ease;
}
#submitBtn:hover, #continueWithNotak:hover, #setGoal:hover{
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

@keyframes appear{
  0%{opacity: 0;}
  85%{opacity: 0;}
  100%{opacity: 1;}
}
#continueWithNotak{
  font-family: 'Poppins', sans-serif;
  font-weight: 620;
  font-size: 20px;
  color: white;
  opacity: 0;
  text-align: center;
  letter-spacing: 0.6px;
  background-color: #333333;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  margin-top: 10px;
  padding: 1px 15px 3px 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: 0.3s ease;
  animation: appear 2.5s ease forwards;
}