html{
        box-sizing: border-box;
        font-size: 62.5%;
}
*, *::before, *::after {
        box-sizing: inherit;
}

body{
        font-family: "Raleway", sans-serif;  
        font-size: 1.6rem;
        line-height: 2;
        background-color: #ffffff;
        margin: 0;
}
.parrafo_blanco{
        color: #baff85;
        text-shadow: 0 0 6px #2aff2e;
}

h1, h2, h3, h4{
        font-family: "Playfair Display", serif;
        margin: 0 0 5rem 0;
}
h1{
        font-size: 5rem;
}
h2{
        font-size: 3rem;
}
h3{
        font-size: 3rem;
}

/*globales*/

a{
        text-decoration: none;
        color: #000000;
    text-shadow: 0 0 6px #2aff2e;
}

img{
        max-width: 100%;
}

/*prueba de menu desplegable*/
.imgmenu{
        max-width: 100%;
    }
   .main-menu{
        justify-content: space-between;
        align-items: center;
        border-top: .1rem solid #7AFD25;
        border-bottom: .1rem solid #7AFD25;
        background: rgba(1, 68, 1);

   }
    .toggle-menu{
        position: absolute;
        top: .5rem;
        right: 1.5rem;
        cursor: pointer;
        filter: invert(1);
        width: 40px;
        z-index: 1;
    }
    .main-menu{
        list-style: none;
        margin-top: 0;
        margin-bottom: 0;
        padding-left: 0;
    
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: transform 0.3s;

        transform: translateY(-100%);
    }
    .main-menu--show {
        transform: translateY(0);
    }
    @media screen and (min-width: 768px){
        .main-menu{
            flex-direction: row;
            transform: translateY(0);
            
        }
        .toggle-menu{
            display: none;
            

        }
    }
    @media screen and (max-width: 768px){
        .main-nav{
                height: 40px;
        }
        .main-menu{
                background-color: #fff;
                background: rgba(1, 68, 1);
                position: relative;
                z-index: 1000; /
                
        }
        .toggle-menu{
                position: absolute;
                z-index: 2000; /
        }
    }
    .main-menu__item{
        padding: 1rem;
    }
    .main-menu__link{
        color: white;
        text-transform: uppercase;
        text-decoration: none;
    }

    .main-nav a {
        text-align: center;
        display: block;
        padding: 2rem;
        font-size: 2rem;
        transition: background-color .5s ease-out;
        border-radius: 2rem;
        color: #cbfcb8;

        
}
.main-nav a:hover{
        background-color: #66D71D;
        color: #fff;
        border-radius: 2rem;
}

  /**header y nacvegacion**/
.nombre-sitio{
        margin-top: 5rem;
     
        text-align: center;
        color: #000;
        text-shadow: 0 0 12px #2aff2e;
}
.nombre-sitio span{
        color: #7AFD25;
        text-shadow: 0 0 15px #7afd25;
}
.hero{
        background-image: url('../img/principal1.jpg');
    background-size: cover;
    background-position: center;
    height: 55rem;
   position: relative;
    overflow: hidden;
       
}

.enlace{
        text-transform: uppercase;
        font-weight: bold;
        text-decoration: none;
        color: #037bc0; 
}


.contenedor {
       max-width: 120rem;
       margin: 0 auto;
}

/**box model**/
/**listado categorias**/

.listado-categorias{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
}
.categorias{
        padding-top: 5rem;
}
.categorias h2{
        text-align: center;
}
.categoria a {
        text-align: center;
        display: block;
        padding: 2rem;
        font-size: 2rem; 
        border: 1px solid rgba(127, 255, 127, 0.3);
        color: #ffffff;
        border-bottom-right-radius: 2rem;
        transition: background-color .5s ease-out;
        
}
.categoria a:hover{
        background-color: #66D71D;
        border-color: #7afd25;
        color: #fff;
        border-bottom-right-radius: 2rem;
}
/**sobre nosotros**/
.content-nosotros{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
 }
 .imagen11{
        display: flex;
        justify-content: center;
 }
 .informacion-nosotros{
        padding: 5rem;
        text-align: justify;

 }
