* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.title {
  text-align: center;
  font-size: 2em;
  text-transform: uppercase;
  margin-bottom: 0.5em;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 1;
}

.portfolio-list {
  margin-top: 200px;
}

.nav-center {
  display: flex;
  justify-content: center;
}

.subtitle {
  text-align: center;
  font-size: 1.5em;
}

.portfolio-list {
  display: flex;
  flex-wrap: wrap;
}

.portfolio-item {
  max-width: 100%;
  margin: 1%;
  position: relative;
}

.portfolio-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.portfolio-description {
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 10px;
}

.portfolio-description h2 {
  margin-top: 0;
}

.portfolio-description p {
  margin-bottom: 0;
}

.portfolio-item:target {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.portfolio-item:target img {
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.home-heading {
  text-align: center;
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 1em;
}

.home-content {
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 2em;
}

.about-heading {
  text-align: center;
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 1em;
}

.about-content {
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 2em;
}

.nav-item a {
  background-color: #f2f2f2;
  padding: 10px 20px;
  border-radius: 10px;
  color: #333;
  text-decoration: none
;}

.nav-item a:hover {
background-color: #333;
color: #fff;
}

.cta {
text-align: center;
margin-top: 2em;
}

.cta a {
background-color: #333;
padding: 10px 20px;
border-radius: 10px;
color: #fff;
text-decoration: none;
}

.cta a:hover {
background-color: #fff;
color: #333;
}

.contact-form {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}

.form-container {
background-color: rgba(255, 255, 255, 0.7);
padding: 2em;
border-radius: 10px;
}

.form-group {
margin-bottom: 1em;
text-align: left;
}

.form-label {
font-weight: bold;
margin-bottom: 0.5em;
display: block;
}

.form-input {
padding: 10px;
border-radius: 5px;
border: none;
width: 100%;
}

.form-textarea {
padding: 10px;
border-radius: 5px;
border: none;
width: 100%;
min-height: 150px;
resize: none;
}

.form-submit {
background-color: #333;
color: #fff;
padding: 10px 20px;
border-radius: 10px;
border: none;
margin-top: 1em;
width: 100%;
}

.form-submit:hover {
background-color: #fff;
color: #333;
}