*{
    margin: 0;
    border: 0;
    padding: 0;
    
}




@font-face{
    font-family: 'Eras';
    src: url('/font/ITCErasStd-Bold.ttf');
    font-weight: bold ;
    font-style: bold;
}


@font-face{
    font-family:'Eras-regular';
    src: url('/font/ITCErasStd-Demi.ttf');
    font-weight: normal;
    font-style: normal;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    
}


h1,h2,h2,h4,h5{
    font-family:'Eras';
    font-weight: bold;
    font-style: bold;    
    
}


a, p {
    font-family:'Eras-regular';
    font-weight: normal;
    font-style: normal;   
}


.p-poliester, .p-hormigon{
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #00b0ef;
    
}

button.p-poliester:hover, .p-hormigon:hover{
    background-color: #7ed957;   
    text-decoration-color: #0e6381;
}

h4.card-title:hover{
    color: none!important;
    background-color: none;
}

button.p-poliester, button.p-hormigon{
    border: none;
    border-radius:10px;
    margin-right: 20px;
    
}

.logo img{ 
    vertical-align: center;
    margin-top: 50px;
}

.subtitulo{
    text-align: center!important;
}

.overlay{
   
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.897); /* Color de fondo del overlay */
    color: #fff; /* Color del texto en el overlay */
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s;
    border-radius: 10px;
    cursor:default!important;

}


.overlay p{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15px;
    
}

.logo-hidrofer{
    width: 120px;    
    margin-left: 20px;
    
}

.navbar{    
    --bs-navbar-nav-link-padding-x: 0.9rem !important;
   justify-content: center;   
   position: relative;
   display:block;
   z-index: 1;
    
}



.navbar-toggler{
    display: none!important;
}



.navbar.navbar-expand-lg.bg-body-tertiary{
    width: 100%;   
    padding-top: 15px;
    padding-bottom: 15px;
    align-items: center;
}




a.nav-link{
    color: white !important;
}

li.nav-item:hover{
    text-decoration: underline;
    text-decoration-color: white;   
    text-decoration-line:underline;
    text-decoration-thickness: 2px;
    text-decoration-style:solid;
    text-underline-offset: .25em;
}

li.nav-itemm{
    margin-left: 100px;
}

.card img{
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 0!important;
}

img{
    position: relative;
    margin: auto;
    display: block;
}



.btn.btn-primary{
    z-index: 1!important;
}


section.productos div.container div.row{
    margin-bottom: 30px;
}

section.productos{
    margin-bottom: 0px;
}

a{    
    text-decoration: none!important;    
}

div.card{
    width: 100%;
    border-radius: 10px 10px 10px 10px;
    border: none;
    box-shadow: 3px 3px 8px ;     
}

.conn{
    position: relative;
     
}

.conn:hover .overlay {
    opacity: 100%;
}



div.card:hover{
    border-color: #00b0ef;
    border-style: solid;
    border-width: 1px;
    transition: 0.3s;
    transform: scale(1.01);
    box-shadow: none!important ; 
    
}

.contact-info{
    text-align: left;
}
.logo{
    transform: scale(2);
    align-items: center;
}

img.card-img{
    margin-top: -95px;
    
}





.chivo{
    background-color:rgb(95, 117, 110) ;
    text-align: center;  
   
    border-style: solid;
    
}

.chivo p{
    color: rgb(48, 47, 47);
    font-weight:lighter ;
}




img.card-img-top{
     border-radius: 10px 10px 10px 10px;
     background-color: #00b0ef;
     
}

.col-8{
    margin-bottom: 0px!important;
    padding-bottom: 0px!important;
}

p{
    margin-top: 0px!important;
    margin-bottom: 0px!important;
}

.empresa{ 
        
        float: none;
        height: 100%;
      
        text-align: left;
        vertical-align:middle;
       margin-left: 200px;
       margin-right: 100px;
  
       margin-top: 35px!important;
       margin-bottom: 35px!important;
       font-size: 18px;        
    
}



div.col-12.button{
    
    border: none;  
    
    margin-bottom: 10px;
    margin-top: 20px;  
      
}


.telefono:hover{
     background-color:#7ed957;
    text-decoration-color: #0e6381;
}


.logo-secundario{
   margin-left: 150px;
   padding-right: 0px;
   margin-bottom: -80px;
   margin-top: -40px;
   width: 350px;
   vertical-align: middle;
  
}

