*{
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;    
}
@font-face{
    font-family:'coldnightforalligators';
    src: url(Fonts/coldnightforalligators.ttf) format('truetype'); 
    font-style: normal;
    font-weight: normal;
    
}

/* Background images - All pages------------------------------------ */
#home{
    background: url(images/T&TBombas_Back_Home.jpg) no-repeat center center fixed;
    background-size:cover;
}
#contacto{
    background: url(images/Back_contacto_T&TBombas.jpg) no-repeat center center fixed;
}
#bombas{
    background: url(images/Back_bombas_T&TBombas.jpg) no-repeat center center fixed;
}
#equipos{
    background: url(images/Back_equipos_T&TBombas.jpg) no-repeat center center fixed;
}
#servicios{
    background: url(images/Back_servicios_T&TBombas.jpg) no-repeat center center fixed;
}
#wdm{
    background: url(images/Back_WDMpumps.jpg) no-repeat center center fixed;
}
#motorarg{
    background: url(images/Back_Motorarg.jpg) no-repeat center center fixed;
}
#empresa{
    background: url(images/Back_empresa_T&TBombas02.jpg) no-repeat center center fixed;
}

/* Home------------------------------------------------------------ */
.logo-home, .logo-fantom{   
    display: flex;
    height: 0vh;
    justify-content: end;
    margin-top: 2%;
    margin-right: 5%;
    filter: drop-shadow(2px 2px 2px #000);
}
.logo-home a img{
    height: 8rem;    
}
.logo-fantom{
    display: none;
}

.container {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    margin-right: 34em;
    margin-top: 2em;
}

.pumps-home{
    filter: drop-shadow(0px 10px 5px #000);
    margin-bottom: 0em;    
}

.container nav ul {
    list-style: none;
    padding: 2em 2em; 
    margin-left: 2em;  
    border-left: 2px solid #fff;
    background: linear-gradient(90deg,rgba(0, 0, 0, 0.5), transparent);
    
}

.container nav li {
    margin-bottom: 2em;
}

.container nav a {
    text-decoration: none;
    color: white;
    font-size: 1.6em;
    filter: drop-shadow(2px 2px 2px #000);
}

nav a:hover{
    filter:brightness(100%);
    transition: all 0.5s;
    transform: scale(1.15);
    display: inline-block;
}

/* Menu Responsive--------------------------------------------- */

nav input.nav-toggle {
    display: none;
}

nav label.nav-toggle-label {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
}

/* Footer - Home--------------------------------------- */

.footer-home{
    display: flex;
    justify-content: space-between;
    align-items: center;    
    margin-top: 5em;    
    
}

.footer-home ul, .footer-vinculos ul{
    list-style: none;
    display: inline-flex;
}

.footer-home ul li, .footer-vinculos ul li{     
    margin-left: 4em;    
}

.footer-home li a, .footer-vinculos li a{
    font-size: 2em;
    filter: drop-shadow(2px 2px 2px #000);    
}

.footer-home li a:hover, .footer-vinculos li a:hover{
    filter:brightness(100%);
    transition: all 0.5s;
    transform: scale(1.15);
    display: inline-block;
}

.mobile-wa{
    display:none ;
}

.footer-home p, .footer-vinculos p{
    font-family:'Arial Narrow Bold', sans-serif;
    text-align: center;
    color: #fff;
    filter: drop-shadow(2px 2px 2px #000);
}
.lldiseno a{
    font-family:'Arial Narrow Bold', sans-serif;
    color: #fff;
    filter: drop-shadow(2px 2px 2px #000);
    text-decoration: none;
    margin-right: 3em;
}

/* Nav & Entorno - vinculos------------------------- */
header{
    background-color: rgba(0, 0, 0, 0.8);
    height: 5em;    
}

.header-container{    
    width: 65%;
    display: flex;
    justify-content:space-between ;
    align-items: center;
    padding: 0 0px;
    margin: auto;
}

.logo-vinculos{  
    display: flex; 
    margin-top: 0.5em;
    filter: drop-shadow(2px 2px 2px #000);
}
.logo-vinculos a img{
    height: 4rem;        
}

.container-vinculos nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.container-vinculos ul li,.v-line{
    display: inline-flex;
    margin-left: 2em;
}
.v-line{
    display: inline-flex;
    border-left: 1px solid #fff;
    height:2em;  
}
.container-vinculos nav ul li:nth-child(13), .container-vinculos nav ul li:last-child {
    display:none;
}

.container-vinculos nav a{
    text-decoration: none;
    color: white;
    font-size: 1.3em;
    filter: drop-shadow(2px 2px 2px #000);
    padding: 0em;
}

/* Main------------------------------------------- */
.main-container{
    display: grid;
    width: 65%;
    height: 100%;
    background-color: rgba(210, 210, 210, 0.8);
    margin: auto;
    margin-top: 1em;
}

/* Footer Vinculos------------------------------------ */

.footer-vinculos{     
    display: grid;
    grid-template-rows: repeat(3,5em);
    width: 65%;
    height: 10em;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    margin: auto;
    align-items: center;
    margin-top: 1em;
    padding-top: 0em;
}
.footer-vinculos ul li:first-child{
    margin-left: 1em;
}
.footer-vinculos ul{
    margin-top: 2em;
}

/* BOMBAS---------------------------------------- */
.main-container h1{
    font-size: 1.5em; 
    color: #FE0202 ;
    border-bottom:1px solid #000; 
    margin: 1em 1em 0 1em;
}
.bombas-text{
    font-size: 1.4em; 
    color: #FE0202 ;
    border-bottom:1px solid #000; 
    margin: 0em 1em 1em 1em;
}

.bombas{
    display: grid;
    grid-template-rows: repeat(5, minmax(15em, auto)); /* Ajusta la altura mínima de las filas */
    grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
    gap: 2em;
    justify-content: center;
    padding: 2em;
}
.bombas > div { /* Establece un ancho mínimo para cada elemento */
    background-color: #fff;
    filter: drop-shadow(2px 2px 2px #000);
    border-radius: 0.5em;
    min-width: 15em;
    min-height: 15em;
    position: relative;
    text-align: center;    
}

.bombas div img{
    height: 12em;   
}
.bombas div h2, .equipos div h2, .servicios div h2{
    color: #fff;
    font-size: 1em;
    font-weight: normal;
    text-align: center ;
    background-color: #027edd;
    padding-top: 0.4em;
    height: 1.5em; /* Altura de la franja celeste */
    width: 100%; /* Ancho total de la caja */
    position: absolute;  
}
@media (max-width:  768px){
    .bombas div h2, .equipos div h2, .servicios div h2{
        font-weight: bold;
    }
}



/* EQUIPOS / SERVICIOS----------------------------------------------- */
.equipos, .servicios, .instalaciones{
    display: grid;
    grid-template-rows: repeat(2, minmax(24em, auto)); /* Ajusta la altura mínima de las filas */
    grid-template-columns: repeat(auto-fill, minmax(34em, 1fr));
    gap: 2em;
    justify-content: center;
    padding: 2em;
}
.equipos > div, .servicios > div, .instalaciones > div { 
    background-color: #fff;
    filter: drop-shadow(2px 2px 2px #000);
    border-radius: 0.5em;
    min-width: 15em;
    min-height: 15em;
    position: relative;
    text-align: center;    
}
.equipos div img, .servicios div img{
    height: 21em;         
}
.instalaciones div img{
    height: 22.5em;
    margin-top: 0.7em;
}

.instalaciones-title{
    font-size: 1.5em; 
    color: #0006e2 ;
    border-bottom:1px solid #0006e2; 
    margin: 1em 1em 0 1em;
}



@media (max-width: 1669px) {
    .equipos, .servicios{
        display: grid;
        grid-template-rows: repeat(4, minmax(24em, auto)); /* Ajusta la altura mínima de las filas */
        grid-template-columns: repeat(auto-fill, minmax(34em, 1fr));
        gap: 2em;
        justify-content: center;
        padding: 2em;
    }
    
}

/* Adapt media - Home----------- */
@media (max-width: 1366px){
    .pumps-home img{
        height: 35em;
        margin-top: 0em;
        margin-bottom: 5em;
        margin-left: 8em;
     }
     .container nav a {
        text-decoration: none;
        color: white;
        font-size: 1.3em;
        filter: drop-shadow(2px 2px 2px #000);
    }
    .container ul img{
        height: 2.5em;
    }
    .container nav li {
        margin-bottom: 1.6em;
    }
    .container nav ul{
        margin-bottom: 3em;
    }
    .logo-home a img{
        height: 6rem;    
    }

    .footer-home{          
        margin-top: 0em;    
        
    }
    
    
}



@media (max-width: 768px) {     
    
    .logo-fantom{
        display: flex;
    }
    
   .logo-home a img, .logo-fantom a img{
        height: 4rem;
    }
    .logo-vinculos{
        display: none;
    }
    header{
        background-color: rgba(0, 0, 0, 0);
    }
    .v-line{
        display: none;
    }
    
     .main-container{
        display:grid;
        width: 90%;
     }

    /* Menu responsive */
    .container nav ul, .container-vinculos nav ul {
        display: none;
        position: absolute;
        top: 10%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 2000;
        margin-left: 0em;
        padding: 0em;
    }

    .container nav li, .container-vinculos nav li {
        margin: 0.7em;
    }
    .container nav li img, .container-vinculos nav li img{
        height: 2em;
    }
    .container-vinculos nav ul li:nth-child(13), .container-vinculos nav ul li:last-child {
        display:flex;
    }

    .container nav a, .container-vinculos nav a {
        text-decoration: none;
        color: white;
        font-size: 1em;
        filter: drop-shadow(2px 2px 2px #000);
    }

    nav input.nav-toggle:checked + label.nav-toggle-label + ul {
        display: flex;
    }

    nav label.nav-toggle-label {
        display: block;
        position: absolute;
        top: 20px;
        left: 20px;
        font-size: 2em;
        color: #130177;
        z-index: 20000;
    }

    .container{
        display: flex;
        height: 80vh;
        justify-content: center;
        align-items: center;
        margin-right: 0em;
        margin-top: 0em;
    }

    .pumps-home img{
       height: 23em;
       margin-top: 20em;
       margin-left: 0em;
    }

    /* Footer - Responsive----------------------------------------- */

    .footer-home, .footer-vinculos{
        display: flex;              
        width: 100%;   
        height: fit-content;          
        background-color: rgba(0, 0, 0, 0.8);
        flex-direction: column;
        align-items: center;
           
    }
    .footer-home{
        margin-top: auto;
    }

    .desktop-wa{
        display: none ;
    }
    .mobile-wa{
        display:grid;
    }

    .footer-home ul li, .footer-vinculos ul li{     
        margin-left: 1em ;  
        align-items: center;  
    }
    
    .footer-home ul, .footer-vinculos ul{
        display: grid;
        grid-template-rows: repeat(2, 2em);
        grid-template-columns: repeat(3,4em);
        gap: 1em;
        margin-top: 0.5em;  
    }
    .footer-home p, .footer-vinculos p{
        font-family:'Arial Narrow Bold', sans-serif;
        text-align: center;
        color: #fff;
        font-size: 0.8em;
        filter: drop-shadow(2px 2px 2px #000);
        margin-top: 1.3em;
    }
    .lldiseno a{
        font-family:'Arial Narrow Bold', sans-serif;
        font-size: 0.8em;
        color: #fff;
        filter: drop-shadow(2px 2px 2px #000);
        text-decoration: none;
        margin-right: 0em;
        margin-top: 0.7em;
    }

   /* EQUIPOS / SERVICIOS - Responsive-------------------------------------- */
   .equipos, .servicios, .instalaciones{
       grid-template-rows: repeat(2, minmax(15em, auto)); /* Ajusta la altura mínima de las filas */
       grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
       gap: 2em;
       justify-content: center;
       padding: 2em;
       display: grid;
    }    
    .equipos div img{
       height: 12em;            
    }
    .servicios div img{
        height: 10.5em;
        margin-top: 1em;
        margin-bottom: 0.5em;
    }     
    .instalaciones div img{
        max-width: 17em;
        height: auto;
        margin-top: 1.8em;
        margin-bottom: 1.2em;
    }      


    
}


/* FORMULARIO CONTACTO / MAPS------------------------------------------- */
form {
    width: 30em;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 1em;
}

.text-contact {
    text-align: center;
    color: #0006e2;
    font-size: 1.2em;
    margin: 1em;
}

input[type="text"],
input[type="email"],
textarea {
    width: 95%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 16px;
}

textarea {
    resize: vertical;
}

button[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    font-size: 18px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

#mensaje-exito {
    text-align: center;
    font-size: 1.2em;
    background-color: #4CAF50;
    color: white;
    padding: 1.5em;
    margin-top: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);
}

.maps{
    margin:0 auto;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    margin-top: 1em;
    margin-bottom: 2em;

}


/* FORMULARIO / MAPS - RESPONSIVE------- */
@media screen and (max-width: 600px) {
    form {
        width: 80%;
    }
    .maps iframe{
        width: 100%;
    }
}


/* WDM / MOTORARG --------------------------------------------------------- */
.wdm-title, .motorarg-title{
    border-bottom: 1px solid #000;
    margin: 1em 1em 0 1em;
}
.wdm-title img, .motorarg-title img{
    height: 3em;
}
.wdm-text, .motorarg-text{
    text-align: center;  
    font-weight: bold;  
    font-size: 1.2em;
    margin: 3% 0 3%;
    line-height: 1.5em;      
}

.contenedor-wdm-servicios{
    width: 55%;
    margin: auto;    
}

@media (max-width: 600px){
    .contenedor-wdm-servicios{
        width: 90%;
        margin: auto;
    }
    .wdm-text, .motorarg-text{
        text-align: center;  
        font-weight: bold;  
        font-size: 1.2em;
        margin: 2em 0 2em;
        line-height: 1.5em;    
    }
}

.wdm-servicios{
    display: grid;
    grid-template-rows: repeat(1, minmax(5em, auto)); /* Ajusta la altura mínima de las filas */
    grid-template-columns: repeat(auto-fit, minmax(5em, 1fr));
    gap: 2em;
    justify-content: center;
    padding: 2em;
    margin-bottom: 4em;    
}

.wdm-servicios > div{
    min-width: 5em;
    min-height: 5em;
    position: relative;
    text-align: center;      
}

.wdm-servicios div img{
    height: 5em;
}
.wdm-servicios div h3{
    color: #0006e2;
    font-size: 1em;    
    text-align: center ;    
    padding-top: 0.4em;    
    width: 100%; /* Ancho total de la caja */
    position: absolute;    
}

/* MOTORARG-------------------------------------------- */
.motorarg-marcas{
    display: grid;
    grid-template-rows: repeat(2, minmax(5em, auto)); /* Ajusta la altura mínima de las filas */
    grid-template-columns: repeat(auto-fill, minmax(18em, 1fr));
    gap: 2em;
    justify-content: center;
    padding: 2em;
    margin-bottom: 4em;
    
}

.motorarg-marcas div{
    min-width: 5em;
    min-height: 5em;
    position: relative;
    text-align: center;  
}

.line-1 img{
    height: 3em;
}
.line-2 img{
    height: 6em;
}

.contenedor-marcas-motorarg{
    width: 85%;
    margin: auto;
}


/* EMPRESA--------------------------------------- */
.empresa-text{
    color: #0006e2; 
    text-align: center;  
    font-weight: bold;  
    font-size: 1.2em;
    margin: 3% 0 3%;
    line-height: 1.5em;    
}


.video-container{
    position: relative;
    
    margin: 0 5% 2% 5%;

    padding-bottom: 56.25%; 
    height: 0;
    
}
.video-container iframe{
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 600px){
    .empresa-text{
        margin: 2em 0 2em;
    }

}