*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0px 60px 30px 60px;
}

h1{ font-size: 3.5em;}
h2{ font-size: 2.7em;
    color: rgb(67, 67, 68);
    }
h3{ font-size: 2 em;}
h4{ font-size: 2.3em;
    color: rgb(67, 67, 68);
    }
p{ font-size: 1.25em;}
ul{list-style: none;}

button {
    font-size: 1.3em;
    font-weight: bold;
    padding: 10px 30px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.5);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    color: white;
    background-color: rgb(255, 155, 0);
}
button:hover {
    background-color: rgb(255, 115, 0);
}
.container{
    max-width: 1400px;
    margin: auto;
}

header{
    background-color: rgb(254,254,254);
}

header .container{
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
header nav{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 25px;
}
header nav a{
    font-size: 1.1em;
    padding: 5px 30px;
    text-decoration: none;
    font-weight: bold;
    color: black;
}
header .logo{
    height: 70px;
}

header .logo:hover{
    height: 72px;
}
nav a:hover{
    background: rgb(255, 155, 0);
    border-radius: 10px;
    color:rgb(236, 232, 241);
    transition: 0.5s;

}

#hero{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 130vh;
    color: rgb(243, 242, 241);
    background-image: url(img/Torre5.jpeg);
    background-repeat: no-repeat;
    background-size: cover ;
    background-position: center center;
    border-radius: 15px;
}
#hero h1{
    color: white;
    font-size: 2.5em;
}
#texthero .textart{
    margin: 30px;
    padding: 20px 30px;
    font-size: 1.2em;
}
#Nuestros-Servicios{
    background-color: rgb(30, 30, 30);
    color: white;
    text-align: center;
    border-radius: 15px;
}
#Nuestros-Servicios .container {
    padding: 150px 15px;
}
#Nuestros-Servicios h2{
    font-size:2.5em;
    color: rgb(243, 242, 241);
    margin-top: 0;    
}
#Nuestros-Servicios p{
    display: none;    
}
#Nuestros-Servicios .TC{
    background-position: center center;
    background-size: cover;
    padding: 50px;
    margin: 20px;
    border-radius: 15px;
}
.TC:first-child{
    background-image: url("img/InternetAV.avif");
    background-size: 80px 55px;
}
.TC:nth-child(2){
    background-image: url("img/Dedicado.jpg");
        
}
.TC:nth-child(3){
    background-image: url("img/EnlaceDatos.jpg");
    
}


/* Servicios */
.text-tituloservicios h2{
    text-align: center;
}
#container-inter{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0px;
    
}
#container-inter .i-inter{
    height: 190px;
    width: 340px;
    border-radius: 10px;
} 
#container-inter .text-internet h4{
    
    text-align: center;
    padding: 15px;
}
#container-inter .text-internet p{
    padding: 10px;
    text-align: left;
}
#planes {
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 5px;
}
#planes h4{
    text-align: center;
}

#planes .i-plan1{
    
    width: 300px;
    height: 220px;

}

#planes .i-plan2{
    width: 300px;
    height: 220px;

}
#planes .i-plan3{
    width: 300px;
    height: 220px;

}

#planes .i-plan4{
    width: 300px;
    height: 220px;

}

#container-TV{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0px;
}
#container-TV .i-TV{
    height: 190px;
    width: 340px;
    border-radius: 10px;
} 
#container-TV .text-TV h4{
    
    text-align: center;
    padding: 15px;
}
#container-TV .text-TV p{
    padding: 10px;
    text-align: left;
}

#container-TV .text-TVa {
    margin-top: 20px;
    margin-bottom: 30px;
}

#planesITV .TV-plan1{
    width: 300px;
    height: 220px;

}

#planesITV .TV-plan2{
    width: 300px;
    height: 220px;

}
#planesITV .TV-plan3{
    width: 300px;
    height: 220px;

}

#planesITV .TV-plan4{
    width: 300px;
    height: 220px;

}


#container-enlace{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0px;
}
#container-enlace .i-enlace{
    height: 190px;
    width: 340px;
    border-radius: 10px;
} 
#container-enlace .text-enlace h4{
    text-align: center;
    padding: 15px;
}
#container-enlace .text-enlace p{
    padding: 10px;
    text-align: left;
}
/* Empresa*/
.titulo-empre h2{
    text-align: center;
    
}
.contenedor-empresa{
    width: 92%;
    max-width:100vw;
    margin: auto;
    padding: 40px;
    display: flex;
    gap: 10px;
}
.img-empresa{
    background-size: cover;
    border-radius: 5px;
    box-shadow: 15px 15px 25px rgba(58, 3, 95, 0.5);
}
.texto-empresa{
    padding: 25px;
}
.texto-empresa p{
    font-size: 1em;
    line-height: 1.6em;
    text-align: justify;
    padding: 2px;
}


footer {
    background-color: rgb(230,230,230);
}
footer .container{
    width: 100%;
    height: 150px;
    background-image: url("img/bordetop.jpg");
    max-width: 100%vw;
    margin: 0;
    padding: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    
    
}
footer .container article{
    margin: 10px;
    padding: 12px;
    font-size: 0.6em;
    color: rgb(100,100,100);
}


footer .logo-a{
    margin: 25px 0px;
    height: 32px;
}
  
footer .fono{
    margin-top: 10px;
    margin-left: 110px;
    height: 40px;
}