.sobre-nosotros{
        background-image: linear-gradient(
        to right,
        rgba(0,0,0,0.3) 50%,
        rgba(10,60,20,0.85) 50%
    ), url('../img/nos.jpg');
        background-size: cover;
    background-position: center;
    padding: 10rem 0;
    border-radius: 1rem; 
}
.sobre-nosotros-grid{
        display: flex;
        justify-content: flex-end;
}
.texto-nosotros {
        flex-basis: 50%;
        padding-left: 5rem;
        color: #fff;
    text-shadow: 0 0 6px #2aff2e;

        padding-top: 2.5rem;

}
.a1{
        padding-bottom: 7rem;
}
/**Utilidades**/
.text-center{
        text-align: center;
}
.btn {
        text-align: center;
        background-color: #00bc09;
        display: block;
        color: #fff;
        text-transform: uppercase;
        font-weight: 900;
        padding: 1rem;
        margin: 1.5rem;
        transition: background-color .5s ease-out;
        }  
.btn:hover{
        background-color: #769c02;
        }
.btn2 {
        text-align: center;
        background-color: #198f1f;
        box-shadow: 0 0 15px #fdf925;
        display: block;
        color: #fff;
        text-transform: uppercase;
        font-weight: 900;
        padding: 1rem;
        margin: 1.5rem;
        transition: background-color .5s ease-out;
        }  
.btn2:hover{
        background-color: #23b528;
    box-shadow: 0 0 15px #7afd25;
        }
        



.btn3 {
        text-align: center;
        background-color: #045b66;
        box-shadow: 0 0 15px #2571fd;
        display: block;
        color: #fff;
        text-transform: uppercase;
        font-weight: 900;
        padding: 1rem;
        margin: 1.5rem;
        transition: background-color .5s ease-out;
        }  
.btn3:hover{
        background-color: #048992;
        box-shadow: 0 0 15px #25effd;
        }
        
/**footer**/
.shift{
        margin: 0;
}
.site-footer{
        background-color: #0f170f;
    color: #b8ffb8;
    border-top: 1px solid #7afd25;
}

.grid-footer {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
}
.grid-footer div{
        text-align: center;
        padding-left: 2rem;
        padding-right: 2rem;
}

.footer-menu a{
        display: block;
        color: #7afd25;
}
.footer-menu a:hover{
        display: block;
        color: #baff85;
}
.site-footer h3{
        margin-bottom: .5rem;
}

.coppy{
        border-top: .1rem solid #e1e1e1;
        margin-top: 7rem;
        margin-bottom: 0;
        text-align: center;
}

/**galeria**/

.galeria{
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
}

.galeria img{
        height: 40rem;
        width: 40rem;
        object-fit: cover;
}

.formulario{
        max-width: 60rem;
        margin: 0 auto;

}

.formulario fieldset{
        border: .1rem solid black;
        margin-bottom: 2rem;

}

.formulario legend{
        background-color: #005485;
        width: 100%;
        text-align: center;
        color: #fff;
        text-transform: uppercase;
        font-weight: 900;
        padding: 1rem;
        margin-bottom: 4rem;

}

.campo{
        display: flex;
        margin-bottom: 2rem;

}
.campo label{
        flex-basis: 10rem;

}
.campo input:not([type="radio"]),
.campo textarea,
.campo select {
        flex: 1;
        border: .1rem solid #e1e1e1;
        padding: .1rem;
}

/**contenido blog**/
.contenedor-blog {
    display: grid;
    grid-template-columns: 2fr 1fr;
    column-gap: 4rem;
}

.entrada {
    border-bottom: .2rem solid #e1e1e1;
    padding-bottom: 4rem;
    margin-bottom: 2rem;
}

.entrada:last-of-type {
    border: none;
}
.entrada-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* evita que se rompa en pantallas pequeñas */
    gap: .5rem;
}
.entrada-meta p {
    font-weight: 900;
}

.entrada-meta span {
    color: #03c023;
}

/* ----- RESPONSIVE BLOG ----- */
@media(max-width: 1024px){
    .contenedor-blog {
        grid-template-columns: 1fr; /* blog arriba - sidebar abajo */
    }

    aside {
        margin-top: 4rem;
    }
}