img.card-img-top-iconos:hover{
    transform:scale(1.1);
    border: #7ed957;
    border-width: 4px;
    transition: 0.3s;   
   
}

img.card-img-top:hover{
    border-style: #7ed957;
    border-width: 4px;
}

h4.card-title{
    align-items: center;
    color: #fff;
    margin-bottom: 20px!important;
    font-size: 30px;
}

p.card-textt{
    align-items: center;
    color: #fff;
    margin-bottom: 20px!important;
    font-size: 20px;
}

#img-footer{
    background-image: url(recursos/new1.png);
    background-color: #00b0ef;
}



.card-img-overlay{
    
    margin-top: 20%;
    margin-left: 2%;
    animation-name: aparicion;
    animation-duration: 1s;
    animation-delay: 0.5s;
    
}

@keyframes aparicion {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

i.bi.bi-caret-down{
   padding-left: 15%;
    padding-top: 100%;
    position: relative;
    top: 150px!important;

    animation-name: aparicion-flecha;
    animation-duration: 1s;
    animation-delay: 0.5s;
}


@keyframes aparicion-flecha {
    0% {
        opacity: 0;
        transform: translateY(10%);
    }
    50% {
        opacity: 1;
        transform: translateY(50%);
    }
    100% {
        opacity: 1;
        transform: translateY(100%);
    }
}

.h1-poliester, .h1-hormigon{
    text-align: center;
    margin-top: 30px !important;
    margin-bottom: 0px!important;
      
    position: relative;
}

.h1-poliester::after,.h1-poliester::before{
    content: ' ';
    position: absolute;
    width: 120px;
    height: 3px;
    background-color: black;
    top: 0.6em;
}
.h1-poliester::before{
    left: -140px;

}

.h1-poliester::after{
    right: -140px;

}

#porqueelegirnos{
    margin-bottom: 50px;
    margin-top: 0px;
}

.porque-elegir-hidrofer{
     text-align: center;
    margin-top: 0%;
    margin-bottom: 0%;
    
}


div.cardi img{
    width: 50%;
    align-items: center;
    margin-bottom: 10%;
   
}



h5.card-title{
    margin-bottom: 1%;
}

li.nav-item{
    font-size: 17px!important;
}



/**************Footer*******************/

.porque-elegir-hidroferr{

    background-image: url(/recursos/PORTADA_WEB_2.png);
    

    color: #fff;
    padding: 50px 0;
    text-align: center;
    background-repeat: no-repeat;
    position: center center;
    background-size: cover;
    background-attachment:fixed;
    margin-top: 0px;
    margin-bottom: 30px;
        
}




.productos{
   background-image: url(recursos/PORTADA_WEB_2.png);
   /*background-image: url(recursos/o1.jpg);*/
   
    padding: 50px 0;
    text-align: center;
    background-repeat: no-repeat;
    position: center center;
    background-size: cover;
    background-attachment:fixed;
    margin-top: 30px;

    
}
.siguenos{
    margin-bottom: 10px;
}

.col-4.a{
    padding-left: 30px;
    padding-right: 10px;
}

.col-4.c{
    z-index: 1;
}


