body {
  min-width: 300px; /* Set the minimum width for the entire page */
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-color: #f8f8f8; /* Light Gray */
    color: #555555; /* Dark Gray */
    font-family: Arial, sans-serif;
}

#mainContainer {
  position: relative; /* Ensure this container is the reference for absolute positioning of its children */
    text-align: center;
    /*background: url('pkc.svg') no-repeat center center;*/
    background: url('pkclogo.png') no-repeat center center;
    background-size: contain;
    margin-top: 39px;
    padding: 20% 10%;
    width: 80%;
    max-width: 700px; /* or whatever maximum width you prefer */
    min-width: 300px; /* Adjust this value to set your desired minimum width */
}

.svg-background {
  position: absolute;
    top: 0%;
    left: 0px;
    right: 0;
    bottom: 0;
    background: url("img/pkc2.png") no-repeat center center;
    background-size: contain;
    opacity: 1; /* Initial opacity */
    animation: opacityChange 10s infinite;
}
@keyframes spin {
  0%,
  100% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
}

@keyframes opacityChange {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  } /* Adjust these values as needed */
}
#emailLink {
  position: absolute;
    top: 70%; /* Adjust this percentage value to your preference */
    left: 50%; /* Center the link horizontally */
    transform: translateX(
      -50%
    ); /* Ensure the centering is based on the link's midpoint */
    color: #ff2222; /* red */
    font-size: 118%; /* Adjusted font size to match navbar */
}

button {
  display: block;
    margin: 200px auto 3px;
    color: #ff8888; /* Muted Gray */
    background: none; /* No Background */
    border: none; /* No Border */
    padding: 10px 15px;
    font-size: 1.15rem;
    cursor: pointer; /* Cursor appearance on hover */
    transition: color 0.3s, text-shadow 0.3s; /* Transition for color and text-shadow */
}

button:hover,
button:active {
  color: #888888; /* Darker Gray on Hover */
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1); /* Subtle Text Shadow on Hover */
}

#navbar {
  width: 100%;
    padding: 10px 0;
    background-color: transparent;
    position: fixed;
    font-size: 1.25rem; /* Relative font size */
    top: 0;
    z-index: 1000;
    text-align: center;
}

#navbar a {
  margin: 0 15px;
    color: #aaaaaa;
    text-decoration: none;
    font-size: 110%; /* Relative font size */
    transition: color 0.3s, text-shadow 0.3s;
    display: inline-block; /* Ensures inline display */
    cursor: pointer; /* Changes cursor to pointer on hover */
}

#navbar a:hover {
  color: #888888;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}

