*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img{
    max-width: 100%;
    display: block;
}

/*Estilos Principales*/

html, body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7em;    
}

a{
    color: #333;
    text-decoration: none;
}

h1, h2, h3{
    padding: 10px 0;
}

p{
    margin: 10px 0;
}

/* Utilidades */

.container{
    margin: auto;
    max-width: 1100px;
    padding: 0 20px;
}

.clr{
    clear: both;
}

/* padding */
.py-1{
    padding: 10px 0;
  }
  
  .py-2{
    padding: 20px 0;
  }
  
  .py-3{
    padding: 30px 0;
  }

.btn{
    display: inline-block;
    font-size: 18px;
    color: white;
    background-color: #333;
    padding: 13px 20px;
    border: none;
    cursor: pointer;
}
.btn:hover{
    background-color: #1dee95;
    color: #333;
}

.lead{
    font-size: 20px;
    color: rgb(239, 250, 233);
}

.text-primary{
    color: #1dee95;
}

/* Navegacion */

#navbar{
    background-color: black;
    color: white;
    overflow: auto; /* para que no se desboerde el contenido */
}

#navbar a{
    color: white;
}

#navbar h1{
    float: left;
    padding-top: 20px;
}
#navbar ul{
    list-style: none;
    float: right;
}

#navbar ul li{
    float: left;
}

#navbar ul li a{
    display: block;
    padding: 20px;
    text-align: center;
}

#navbar ul li a:hover, #navbar ul li a.current{
    background: #1dee95;
    color: #333;
}

/* Showcase */

#showcase{
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/imagen.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 600px;
}

#showcase .showcase-content{
    color: white;
    text-align: center;
    padding-top: 170px;
}

#showcase .showcase-content h1{
    font-size: 60px;
    line-height: 1.2em;

}

#showcase .showcase-content p{
    padding-bottom: 20px;
    line-height: 1.7em;

}

/* Home */

#home-info{
    display: block;
    min-height: 400px;
}

#home-info .info-img{
    float: left;
    width: 50%;
    background: url('../img/imagen1.jpg') no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 400px;
}

#home-info .info-content{
    float: right;
    width: 50%;
    height: 100%;
    text-align: center;
    padding: 50px 30px;
    overflow: hidden;
}

/* Features */

#features{
    padding: 60px 0;
}

#features .box p{
    font-size: 15px;
    line-height: 1.6em;
}

#projects{
    background: #f4f4f4;
    padding: 60px 0;
}

#projects h2{
    text-align: center;
    margin-bottom: 40px;
}

#projects .project{
    background: white;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#projects .project:hover{
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

#projects strong{
    color: #1dee95;
}

@media(min-width: 768px){
    #projects .container{
        display: flex;
        gap: 20px;
    }

    #projects .project{
        flex: 1;
    }
}

#projects .project-btn{
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
    font-size: 15px;
    transition: all 0.2s ease;
}

#projects .project-btn:hover{
    background-color: #1dee95;
    color: #333;
}

#projects .project h3{
    margin-bottom: 10px;
}

#projects .project p{
    margin-bottom: 8px;
}

#features .box{
    float: none;
}

.box{
    /* float: left;
    width: 33.3%; */
    padding: 50px;
    text-align: center;
}

#features .container{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

#features .box{
    flex: 1;
    padding: 40px;
    text-align: center;
}

.box i {
    margin-bottom: 20px;

}

.bg-gray{
    background: #cfcfcf;
    color: #333;
}

.bg-light{
    background: #f4f4f4;
    color: #333;
}

.bg-primary{
    background: #1dee95;
    color: #333;
}

/* Footer */

#main-footer{
    text-align: center;
    background: black;
    color: white;
    padding: 20px;
}

/* Portafolio */

#portfolio{
    padding: 60px 0;
    background: #f4f4f4;
}

#portfolio .container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

#portfolio img{
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

#portfolio img:hover{
    transform: scale(1.03);
}

#about-info .info-right{
    float: right;
    width: 50%;
    min-height: 100%;
}

#about-info h2{
    font-size: 28px;
    margin-top: 40px;
    text-align: center;
}

#about-info .info-right img{
    display: block;
    margin: auto;
    width: 70%;
    border-radius: 5%;
}

#about-info .info-left{
    float: none;
    width: 100%;
}

#about-info h2{
    margin-top: 30px;
}

.l-heading{
    font-size: 40px;
}

/* testimonios */

#testimonials{
    display: block;
    height: 100%;
    background: url("../img/foto2.jpg") no-repeat center center/cover;
    padding-top: 100px;
}

#testimonials h2{
    color: white;
    text-align: center;
    padding-bottom: 40px;
}

#testimonials .testimonial{
    padding: 20px;
    margin-bottom: 40px;
    border-radius: 10px;
    opacity: 0.9;
}

#testimonials .testimonial img{
    width: 100px;
    float: left;
    margin-right: 20px;
    border-radius: 50px;
}

/* Contacto */
#contact-form .form-group{
  display: block;
  margin-bottom: 5px;
}

#contact-form label{
  display: block;
  margin-bottom: 5px;
}

#contact-form input, #contact-form textarea{
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
}

#contact-form textarea{
  height: 200px;
}

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