body {
    padding: 3vw;
}

h2 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1em;
    text-align: center;
}

h1 {
    text-align: center;
}

.mainnav {
    text-align: center;
}

#nav {
    display: none;
}

.me {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
    max-height: 300px; /* Set the maximum height you want */
    /* Additional styling if needed */
}

p {
    text-align: center;
    overflow: hidden;
}

form {
    text-align: center;
}

h3 {
    text-align: center;
}

button {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    background-color: green;
    border: 2px solid #4CAF50;
  }

  /* Apply Merriweather font to headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
}

/* Apply Roboto font to paragraphs */
p {
    font-family: 'Roboto', sans-serif;
}


/* Base font size for the entire body */
body {
    font-size: 16px; 
}

/* Heading font sizes using em units */
h1 {
    font-size: 2em; 
}

h2 {
    font-size: 1.5em; 
}

h3 {
    font-size: 1.25em; 
}

/* Paragraph font size using rem units */
p {
    font-size: 1rem; 
}

/* Line height for paragraphs */
p {
    line-height: 1.5; 
}

/* Font stack for headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif, Georgia, Times, serif;
}

/* Font stack for paragraphs */
p {
    font-family: 'Roboto', sans-serif, Arial, Helvetica, sans-serif;
}

/* Responsive font size using vw units */
h1 {
    font-size: 5vw; 
}

body {
    background-color: #CCCCCC;
    color: #000000;
}

h1, h2, h3, h4, h5, h6 {
    color: #0066CC; /* Deep Blue */
}

button {
    background-color: #669900; /* Olive Green */
    color: #FFFFFF; /* White text for contrast */
}

a {
    color: #990000; /* Dark Red */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

input, textarea {
    border: 1px solid #333333; /* Dark Gray */
    padding: 10px;
}

button {
    background-color: #669900; /* Olive Green */
    color: #FFFFFF;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
}

button:hover {
    background-color: #558800; /* Darker shade for hover effect */
}

input, textarea {
    border: 1px solid #333333;
    padding: 10px;
}

/* Style the sticky navigation bar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: black; /* Set the background color to black */
    padding: 1rem;
    z-index: 1000; /* Ensure the navbar is above other content */
}

#navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#navbar li {
    display: inline;
}

#navbar a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

#navbar a:hover {
    background-color: #555;
}

/* Add media query for smaller screens if needed */
@media only screen and (max-width: 768px) {
    #navbar {
        padding: 0.5rem; /* Reduce padding for smaller screens */
    }
}

/* Apply transitions to links */
a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s, background-color 0.3s;
}

/* Hover effect */
a:hover {
    color: #fff;
    background-color: #333;
}

