:root {
  /* Nixie-inspired color variables */
  --nixie-dark: #1a1a1a; 
  --nixie-orange: #ff6600; 
  --nixie-light: #f2f2f2; 
}

body {
  background: var(--nixie-light);
  font-family: monospace;
  background-image: url('aki.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
}

/* CSS for navigation */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--nixie-dark);
  color: var(--nixie-light);
  padding: 0px 0px;
}

.nav-list {
  display: flex;
  list-style: none;
}

.navbar a {
  color: var(--nixie-light);
  font-weight: bold;
  margin: 0 12px;
  text-decoration: none;
  font-family: monospace;
}

.navbar a:hover, .navbar a:active {
  color: var(--nixie-orange);
  text-decoration: underline;
}

.page-title {
  text-align: center;
  text-shadow: 0 0 8px #ff6600;
  color: #ff6600; 
  font-weight: bold;
  font-size: 42px;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 8px;
  font-family: Georgia;
  max-width: 800px; /* Set a maximum width for readability */
  margin: 0 auto; /* Center the container horizontally */
}

.about {
  display: flex;
  justify-content: center; /* Center the content horizontally */
  align-items: center;
  padding: 20px;
  background-color: var(--nixie-light);
  border: 1px solid var(--nixie-dark);
  border-radius: 5px;
  max-width: 800px; /* Set a maximum width for readability */
  margin: 0 auto; /* Center the container horizontally */
}

.about-text {
  text-align: center; /* Center the text inside the container */
  margin: 0 20px; /* Give some margin on the sides */
}

/* CSS for footer */
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 2.5rem;
  background-color: var(--nixie-dark);
  color: var(--nixie-light);
}

main {
  padding: 0 20px 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 40px; /* Adds space between nav and main content */
  margin-bottom: 50px;
}

.profile-card {
    border: 1px solid var(--nixie-dark);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: flex-start; /* Aligned to the top of the flex container */
    max-width: 800px;
    margin: 20px auto;
    background-color: #f9f9f9; /* A slightly different background to distinguish from gadget profiles */
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.1);
}

.profile-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-right: 25px;
    border: 3px solid var(--nixie-orange); /* Added a border around the image */
}

.profile-card h2 {
    margin: 0;
    font-size: 28px;
    color: var(--nixie-dark);
    margin-bottom: 10px;
}

.profile-card .role {
    font-size: 18px;
    color: var(--nixie-orange);
    margin-bottom: 15px;
    font-weight: bold;
}

.profile-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--nixie-dark);
}

.profile-attributes {
    margin-top: 10px;
}

.profile-attributes p {
    font-size: 14px;
    color: var(--nixie-dark);
    margin: 5px 0;
}

.profile-attributes strong {
    color: var(--nixie-orange);
    font-weight: bold;
}


.blog-post {
  background-color: rgba(255, 255, 255, 0.8);  /* Slightly transparent white background */
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.blog-post h2 {
  margin-top: 0;
  font-size: 28px;
  color: var(--nixie-orange);
  border-bottom: 2px solid var(--nixie-dark);
  padding-bottom: 10px;
}

.blog-post p {
  margin: 20px 0;
  font-size: 16px;
  line-height: 1.5;
}

/* For the author name */
.blog-post p:nth-child(2) {
  font-weight: bold;
  font-style: italic;
  margin-top: 10px;
}

/* Styling for the comments section */
.comments {
  background-color: rgba(242, 242, 242, 0.9);  /* Slightly different background for contrast */
  padding: 10px;
  border-radius: 5px;
  margin-top: 20px;
}

.comments h3 {
  color: var(--nixie-dark);
  font-size: 20px;
  border-bottom: 1px solid var(--nixie-dark);
  padding-bottom: 5px;
}

.comment {
  margin-top: 15px;
}

.comment p {
  margin: 5px 0;
}

.comment strong {
  color: var(--nixie-orange);
}

.gadget {
  border: 1px solid var(--nixie-dark);
  border-radius: 8px;
  margin: 20px 0;
  padding: 20px;
  display: flex;
  align-items: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--nixie-light);
}

.gadget img {
  width: 150px;
  height: 150px;
  margin-right: 20px;
}

.gadget h2 {
  margin: 0;
  font-size: 24px;
  color: var(--nixie-orange);
}


/* Contact Form Styles */

.contact-form-section {
  background-color: var(--nixie-light);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
}

.contact-form {
  margin-top: 20px;
}

.input-group {
  margin-bottom: 20px;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--nixie-dark);
  border-radius: 4px;
  font-size: 16px;
  resize: vertical; /* allows users to resize the textarea vertically */
}

.submit-btn {
  background-color: var(--nixie-dark);
  border: none;
  color: var(--nixie-light);
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: var(--nixie-orange);
}


/* Featured Gadget Section */
.featured-gadget {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 800px;
  text-align: center;
}

.featured-gadget img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Latest Blog Post */
.latest-post {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 800px;
  text-align: center;
}

/* Testimonials or Quotes */
.quotes {
  font-style: italic;
  color: var(--nixie-orange);
  background-color: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin: 20px auto;
  max-width: 800px;
}

.quotes blockquote {
  font-size: 24px;
}

/* Newsletter Signup or Lab Membership */
.newsletter {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 800px;
  text-align: center;
}

.newsletter form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.newsletter input[type="email"] {
  margin-bottom: 10px;
}

/* Social Media Links */
.social-media {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px auto;
  max-width: 800px;
}

.social-media a {
  color: var(--nixie-dark);
  text-decoration: none;
}

.social-media a:hover {
  color: var(--nixie-orange);
  text-decoration: underline;
}