*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'lato', sans-serif;
}

/**Menu**/
nav{
    position: fixed;
    width: 100%;
    height: 8vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
}
.logo{
    font-size: 20px;
    font-weight: 700;
}
.menu{
    display: flex;
}
.menu li{
    list-style: none;
    margin: 0 15px;
}
.menu .menu-i{
    text-decoration: none;
    color: #a1a1a1;
    font-weight: bold;
    transition: all 0.3s;
}
.menu .menu-i:hover{
    color: #000;
}

.img{
    width: 100%;
    height: 80vh;
    background-size: cover;
    background-position: bottom;
}

.menu-btn{
    font-size: 20px;
    cursor: pointer;
    display: none;
}
/**Menu**/

/*divisores de contenido*/
.caja1 h2{
    background-color: #111;
    width: 100%;
    height: 12rem;
    line-height: 170px;
    text-align: center;
    color: #a1a1a1;
}
/*divisores de contenido*/

/*boton*/
.btn{
    display: block;
    background-color: #111;
    border: 2px solid #555555; 
    color: #a1a1a1;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    transition-duration: 0.4s;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
    width: 150px;  
}
.btn:hover{
    background-color: #fff;
    border-color: #555555;
    color: #000;
}
.btn a {
    text-decoration: none;
    color: #fff;
}
.btn:hover a{
    color: #555555;
}
/*boton*/

/*imagenes*/
.grid-item{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: gray;
    transition: transform 0.3s ease-in-out;
    background-size: cover;
}
.grid-item:hover{
    filter: opacity(0.9);
    transform: scale(1.04);
}
.grid-container{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(24%, 1fr)) ;
    grid-auto-rows: minmax(400px, auto);
    grid-auto-flow: dense;
    margin:10px;
}
.grid-item a {
    display: none;
    transition: all 0.3s;
    color: honeydew;
}
.grid-item:hover a{
    display: block;
}
/*imagenes*/

/** FOOTER **/
footer{
    position: relative;
    width: 100%;
    height: auto;
    padding: 50px 100px;
    background: #111;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 15px;
}
.container{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
}
.container .sec{
    margin-right: 30px;
}

.container .about{
    width: 40%;
}
.container h2{
    position: relative;
    color: #fff !important; 
    font-weight: 500;
    margin-bottom: 15px;
    text-align: left;
}
.container h2::before{
   content: '';
   position: absolute;
   bottom: -5px;
   left: 0;
   width: 50px;
   height: 2px;
   background: #f00;
}
.container p{
    color: #999;
}
.sci{
    margin-top: 20px;
    display: flex;
}
.sci li{
    list-style: none;
}
.sci a {
    display: inline-block ;
    width: 40px;
    height: 40px;
    background: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    text-decoration: none;
    border-radius: 4px;
}
.sci a:hover {
    background: #f00;
}
.sci li a .fa{
    color: #fff;
    font-size: 20px;
}
.contacto{
    width: 25%;
}
.contacto .info{
    position: relative;
}
.contacto li{
    display: flex;
    margin-bottom: 16px;
}
.contacto li span:nth-child(1){
  color: #fff;
  font-size: 20px;
  margin-right: 10px;
}
.contacto li span{
    color: #999;
}
.copy{
    width: 100%;
    background: #181818;
    padding: 8px 100px;
    text-align: center;
    color: #999;
}
/** FOOTER **/


/* responsive*/
@media screen and (max-width:800px){
       .menu-btn{
           display: block;
       }
       .menu{
           position: fixed;
           top: 8vh;
           left: 0;
           background-color: #f2f2f2;
           width:100% ;
           height: 100%;
           flex-direction: column;
           align-items: center;
           line-height: 100px;
           transition: all 0.50s ease;
           transform: translateX(-100%);
       }
       .active{
           transform: translateX(0);   
       }
       .desactive{
           transform: translateX(-100%);
       }
       .grid-container{
        gap: 12px;
          grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)) ;
       }  
       .btn-bar{
        background-color: aliceblue;
        width: 100%;
        height: auto;
        padding: 30px;
        display: flex;
        align-items: center;
        flex-direction: column;
        line-height: 25px;
    }
    
}

