
h1 {
    font-size: 40px;
    color: #FF6600;
    line-height: 1.2;
    font-weight: 500;
    font-family: 'Roboto', 'Segoe UI', Futura, sans-serif;
    margin: 0;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 20px;
    color: #FF6600;
    line-height: 1.4;
    font-weight: 500;
    font-family: 'Roboto', 'Segoe UI', Futura, sans-serif;
    margin: 0 0 16px 0;
}

ul.nav {
  text-decoration: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #ccf2ff;
  border-radius: 4px;
  width: 100%;
  max-width: 525px;
  font-family: 'Roboto', 'Segoe UI', Futura, sans-serif;
  color: #a64dff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  display: flex;
}

img:hover {
    filter: brightness(1.05);
    transition: filter 0.3s ease;
}

.nav a {
    color: #a64dff;
    text-decoration: none;
}


ul.nav li {
  float: left;
}

ul.nav li a {
  display: block;
  padding: 12px 16px 12px 16px;
  font-weight: 500;
  position: relative;
  transition: color 0.2s cubic-bezier(0.4,0,0.2,1), transform 0.2s cubic-bezier(0.4,0,0.2,1);
}

ul.nav li a::after {
  content: '\2192'; /* Unicode right arrow */
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
  opacity: 0;
  font-size: 1.1em;
  color: #8a2be2;
  transition: opacity 0.25s cubic-bezier(0.4,0,0.2,1), transform 0.25s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}

ul.nav li a:hover, ul.nav li a:focus {
  color: #ff6600;
  transform: scale(1.06) translateX(4px);
}

ul.nav li a:hover::after, ul.nav li a:focus::after {
  opacity: 1;
  transform: translateY(-50%) translateX(16px);
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Fira+Mono:wght@400;500&display=swap');

@font-face{
  font-family: Futura;
  src: url('.../FuturaStdRegular.woff') format("WOFF");
  font-weight: normal;
}

#main {
  position: relative;
  width: 100%;
  max-width: 400px;
  border: 3px solid green;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin: 20px auto;
  display: flex;
  justify-content: space-between;
  border-radius: 8px;
  background-color: #f8f8f8;
}

#titimage {
  margin-left: 10px;
  position: relative;
  z-index: 1;
}

body {
  margin: 0 auto;
  max-width: 1200px;
  font-family: 'Roboto', 'Segoe UI', Futura, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
  padding: 0 20px;
}


p {
    font-size: 15px;
    margin: 0 0 16px 0;
    color: #a64dff;
    line-height: 1.6;
    font-weight: 400;
    font-family: 'Roboto', 'Segoe UI', Futura, sans-serif;
}

.contact-info {
    font-size: 15px;
    margin: 20px 0;
    color: #FF6600;
    line-height: 1.6;
    font-weight: 500;
    font-family: 'Roboto', 'Segoe UI', Futura, sans-serif;
    text-align: center;
}

.bio-container {
   font-size: 16px;
   color: #333;
   line-height: 1.6;
   font-family: 'Roboto', 'Segoe UI', Futura, sans-serif;
   max-width: 800px;
   margin: 0 auto 30px auto;
   padding: 24px 32px;
   display: block;
   width: 100%;
   max-width: 700px;
   border: 1px solid #e0e0e0;
   border-radius: 6px;
   background-color: #f8f8f8;
   box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

div {
  position: relative;
}

.blog-entry {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-bottom: 40px;
  gap: 36px;
}

.blog-entry img {
  width: 400px;
  height: auto;
  margin-bottom: 0;
  margin-right: 0;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.blog-entry p {
  flex: 1;
  margin: 0;
}

ul.nav li a:hover {
    color: #8a2be2;
    text-decoration: none;
}

.profile-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 24px;
  background: linear-gradient(to right, #f8f8f8, #f2f2f2);
  border: 3px solid green;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin: 30px auto;
  width: 100%;
  max-width: 700px;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.profile-header:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23e0e0e0' fill-opacity='0.2' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='1'/%3E%3Ccircle cx='13' cy='13' r='1'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.profile-title {
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 1;
}

.profile-photo {
  width: 200px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  margin-left: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.profile-photo:hover {
  opacity: 0.95;
}

/* New styles for the updated layout */
.download-links {
  margin-top: 12px;
  font-weight: 500;
  color: #FF6600;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.download-button {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background-color: rgba(255, 102, 0, 0.1);
  border-radius: 4px;
  color: #FF6600;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-left: 8px;
}

.download-button:hover {
  text-decoration: none;
  color: #FF6600;
}

.download-button i {
  margin-right: 6px;
}

.bio-container {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  font-family: 'Roboto', 'Segoe UI', Futura, sans-serif;
  max-width: 800px;
  margin: 0 auto 30px auto;
  padding: 24px 32px;
  display: block;
  width: 100%;
  max-width: 700px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background-color: #f8f8f8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.bio-intro {
  margin-bottom: 20px;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 16px;
}

.bio-intro p {
  font-size: 18px;
  color: #333;
  margin: 0;
}

.bio-details p {
  margin-bottom: 16px;
}

.greek {
  font-weight: 600;
  color: #a64dff;
  font-family: 'Times New Roman', serif;
  margin-right: 8px;
}

.highlight {
  background-color: rgba(166, 77, 255, 0.1);
  padding: 2px 4px;
  border-radius: 3px;
}

.book-title {
  font-style: italic;
}

.tech-skills {
  font-family: 'Fira Mono', monospace;
  background-color: #f0f0f0;
  padding: 2px 6px;
  border-radius: 3px;
  border-left: 2px solid #a64dff;
}

footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  color: #666;
  font-size: 14px;
  border-top: 1px solid #eaeaea;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    padding: 20px;
    margin: 20px auto;
  }
  
  .profile-photo {
    margin: 20px 0 0 0;
    width: 160px;
  }
  
  .bio-container {
    padding: 20px;
    margin: 20px auto;
  }
  
  ul.nav {
    width: 100%;
    justify-content: center;
  }
}