footer .fono-contac h2{
    color: rgba(0,0,0,0.5);
    margin: 10px 0px;
    font-size: 1rem;
}


@media (min-width: 600px){
    
    header .container{
        flex-direction: row;
        justify-content: space-between;
        background-image: url("img/bordebajo.jpg");
        margin-bottom: 40px;
    }
    header nav{
        display: flex;
        flex-direction: row;
        padding: 0;
        padding-right: 30px;
    }

    #texthero .textart{
        margin: 30px;
        padding: 20px 30px;
        font-size: 1.5em;
    }
    #hero h1{
        color: white;
        font-size: 3.5em;
        }
    #Nuestros-Servicios .Servicios{
        display: flex;
        justify-content: center;
    }
    #Nuestros-Servicios h2{
        font-size:3.5em;
        color: rgb(243, 242, 241);
        margin-top: 0;  
        }
    #Nuestros-Servicios p{
        font-size: 1em;
        display: block;
        margin-bottom: 30px;
    }
    #Nuestros-Servicios h2{
        margin-top: 20px;
        margin-bottom: 40px;
    }
    #Nuestros-Servicios h3{
        font-size: 1.5em;
        margin-top: 120px;
        margin-bottom: 30px;
    }
    #Nuestros-Servicios .TC{
        padding: 50px;
        background-size: 100% 150px;
        background-repeat: no-repeat;
        background-position-y: 0;
        background-color: rgb(45, 45, 45);
        box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    }

    /* Servicios */
        .text-tituloservicios{
        text-align: center;
        padding: 30px;
        }
        /*Internet */
        #container-inter{
        margin-top: 30px;
        margin-left: 10px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        padding: 10px 0px;
        }
        #container-inter .text-internet p{
            margin-top: 30px;
            margin-left: 40px;
        }

        #container-inter .text-Inter{
            margin-top: 20px;
            margin-left: 50px;
        }

        #container-inter .i-inter{
            height: 350px;
            width: 600px;
            border-radius: 10px;
            box-shadow: 15px 15px 25px rgba(58, 3, 95, 0.5);
        } 

        .text-planes{
            text-align: center;
            padding: 50px;
        }

        #planes .i-plan1{
            width: 310px;
            height: 230px;

        }

        #planes .i-plan2{
            width: 310px;
            height: 230px;

        }
        #planes .i-plan3{
            width: 310px;
            height: 230px;

        }

        #planes .i-plan4{
            width: 310px;
            height: 230px;

        }

        #planes {
            background-color: rgb(173, 224, 248);
            display: flex;
            flex-direction: row;
            justify-content: center;
            padding: 10px 10px;
        }
        
        /* TV Cable */
        #container-TV{
            margin-top: 50px;
            margin-left: 10px;
            margin-bottom: 80px;
            display: flex;
            flex-direction: row;
            justify-content: center;
            padding: 10px 0px;
            } 
        
        #container-TV .text-TV p{
            text-align: center;
            margin-bottom: 30px;
        }
        #container-TV .text-TVa{
            margin-top: 20px;
            margin-right: 40px;
        }

        #container-TV .i-TV{
            height: 350px;
            width: 600px;
            border-radius: 10px;
            box-shadow: 15px 15px 25px rgba(58, 3, 95, 0.5);
        } 
        #planesITV {
            background-color: rgb(186, 248, 145);
            display: flex;
            flex-direction: row;
            justify-content: center;
            padding: 10px 10px;
        }
        #planesITV .TV-plan1{
            width: 310px;
            height: 230px;

        }

        #planesITV .TV-plan2{
            width: 310px;
            height: 230px;

        }
        #planesITV .TV-plan3{
            width: 310px;
            height: 230px;

        }

        #planesITV .TV-plan4{
            width: 310px;
            height: 230px;

        }

        /*Enlace de Datos*/
        #container-enlace .text-enlace p{
            margin-top: 30px;
            margin-left: 40px;
        }

        #container-enlace .text-enlace{
            margin-top: 20px;
            margin-left: 50px;
            } 
        #container-enlace{
            margin-top: 50px;
            margin-left: 10px;
            margin-bottom: 60px;
            display: flex;
            flex-direction: row;
            justify-content: center;
            padding: 10px 0px;
            } 

        #container-enlace .i-enlace{
            height: 350px;
            width: 600px;
            border-radius: 10px;
            box-shadow: 15px 15px 25px rgba(58, 3, 95, 0.5);
        } 
        /*Empresa */
        .contenedor-empresa{
            width: 92%;
            max-width:1400px;
            margin: auto;
            padding: 40px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            }
        footer .container{
            width: 100%;
            height: 150px;
            background-image: url("img/bordetop.jpg");
            max-width: 100% vw;
            margin: 50px 0px;
            padding: 40px;
            display: grid;
            grid-template-columns: 5fr 1fr 1fr 2fr;
            gap: 5px;
            
        }
        footer .text-footer{
            font-size: 1.3em;
            margin-left:5px;
        }
        footer .logo-att{
            margin-top: 0px;
            margin-left: 0px;
            margin-right: 50%;

        }
        footer .contacto-footer{
            margin-left: 5%;
            margin-right: 14px;
        }
        footer .fono-contac h2{
            font-size: 1.8rem;
            color: rgba(0,0,0,0.5) ;
        }
        
}

