h1,
h3,
p,
ul {
  font-family: Monaco, Times, "Times New Roman", serif;
}
body{
  justify-content: center;
}

.navbar {
  position: -webkit-sticky;
  position: sticky;
  border-radius: 5px;
  top: 0;
  width: 99%;
  margin: 5px;
  height: 7%;
  z-index: 10;

  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;

  background-color: rgb(200, 180, 170);
  color: white;
  padding: 0px 0px;
}

.nav-list {
  display: flex;
  flex-direction: row;
  position: relative;
  right: 30px;
  list-style: none;
  font-size: 16px; 
}

.navbar a {
  color: white;
  font-weight: bold;
  margin: 0 12px;
  text-decoration: none;
  letter-spacing: 2px;
  font-family: Monaco;
}

a{
  color: black;
  text-decoration: none;
}

 a:hover {
  color: rgb(150, 120, 115);
}

 a:active {
  color: rgb(150, 120, 115);
}

.logo a {
  font-family: Monaco;
}

.logo a:hover {
  text-decoration: None;
}

main {
  padding: 0 20px 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-title {
  display: flex;
  justify-content: center;
  font-size: 40px;
  font-family: Monaco;
}

/* CSS for portfolio */


.project-details {
  display: flex;
  background-color: white;
  width: 30%;
  height: 500px;
  flex-shrink: 1;
  padding: 0 20px;
  margin: 0px;
  line-height: 1.5;
  /* overflow: scroll; */

  flex-direction: column;
  text-align: center;
  justify-content: center;
}

.project {
  display: flex;
  flex-direction: row;
  max-width: 100%;
  margin: 1em 0 2em 0;
}

.item-link {
  width: 70%;
}

.project-image {
  object-fit: cover;
  width: 100%;
  height: 500px;
  flex-basis: 50px;
  flex-grow: 2;
}

#portfolio-image {
  height: 500px; 
  width: 1100px;
}


.project-details a {
  color: black;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1px;
}

.project-details a:hover {
  color: blue;
  text-decoration: underline;
}

.project-details {
  font-weight: lighter;
}

.project-name {
  font-weight: bold;
  font-size: 20px;
}

/* CSS for home page */

.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  padding: 20px;
  background-color: rgb(255, 235, 235);
}

.about-image img {
  max-width: 800px;
  border-radius: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}

.about-text {
  flex: 1;
  margin-left: 20px;
  padding: 10px;
  display: flex;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 20%;
}

.about-text p {
  font-size: 16px;
  line-height: 1.5;
  flex: 33.33%;
  padding: 5px;
}

/* CSS for resume page */

.button {
  background-color: ;
  border: none;
  color: white;

  font-family: monospace;

  padding: 5px 7px;
  text-align: center;

  border-radius: 2px;
}

.button:hover {
  background-color: blue;
}

.button:visited {
  color: purple;
}

.resume h2 {
  font-family: Monaco;
}

.section-title {
    border-bottom: solid;
}

/* CSS for contact form */

label {
  display: block;
  margin-bottom: 8px;
  font-family: Monaco;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  resize: none;
}

input[type="submit"] {
  background-color: #008cba;
  border: none;
  color: white;
  font-family: Monaco, 'Times New Roman', Times, serif;
  font-size: 14px;
  text-align: center;
  padding: 10px 28px;
  cursor: pointer;
}

/* Add some spacing to the form */
form {
  width: 500px;
  margin: 0 auto;
}

/* CSS for footer */

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(200, 180, 170);
  color: white;
  position: fixed;
  border-radius: 5px;
  margin: 5px;
  bottom: 0;
  width: 98%;
  height: 2rem;
}
