@import url('https://fonts.googleapis.com/css2?family=Grenze+Gotisch:wght@100&display=swap');   

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    background: #e9eeec;
    font-family: 'Arial';
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #0c0809;
    font-weight: 500;
    /*Cambia el grosor de la letra*/
}

.fondo{
    /*background: url(../imagenes/fondo.jpg);*/
    background: #8a6413;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #b3c9c7, #136a8a);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #c4dddb, #136a8a); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */


    
}


.contenedor {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    
    /*por si se pasa la imagen de tamaño, la corta hasta 100opx*/
}

.contenedor1 {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    padding: 60px 0;

}

h1 {
    font-size: 50px;
    color: lavender;
}

header::before {
    content: "";
    /*crea un margen inferior de 80 px en el header*/
    display: block;
    margin-bottom: 175px;
    /*Debe de ser el mismo que el del nav para que no se interponga*/

}


nav {
    width: 100%;
    /*el tamaño del contenedor barra de navegacion*/
    height: 150px;
    background: rgb(248, 244, 244);
    border-bottom: 10px solid rgba(2, 56, 89, 35);
    /*el borde de abajo del menu*/
    box-shadow: 1px 1px 10px 0 rgba(2, 23, 51, 50);
    position: fixed;
    top: 0;
    /*le indicamos que no tenga nada de margen en la parte superior para que se pueda ver la siguiente seccion*/
    z-index: 100;
    transition: ease-in-out 1s;
}

.nav .logo {
    height: 130px;
    /*el tamaño de la barra de navegacion*/

}

.nav {
    display: flex;
    /* Situa los elemntos del menu a lado del logotipo*/
    justify-content: space-between;
    /*separa los elementos del menu de navegacion empujandolos a la izquierda*/
    height: 150px;
    width: 100%;
    align-items: center;
    /*centramos el menu de forma vertical*/
}

.nav .logo img {
    height: 100%;
    /*la altura de la imagen*/
    vertical-align: top;
}

.menu {
    font-weight: 1000;
    transition: ease-in-out 1s;
    background: #7fceff;
    padding: 35px;
    border-radius: 30px;
}

.nav .menu a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    margin-right: 25px;
    font-size: 20px;
    transition: all ease-in-out .5s;
}

.nav .menu a span {
    margin-right: 5px;
    /*separamos las imagens del menu de la letra para que no esten tan juntass*/
}


.hamburguesa {
    width: 80px;
    color: white;
    /*le damos el tamaño al contenedor de la imagen*/
    height: 80px;
    text-align: center;
    /*para centrar la imagen dentro del contenedor*/
    z-index: 100;
    cursor: pointer;
    display: none;
    /*escondmos el icono de la hamburgesa */
    transition: ease-in-out 1s;
}

.hamburguesa>i {
    font-size: 30px;
    /*el tamaño de la hamburguesa*/
    line-height: 80px;
    /*centramos la imagen en todas su formas denntro del contenedor*/
}

header nav .menu a:hover {
    /*para el efecto del mouse cuando pasamos por los menus*/
    background: #f8f18e;
    /*border: 2px solid black;*/
    padding: 20px 10px;
    border-radius: 20px;
}

.principal {
    width: 100%;
    height: 700px;
    display: flex;
    justify-content: space-between;
    /*pone el texto y la imagen en la misma linea*/
    align-content: center;
    margin-top: 15px;
    border-bottom: 10px solid rgba(2, 23, 51, 50);
}

.principal>img {
    width: 550px;
    margin-left: 40px;
    animation: ease-in animacion 3s;
}