@media(max-width: 768px){
    .entrada h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .entrada img {
        width: 100%;
        height: auto;
    }
}

@media(max-width: 480px){
    .contenedor-blog {
        column-gap: 2rem;
    }

    .entrada {
        padding-bottom: 2rem;
    }

    .entrada h2 {
        font-size: 1.4rem;
    }

    aside h3 {
        font-size: 1.3rem;
    }

    aside ul li {
        font-size: 1.1rem;
    }
}





.contenido-entrada-blog{
        width: 60rem;
        margin: 0 auto;
}
.contenido-entrada-blog h2{
        text-align: center;
}
.contenido-entrada-blog p{
        text-align: justify;
}

/**listado de productos**/
.contenido-principal{
        padding-top: 5rem;
}
.texto-producto{
        padding-top: 2rem;
}
.listado-productos{
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        column-gap: 2rem;
        row-gap: 2rem;
}
.producto:nth-child(1){
        grid-column-start: 1;
        grid-column-end: 7;
        display: grid;
        grid-template-columns: 3fr 1fr ;

}
.producto:nth-child(1) img{
        height: 48rem;
        width: 100%;
        object-fit: cover;
}

.producto:nth-child(2){
        grid-column-start: 1;
        grid-column-end: 4;
}
.producto:nth-child(2) img{
        height: 30rem;
        width: 100%;
        object-fit: cover;
}
.producto:nth-child(3){
        grid-column-start: 4;
        grid-column-end: 7;
}
.producto:nth-child(3) img{
        height: 30rem;
        width: 100%;
        object-fit: cover;
}
.producto:nth-child(4){
        grid-column-start: 1;
        grid-column-end: 3;
}
.producto:nth-child(5){
        grid-column-start: 3;
        grid-column-end: 5;
}
.producto:nth-child(6){
        grid-column-start: 5;
        grid-column-end: 7;
}
.producto{
        background-color: #037bc0;
}
.texto-producto{
        text-align: center;
        color: #fff;
}
.texto-producto h3{
        margin: 0;
}
.texto-producto{
        margin: 0 0 .5rem 0;
}
.texto-producto .precio{
        font-size: 2.8rem;
        font-weight: 900;
}


@media (max-width: 678px) {
    .grid-footer{
        display: block;
    }
    .sobre-nosotros-grid{
        display: block;
    }
    .sobre-nosotros{
        background-image: linear-gradient(to right, #5AB122 50%, #5AB122 50%, #5AB122 100%);
        padding: 4rem;
        height: 35rem;
        background-position: left center;
        background-repeat: no-repeat;
        background-size: 100%, 110rem;    
    }
    .listado-categorias{
        display: block;
    }
    .listado-categorias .categoria{
        display: flex;
        flex-direction: column;
        padding: 4rem;
        
    }
}

/*Proyectos*/
/*
.poryecto-1{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
}
.imagen-proyecto-1{
        grid-column: 1 / span 2;

}
.descripcion-proyecto-1{
        background-color: brown;
        text-align: center;
     
       
}
*/

.poryecto-1 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: start; /* Alinea los elementos al inicio del contenedor */
    }
    
.imagen-proyecto-1 {
        grid-column: 1 / span 2;
        height: 100%; /* Establece una altura del 100% para la imagen */
    }
    
.descripcion-proyecto-1 {
        background-color: brown;
        text-align: center;
        width: 100%;
        height: 100%; /* Establece una altura del 100% para el área de descripción */
}
    
