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

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  background-image: url("Backcv.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: grid;
  grid-template-rows: auto 1fr auto; 
  min-height: 100vh;
  padding-top: 100px;
}

.page {
  display: grid;
  grid-template-columns: 220px 1fr; 
  gap: 20px;
}

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;
  gap: 40px;
  align-items: center;
}

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

.contact {
  max-width: 800px;
  margin: 60px auto 80px;
  padding: 0 20px;
  line-height: 1.6;
  color: #111;
}

.contact h1 {
  text-align: center;
  letter-spacing: 2px;
  font-size: 1.8rem;
  margin-bottom: 25px;
}

.contact .intro {
  text-align: center;
  font-size: 1rem;
  color: #222;
  margin-bottom: 40px;
}

.contact-info {
  background-color: rgba(255, 255, 255, 0.6);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.contact-info h2 {
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.8;
}

.contact-info a {
  color: black;
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form {
  background-color: rgba(255, 255, 255, 0.6);
  padding: 20px;
  border-radius: 8px;
}

.contact-form h2 {
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-weight: 500;
  font-size: 0.95rem;
}

input, textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  width: 100%;
  box-sizing: border-box;
}

textarea {
  resize: none;
}

button {
  background-color: black;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 10px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #444;
}

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