.divnavbar {
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 10px;
  background-color: #fefafa;
}

body {
  background-color: #fefafa;
}

h1 {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 50px;
  margin-top: 30px;
}
h2 {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 38px;
  margin-bottom: 40px;
}

h3 {
  margin: 30px;
}
h4 {
  margin-top: 30px;
  font-size: 18px;
  margin-left: 30px;
}
p {
  line-height: 1.8;
  margin: 30px;
  margin-right: 200px;
  text-align: left;
}
/* Button Primary */

.primary-link {
  display: block;
  width: fit-content;
  margin: 50px auto;
  border-radius: 4px;
  background-color: black;
  color: white;
  padding: 14px 40px;
  text-decoration: none;
  font-size: 12px;
  transition: all 0.3s ease;
}
.primary-link:hover {
  background-color: white;
  color: black;
  border: 1px solid black;
  transform: translateY(-2px);
}

.secundary-link {
  display: inline-block;
  border-radius: 4px;
  background-color: #fefafa;
  color: black;
  padding: 14px 40px;
  text-decoration: none;
  font-size: 12px;
  border: 1px solid #555555;
  margin: 20px 20px 20px;
  transition: all 0.3s ease;
}
.secundary-link:hover {
  background-color: black;
  color: white;
  border: 1px solid black;
  transform: translateY(-2px);
}

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

footer {
  margin-top: 50px;
  background-color: #fefafa;
  margin-bottom: 10px;
  text-align: center;
}
footer a {
  text-decoration: none;
  color: inherit;
}

footer a:hover {
  opacity: 0.6;
}

footer .social-links a {
  margin: 0 30px;
  display: flex;
  background-color: #f2f2f2;
  padding: 10px 16px;
  border-radius: 50%;
  font-size: 18px;
  transition: all 100ms ease-in-out;
}

hr {
  width: 100%;
  margin-top: 20px;
  padding: auto;
}

@media (max-width: 900px) {
  h1 {
    font-size: 30px;
  }
}

.my-project-img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

@media (max-width: 768px) {
  .project-img {
    height: 200px;
  }
  .contact-section p {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .project-title {
    text-align: center;
  }
  .about-section p {
    text-align: justify;
    margin-right: 8px;
    margin-left: 8px;
  }
  .about-me-image {
    margin: 8px;
  }

  #project-1 h2 {
    text-align: center;
  }

  #project-2 h2 {
    text-align: center;
  }
  #project-1 p,
  #project-2 p,
  #project-3 p {
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
  }
}

@media (min-width: 768px) {
  .about-me-image img {
    max-width: 80%;
    display: block;
    margin-left: auto;
  }
}

.about-me-image img {
  max-width: 240px;
  width: 90%;
  height: auto;
}

.project-title {
  margin: 30px;
}

my-project-img {
  max-width: 280px;
  height: auto;
}

@media (min-width: 768px) and (max-width: 991px) {
  #project-1 p,
  #project-2 p,
  #project-3 p {
    text-align: justify;
    display: flex;
    margin: 20px;
  }
  .container {
    padding-left: 40px;
    padding-right: 40px;
    margin: 0 auto;
  }
}

.contact-section {
  max-width: 600px;
  text-align: justify;
  margin: 0 auto;
  text-align: center;
}
.contact-section p {
  margin-left: 110px;
  margin-right: 50px;
}

.email-link {
  display: inline-block;
  margin-top: 10px;
  color: #000;
  text-decoration: underline;
}

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