* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: white;
  background-color: #1b1b1b;
}

header {
  background-image: linear-gradient(to right, #2c3e50, #4ca1af);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav {
  position: absolute;
  top: 30px;
  right: 30px;
}

ul {
  list-style: none;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-right: 30px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.header-content {
  text-align: center;
  width: 80%;
}

.header-content h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.header-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.header-content .btn {
  background-color: white;
  color: #2c3e50;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 18px;
  margin-top: 20px;
}

section {
  padding: 80px 0;
}

#about {
  background-color: #2c3e50;
  text-align: center;
} 

#about p {
  align-self: center;
}

#portfolio {
  background-color: #4ca1af;
}

#contact {
  background-color: #34495e;
  text-align: center;
}

#contact p {
  margin-bottom: 10px;
}

#contact a {
  color: #0ae3ee;
}

#contact form div {
  margin: 10px;
}

#contact input {
  height: 30px;
  font-size: 14px;
}

#contact label {
  font-size: 20px;
  font-family: 'Times New Roman', Times, serif;
}

#concact input {
  justify-self: left;
  justify-content: left;
}

.contact-info {
  margin-top: 50px;
}

.container {
  width: 80%;
  margin: 0 auto;
}

.container h2 {
  text-align: center;
  margin-bottom: 50px;
}

.container p {
  line-height: 1.5;
  font-size: 18px;
}

.portfolio-items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.portfolio-item {
 
}

.projects-grid {
  display: grid;
  justify-content: center;
  align-content: center;
  grid-template-columns: 50% 50%;
}

.project-item {
  margin-bottom: 15px;
}

.project-item h3 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.project-item p {
  width: 60%;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.project-item a {
  cursor: pointer;
  color: #9b1919;
  text-decoration: none;
  font-size: 16px;
}

.project-item img, iframe {
  width: 97.5%;
  height: auto;
}
/* 
.project-item iframe 
{
  width: 97.5%;
  height: auto;
} */

.project-item:hover {
  transition: all .9s ease-in-out; 
  transform: scale(140%);
}

/* #enlarged-image {
  display: block;
  position: absolute;
  width: 80%;
  height: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.7);
} */

/* #name {
  background-color: #1b1b1b;
  color: white;
  margin-right: 3%;
  width: 10%;
}

#email {
  background-color: #1b1b1b;
  color: white;
  margin-right: 3%;
  width: 15%;
}

#message {
  margin-top: 10px;
  font-size: 16px;
  background-color: #1b1b1b; 
  font-family: 'Times New Roman', Times, serif;
  color: white;
} */

button[type="submit"] {
  background-color: #fff;
  color: #333;
  width: 120px;
  height: 40px;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

button[type="submit"]:hover {
  background-color: #333;
  color: #fff;
}

@media screen and (max-width:1200px) {
  /* #name {
    width: 50%;
  }
  #email {
    width: 60%
  }
  #message {
    width: 80%;
  } */
}