@keyframes animacion {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

.texto1 {
    margin: 60px 0 60px 60px;
    text-align: center;
}

.texto1 h1 {
    background: rgb(185, 47, 47);
    font-size: 40px;
    /*border-bottom: 5px solid rgba(292,235,206,92);
    border-left:  5px solid rgba(292,235,206,92);
    border-top:  5px solid rgba(292,235,206,92);
    border-right: 5px solid rgba(292,235,206,92);*/
    border-radius: 10px;
    padding: 5px 10px;
    box-shadow: 5px 5px 10px 0 rgba(2, 23, 51, 50);
}

.principal p {
    margin-top: 50px;
    color: #041f2b;
    font-size: 30px;
    text-align: justify;
    background: #91b7d6;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #498d5a, #bd6b07);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #65af5fbb, #cf7900); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    /*border-bottom: 5px solid rgba(224,37,0,88);
    border-left:  5px solid rgba(224,37,0,88);
    border-top:  5px solid rgba(224,37,0,88);
    border-right: 5px solid rgba(224,37,0,88);*/
    border-radius: 5px 10px;
    padding: 5px 10px;
    box-shadow: 5px 5px 10px 0 rgba(2, 23, 51, 50);
}

/*nosotros*/

.titulo {
    font-size: 50px;
    color: rgb(0, 0, 0);

}


.texto-nosotros p {
    color: #000;
}



.contenenos {
    display: flex;
    flex-wrap: wrap;
    margin-top: 60px;
    justify-content: space-around;
    border-bottom: 10px solid rgba(2, 23, 51, 50);
}


.texto-nosotros {
    width: 29%;
    background: #2154df;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #3e6bbe, #144ff0);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #4c6696, #134be6); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 20px;
    padding: 45px 30px 60px 30px;
    transition: 1s;
    text-align: center;
}

.texto-nosotros:hover {
    box-shadow: 10px -5px 4px rgba(2, 23, 51, 50);
}

.texto1 h1 span{
    font-family: 'Grenze Gotisch', cursive;
    font-size: 60px;
}
.texto-nosotros p .letra{
    font-family: 'Grenze Gotisch', cursive;
    font-size: 25px;
}


.texto-nosotros>i {
    font-size: 30px;
    color: #000;
    background: #19F700;
    display: inline-block;
    width: 70px;
    height: 70px;
    text-align: center;
    padding-top: 20px;
    border-radius: 50px;
    box-shadow: 10px -5px 4px rgba(0, 0, 0);
}

.texto-nosotros>p {
    color: rgb(255, 251, 251);
    margin-top: 15px;
    padding-bottom: 20px;
    text-align: justify;
}

/*Tabla*/
.contenedortab {
    
}


.contenedortab {
    width: 95%;
    max-width: 900px;
    margin: auto;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.preciotab {
    width: 5%;
    height: 500px;
    margin: auto;
    border: 5px solid rgb(133, 221, 233);
    border-radius: 10px;
    box-shadow: 0px 0px 4px 0px #000;
    padding: 100px;
    text-align: center;
    flex-grow: 1;
    color: #000000;
}

.preciotab>h3 {
    font-size: 20px;
    margin-bottom: 35px;
}

.preciotab>img {
    width: 60px;
    margin-bottom: 35px;
}

.preciotab>h4 {
    font-size: 25px;
    margin-bottom: 20px;
}

.boton {
    display: inline-block;
    width: 110px;
    padding: 12px;
    background: #b8a199;
    text-decoration: none;
    color: white;
    border-radius: 100px;
    text-align: center;
    font-size: 14px;
    margin: 10px 10px 10px -30px;
}

.preciotab:hover {
    background: #f1f1ea;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #bdbcba, #1877cf);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right,#bdbcba, #1877cf); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    transition: 2s all;
    color: black;
    transform: scale(1.1);
    cursor: pointers;

}

.preciotab>h3 {
    color: black;
    
    border-radius: 15px;
}

.cambiate {
    padding-top: 30px;
    
}

.cambiate1 {
    display: flex;
    justify-content: space-evenly;

}

.cambiate2 {
    width: 60%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.cambiate2 .internet {
    width: 45%;
    background: #1c98eb;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #FFFFFF, #6DD5FA, #5c9ac4);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #FFFFFF, #6DD5FA, #5899c4); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: white;
    border-radius: 10px;
    padding: 35px 40px;
    margin-bottom: 20px;
}

.cambiate2 .internet h4 {
    font-size: 20px;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.cambiate-lado {
    width: 37%;
}

.cambiate-lado h4 {
    font-size: 40px;
    text-align: center;
}

.cambiate-lado p {
    margin: 20px 0;
    font-size: 30px;
    text-align: center;
}

/*Pie de pagina*/
footer {
    background: rgb(248, 244, 244);
    padding: 5px 0;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: auto;
}

footer {
    border-top: 10px solid rgba(2, 56, 89, 35);
}

.piepagina h4{
    font-size: 35px;
    color: cornsilk;
}

.piepagina1{
    width: 0cm;
    height: 8cm;
    display: flex;
    justify-content: space-evenly;
    
    /*le indicamos que no tenga nada de margen en la parte superior para que se pueda ver la siguiente seccion*/
    
}

.piepagina {
    width: 60%;
    text-align: center;
}

.piepagina h5 {
    color: rgb(0, 0, 0);
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.piepagina img {
    width: 190px;
}

.piepagina h4{
    font-size: 18px;
    color: rgb(0, 0, 0);
    
}
.piepagina .redes a {
    font-size: 18px;
    display: inline-block;
    color: rgb(0, 0, 0);
    text-decoration: none;
    border: 1px solid #023859;
    border-radius: 15px;
    width: 125px;
    height: 35px;
    line-height: 36px;
    cursor: pointer;
    margin-top: 0;
    text-align: center;
    transition: all ease-in-out .3s;
    margin-right: 25px;
}

.redes a span {
    margin-right: 8px;
}

.redes a:hover {
    color: black;
    background: #d4d4d4;
    border-color: black;
}




@media screen and (max-width:1000px) {
    .menu {
        position: fixed;
        background: #3CA55C;  /* fallback for old browsers */
        background: -webkit-linear-gradient(to right, #B5AC49, #3CA55C);  /* Chrome 10-25, Safari 5.1-6 */
        background: linear-gradient(to right, #B5AC49, #3CA55C); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-evenly;
        clip-path: circle(0.4% at 100% 0);
    }

    .nav .menuefecto {
        clip-path: circle(120% at 100% 0);
    }

    
    .hamburguesa {
        display: block;
    }


    /*menu*/
    .nav .logo {
        height: 120px;
    }

    .titulo {
        font-size: 40px;
    }

    /*Bienvenido*/
    .principal {
        flex-direction: column;
        justify-content: space-evenly;
        height: 720px;
    }

    .principal>img {
        width: 650px;
    }

    .texto1 {
        margin: 0;
    }

    /*Nosotros*/

    .texto-nosotros {
        width: 60%;
    }

    /*precios*/
    .preciotab {
        width: 45%;
        max-width: none;
        margin-bottom: 40px;
        flex-grow: initial;
    }

    /*Cambiate*/
    .cambiate1 {
        flex-direction: column-reverse;
    }

    .cambiate2 {
        width: 100%;
    }

    .cambiate-lado {
        width: 100%;
    }

    .cambiate {
        margin-top: 610px;
    }

    footer {
        justify-content: space-between;
    }

    .piepagina {
        width: 40%;
        margin-bottom: 10px;
    }

    .piepagina h5 {
        font-size: 30px;
    }

    .piepagina .redes a {
        margin-bottom: 10px;
    }



}

@media screen and (max-width:600px) {
    .menu {
        position: fixed;
        background: #3CA55C;  /* fallback for old browsers */
        background: -webkit-linear-gradient(to right, #B5AC49, #3CA55C);  /* Chrome 10-25, Safari 5.1-6 */
        background: linear-gradient(to right, #B5AC49, #3CA55C); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-evenly;
        clip-path: circle(0.4% at 100% 0);
    }

    .nav .menuefecto {
        clip-path: circle(120% at 100% 0);
    }

    
    .hamburguesa {
        display: block;
    }





    .principal {
        flex-direction: column;
        justify-content: space-evenly;
        height: 700px;
    }

    .principal>img {
        width: 500px;
    }

    .titulo {
        text-align: center;
    }

    .texto-nosotros {
        width: 95%;
    }

    .preciotab {
        width: 45%;
        max-width: none;
    }

    .cambiate {
        margin-top: 610px;
    }

    .preciotab>h3 {
        font-size: 20px;
        padding: 0 40px;

    }
}

@media screen and (max-width:400px) {
    .principal>img {
        width: 300px;
    }

    .preciotab {
        width: 85%;
    }

    .cambiate {
        margin-top: 1950px;
    }

    .menu {
        position: fixed;
        background: #3CA55C;  /* fallback for old browsers */
        background: -webkit-linear-gradient(to right, #B5AC49, #3CA55C);  /* Chrome 10-25, Safari 5.1-6 */
        background: linear-gradient(to right, #B5AC49, #3CA55C); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-evenly;
        clip-path: circle(0.4% at 100% 0);
    }

    .nav .menuefecto {
        clip-path: circle(120% at 100% 0);
    }


    .nav .menu a {
        color: ivory;
    }

    .hamburguesa {
        display: block;
    }

    .cambiate2 .internet {
        width: 90%;
    }

    .piepagina h5 {
        font-size: 25px;
        text-align: center;
        margin-right: 20px;
    }


}