a {
  display: block;
    margin: 10px auto;
    color: #aaaaaa;
    font-size: 1.2rem; /* Relative font size */
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

a:hover {
  color: #888888;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}


/* Form Styles */
.form-label {
  background-color: #222222;
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    /*font-weight: bold;*/
}

.form-input {
  width: 100%;
    padding: 8px 12px;
    margin-bottom: 10px;
    border: 0px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-submit {
  background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-submit:hover {
  background-color: #45a049;
}

/* Updated Form Styles */
.form-label,
.form-input,
.form-submit-red {
  font-family: Arial, sans-serif;
  margin-top: 8px;
    margin-bottom: 8px;
}

.form-submit-red {
  background-color: #ff0000; /* Red */
}

.form-submit-red:hover {
  background-color: #cc0000; /* Darker Red */
}



button[type="submit"] {
  margin-top: 10px; /* No margin at the top of the submit button */
    margin-bottom: 2px; /* No margin at the top of the submit button */
}

/* Ensuring the dropdowns are always centered on the page */
.navbar {
  text-align: center; /* Centering all items in the navbar */
}


.circularDialogue {
  display: none; /* Hidden by default */
    position: fixed; /* Position it relative to the viewport */
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background-color: rgba(220, 220, 220, 0.85); /* Semi-translucent */
    border-radius: 50%; /* Make it circular */
    text-align: center;
    padding: 0px;
    box-shadow: 0px 0px 10px 30px rgba(120, 120, 120, 0.25);
    z-index: 1000; /* Ensure it's above other elements */  /* Previous styles */
    backdrop-filter: blur(5px);
}

.dialogue-content {
  color: #333333;
    position: absolute;
    top: 45%;
    left: 50%;
    padding: 0px; /* Adjust the padding as needed */
    transform: translate(-50%, -50%);
    text-align: center; /* Center the text horizontally */
    font-size: 1.25em;
    /* Add any other necessary styles for your content */  display: none;
    /* Other styles as needed */
}

#overlay {
  position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent black */
    z-index: 999; /* Below the dialogue */
}

.dialogue-content a {
  color: #777777; /* Example: Blue color for links */
    text-decoration: none; /* Removes underline from links */
    /* Add more styles as needed */
}

.dialogue-content-center a {
  font-size: 100%;
    color: #777777; /* Example: Blue color for links */
    text-decoration: none; /* Removes underline from links */
    /* Add more styles as needed */
}

.dialogue-content-center a:hover,
.dialogue-content-center a:focus {
  color: #445588; /* Darker blue when hovered or focused */
    font-weight: bold;
}

.dialogue-content a:hover,
.dialogue-content a:focus {
  color: #445588; /* Darker blue when hovered or focused */
    font-weight: bold;
}

#grayBar {
  background-color: lightgray; /* Light gray background */
    padding: 15px; /* Padding for some space inside the div */
    margin-top: 20px; /* Space above the div */
    text-align: center; /* Centering text inside the div */  position: absolute;
    top: 75%; /* Replace [DesiredDistance] with the actual distance from the top */
    left: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: top;
    background-color: lightgray;
    padding: 1px;
}

.text-block {
  flex: 1; /* Each block will take equal space */
    margin: 10px; /* Spacing between blocks */
    padding: 10px; /* Padding inside each block */
    text-align: left; /* Center text inside each block */
    /* Add other styles as needed */
    max-width: 300px;
}

.text-block a:hover,
.text-block a:focus {
  color: #445588; /* Darker blue when hovered or focused */
    font-weight: bold;
}

/* General styling for the 'subtle-form' */
.subtle-form {
  font-family: Arial, sans-serif;
  max-width: 180px;
  margin-right: 10%;
    font-weight: demi;
}

/* Style the input fields within 'subtle-form' */
.subtle-form input {
  width: 110%;
    padding: 7px;
    margin: 2px 0 5px 0;
    display: inline-block;
    border: none;
    background: #cccccc;
}

/* Style the submit button within 'subtle-form' */
/*.subtle-form button {
    margin-left: 35%;
  width: 40%;
    padding: 1px;
    background-color: #ffffff;
    color: #ee5555;
    border: none;
    cursor: pointer;
}

.subtle-form button:hover {
  color: #444444;
}
*/


.subtle-form button {
    margin-left: 10%;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.3); /* Semi-transparent white */
    border: none;
    border-radius: 25px; /* Rounded corners */
    color: #000; /* Text color */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); /* Shadow for glassy effect */
    transition-duration: 0.4s; /* Transition for hover effect */
}

.subtle-form button:hover {
    background-color: rgba(255, 255, 255, 0.5); /* Slightly more opaque on hover */
}

/* Remove outline for focused elements within 'subtle-form' */
.subtle-form input:focus,
.subtle-form button:focus {
  outline: none;
}

#responseContainer {
  display: none;
    position: fixed; /* Fixed position relative to the viewport */
    width: 50%; /* Width of the element */
    left: 50%; /* Center horizontally */
    top: 50%; /* Center vertically */
    transform: translate(-50%, -50%); /* Adjust the exact center position */
    background: rgba(15, 15, 15, 0.7);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    color: #ff7777;
    font-family: "Courier New", Courier, monospace;
    text-align: center;
}

#response {
  /* Styles specific to the response content */
    font-size: 70%;
    font-weight: bold;
}

