html,body{
  height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #f6f6f6;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background: linear-gradient(135deg, #0a3c1b 0%, #145c2a 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* *TOP BAR LINKS */
.mobile-menu {
  
  width: 100%;
  height: auto;
  margin-bottom: 100px;
}

.menu-container {
  top: 0;
  background: linear-gradient(135deg, #16271c 0%, #1e3a26 100%);
  color: white;
  padding: 0;
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  z-index: 100;
}

.logo {
  margin-left: 5px;
  font-size: 1.5rem;
  font-weight: bold;
}
.logo a{
  color: white;
  text-decoration: none;
}

/* Hamburger Icon */
.hamburger {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: block; /
}

.menu {
  list-style: none;
  position: fixed;
  top: 60px;
  left: -100%;
  width: 80%;
  height: calc(100vh - 60px);
  padding-left: 5px;
  background: linear-gradient(135deg, #16271c 0%, #1e3a26 100%);
  flex-direction: column;
  align-items: center;
  padding-top: 2rem;
  transition: left 0.3s ease;
}

.menu.active {
  left: 0;
}

.menu li {
  margin: 1.5rem 0;
}

.menu a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.menu a:hover {
  color: #f0a500;
}

/* Desktop menu */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
  
  .menu {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    display: flex;
    flex-direction: row;
    padding: 0;
  }
  
  .menu li {
    margin: 0 1rem;
  }
}

  /*INTRO TEXT DIV*/

.content {
  flex: 1;
  padding-top: 70px;
}
  #intro_text, #about{
    display: block;
    color: white;
    background: linear-gradient(#169220, rgb(29, 230, 29));
    height: auto;
    width: 80%;
    margin: 50px auto;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    transition: 1s;
  }
  
  #intro_text {
  background: linear-gradient(135deg, #1e2d24 0%, #23402e 100%);
  color: #f6f6f6;
  border: 2px solid #2e4d3a;
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(20, 40, 30, 0.35);
  width: 90%;
  margin: 40px auto;
  padding: 60px 16px;
  min-height: 220px;
  text-align: center;
  transition: 1s;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}
  
  button:hover{
    background: linear-gradient(green,rgb(81, 241, 121));

  }
  button:active{
    background: green;
  }
  input[type="submit"], button{
    background: linear-gradient(green,rgb(81, 241, 121));
    margin: 10px 0;
    border-radius: 10px;
    height: auto;
    padding: 10px;
    border: none;
    color: white;
  }
pre{
  font-weight: 10px;
  font-size: 20px;
text-align: center;}
 #intro_text:active{
    transform: scale(0.95, 0.95);
    transition: 1s;
  }


    /*FORM*/


  
  #form, #inputScores, #exportCGPA{
    display: none;
    width: 80%;
    height: auto;
    margin: 50px auto;
    padding: 40px 20px;
    border-radius: 20px;
    background: linear-gradient(#169220, rgb(29, 230, 29));
    color: white
 
  }
  
  fieldset{
    border-style: none;
    border-radius: 10px;
  }
  legend{
    text-align: center;
    font-family: Arial,  sans-serif;
    margin: 10px auto;

  }
  input{
    margin-bottom: 10px;
    background: local;
    border: none;
    border-bottom: 1px solid;
    outline: none;
    height: 30px;
    width: 40%;
    color: whitesmoke;
    
  }
  

  label{
    font-size: larger;
    font-weight: 600;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }
option{
  outline: none;
  border-radius: 5px;
}
img{
  max-width: 40%;
  border-radius: 50px;
}
.social-media {
  display: flex;
  gap: 15px;
  text-align: center;
}

.footer a {
  font-size: 24px;
  transition: color 0.3s;

}

.footer a:hover {
  color: #1877f2; 
}

.social-media a:hover .fa-twitter { color: #1da1f2; }
.social-media a:hover .fa-instagram { color: #e4405f; }
.social-media a:hover .fa-linkedin { color: #0a66c2; }
.social-media a:hover .fa-youtube { color: #ff0000; }

  .footer{
    display: block;
    background: linear-gradient(#169220, rgb(29, 230, 29));
    color: white;
    margin: 30px auto;
    width :100%;
    margin-bottom: 0;
    padding: 20px;
    text-align: center ;
    align-items: center;
  }

#userInput {
  background: linear-gradient(135deg, #1e2d24 0%, #23402e 100%);
  color: #f6f6f6;
  border: 2px solid #2e4d3a;
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(20, 40, 30, 0.35);
  width: 90%;
  max-width: 480px;
  margin: 40px auto;
  padding: 32px 18px 24px 18px;
  text-align: left;
  transition: 1s;
  display: none;
  margin-top: 30px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

#userInput form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#userInput legend {
  text-align: left;
  font-size: 1.1rem;
  font-family: inherit;
  margin: 0 0 8px 0;
  color: #22c55e;
  font-weight: 600;
}

#userInput label {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4px;
}

#userInput input[type="text"],
#userInput input[type="number"] {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #2e4d3a;
  background: #22382b;
  color: #f6f6f6;
  font-size: 1rem;
  margin-bottom: 6px;
  width: 100%;
  box-sizing: border-box;
}

#userInput button[type="submit"],
#userInput button {
  align-self: center;
  width: 70%;
  margin-top: 12px;
  background: linear-gradient(90deg, #2563eb 0%, #22c55e 100%);
  border-radius: 10px;
  color: white;
  font-weight: 500;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.10);
  transition: background 0.2s, box-shadow 0.2s;
}

#userInput button[type="submit"]:hover,
#userInput button#closeInputBtn:hover {
  background: linear-gradient(90deg, #1e40af 0%, #16a34a 100%);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.18);
}

#userInput button[type="submit"]:active,
#userInput button#closeInputBtn:active {
  background: #2563eb;
}
#closeInputBtn {
  position: absolute;
    top: 18px;
    right: 18px;
    background: transparent;
    border: none;
    font-size: 1.7rem;
    color: #f6f6f6;
    cursor: pointer;
    z-index: 10;
}
#closeInputBtn:hover {
  background: #222b;
}

#intro_text button {
  background: linear-gradient(90deg, #2563eb 0%, #22c55e 100%);
  border-radius: 10px;
  color: white;
  font-weight: 500;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.10);
  transition: background 0.2s, box-shadow 0.2s;
  padding: 10px 24px;
  border: none;
}
#intro_text button:hover {
  background: linear-gradient(90deg, #1e40af 0%, #16a34a 100%);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.18);
}
#intro_text button:active {
  background: #2563eb;
}
