body {
  background-color: #D9CCC1;
}

#navbar {
  background-color: #014023;
  border-bottom: solid #190000;
}

#navbar a {
  color: #D9CCC1;
}

.navbar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
  
#navbar .nav-item {
  position: relative;
  padding: 10px;
}
  
#navbar .nav-item:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #190000;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}
  
#navbar .nav-item:hover:before {
  transform: scaleX(1);
}

#footer {
  background-color: #014023;
  color: #D9CCC1;
  align-items: center;
  justify-content: center;
  border-top: solid #190000;
}

#footer .contacto {
  margin: 0 auto;
  text-align: center;
  padding: 15px 0;
}

#footer .contacto i {
  color: #D9CCC1;
  margin: 0 5px;
}

#footer .contacto .item {
  margin: 10px 0;
}

.about {
  margin: 60px 0;
}

.about .information {
  border: solid 3px #190000;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 5px 10px rgb(0 0 0 / 20%);
}

.about .information h1{
  text-align: left;
  font-family: "Montserrat", sans-serif;
  text-decoration: underline;
  text-decoration-color: #014023;
  text-transform: uppercase;
  margin-bottom: 12px;
  margin-top: 20px;
  font-size: 22px;
  text-transform: uppercase;
}

.about .information h2 {
  text-align: left;
  margin-bottom: 12px;
}

.about .information h3 {
  text-align: left;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;

}

.about .information span {
  color: #014023;
}

.about .information a {
  display: inline-block;
  text-decoration: none;
  color: #000;
  border-radius: 30px;
  border: 1px solid #190000;
  padding: 10px 20px;
  margin-top: 30px;
  transition: background-color 0.5s, color 0.5s;
  margin-bottom: 20px;
}

.about .information a:hover {
  background-color: #014023;
  color: #D9CCC1;
}

.about .image {
  width: 30vw;
  margin: 0 auto;
}

.about .image img {
  max-width: 100%;
  height: auto;
  border: solid 3px #190000;
  border-radius: 10px;
  box-shadow: 0 0 5px 10px rgb(0 0 0 / 20%);
}

#principal {
  background: linear-gradient( rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url("../img/fondo-inicio.jpg");
  background-size: cover;
  background-position: center center;
  height: 100vh;
}

#principal p {
  color: #D9CCC1;  
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin: 20px 0;
}

#principal .row {
  display: inline-grid;
  margin: 0 auto;
}

#principal h2 {
  color: #D9CCC1;  
  text-align: center;
  font-size: 45px;
  margin: 20px 0;
}

#principal a {
  display: inline-block;
  text-decoration: none;
  color: #D9CCC1;
  background-color: #014023;
  border-radius: 30px;
  border: 1px solid #190000;
  padding: 10px 20px;
  transition: background-color 0.5s, color 0.5s;
  margin: 20px auto;
  width: auto;
}

#principal a:hover {
  background-color: #D9CCC1;
  color: #000;
}

#skills {
  background: linear-gradient( rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url("../img/fondo-skills.jpg");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  background-position: center center;
  padding: 70px 0;
  text-align: center;
}

#skills .skill {
  max-width: 600px;
  margin: 30px auto;
}

#skills .title h1 {
  font-size: 22px;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: #D9CCC1;
}

#skills .skill .info {
  display: flex;
  justify-content: space-between;
}

#skills .skill .info .list {
  display: inline-block;
  margin-right: 20px;
  height: 10px;
  width: 10px;
  background-color: #fff;
}

#skills .skill i {
  font-size: 25px; 
}

#skills .skill img {
  width: 25px; 
}

#projects {
  padding: 60px 0;
}

#projects .title {
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

#projects .title h1 {
  font-size: 22px;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: #014023;
  width: auto;
}

#projects .cont {
  padding: 10px;
}

#projects .project {
  position: relative;
  overflow: hidden;
  display: flex;
  box-shadow: 0 0 5px 5px rgb(0 0 0 / 20%);
  border-radius: 15px;
}

#projects .project a {
  display: contents;
}

#projects .project img {
  border: 1px solid #000;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: auto;
  transition: .5s;
  border-radius: 15px;
}

#projects .project:hover img {
  filter: grayscale(0);
}

#projects .project .info {
  position: absolute;
  left: 0px;
  background-color: rgba(1, 64, 35, 0.8);
  color: #D9CCC1;
  width: 100%;
  padding: 10px;
  opacity: 0;
  bottom: -40px;
  transition: .5s;
}

#projects .project:hover .info {
  opacity: 1;
  bottom: 0;
}

#contacto {
  padding: 60px 15px;
  background-color: #f3f3f3;
}

#contacto .titulo-seccion {
  font-size: 22px;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: #014023;
  text-align: center;
  margin-bottom: 20px;
}

#contacto .contenedor-form {
  max-width: 1100px;
  margin: auto;
}

#contacto .contenedor-form .fila {
  margin-bottom: 15px;
}

#contacto .contenedor-form .mitad {
  display: flex;
  justify-content: space-between;
}

#contacto .contenedor-form input,
#contacto .contenedor-form textarea {
  padding: 20px;
  border-radius: 20px;
  border: none;
  border: 1px solid #919191;
}

#contacto .contenedor-form .mitad input {
  width: 48%;
}

#contacto .contenedor-form .input-full {
  width: 100%;
}

#contacto .btn-enviar {
  display: block;
  margin: auto;
  cursor: pointer;
  transition: .5s;
  padding: 10px 15px !important;
}

#contacto .btn-enviar:hover {
  background-color: #014023;
  color: #D9CCC1;
}

@media (max-width: 767px) {
  .image img {
    margin-top: 30px;
  }
}