#codeblock {
  display: none;
    position: fixed; /* Fixed position relative to the viewport */
    width: 50%; /* Width of the element */
    left: 50%; /* Center horizontally */
    top: 50%; /* Center vertically */
    transform: translate(-50%, -50%); /* Adjust the exact center position */
    background: rgba(15, 15, 15, 0.5);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 7px 12px rgba(0, 0, 0, 0.4);
    color: #eeeeee;
    font-family: "Courier New", Courier, monospace;
    text-align: center;
  
    font-size: 110%;
    font-weight: bold;
}

#codeContent {
  white-space: pre-wrap; /* Wraps the text */
    word-wrap: break-word; /* Breaks long words */
    overflow-wrap: break-word; /* Ensures overflow is managed */
}


#codeblockB {
  display: none;
    position: fixed; /* Fixed position relative to the viewport */
    width: 50%; /* Width of the element */
    left: 50%; /* Center horizontally */
    top: 50%; /* Center vertically */
    transform: translate(-50%, -50%); /* Adjust the exact center position */
    background: rgba(15, 15, 15, 0.7);
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 7px 12px rgba(0, 0, 0, 0.4);
    color: #ff7777;
    font-family: "Courier New", Courier, monospace;
    text-align: center;
  
    font-size: 90%;
    font-weight: bold;
}

#codeContentB {
  white-space: pre-wrap; /* Wraps the text */
    word-wrap: break-word; /* Breaks long words */
    overflow-wrap: break-word; /* Ensures overflow is managed */
}

#content3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#robot-face{
    width: 70px; /* Adjust size as needed */
    height: 70px;
    transition: opacity 3s ease-in-out;
    position: absolute; /* Position absolute to stack images */
    left: 0%;
    top: -5%;
}
#human-face {
    width: 50px; /* Adjust size as needed */
    height: 50px;
    transition: opacity 3s ease-in-out;
    position: absolute; /* Position absolute to stack images */
    left: 60%;
    margin-left: 10px;
    top: -5%;
}
#robot-face {
    opacity: 1;
}

#human-face {
    opacity: 0;
}

#nerouploadForm {
    margin-top: 60px; /* Adjust as needed to give space for the images */
}


#icontext {
    color: #666666; /* Dark Gray */
    font-size: 80%;
    font-weight: bold;
    position: absolute; /* Fixed position relative to the viewport */
    top: 0%;
    font-family: 'Arial', sans-serif; /* Modern, web-safe font */
    letter-spacing: 0.25px; /* Subtle spacing for a more elegant look */
    text-shadow: 1px 1px 2px rgba(15,5,10,0.2); /* Soft shadow for depth */
    opacity: 0.9; /* Slightly transparent for subtlety */
}


#iconx {
      position: fixed; /* Fixed position relative to the viewport */
      top: 105%;
      left: 30%;
}
button:disabled {
    color: #cccccc; /* Light gray color */
    background-color: #f2f2f2; /* Very light gray background */
    cursor: not-allowed; /* Cursor indicates the button is not clickable */
}


.text-block {
     font-size: 90%;
   font-family: Arial, sans-serif; /* Modern, readable font */
    background-color: transparent; /* Light background */
    padding: 20px;
}

.link-item {
     font-size: 100%;
    display: block; /* Each link on a new line */
    color: #0056b3; /* Professional blue color */
    text-decoration: none; /* No underline */
    padding: 2px 0; /* Spacing for easier clickability */
    border-bottom: 1px solid #ddd; /* Separator */
    transition: color 0.3s;
}

.link-item:hover {
    color: #003366; /* Darker blue on hover */
    text-decoration: underline; /* Underline on hover for clarity */
}

.contact-info {
    margin-top: 15px;
    font-style: italic; /* Slight emphasis on contact info */
}
.publication-link {
       font-size: 100%;
  display: block; /* Each link on a new line */
    color: #0066cc; /* Professional blue color */
    text-decoration: none; /* No underline */
    padding: 2px 0; /* Spacing for easier clickability */
    border-bottom: 1px solid #e1e1e1; /* Separator */
    transition: color 0.3s, background-color 0.3s;
}

.publication-link:hover {
    color: #0055a5; /* Darker blue on hover */
    background-color: #f0f0f0; /* Light background on hover */
}
