/* Index Page */

.hero {
  background-image: url("./Pictures/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;

  position: fixed;   /* KEY FIX */
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;       /* puts it behind everything */
}

.hero > h3{
    color: white;
    src: url(./Fonts/MasterofCustom.ttf) format("truetype");
    font-family: "MasterofCustom";
    font-style: italic;
    font-size: xx-large;
    letter-spacing: 2px;
    font-weight: normal;
    text-align: center;
    position: absolute;
    top: 150px;
    left: 525px;
}

/* About Page */


.about-text {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    gap: 20px;              
    max-width: 800px;
    margin: 150px auto 0 auto; 
    text-align: center;
}

.about-text p {
    color: white;
    font-style: italic;
    font-size: xx-large;
    letter-spacing: 2px;
}



@font-face {
  font-family: "MasterofCustom";
  src: url("./Fonts/MasterofCustom.ttf") format("truetype");
}


h1{
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
}

h2{
    color: white;
    text-align: center;
    position: absolute;
    top: 650px;
    left: 220px;
}

h3{
    color: white;
    font-style: italic;
    font-size:350%;
    letter-spacing: 2px;
    font-weight: normal;
    text-align: center;
    position: absolute;
    top: 250px;
    left: 300px;
    font-family: "MasterofCustom";
    src: url("./Fonts/MasterofCustom.ttf") format("truetype");
    
}




.buttons button{
    background-color: rgb(4, 217, 255);
    color: white;
    margin: 10px;
    border-radius: 15%;
    border: white;
    padding: 12px 20px;
    

}


footer{

    color: white;
    position: fixed;
    bottom: 20px;
    right: 15px;

}

/* NAV BAR INDEX PAGE*/

.navbarindex{
  font-size: 25px;
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;   /* center links horizontally */
  padding: 10px 20px;
  z-index: 100; 
  top: 100px;           
}

.navbarindex ul {
  list-style: none;       
  margin: 0;
  padding: 0;
  display: flex;          
  flex-direction: row;    
}

.navbarindex li {
  margin-right: 20px;  /* space between links */
}

.navbarindex a {
  color: white;          
  text-decoration: none;  
  padding: 0 15px;       
}


/* NAV BAR OTHER PAGES */

.navbar{
  font-size: 25px;
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;   /* center links horizontally */
  padding: 10px 20px;
  z-index: 100; 
  top: 100px;         
}

.navbar ul {
  list-style: none;       
  margin: 0;
  padding: 0;
  display: flex;          
  flex-direction: row;    
}

.navbar li {
  margin-right: 20px;  /* space between links */
}

.navbar a {
  color: white;          
  text-decoration: none;  
  padding: 0 15px;       
}

/* Calorie Tracker PAGE */

.CT-container {
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    display: flex;
    justify-content: center;  
    align-items: center;      
    height: 80vh;
    width: 100px;
    
}

.CT {
    text-align: center;
    color: white;

}


/* BMI Calculator PAGE */

img {
    height: 200px;
    position: absolute;
    top:450px;
    left: 550px;
}

.bmi-container {
    color: white;
    font-size: medium;
    display: flex;
    flex-direction: column;  
    align-items: center;     
    justify-content: center;                 
    margin-top: 170px;       
}

.bmiCalculator {
    position: absolute;
    gap: 20px;
}


/* CALCULATORS PAGE */



.CALCButtons button {
    display: flex;
    flex-direction: column;
    align-items: center;
    top: 250px;
    margin: 100px auto 0 auto;  
    gap: 20px;
    background: linear-gradient(135deg, #04d9ff, #00aaff);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 30px; /* smooth rounded */
    cursor: pointer;
    
    transition: all 0.3s ease; /* smooth animation */
    
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
}

/* Hover effect */
.CALCButtons button:hover {
    transform: translateY(-3px); /* lifts button */
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.7);
    background: linear-gradient(135deg, #00c3ff, #0077ff);
}

/* Click effect */
.CALCButtons button:active {
    transform: scale(0.95);
}



/* Contact Me page */

form{
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    gap: 20px;
    top: 200px;
    left: 800px;
}