/** FOOTER **/
@media (max-width: 991px) {
    footer{
        padding: 40px;
    }
    footer .container{
        flex-direction: column;
    }
    footer .container .sec{
        margin-right: 0;
        margin-bottom: 40px;
    }
    footer .container .about{
        width: 100%;
    }
    footer .container .contacto{
        width: 100%;
    }
    
}
/** FOOTER **/

/* responsive*/


/** Anuncios **/

@media (min-width: 768px) {
    .contenedor-anuncios{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}
.anuncio {
    border: 1px solid #B5B5B5;
    background-color: #f8f8f8;
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .anuncio {
        flex: 0 0 calc(33.3% - 1rem);
    }
}
.contenido-anuncio {
    padding: 2rem;
}
.contenido-anuncio h3, 
.contenido-anuncio p  {
    margin: 0;
}
.precio {
    color: #f00;
    font-weight: 700;
}
.iconos-caracteristicas {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-evenly;
    flex: 1;
    max-width: 500px;
}
.iconos-caracteristicas li {
    /* flex: 1; */
    display: flex;
}
.iconos-caracteristicas li img {
    margin-right: 2rem;
}

img{
    max-width: 100%;
}

.fw-300 {
    font-weight: 300;
    color: #a1a1a1;
}
.centrar-texto {
    text-align: center;
}

/** Contacto **/
.contactoxd p {
    font-size: 1.4rem;
    color: #4f4f4f;
    margin: 2rem 0 0 0;
}
legend {
    font-size: 20px;
    color: #4f4f4f;
}
label {
    font-size: 16px;
    text-transform: uppercase;
    display: block;
    margin-left: 12px;
    margin-top: 12px;
}
input:not([type="submit"]),
textarea,
select {
    padding: 1rem;
    display: block;
    width: 98%;
    background-color: #e1e1e1;
    margin-bottom: 2rem;
    border: none;
    border-radius: 1rem;
    margin: 6px auto;
}

select {
    -webkit-appearance: none;
    appearance: none;
}
textarea {
    height: 20rem;
}
.forma-contacto {
    max-width:30rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contenedor {
    width: 95%;
    max-width: 120rem; /** = 1200px; **/
    margin: 0 auto;
}
.seccion {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.contenido-centrado {
    max-width: 800px;
}

.btn-bar{
    background-color: aliceblue;
    width: 100%;
    height: auto;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    margin-top: 7px;
}

.btn-b{
    text-decoration: none;
    color: #a1a1a1;
    font-weight: bold;
}


@media (min-width: 768px) {
    .contenido-nosotros {
        display: flex;
        justify-content: space-between;
    }
}
    .caja-main1 {
    text-align: center;
    height: 350px;
    }

@media (min-width: 768px) {
    .caja-main1{
        flex-basis: calc(33.3% - 1rem);
    }

}

    .caja-main1 i{
        margin: 25px auto;
    }

    .caja-main1 h2{
        text-align: center;
    }
    .icon-a{
        border-width: 2px;
        border-style: solid;
        border-color: #f00;
        border-image: initial;
        border-radius: 100%; 
        padding: 3%; 
        color: #f00;
        font-size: 25px;
        transition: all 0.3s ease;
        width: 100px;
        height: 100px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 25px;
    }
    .caja-main1:hover .icon-a{
        color: white;
        background-color: #f00;
    }
    .caja-main1{
        height: auto;
    }


/** Iconos Nosotros **/
@media (min-width: 768px) {
    .iconos-nosotros {
        display: flex;
        justify-content: space-between;
    }
}
.icono {
    text-align: center;
}
@media (min-width: 768px) {
    .icono {
        flex-basis: calc(33.3% - 1rem);
        height: auto;
    }
}
