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

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding-top: 100px;
  background-image: url("Backcv.jpg");
  background-size: cover ;
  background-position: center ;
  background-repeat: no-repeat ;
  background-attachment: fixed;
}

header {
  letter-spacing: 3px; 
  font-size: 1,2rem;
  color: black;
  display: flex; 
  justify-content: center;
   flex-wrap: wrap;
   gap: 100px;
   padding:1rem 4rem;
   align-items: center;
}

header h1{
margin: 0;
line-height: 1;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

nav a {
  color: black;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}

.project {
  max-width: 950px;
  margin: 40px auto 80px;
  padding: 0 20px;
  line-height: 1.6;
  text-align: left;
  color: #111;
}

.project h1 {
  margin: 0 0 8px;
  letter-spacing: 2px;
  font-size: 1.8rem;
}

.project .subtitle {
  margin: 0 0 24px;
  font-weight: 500;
  color: #333;
}

.project-hero {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.project-hero img {
  display: block;
  width: min(48%, 440px);
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.project-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin: 16px 0 32px;
}

.project-meta div {
  background-color: rgba(255,255,255,0.7);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.project h2 {
  margin: 28px 0 10px;
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.project ul {
  margin: 0 0 16px 20px;
  padding: 0;
}

.back-link {
  margin-top: 28px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid currentColor;
  letter-spacing: 0.5px;
  color: black;
  transition: color 0.3s, border-color 0.3s;
}

.back-link:hover {
  color: #666;
  border-color: #666;
}

footer {
 display: grid;
 grid-template-columns: auto 1fr;
 bottom: 0;
 left: 0;
 color: #202020;
}
