:root {
  --primary-color: plum;
  --secondary-color: powderblue;
  --text-color: #333;
  --bg-color: cornsilk;
  --card-bg: #fff;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  background-color: var(--bg-color);
}

header {
  background: var(--secondary-color);
  color: var(--text-color);
  text-align: center;
  padding: 2rem 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
}

header p {
  margin: 0.5rem 0 0;
  font-size: 1.2rem;
  opacity: 0.8;
}

nav {
  background: #fff;
  padding: 1rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

nav a:hover {
  background-color: var(--primary-color);
  color: #fff;
}

main {
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
  min-height: calc(100vh - 180px); /* Adjust this value based on your header, nav, and footer height */
}

h2 {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

ul {
  list-style-type: none;
  padding: 0;
}

li {
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  background-color: var(--card-bg);
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.project-item {
  background: var(--card-bg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.project-item:hover {
  transform: translateY(-5px);
}

.project-item h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.project-item p {
  margin-bottom: 1rem;
}

.project-item button {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.project-item button:hover {
  background: var(--secondary-color);
}

.project-details {
  margin-top: 1rem;
  padding: 1rem;
  background-color: var(--secondary-color);
  border-radius: 4px;
}

/* Remove the following styles */

/*
form input, form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid var(--secondary-color);
  border-radius: 4px;
  box-sizing: border-box;
}

button {
  background: var(--primary-color);
  color: var(--text-color);
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background: var(--secondary-color);
}

.error {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: -0.5rem;
  margin-bottom: 0.5rem;
}

#form-response {
  margin-top: 1rem;
  padding: 1rem;
  background-color: var(--secondary-color);
  color: var(--text-color);
  border-radius: 4px;
  text-align: center;
}
*/

#skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#skills-list li {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

input[name="search"] {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid var(--secondary-color);
  border-radius: 20px;
  box-sizing: border-box;
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.experience-item {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-image: linear-gradient(45deg, var(--card-bg) 25%, transparent 25%), 
                    linear-gradient(-45deg, var(--card-bg) 25%, transparent 25%), 
                    linear-gradient(45deg, transparent 75%, var(--card-bg) 75%), 
                    linear-gradient(-45deg, transparent 75%, var(--card-bg) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.experience-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.experience-item h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.experience-item .company {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.experience-item .period {
  color: #666;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.experience-item .description {
  list-style-type: none;
  padding-left: 1.5rem;
}

.experience-item .description li {
  position: relative;
}

.experience-item .description li::before {
  content: '•';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: -1rem;
}

.experience-item .description li:last-child {
  margin-bottom: 0;
}

footer {
  background: var(--secondary-color);
  color: var(--text-color);
  text-align: center;
  padding: 0.5rem;
  font-size: 0.8rem;
}

footer p {
  margin: 0;
}

.content-item {
  background: var(--card-bg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.content-item:hover {
  transform: translateY(-5px);
}

.content-item h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.content-item p {
  margin-bottom: 1rem;
}

.content-item a {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.content-item a:hover {
  background: var(--secondary-color);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.education-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.education-item {
  background: var(--card-bg);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.education-item h3 {
  color: var(--primary-color);
  margin: 0 0 0.5rem 0;
}

.education-item p {
  margin: 0;
  color: var(--text-color);
}

.education-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.education-item a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Add these styles at the end of your existing CSS file */

.connect-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.connect-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
  background-color: var(--card-bg);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.connect-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.connect-item i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.connect-item span {
  font-weight: bold;
}