.descripcion-proyecto-2{

        background-color:#005485;
        text-align: center;
        width: 100%;
        height: 100%; /* Establece una altura del 100% para el área de descripción */
}
.descripcion-proyecto-3{
        background-color: #05995b;
        text-align: center;
        width: 100%;
        height: 100%; /* Establece una altura del 100% para el área de descripción */
}
.descripcion-proyecto-4{
        background-color: #c3782c;
        text-align: center;
        width: 100%;
        height: 100%; /* Establece una altura del 100% para el área de descripción */
}
.descripcion-proyecto-5{
        background-color: #139724;
        text-align: center;
        width: 100%;
        height: 100%; /* Establece una altura del 100% para el área de descripción */
}
.descripcion-proyecto-6{
        background-color: #b65f08;
        text-align: center;
        width: 100%;
        height: 100%; /* Establece una altura del 100% para el área de descripción */
}
.descripcion-proyecto-7{
        background-color: #df21c5;
        text-align: center;
        width: 100%;
        height: 100%; /* Establece una altura del 100% para el área de descripción */
}
.descripcion-proyecto-8{
        background-color: #be0f43;
        text-align: center;
        width: 100%;
        height: 100%; /* Establece una altura del 100% para el área de descripción */
}
.descripcion-proyecto-9{
        background-color: #14a196;
        text-align: center;
        width: 100%;
        height: 100%; /* Establece una altura del 100% para el área de descripción */
}
.descripcion-proyecto-10{
        background-color: #946e06;
        text-align: center;
        width: 100%;
        height: 100%; /* Establece una altura del 100% para el área de descripción */
}
.descripcion-proyecto-11{
        background-color: #064699;
        text-align: center;
        width: 100%;
        height: 100%; /* Establece una altura del 100% para el área de descripción */
}
.descripcion-proyecto-12{
        background-color: #a709a7;
        text-align: center;
        width: 100%;
        height: 100%; /* Establece una altura del 100% para el área de descripción */
}
.descripcion-proyecto-13{
        background-color: #065f6b;
        text-align: center;
        width: 100%;
        height: 100%; /* Establece una altura del 100% para el área de descripción */
}
.descripcion-proyecto-14{
        background-color: #8f0a4d;
        text-align: center;
        width: 100%;
        height: 100%; /* Establece una altura del 100% para el área de descripción */
}
.descripcion-proyecto-15{
        background-color: #df9321;
        text-align: center;
        width: 100%;
        height: 100%; /* Establece una altura del 100% para el área de descripción */
}
.descripcion-proyecto-16{
        background-color: #096630;
        text-align: center;
        width: 100%;
        height: 100%; /* Establece una altura del 100% para el área de descripción */
}
.descripcion-proyecto-17{
        background-color: #000000;
        text-align: center;
        width: 100%;
        height: 100%; /* Establece una altura del 100% para el área de descripción */
}
/*18 proyecto mario*/
.descripcion-proyecto-18{
        background-color: #0e4641;
        text-align: center;
        width: 100%;
        height: 100%; /* Establece una altura del 100% para el área de descripción */
}

/*proyecto escolar*/
.descripcion-proyecto-19{
        background-color: #ff7c02;
        text-align: center;
        width: 100%;
        height: 100%; /* Establece una altura del 100% para el área de descripción */
}
.descripcion-proyecto-20{
        background-color: #4c046d;
        text-align: center;
        width: 100%;
        height: 100%; /* Establece una altura del 100% para el área de descripción */
}

.img-proye-1 {
        width: 100%; /* Asegura que la imagen ocupe todo el ancho del contenedor */
        height: 100%; /* Establece una altura del 100% para la imagen */
        object-fit: cover; /* Ajusta la imagen al tamaño del contenedor manteniendo la relación de aspecto */
}

.taitle-1{
        padding-bottom: 0;
        margin-bottom: 0;
        color: #fff;
}
.parraf-1{
        color: #fff;
        text-align: justify;
        padding-left: 5px;
        padding-right: 5px;
}
.btn-caminor{
        border-radius: 15px;
        padding: 10px;
        background-color: #e1e1e1;
        
}
/*
.img-proye-1{
        max-width: 100%;
        background-repeat: no-repeat;
        background-size: cover;
        
}
*/

@media (max-width: 1133px) {
    .parraf-1{
        font-size: 15px;
    }
    .taitle-1{
        font-size: 25px;
    }
}
@media (max-width: 1045px) {
        .parraf-1{
            font-size: 13px;
        }
        .taitle-1{
            font-size: 20px;
        }
    }
