:root {
  --button-color: #70EF88;
}
body {
  margin: 0;
  padding: 0;
  font-family: Poppins, sans-serif;
  background-color: #4A4746;
  color: #8F8A88;
}
h1, h2, h3{
  text-align: center;
  color:#000;
  font-family: Poppins, sans-serif;
}
.intro {
  color: #8F8A88;
}
p {
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  padding: 10px;
}
h1:hover, h2:hover, h3:hover {
  text-decoration: solid;
  transform: scale(1.1);
  transition: transform 0.3s ease;
}
header img{
  width: 200px;
  height: auto;
}
nav {
  background-color: ;
  padding: 10px;
  font-family: Poppins, sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: aqua;
}
nav ul {
  list-style-type: none;
  margin: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 5px;
  padding-right: 5px;
  display: inline;
  display: flex;
  flex-direction: row;
  flex: 1;
  justify-content: right;
}
button:hover {
  background-color: #5ACF7A;
  transition: background-color 0.3s ease;
}
nav li:hover {
  background-color: aquamarine;
}
nav li {
  display: inline;
  margin-right: 10px;
  padding-top: 10px;
  float: right;
  background-color: aqua;
}
nav li a {
  text-decoration: none;
  color: #000;
}
nav li a:hover {
  text-decoration: underline;
}
button {
  background-color: var(--button-color);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  align-items: center;
  cursor: pointer;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgb(118, 109, 198);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
form {
  display: flex;
  flex-direction: column;
  color: black;
}
.submit {
  margin-top: 20px;
}
.submit:hover {
  background-color: #5ACF7A;
  transition: background-color 0.3s ease;
}
footer {
  text-align: center;
  padding: 20px;
  background-color: #40576E;
  color: #fff;
  font-family: Poppins, sans-serif;
}

.project-box img, .project2-box img {
  display: block;
  margin: auto;
  width: 250px;
  height: auto;
  border-radius: 8px;
}

.project-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.project-box {
  background-color: gray;
  color: white;
  border: 1px solid lawngreen;
  border-radius: 8px;
  padding: 15px;
  flex: 1;
  margin: 50px;
  display: flex;
  flex-direction: column;
  align-items: center; 
  gap: 10px; 
}
.project-box button {
  display: block;
  margin: 20px auto 0 auto;
  cursor: pointer;
}

.projects {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.projects2 {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
}

a {
  color: green;
  text-decoration: none;

footer img {
  width: 50px;
  padding-top: 15px;
  padding-left: 15px;
}
