/* Global Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  color: #1d2a4e;
  background: rgb(223, 213, 213);
}

header {
  border-bottom: 2px solid #1d2a4e;
  color: #1d2a4e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}
header a {
  text-decoration: none;
}

header h1 {
  color: #1d2a4e;
}
nav ul {
  list-style: none;
  margin: 0;
}

nav ul li {
  display: inline-block;
  margin: 0 1rem;
}

nav ul li a {
  color: #1d2a4e;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

nav ul li a:hover {
  font-size: 1.2rem;
}
section {
  padding: 2rem;
}

section h2 {
  margin-bottom: 2rem;
  text-align: center;
}

section p{
  text-align:justify;
}

section img {
  width: 30%;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  max-width: 100%;
}
section a {
  display: block;
  margin-top: 2rem;
  text-align: center;
  background-color: #1d2a4e;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

section a:hover {
  background-color: #0c1a3f;
}

.project {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.project i {
  font-size: 3em;
  max-width: 50%;
  margin-right: 2rem;
}

.project-info {
  flex: 1;
}
.project-info h3 {
  margin-top: 0;
}

form {
  display: flex;
  flex-direction: column;
  max-width: 50%;
  margin: 0 auto;
}

form label {
  margin-bottom: 0.5rem;
}
form textarea {
  height: 15vh;
}
form input,
form textarea {
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-bottom: 1rem;
}

form input:focus,
form textarea:focus {
  border-color: #1d2a4e;
  outline: none;
}

form input[type="submit"] {
  background-color: #1d2a4e;
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

form input[type="submit"]:hover {
  background-color: #0c1a3f;
}
footer {
  background-color: #1d2a4e;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

@media only screen and (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul li {
    display: block;
    margin: 1rem 0;
  }
  section {
    padding: 1rem;
  }

  section img {
    margin: 0 auto;
  }

  .project img {
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }

  form {
    max-width: 100%;
  }
  section {
    padding: 2rem;
  }

  section h2 {
    margin-bottom: 2rem;
    text-align: center;
  }

  section img {
    max-width: 100%;
  }
  section a {
    display: block;
    margin-top: 2rem;
    text-align: center;
    background-color: #1d2a4e;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
  }

  section a:hover {
    background-color: #0c1a3f;
  }
  .project {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
  }

  .project img {
    max-width: 50%;
    margin-right: 2rem;
  }

  .project-info {
    flex: 1;
  }
  .project-info h3 {
    margin-top: 0;
  }

  form {
    display: flex;
    flex-direction: column;
    max-width: 50%;
    margin: 0 auto;
  }

  form label {
    margin-bottom: 0.5rem;
  }
  form input,
  form textarea {
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin-bottom: 1rem;
  }

  form input:focus,
  form textarea:focus {
    border-color: #1d2a4e;
    outline: none;
  }
  form input[type="submit"] {
    background-color: #1d2a4e;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
  }

  form input[type="submit"]:hover {
    background-color: #0c1a3f;
  }
  footer {
    background-color: #1d2a4e;
    color: #fff;
    text-align: center;
    padding: 1rem;
  }
}
@media only screen and (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul li {
    display: block;
    margin: 1rem 0;
  }

  section {
    padding: 1rem;
  }
  section img {
    margin: 0 auto;
  }

  .project img {
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }

  form {
    max-width: 100%;
  }
}
