/* This is my code start */
body.splash-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #EAF4FE;
    font-family: 'Lilita One', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
  }
  
  .splash-container {
    width: 430px;
    height: 932px;
    background-color: #ffffff;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
  }
  
  
  
  .waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 475px; 
    object-fit: cover;
    object-position: top center;
    border-top: none;
  }

  .logo {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 190px;
    z-index: 2; 
  }






  
  
  
  
  
  
  
  body {
    margin: 0;
    padding: 0;
    background-color: #eaf4fe;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'Roboto', sans-serif;
  }
  
  .home-container {
    width: 430px;
    height: 932px;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background-color: #eaf4fe;

  }
  
  
  .background {
    position: absolute;
    top: -360px;      
    left: 0;
    width: 100%;
    height: 140%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
  }


  
  .goal-container {
    position: relative;
    z-index: 1;
    margin: 40px auto 20px auto;
    width: 85%;
    background-color: white;
    border-radius: 20px;
    text-align: center;
    padding: 50px 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .goal-label {
    font-size: 24px;
    font-weight: 600;
    color: #1b3c59; 
    margin-bottom: 8px;
  }
  
  .goal-value {
    font-size: 30px;
    color: #2196f3; 
    margin: 0;
  }


  

  .progress-card {
    position: relative;
    z-index: 1;
    margin: 0 auto 40px auto;
    width: 85%;
    background-color: white;
    border-radius: 20px;
    text-align: center;
    padding: 90px 10px; 
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .progress-label {
    font-size: 20px;
    font-weight: 600;
    color: #1b3c59;
    margin-bottom: 35px; 
  }
  
  .ring-placeholder {
    width: 140px;            
    height: 140px;
    border: 14px solid lightgray;
    border-top: 14px solid #2196f3;
    border-radius: 50%;
    font-size: 26px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 35px auto; 
  }
  
  .progress-subtext {
    font-size: 16px;
    color: #2196f3;
    margin: 0;
  }




  .nav-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 5;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .nav-icon {
    width: 32px;
    height: 32px;
  }
  
  
  .nav-icon.active {
    background-color: #d0eaff;
    border-radius: 50%;
    padding: 6px;
  }









  

  .add-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    background-color: white;
    border-radius: 20px;
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 2;
  }
  
  
  .add-label {
    font-weight: 600;
    font-size: 18px;
    color: #1b3c59;
    text-align: left;
  }
  
  .add-input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 16px;
  }
  
  .confirm-btn {
    background-color: #2196f3;
    color: white;
    border: none;
    padding: 12px;
    font-weight: bold;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
  }
  
  .reset-btn {
    background-color: transparent;
    color: #2196f3;
    border: 2px solid #2196f3;
    padding: 12px;
    font-weight: bold;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
  }








  
  .settings-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    background-color: white;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 2;
  }
  
  .settings-option {
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    color: #1b3c59;
    background-color: #eaf4fe;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .settings-option:hover {
    background-color: #d0eaff;
  }


  .confirm-btn,
.reset-btn {
  transition: background-color 0.2s ease, transform 0.1s ease;
}


.confirm-btn:active {
  background-color: #1976d2; 
  transform: scale(0.97);
}


.reset-btn:active {
  border-color: #1976d2;
  color: #1976d2;
  transform: scale(0.97);
}

body:not(.splash-screen) {
    font-family: 'IBM Plex Sans', sans-serif;
  }

/* This is my code end and help from https://www.w3schools.com/cssref/index.php*/