@media (max-width: 840px) {
    .poryecto-1{
        display: flex;
        flex-direction: column;
    }
}
@media (max-width: 550px) {
        .nombre-sitio{
                font-size: 30px;
            }
        .proye-titulo{
                font-size: 23px;
        }
}

/*Frames de muestra*/
.frames{
        display: flex;
        justify-content: center;
        align-items: center;
}
.frmae__1{
        width: 90%;
        height: 80vh;
        border: 3px solid brown;
}
.frmae__2{
        width: 90%;
        height: 80vh;
        border: 3px solid #139724;
}
.frmae__3{
        width: 90%;
        height: 80vh;
        border: 3px solid #005485
}
.frmae__4{
        width: 90%;
        height: 80vh;
        border: 3px solid #05995b;
}
.frmae__5{
        width: 90%;
        height: 80vh;
        border: 3px solid #c3782c;
}
.frmae__6{
        width: 90%;
        height: 80vh;
        border: 3px solid #b65f08;
}
.frmae__7{  
        width: 90%;
        height: 80vh;
        border: 3px solid #df21c5;
}
.frmae__8{
        width: 90%;
        height: 80vh;
        border: 3px solid #be0f43;
}
.frmae__9{
        width: 90%;
        height: 80vh;
        border: 3px solid #14a196;
}
.frmae__10{    
        width: 90%;
        height: 80vh;
        border: 3px solid #946e06;
}
.frmae__11{
        width: 90%;
        height: 80vh;
        border: 3px solid #064699;
}
.frmae__12{
        width: 90%;
        height: 80vh;
        border: 3px solid #a709a7;
}
.frmae__13{
        width: 90%;
        height: 80vh;
        border: 3px solid #065f6b;
}
.frmae__14{
        width: 90%;
        height: 80vh;
        border: 3px solid #8f0a4d;
}
.frmae__15{
        width: 90%;
        height: 80vh;
        border: 3px solid #df9321;
}

.frmae__16{
        width: 90%;
        height: 80vh;
        border: 3px solid #096630;
}
.frmae__17{
        width: 90%;
        height: 80vh;
        border: 3px solid #050505;
}
/*18 proye mario*/
.frmae__18{
        width: 90%;
        height: 80vh;
        border: 3px solid #0e4641;
}
/*18 proye escolar*/
.frmae__19{
        width: 90%;
        height: 80vh;
        border: 3px solid #ff7c02;
}
.frmae__20{
        width: 90%;
        height: 80vh;
        border: 3px solid #4c046d;
}


/*eduacion cursos en pagina index*/
.banercompleto {
    background-color: rgba(40, 75, 40, 0.7);
    border-radius: 1.5rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    box-shadow: 0 0 25px rgba(0,255,0,0.15);
}
.tarjeta-educacion {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(127, 255, 127, 0.2);
    border-radius: 1rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    backdrop-filter: blur(3px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.tarjeta-educacion:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(124,255,70,0.4);
}
.cursos-educacion{
        width: 400px;
}
.imagen-educacion{
        display: flex;
        justify-content: center;
        align-items: center;
}
.definicion-tarjeta{
        padding-left: 2rem;
        padding-right: 2rem;
        padding-bottom: 2rem;
        text-align: justify;
}
.alter2{
        border-radius: 1rem;
        
}
.boton-curso{
        padding-bottom: 2rem;
}

/*pagina del Curso*/
.educacion{
        margin: 15px;
}

.banercompleto1{
        background-color: #b1b0b0;
        border-radius: 2rem;
        max-width: 900px;
    width: 100%;
    margin: auto;
    padding: 10px, 15px;
}
.framess{
        width: 100%;

}
.educacion-cursos{
        width: 90%;
}

.definicion-tarjeta1{
        padding-left: 2rem;
        padding-right: 2rem;
        padding-bottom: 2rem;
        text-align: justify;
}
.alter21{
        border-radius: 1rem;
        
}
.boton-curso1{
        padding-bottom: 2rem;
}


/*BOTON DE DESCARGA DEL E-BOOK*/

.download-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #002200;
    color: #00ff00;
    border: 1px solid #00ff00;
    text-decoration: none;
}

.download-btn:hover {
    background-color: #004400;
}