body{
    background-color: #B1BCBE;

}

.Message { /* Text above the imput */
  text-align: center; 
  margin-bottom: 40px;
}

.SA {
  text-align: center;
}

.spacebelowtext{
margin-bottom: 100px;
}


.wrap {
  width: 80%; /* Set a fixed width */
            margin: 0 auto; /* Center it */
            text-align: center;
            margin-top: 100px;

}

h1{   
  font-family: "Imprima", serif;
  font-style: normal;
  font-size: 35px;
}

h3{   
  line-height: 10px;
  font-family: "Imprima", serif;
  font-style: normal;
  font-size: 20px;
}

h2{   
  font-family: "Montserrat", serif;
  font-style: normal;
  font-size: 20px;
}

p{
  font-family: "Montserrat", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/*Imput varibles area */ 
.varimput {
  display: block; 
  max-width: 400px; 
  margin: 0 auto; 
  text-align: center; 
}

.varimput input {
  display: block; 
  margin: 5px auto;
  width: 100%; 
  height: 40px; 
  font-size: 16px; 
  box-sizing: border-box; 
}


/*Button Area*/
#calculateButton {
  background-color: #0056b3;
  color: white;              
  padding: 10px 20px;     /*10 by 20 */   
  border: none;              
  border-radius: 5px;       
  font-size: 16px;           
}


button {
  margin-top: 20px; 
  width: 70%; 
}

#calculateButton:hover {
  background-color: #7C8783; 
}



/* Reset margin and padding on html and body */
html, body {
  margin: 0;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  padding: 0;
}

/* Hero area */
.hero {
  margin-bottom: 50px;
  background: url(../img/watercolor-3445376_1280.jpg) no-repeat center center;
  height: 500px;
  background-size: cover;
  color: #ffffff;
  padding: 0 20px; /* Adjust if necessary */
  display: grid; 
  place-items: center; 
  text-align: center; 
  filter: brightness(1); /* makes my image brighter */
  width: 100%; /* Ensure full-width */
}

.hero h1 {
  font-size: 3.5rem;
  font-family: "Imprima", serif;
  font-style: normal;
  margin-top: -20px; 
  margin-bottom: 20px; 
}

#SA {
  font-size: 18px; 
  margin-top: 20px; 
  font-family: "Montserrat", serif;
  margin-bottom: 100px; 
}

/* styles for user imputs */ 
#valueA {
    background-color: #EBEBEB; 
    border: 1px solid #ccc; 
    border-radius: 10px;    
    padding: 10px;      
    margin-bottom: 10px;
  }
  #valueB {
    background-color: #EBEBEB; 
    border: 1px solid #ccc; 
    border-radius: 10px;    
    padding: 10px; 
    margin-bottom: 10px;     
  }
  #valueD {
    background-color: #EBEBEB; 
    border: 1px solid #ccc; 
    border-radius: 10px;    
    padding: 10px;  
    margin-bottom: 10px;   
  }
  #valueE {
    background-color: #EBEBEB; 
    border: 1px solid #ccc; 
    border-radius: 10px;    
    padding: 10px;    
    margin-bottom: 10px;    
  }
  #valueF {
    background-color: #EBEBEB; 
    border: 1px solid #ccc; 
    border-radius: 10px;    
    padding: 10px;     
    margin-bottom: 10px;   
  }
  #valueG {
    background-color: #EBEBEB; 
    border: 1px solid #ccc; 
    border-radius: 10px;    
    padding: 10px;      
    margin-bottom: 10px;  
  }

/* Style for the navigation bar */
.navbar {
  background-color: #646853; 
  color: white;          
  padding: 15px;      
  font-family: "Montserrat", serif;
  font-style: normal;
  text-align: center;     
  width: 100%;            
  position: fixed;        
  top: 0;                
  left: 0;            
  z-index: 1000; /* makes the nav bar go over the other elements */
}

.groupof3grid {
  display: grid;                          
  grid-template-columns: repeat(3, 1fr);  
  gap: 20px;                            
  justify-items: center;                 
  align-items: center;   
  margin-bottom: 100px; /* Margin below the three images */ 
  margin-left: 30px; 
  margin-right: 30px; 
}

.col3 {
  text-align: center;  
}

.dem {
  background-position: center; 
  background-size: cover;
  border-radius: 0; 
  margin-bottom:150px;
  width: 50%;         /* Set a width for the div */
  margin: 0 auto;    /* Center the div horizontally */
  text-align: center; /* Center text inside the div */
  padding: 20px;     /* Optional padding */
  pointer-events: none; /*makes it non-clickable*/ 
}

img {
  width: 280px;                          
  height: 280px;                        
  border-radius: 50%;                    
}

/* 3 Images responsiveness */
@media (max-width: 1280px) {
  .groupof3grid {
      grid-template-columns: repeat(1, 1fr); /* 1 column of items medium screens */
      margin-left: 40px; /*keeps my text away from the corners when minimized. */ 
      margin-right: 40px;
  }
}
@media (max-width: 900px) {
  .groupof3grid {
      grid-template-columns: 1fr; 
  }

  img {
      width: 300px;          
      height: 300px;                
  }
}

.container {
  text-align: center;
}

.fghjhgfdfghjkuyjhgfsdfgdhtjykjthrgfsvb {
  display: inline-block; 
  font-size: 19px;
}

.sub {
  margin-top: 10px; 
}

.spacebelowtext {
  margin-top: 20px; 
}

.footer {
  position: relative; 
  width: 100%;
  height: auto; 
  background-color: rgb(0, 0, 0);
  color: white;
  text-align: center;
  padding: 20px; 
  margin-top: auto;
}

/* Footer Responsiveness */
@media (max-width: 600px) {
  .footer {
    padding: 15px; 
  }
  .footer a {
    display: inline-block; 
    margin: 5px 0; 
  }
}





