html, body {
    
   
    padding-bottom: 0;
    
    
}


.title {

  font-family: 'Inter', 'Montserrat', sans-serif;
  font-size: 6rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-wrap: balance;

  

 
 
  
  background-clip: text;
  color: teal;
}



.contacts {
text-align: center;
color: white;
transform: translateY(-40px);
display: flex;
flex-direction: column;

}
.gitprof{
font-size: 2.5rem;
margin-top: 20px;
background-color: teal;
color: Black
}
.gmail{
text-decoration: solid;


}


.credits-bar {
  
  margin-top: auto; 
  
  

  width: 100vw;
  
  
  
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;


  
  background-color: black;
  

  background-image: 
    linear-gradient(rgb(58, 57, 57) 1px, transparent 1px),
    linear-gradient(90deg, rgb(58, 57, 57) 1px, transparent 1px);
    

  background-size: 30px 30px;
}



.buttons .bottom_button{
font-size: 3rem;
padding: 1em 2em; 


}
.buttons {
  gap: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 25vh;
}

.buttons .bottom_button {
  font-size: 2rem;
  font-weight: 500;
  padding: 0.6em 1.4em ; 
  border-radius: 12px ;
  border: 1px solid transparent ; 
  box-shadow: 0 4px 6px black;
  transition: all 0.2s ease-in-out ;
 
  
  font-weight: bold;
  color: whitesmoke;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  
}

.buttons .bottom_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px black;
 
}

#resultDashboard {
    margin: 40px 0;
}

.results-grid {
    display: grid;
  
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.result-item {
    background-color: ghostwhite;
    border: 1px solid lightgray;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.result-label {
    font-size: 1.3rem;
    color: dimgray;
    text-transform: uppercase;
    letter-spacing: 0.035em;
    font-weight: bold;
}

.result-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: black;
}


.input-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 2rem 0;
}

.askmol {
  font-size: 2.6rem;
  font-weight: bold;
  color: black;
}

.moleculeInput {
  font-size: 1.6rem;
  padding: 0.8rem 1rem;
  border: 2px solid black;
  border-radius: 0;
  box-sizing: border-box;
}

.submitBtn {
  font-size: 1.5rem;
  font-weight: bold;
  padding: 0.9rem;
  border: 2px solid black;
  border-radius: 0;
  cursor: pointer;
}

#resultDashboard {
    display: none; 
    margin: 40px 0;
}

#resultDashboard {
    display: none;
    margin: 40px 0;
    animation: fadeInSlide 0.4s ease-out forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.highlight {
    color: royalblue;
    transition: transform 0.2s ease;
}

#moleculeViewer {
  width: 100%;
  max-width: 100%;
  height: 400px;
  position: relative;
  box-sizing: border-box;
  /* Remove the standard border from here so it doesn't clash */
  border: none; 
}

/* This creates a layer that sits perfectly ON TOP of the molecule canvas */
#moleculeViewer::after {
  content: "";
  position: absolute;
  /* Inset 0 stretches this overlay layer to all 4 edges perfectly */
  inset: 0; 
  
  /* Draw the solid border here */
  border: 5px solid #000000;
  
  /* Crucial: prevents the border layer from blocking mouse clicks/drags on the molecule */
  pointer-events: none; 
  
  /* Forces it to stay visually stacked on top of the WebGL canvas */
  z-index: 9999; 
}

/* AI Code due to border problem ^^^ Comments were kept everywhere wherein AI was used reasonably */

.chart_title{
text-decoration: underline;
font-weight: bold;

}