:root {
    --principal: #004C89;
    --secondary: #00AEDB;
  }


html 
    {
        scroll-behavior: smooth;
    box-sizing: border-box;
    font-size: 62.5%;
    }

  *, *:before, *:after {
    box-sizing: inherit;
  }


body {
    font-size: 2rem;
    font-family: krona-one, sans-serif;
}
header {
    height: 20rem;
}

  .header__bg{
    background-image: url('../img/bg.jpg');
    background-size: cover;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  @media (min-width:800px){
    .header__bg {
        background-position: center center;
    }
}


  .img__header__bg {
    width: 15rem;
  }

.header__menu {
    background-color:  var(--principal);
    height: 8rem;
    display:flex;
    align-items: center;
    padding: 0 2rem;
}

.img__header_menu_logo {
 width: 8rem;
}

.header__menu_links {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.header__menu_link {
    color:white;
    font-size: 1.3rem;
    text-decoration: none;
}

@media (min-width:800px){
    .header__menu_link {
        font-size: 2.3rem;
    }
}


.container{
    margin: 0 auto;
    padding: 0 2rem;
    max-width: 120rem;
    margin-top: 10rem;
    display: flex;
    flex-direction: column;
}

.main__principal {
    height: 100%;
    line-height: 3rem;

}

.main__principal p {
    text-align: justify;
}


.servicio__title{
    font-size: 4rem;
    text-align: center;
    border-bottom: 0.5rem solid var(--principal);
}

.servicios {
    display: flex;
    gap:2rem;
    flex-direction: column;  
}


@media (min-width:800px){
    .servicios {
        flex-direction: row;
    }
}



.servicio {
    border: 0.4rem solid var(--principal);
    flex-basis: 30%;
    flex-wrap: wrap;
    text-align: center;
    border-radius:  4rem 0 4rem 0;
}


.mensaje__servicios {
    margin-top: 3rem;
    line-height: 3rem;
    text-align: center;
    
}

.mensaje__servicios p {
    text-align: justify;
}

.acabados__imagenes{
 display: flex;
 flex-wrap: wrap;
 gap: 2rem;
}
.acabado__imagen{
    flex-basis: 47%;
}


@media (min-width:800px){
    .acabado__imagen {
        flex-basis: 30%;
    }
    .acabado__imagen img {
        height: 25rem;
    }
}

.acabado__imagen img {
    height: 15rem;
}

.acabado__imagen a img{
    width: 100%;
    border-radius: 0.1rem;
}

.catalogos{
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 2rem;

}

.catalogo {
    flex-basis: 50%;
    text-align: center;
}

@media (min-width:800px){
    .catalogos {
        justify-content: center;
    }

    .catalogo {
        flex-basis: 30%;
        justify-content: space-between;
    }
}



.imagen__catalogo img{
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    width: 100%;
    margin-bottom: 2rem;
}

.titulo__catalogo a {
    text-decoration: none;
    font-size: 1.4rem;
    border: 1px solid var(--principal);
    border-radius: 3rem;
    padding: 1rem;
}


.seccion__contacto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contacto__mapa {
    width: 100%;
}
.contacto__boton {
    display: flex;
    color:white;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    margin: 3rem 0; 

}

.contacto__formulario {
    background-color: var(--secondary);
    padding: 4rem;
    display: flex;
    flex-direction: column;

}


@media (min-width:800px){
    .contacto__formulario {
        flex-direction: row;
    
    }
}

.formulario {
    flex-basis: 50%;
    padding: 3rem;
}
.item {
    margin-bottom: 3rem;
}
.item  input{
    width: 100%;
    padding:1rem;
    color:#C4C4C4;
    border:none;
    font-size: 1.2rem;

}


.item  textarea{
    font-size: 1.2rem;

    width: 100%;
    padding:1rem;

}


.item button {
    background-color: var(--principal);
    color:white;
    width: 100%;
    padding: 1rem;
}

.contacto__informacion {
    color:white;
    flex-basis: 50%;
    padding:3rem;
}

.contacto__informacion span {
    display: block;
    padding:1rem 0;
    border-bottom: 0.2rem solid white;
    margin-bottom: 1rem;
}

.contacto__informacion_p {
    font-size: 1.5rem;
    text-align: left;
}


.lightbox {
    /* Default to hidden */
    display: none;
  
    /* Overlay entire screen */
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    /* A bit of padding around image */
    padding: 1em;
  
    /* Translucent background */
    background: rgba(0, 0, 0, 0.8);
  }
  
  /* Unhide the lightbox when it's the target */
  .lightbox:target {
    display: block;
  }
  
  .lightbox span {
    /* Full width and height */
    display: block;
    width: 100%;
    height: 100%;
  
    /* Size and position background image */
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .whatsapp {
    position:fixed;
    width:6rem;
    height:6rem;
    bottom:4rem;
    right:4rem;
    background-color:#25d366;
    color:#FFF;
    border-radius:5rem;
    text-align:center;
    font-size:3rem;
    z-index:100;
  }
  
  .whatsapp-icon {
    margin-top: 1.4rem;
  }