html {
    scroll-behavior: smooth;
}

:root {
    --font-primary: sans-serif;
    --font-secondary: "Lato", sans-serif;
    --color-primary: #2c3e50;
    --color-secondary: #18bc9c;
    --color-background: #ffffff;
    --color-black: #000;
}

body {
    margin: 0;
    padding: 0;
}

/*-------------- Hearder------------- */
header {
    background-color: #2c3e50;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #FFFFFF;
    font-weight: 800px;

    font-family: var(--font-primary);
}

.header__title {
    font-size: 25px;
    font-weight: 900;
    /* Ajusta el grosor del texto */
    letter-spacing: -1px;
    /* Reduce el espaciado entre letras */
    line-height: 1;
    /* Ajusta la altura de línea */
    text-transform: uppercase;
    /* Convierte el texto en mayúsculas */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* Agrega una sombra al texto */

}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin-right: 20px;


}

nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 900;
    /* Ajusta el grosor del texto */
    letter-spacing: -1px;
    /* Reduce el espaciado entre letras */
    line-height: 1;
    /* Ajusta la altura de línea */
}

/*----------section principal----------*/

.section-main {
    background-color: var(--color-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    justify-content: center;
    color: var(--color-background);
}

.section-main__images {
    width: 15%;
    height: 5%;
}

.section-main__image {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.section-main__description {
    font-family: var(--font-secondary);
    font-weight: 900;
    font-size: 25px;
}

.section-main__title {
    color: var(--color-background);
    font-family: var(--font-primary);
    font-size: 70px;
    font-weight: 900;
    /* Ajusta el grosor del texto */
    letter-spacing: -1px;
    /* Reduce el espaciado entre letras */
    line-height: 1;
    /* Ajusta la altura de línea */
    text-transform: uppercase;
    /* Convierte el texto en mayúsculas */
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);  Agrega una sombra al texto */
    padding: 40px 0;
    /* Quita el padding alrededor del título */
    margin: 0;
    /* Quita el margen alrededor del título */

}

.section-main__picture {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* section portfolio */
.section-portfolio {
    /* height: 100vh; */
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0 80px 0px;
}

.section-portfolio__title,
.section-about__title,
.section-contact__title {
    color: var(--color-black);
    font-family: var(--font-primary);
    font-size: 40px;
    font-weight: 900;
    /* Ajusta el grosor del texto */
    letter-spacing: -1px;
    /* Reduce el espaciado entre letras */
    line-height: 1;
    /* Ajusta la altura de línea */
    text-transform: uppercase;
    /* Convierte el texto en mayúsculas */
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);  Agrega una sombra al texto */
    padding: 0 0 0;
    /* Quita el padding alrededor del título */
    margin: 0;
    /* Quita el margen alrededor del título */

}

.section-portfolio__picture,
.section-about__icon,
.section-contact__icon {
    width: 14%;
    height: 5%;
}

.section-portfolio__picture img {
    object-fit: cover;
    width: 100%;
    height: 50px;
}

.section-portfolio__images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    /* Espacio entre las imágenes */
    margin: 20px;
    width: 80%;
}

.section-portfolio__image {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* Ajusta la imagen dentro del contenedor */


}




/*section about*/
.section-about {
    background-color: var(--color-secondary);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0;
}

.section-about__icon {
    position: relative;
}

.section-about__icon img {
    object-fit: cover;
    width: 100%;
    height: 50px;
}

.section-about__title {
    color: var(--color-background);
    font-family: var(--font-primary);
    font-size: 40px;
    font-weight: 900;
    /* Ajusta el grosor del texto */
    letter-spacing: -1px;
    /* Reduce el espaciado entre letras */
    line-height: 1;
    /* Ajusta la altura de línea */
    text-transform: uppercase;
    /* Convierte el texto en mayúsculas */
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);  Agrega una sombra al texto */
    padding: 0 0 0;
    /* Quita el padding alrededor del título */
    margin: 0;
    /* Quita el margen alrededor del título */
}

.section-about__text {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.section-about__text p {
    font-family: var(--font-secondary);
    color: var(--color-background);
    font-weight: 900;
    font-size: 20px;
    width: 23%;
    line-height: 1.3;
}

.section-about__icon::before {
    content: '';
    position: absolute;
    height: 4px;
    width: 18px;
    left: 0;
    top: 0;
    bottom: 0;
}

.section-about__icon::after {
    content: '';
    position: absolute;
    height: 4px;
    width: 18px;
    right: 0;
    top: 0;
    bottom: 0;
}

.button {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
}

.button .icon {
    color: var(--color-background);
    margin-right: 5px;
}

/*Section contact me*/
.section-contact {
    background-color: var(--color-background);
    display: flex;
    flex-direction: column;
    color: var(--color-background);
    padding: 80px 0;
    align-items: center;
}

.section-contact__icon img {
    object-fit: cover;
    width: 100%;
    height: 50px;
}

.section-contact__form {
    display: flex;
    flex-direction: column;
    margin: 20px;
    margin-top: 35px;
}

.button-line {
    background-color: var(--color-secondary);
    border: none;
    color: var(--color-background);
    padding: 10px;
    font-size: 16px;
    text-align: center;
    position: relative;
    width: 15%;
}

/* section footer */

.footer {
    background-color: #2c3e50;
    display:flex;
    flex-direction: column;
    align-items: center;
}
.footer-container__divs{
    display:flex;
    justify-content: space-evenly;
    margin: 0 0 30px 0;
}
.footer-divs{
    padding: 0 15px 0 15px;
}
.footer p{
    font-family: var(--font-secondary);
    color: var(--color-background);
    font-weight: 900;
    font-size: 20px;
    line-height: 1.3;
}
.footer-title{
    font-family: var(--font-primary);
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
    color: var(--color-background);
    margin: 28px 0 28px 0;
}
.footer-text__green{
    color: var(--color-secondary);
}
.footer-location{
    width: 15em;
    text-align: center;
}
.footer-around{
   width: 20em;
   text-align: center;
}
.footer-about{
   width: 21em;
   text-align: center;
}

   .footer-container__webs {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .footer-container__webs a {
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 5px;
    background-color: transparent;
    border: 2px solid white;
    text-align: center;
    line-height: 30px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
  }
  
  .footer-container__webs a i {
    color: white;
  }
  
  
  /* Asegúrate de reemplazar 'ruta-a-tu-imagen-de-silueta-de-facebook.png' con la ruta real de tu imagen de silueta de Facebook */
  
/*nelson */
.section-contact__form .input-field {
    border: none;
    font-weight: 700;
    padding-bottom: 25px;
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(186, 184, 184, 0.437);
    outline: none;
    color: #9fa8b7;
    font-family: var(--font-secondary);
}

.section-contact__form .input-field::placeholder {
    color: #9fa8b7;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
}