/* Apply transitions to buttons */
.button {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

/* Hover effect */
.button:hover {
    background-color: #555;
    transform: scale(1.05);
}

/* Apply fade-in animation */
.fade-in {
    opacity: 0;
    transition: opacity 0.5s;
}

/* Animation when in viewport */
.fade-in.in-viewport {
    opacity: 1;
}

/* Apply transitions to accordion content */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

/* Expand on hover or click */
.accordion:hover .accordion-content {
    max-height: 1000px;
    transition: max-height 0.3s ease-in-out;
}

/* Apply box shadow on hover */
.box {
    padding: 20px;
    transition: box-shadow 0.3s;
}

/* Hover effect */
.box:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Style input fields with specific width */
input[type="text"],
input[type="email"],
textarea {
    width: 300px; /* Set the desired width */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 10px;
    transition: border-color 0.3s;
}

/* Hover and focus effects */
input[type="text"]:hover,
input[type="email"]:hover,
textarea:hover {
    border-color: #999;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #555;
}

/* Style buttons */
.button {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

/* Hover and focus effects */
.button:hover {
    background-color: #555;
}

.button:focus {
    outline: none;
}

.button:active {
    transform: scale(0.95);
}

/* Style buttons */
.button {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

/* Hover and focus effects */
.button:hover {
    background-color: #555;
}

.button:focus {
    outline: none;
}

.button:active {
    transform: scale(0.95);
}

/* Style dropdown selects */
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: #fff;
    transition: border-color 0.3s;
}

/* Hover and focus effects */
select:hover {
    border-color: #999;
}

select:focus {
    border-color: #555;
}

/* Style input fields */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Style buttons */
.button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 0;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

/* Button hover effect */
.button:hover {
    background-color: #2980b9;
}

/* Add focus style for accessibility */
.button:focus,
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 5px #3498db;
}

/* Style checkbox and radio button labels */
input[type="checkbox"] + label,
input[type="radio"] + label {
    display: inline-block;
    margin-right: 10px;
    font-size: 16px;
}

/* Style dropdown selects */
select {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Select focus effect */
select:focus {
    outline: none;
    box-shadow: 0 0 5px #3498db;
}

    /* Mobile Devices 319px — 480px */
    @media only screen and (min-width: 319px) and (max-width: 480px) {
        body {
          background-color: lightsalmon;
        }
      }
      
      /* iPads and Tablets 481px — 1200px */
      @media only screen and (min-width: 481px) and (max-width: 1200px) {
        body {
          background-color: powderblue;
        }
      }
      
      /* Laptops 1201px — 1600px */
      @media only screen and (min-width: 1201px) and (max-width: 1600px) {
        body {
          background-color: limegreen;
        }
      }
      
      /* Desktops 1601px and more */
      @media only screen and (min-width: 1601px) {
        body {
          background-color: green;
        }
      }



/* Apply a fixed width to the container */
.horizontal-scroll {
    width: 100%;
    overflow-x: auto;
  }
  
  /* Ensure the table header remains visible while scrolling horizontally */
  .table th {
    position: sticky;
    top: 0;
    background-color: #fff;
  }

      /* Define a consistent color scheme */
      body {
        background-color: #f8f8f8;
        color: #333;
      }
      h1, h2, h3 {
        color: #0066CC;
        font-family: 'Merriweather', serif;
      }
      a {
        color: #990000;
        text-decoration: none;
      }
      a:hover {
        text-decoration: underline;
      }
      .btn {
        background-color: #669900;
        color: #fff;
      }
      .btn:hover {
        background-color: #558800;
      }
      /* Use a consistent font for paragraphs */
      p {
        font-family: 'Roboto', sans-serif;
        font-size: 18px;
      }
      /* Add consistent spacing */
      .container {
        padding: 20px;
      }
      /* Horizontal scroll for tables */
      .horizontal-scroll {
        width: 100%;
        overflow-x: auto;
      }
      /* Sticky table headers */
      .table th {
        position: sticky;
        top: 0;
        background-color: #fff;
      }

      /* Apply a consistent color scheme */
body {
    background-color: #f8f8f8;
    color: #333;
}

/* Use Google Fonts for a more professional typography */
h1, h2, h3 {
    font-family: 'Merriweather', serif;
}

/* Button styling */
.btn {
    background-color: #669900;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: #558800;
}

/* Add consistent spacing */
.container {
    padding: 20px;
}

/* Responsive design */
@media (max-width: 767px) {
    /* Adjust styling for mobile devices */
    body {
        background-color: #ffffff;
    }
}

  

#header {
    padding: 5vw 3vw; /* Adjust the top padding value */
}

#project-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Style for the project links */
#project-links a {
    margin: 10px 0; /* Add some spacing between links */
    text-align: center;
}

/* Style input fields with specific width */
input[type="text"],
input[type="email"],
textarea {
    width: 300px; /* Set the desired width */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 10px;
    transition: border-color 0.3s;
}

/* Hover and focus effects */
input[type="text"]:hover,
input[type="email"]:hover,
textarea:hover {
    border-color: #999;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #555;
}

/* Style dropdown selects with specific width */
select {
    width: 300px; /* Set the desired width */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: #fff;
    transition: border-color 0.3s;
}

/* Hover and focus effects */
select:hover {
    border-color: #999;
}

select:focus {
    border-color: #555;
}

/* Apply a margin to the top of the "Portfolio" heading */
h1 {
    padding: 1vw 1vw; /* Adjust the top padding value */
}

.centered {
    text-align: center;
}