footer {
    background-image: url(recursos/PORTADA_WEB_2.png);
    background-color: #0e6381;
    color: #fff;
    padding: 50px 0;
    text-align: center;
    background-repeat: no-repeat;
    position: center center;
    background-size: cover;
    background-attachment:fixed;
    margin-top: 0px;
   
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.contact-info p {
    margin: 5px 0;
    font-size: 17px;
    text-align: left;
}

span{
    color: #00b0ef;
}
.logo img {
    width: 100px;
    height: auto;
    
}

/* Iconos redes sociales*/

.bi{
    font-size: 20px;
    color: #fff;
    margin-top: 5px ;
    margin-bottom: 5px;
    margin-right: 0px;
    margin-left: 15px;
   justify-content: center;
   vertical-align: center;
   margin-top: 300px!important;
   
}


li.bi.bi-youtube{
    font-size: 25px;
    color: #fff;    
    margin-right: 10px;    
   
}

.navbar.navbar-expand-lg.bg-body-tertiary{
    justify-content: center;
    
}

/* Boton de contacto*/

.btn.btn-primary:hover{
    background-color: #7ed957;
    border:none;
    color: #0e6381;
   
}

.btn.btn-primary{
    background-color: #7ed957;
    border:none;
    color: #0e6381;
    margin-left: 60px;
}


.collapse.navbar-collapse{
 justify-content: center;
 margin-left: -100px;
 align-items: center;
}

.btn.btn.btn-primary{
    margin-left: 0px!important;
}





@media (max-width: 320px){


    
    .logo-hidrofer{
        width: 120px;    
       margin-left: 10px;

        align-items: center!important;
        
    }
    
    .card-textt, button.p-hormigon, button.p-poliester, .bi-caret-down, section.historia-empresa{
        display: none;
    }



    .card-title{
        font-size: 25px!important;
    }

    .h1-poliester, .h1-hormigon{
        text-align: center;
        margin-top: 10px;
        margin-bottom: 0px!important;
          
        position: relative;
    }

    div.cardi img{
        width: 30%;
        align-items: center;
        margin-bottom: 5%;
       
    }

    .contact-info p{
        text-align: center!important;
    }

    section.historia-empresa{
        display: none;
    }

    /*
    .btn-wsp {
        position: fixed;
        width: 65px;
        height: 65px;
        line-height: 65px;
        bottom: 50px;
        right: 30px;
        background-color: #0df053;
        color: #fff;
        border-radius: 55px 55px 55px 55px;
        text-align: center;
        font-size: 45px!important;
        box-shadow: 0px 1px 10px rgb(0, 0,0,0.3);
        z-index: 100;
    }
*/
.btn-wsp-img{
    position:fixed;
    width: 150px;
    bottom: 30px;
    right: 5px!important;
    
    color: #fff;
    border-radius: 55px 55px 55px 55px;
    text-align: center;
    font-size: 40px;
    
    z-index: 100;
}

    .overlay h1{
        margin-top: 2px;
    }
}


@media (max-width: 840px){

    .btn-wsp-img{
        position:fixed;
        width: 150px;
        bottom: -5px!important;
        right: -30px!important;
        
        color: #fff;
        border-radius: 55px 55px 55px 55px;
        text-align: center;
        font-size: 40px;
        
        z-index: 100;
    }

    .overlay h1{
        margin-top: 5px;
        
        margin-bottom: -2px;
    }
    .card-textt, button.p-hormigon, button.p-poliester, .bi-caret-down, section.historia-empresa{
        display: none;
    }

    .card-title{
        font-size: 25px!important;
    }

    .h1-poliester, .h1-hormigon{
        text-align: center;
        margin-top: 15px ;
        margin-bottom: 15px;
          
        position: relative;
    }

    div.cardi img{
        width: 30%;
        align-items: center!important;
        margin-bottom: 5%!important;
       
    }
    
   
    
    
    .contact-info p{
        text-align: center;
    }
    
    .logo-hidrofer{
        width: 120px;    
       margin-left: 13px;

        align-items: center!important;
        
    }
}


@media (max-width: 991px){

    .overlay h1{
        padding-top: 3px;
        padding-bottom: -5px;
        
    }
    .card-textt, button.p-hormigon, button.p-poliester, .bi-caret-down, section.historia-empresa{
        display: none;
    }

    .card-title{
        font-size: 25px!important;
    }

    .h1-poliester, .h1-hormigon{
        text-align: center;
        margin-top: 15px;
        margin-bottom: 15px;
          
        position: relative;
    }

    div.cardi img{
        width: 30%;
        align-items: center!important;
        margin-bottom: 5%!important;
       
    }
    
    .btn-wsp-img{
        position:fixed;
        width: 150px;
        bottom: 30px;
        right: 10px;
        
        color: #fff;
        border-radius: 55px 55px 55px 55px;
        text-align: center;
        font-size: 40px;
        
        z-index: 100;
    }

    .contact-info p{
        text-align:center;
    }
    
}

@media (min-width: 1000px) {
    .contact-info p{
        text-align:left;
    }

    

    .btn-wsp-img{
        position:fixed;
        width: 150px;
        bottom: 30px;
        right: 10px;
        
        color: #fff;
        border-radius: 55px 55px 55px 55px;
        text-align: center;
        font-size: 40px;
        
        z-index: 100;
    }

    .navbar-toggler{
        background-color: #00b0ef!important;
    }
}


