/* General Page Styling */
body {
    font-family: 'Poppins', sans-serif;
    background-color: bisque;
    text-align: center;
    padding-bottom: 20px;
    margin: 0px;
    color:white;
    background-color: black;
}

h2 {
    color:white;
    font-size: 26px;
    font-weight: bold;
}
.navbar{
    display:flex;
    justify-content: space-around;
    align-items: center;
    background-color: #2b1700;
    position:fixed;
    top:0;
    width:100%;
    
}
.navbar img{
    height:80px;
    padding:10px;
}

/* Input Box and Button */
.input-container {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}


input {
    width: 250px;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #007BFF;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;

}

input:focus {
    border-color: #0056b3;
    box-shadow: 0px 0px 8px rgba(0, 123, 255, 0.4);
}

button {
    background-color: #14125a;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    
}

button:hover {
    background-color: #0056b3;
}

/* Student Details Card */
#result {
    display: none; /* Hide result container initially */
    margin: 20px auto;
    padding: 20px;
    max-width: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(218, 20, 20, 0.1);
}

#result h3 {
    color: #2b1700;
    font-size: 22px;
}

/* Hide paragraphs initially */
#result p {
    display: none;
    font-size: 16px;
    margin: 8px 0;
    color: black;
}


strong {
    color: black;
}
.copyright{
    height:50px;
    background-color: #2b1700;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    bottom: 0;
    width:100%;
}
.ieiinfo{
    position:fixed;
    left:0;
    bottom:50px;
    background-color:#351e10 ;
    width:100%;
    height:100px;
    padding-bottom: 10px;;
    
}
main{
    width:100%;
   
}
.card{
    margin-top:150px;
    display:flex;
   justify-content: centre;
   
}
.ieiinfo a{
   font-size:15px;
   padding:0px 30px;
   text-decoration: none;
   color: white;
   font-weight: bold;
    
}
/* Loading Spinner */
#loading {
    display: none;
    margin: 10px auto;
    /* width:300px;
    height: 300px; */
}
#loading img{
    height:300px;
    width: 300px;
}

#result h3{
    margin-top: 0px;
}



/* Responsive Design */
@media (max-width: 500px) {
    input {
        width: 100%;
    }
    body{
        font-size:0.7em;
    }

}
@media (max-height: 700px){
    h2{
        font-size:0.9em;
    }
    .navbar img{
      
      height:50px;
    }
    .card{
        margin-top: 100px;

    }
}