@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;700&display=swap');

:root{
    --main-font: 'Poppins', sans-serif;
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    width: 100% !important;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body{
    background-color: rgb(24, 24, 24);
    font-family: var(--main-font) ;

}

a{
    font-family: var(--main-font);
    text-decoration: none;
}


/*      Navegación     */
.active{
    color: white !important;
    font-weight: bold !important;
}
.active_nav{
    /*
    background-color: rgb(24, 24, 24); */
    box-shadow: 0px 10px 4px 0px rgba(0,0,0,0.15);
    
    backdrop-filter: blur(20px);
}
.menu_active{
    width: 70% !important;
}
.nav{
    display: flex;
    justify-content: space-between;
    padding: 1rem 10%;
    position: fixed;
    width: 100%;
    align-items: center;
    z-index: 20;
    
}
.cont_logo{
    height: 2rem;
    width: 4rem;
}
.logo{
    background-image: url(../img/logo1.webp);
    background-size: 100%;
    background-repeat: no-repeat;
    display: flex;
    height: 100%;
    width: 100%;
    transition: all 0.2s;
    color: transparent;
}
.cont_enlaces{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 0.5fr;
    width: 50%;
    transition: all 0.4s;
}
.cont_enlaces button{
    margin: 0 auto;
}
.enlaces{
    margin: auto;
    font-weight: 300;
    position: relative;
    color: rgb(155, 155, 155);
}
.enlaces2{
    margin: auto;
    font-weight: 300;
    position: relative;
    color: white;
}
.enlaces:hover{
    color: white;
}
.lt_bck{
    background: linear-gradient(to top , rgb(24, 24, 24), rgba(255, 255, 255, 0));
    position: absolute;
    width: 100%;
    height: 105%;
    transition: all 0.3s;
}
.enlaces span:hover{
    background-size: 0%;
}
.logo:hover{
    scale: 1.1;
}
.boton_menu{
    background-color: transparent;
    border-color: transparent;
    display: none;
    color: transparent;

}
.banderas_logo{
    width: 2rem;
}
@media (max-width: 996px) {
    .boton_menu{
        display:flex;
    }
    .cont_enlaces{
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        flex-direction: column;
        width: 0%;
        height: 100vh;
        backdrop-filter: blur(20px);
    }
    .telefono,.whatsapp{
        width: 50px;
        height: 50px;
    }
    .botones_estaticos a{
        margin-left: 1rem;
    }
    h1{
        font-size: 1.2rem;
    }
    .main_img img{
        width: 15rem !important;
        margin: 3rem auto 1rem auto;
    }
}
.botones_estaticos{
    display: flex;
    position: fixed;
    right: 5%;
    bottom: 5%;
    z-index: 10;
}
.botones_estaticos a{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 2rem;
    padding: 0.5rem 0.5rem;
    border-radius: 50%;
    color: rgb(255, 255, 255);
    font-weight: 300;
    margin-bottom: 1rem;
}
.telefono{
    background-color: gray;
}
.whatsapp{
    background-color: green;
}
/*       Sección 1      */

.main_img{
    display: flex;
    flex-direction: column;
    background-image: url(../img/img1.webp);
    width: 100%;
    height: 100vh;
    background-size: cover ;
    background-repeat: no-repeat;
    background-position: center;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(255, 255, 255);
    box-shadow: 0 1rem 3rem black; 
}
.main_img img{
    width: 17rem;
    margin: 3rem auto 1rem auto;
}
.boton{
    background: linear-gradient(to left, rgb(9, 68, 107),rgb(46, 108, 158));
    border-radius: 0.5rem;
    padding: 0.1rem 1rem;
    margin: 1rem 0 0 0;
    color: white;
    border-color: transparent;
}
/*      Magia       */

.dot{
    background-color: rgba(66,201,255,1);
    height: 10px;
    width: 10px;
    border-radius: 50%;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-duration: 20s;
    animation-name: linear-dot
}
@keyframes linear-dot{
0% {
  transform: translatex(0)
} to {
  transform: translatex(100%)
}
}
.spinner,.spinner::after{
    position: absolute;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    z-index: 2;
    margin: auto ;
}

.spinner{
background-color: transparent;
box-shadow:  0px 0px 13px 2px white;
border-top: 3px dotted white;
border-right: 3px dotted white;
border-bottom: 3px dotted white;
border-left: 3px dotted white;
transform: translateZ(0);
animation-iteration-count: infinite;
animation-timing-function: linear;
animation-duration: 20s;
animation-name: spinner-loading;
cursor: pointer;
}
@keyframes spinner-loading{
0% {
  transform: rotate(0deg)
} to {
  transform: rotate(1turn)
}
}
.spinner:hover{
    border-top: 3px dotted rgb(21, 123, 142);
    border-right: 3px dotted rgb(21, 123, 142);
    border-bottom: 3px dotted rgb(21, 123, 142);
    border-left: 3px dotted rgb(21, 123, 142);
    box-shadow:  0px 0px 13px 2px rgb(21, 123, 142);
    animation-duration: 5s;
}
/*      Sección 2 nosotros     */

.nosotros{
    display: flex;
    flex-direction: column;
    margin-top: 8rem;
    text-align: center;

}
.nosotros h2{
    font-size: 2.7rem;
    color: rgba(255, 255, 255);
    position: relative;
    margin: auto;
}
.nosotros_cont{
    display: flex;
    width: 70%;
    margin: 5rem auto;
    justify-content: space-evenly;

}
.nosotros_cont p{
    width: 40%;
    color: rgba(255, 255, 255, 0.747);
    font-size: 1.2rem;
    line-height: 2;
}
.iconos_seccion2{
    width: 26rem;
    background-color:rgb(15, 15, 15) ;
    border-radius: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.iconos_seccion2 svg{
    box-shadow: 0.5rem 0.5rem 1rem rgba(0, 0, 0, 0.534);
    border-radius: 0.5rem;
    margin: auto auto;
}
.iconos_seccion2 p{
    font-weight:bold;
    font-size: 1rem;
    margin:auto auto 0 auto;
}
.iconos_seccion2 p:last-child{
    font-weight:bold;
    font-size: 1rem;
    margin:auto auto 0 0;
}

@media (max-width: 600px) {
    .nosotros_cont{
        flex-direction: column;
        width: 85%;
        margin: 2rem auto;
    }

    .iconos_seccion2{
        margin: 4rem auto auto auto;
        grid-template-columns: 1fr 1fr 1fr;
        width: 90% ;
    }
    .iconos_seccion2 svg{
        margin: auto auto 1rem auto;
        width: 60px;
        height: 60px;
    }
    .nosotros_cont p{
        width: 100%;
        color: rgba(255, 255, 255, 0.747);
        font-size: 0.9rem;
        line-height: 2;
        margin: auto auto;
    }
    .nosotros h2{
        font-size: 2rem;
        color: rgba(255, 255, 255);
        position: relative;
        margin: auto auto 1rem auto;
    }
    .nosotros2 svg{
        width: 45px;
        height: 45px;
    }
    .spinner{
        border-top: 2px dotted white;
        border-right: 2px dotted white;
        border-bottom: 2px dotted white;
        border-left: 2px dotted white;
    }
    
}
.nosotros2{
    display: grid;
    grid-template: 0.5fr 0.3fr 1fr/repeat(3, 1fr);
    width: 80%;
    margin: 3rem auto 1rem auto;
    color: white;
    margin-bottom: 3rem;
    column-gap: 5rem;
}
.nosotros2 h3{
    font-weight: 300;
    margin: 2rem auto 0 auto;
    color: rgb(255, 255, 255);
    font-size: 1.2rem;
    line-height: 2;
    font-weight: bold;
    padding: 0 2rem;
}
.nosotros2 svg{
    margin: auto;
    z-index: 4;
}
.cont_spinner{
    position: relative;
    display: flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    margin: auto;
}
.nosotros2 p{
    color: rgba(255, 255, 255, 0.747);
    font-size: 1rem;
    line-height: 1.5;
}
@media (max-width: 800px) {
    .nosotros2{
        width: 90%;
        grid-template-columns: 1fr ;
        grid-template-areas: "a d "
                               "b e "
                               "c f "
                               "g j"
                               "h k"
                               "i l";
     row-gap: 0;
     column-gap: 0;
        
    }.it1{
        grid-area: a;
    }.it2{
        grid-area: d;
    }.it3{
        grid-area:g;
    }.it4{
        grid-area:b;
    }.it5{
        grid-area:e;
    }.it6{
        grid-area:h;
    }.it7{
        grid-area:c;
    }.it8{
        grid-area:f;
    }.it9{
        grid-area:i;
    }
    .nosotros2 h3{
        color: rgb(255, 255, 255);
        font-size: 1rem;
        line-height: 2;
    }
    .nosotros2 p{
        font-size: 0.8rem;
        line-height: 1.5;
        margin: 2rem 0.5rem;
    }
    
}

/*    Sección 3 precios    */

.precios{
    display: flex;
    flex-direction: column;
    margin-top: 3rem;
    margin-bottom: 5rem;
    text-align: center;
    color: white;
}
.precios h2{
    font-size: 2.7rem;
    color: rgba(255, 255, 255);
    position: relative;
    margin: auto auto 5rem auto;
}
.precios_grid{
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin: auto;
    line-height: 2;
}

.movm:hover{
    box-shadow:   0px 2px 13px 2px rgba(66,201,255,1);
}

.bck_precios{
    display:block;
    height: 100%;
    background-color:#0f0f0f ;
    padding: 1rem 2rem;
    border-radius: 1rem;
}
.bck_precios svg{
    margin: auto;
}
.subr{
    font-weight: bold;
    color:rgb(46, 108, 158);
}

.boton2{
    display: flex;
    margin-top: auto;
    margin-bottom:0;
    justify-content: center;
    background-color: rgb(9, 68, 107);
    border-radius: 0.5rem;
    padding: 0.1rem 1rem;
    color: white;
}

@media (max-width: 800px) {
    .precios_grid{
        width: 70%;
        grid-template-columns: 1fr;
    }
    .bck_precios{
        margin: auto;
        font-size: 0.8rem;
    }
    .precios h2{
        font-size: 2rem;
        margin: auto auto 5rem auto;
    }
    .bck_precios svg{
        width: 40px;
        height: 40px;
    }
    
}


/*    Sección 4 proyectos    */

.proyectos{
    display: flex;
    flex-direction: column;
    margin-top: 5rem;
    margin-bottom: 8rem;
    text-align: center;
    color: white;
}
.proyectos h2{
    font-size: 2.7rem;
    color: rgba(255, 255, 255);
    position: relative;
    margin: 2rem auto 7rem auto;
}
.proyectos_cont{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    width: 90%;
    justify-content: space-between;
    margin: auto;
}
.proyectos_cont a{
    display: flex;
    justify-content: center;
    border-radius: 0.5rem;
    pointer-events: all;
    background-color: rgba(0, 0, 0, 0.459);
    background-size: 0;
    transition: all 0.3s;
}
.proyectos_cont_img{
    display: flex;
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 1rem 1rem 2rem black;
    z-index: -1;
}
.proyectos_cont a:hover{
    background-color: transparent;
    scale: 1.1;
    z-index: 1;
}

@media (max-width: 600px) {
    .proyectos_cont{
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .proyectos h2{
        font-size: 2rem;
        margin: 1rem auto 4rem auto;
    }
}

/*    Sección final Contacto    */

.contacto{
    display: flex;
    flex-direction: column;
    margin-top: 5rem;
    margin-bottom: 7rem;
    text-align: center;
    color: white;
}
.contacto h2{
    font-size: 2.7rem;
    color: rgba(255, 255, 255);
    position: relative;
    margin: auto auto 5rem auto;
}
.formulario{
    margin: auto;
}
fieldset{
    /* background-color: rgb(23, 23, 23) ; */
    border-color: transparent;
    border-radius: 1rem;
    padding:3rem 0;
    display: flex;
    justify-content: center;
}
fieldset img{
    width: 10rem;
    height: 5rem;
    margin: auto 3rem;
}
.input{
    width: 20rem;
    height: 2rem;
    margin: 1rem auto;
}
textarea{
    width: 20rem;
    height: 6rem;
    margin: 1rem auto;
}
.campos{
    margin: auto 2rem;
}
.contacto_whats p{
    font-weight: bold;
}
.contacto_whats{
    display: flex;
    flex-direction: column;
    background-color:#0f0f0f ;
    margin-top: 3rem;
    width: auto 80%;
    align-items: center;
}
.contacto_whats a{
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: white;
    padding: 0 1rem;
    border-radius: 0.5rem;
}

@media (max-width: 600px) {
    fieldset{
        padding:3rem 0;
        width: 90%;
        display: flex;
        flex-direction: column;
        margin: auto;
    }
    fieldset img{
        width: 30%;
        height: auto;
        margin: auto auto 2rem auto;
    }
    .input{
        width: 90%;
    }
    textarea{
        width: 90%;
    }
    .campos{
        margin: auto 2rem;
    }
    .contacto h2{
        font-size: 2rem;
        margin: auto auto 3rem auto;
    }
    .contacto_whats{
        font-size: 0.8rem;
    }
    .contacto_whats .telefono,.contacto_whats .whatsapp{
        width: 8rem;
        justify-content: center;
    }
    
}
/*       Footer      */

footer{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr  1fr;
    background-color: rgb(10, 10, 10);
    padding: 3rem;
    padding-bottom: 0.5rem;
}
.cont_foo{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.footer_img{
    width: 25%;
    margin: auto;
}
.foo_paq{
    margin: auto;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.foo_paq a{
    color: white;
    display: flex;
    flex-direction: column;
}
.foo_redes{
    color: white;
    display: grid;
    grid-template-rows: 1fr 1r 1fr;
    margin-right: 50%;
    margin-left: auto;
}
.foo_redes a{
    display: flex;
    color: white;
    align-items: center;
    margin-bottom: 1rem;

}
.foo_cop{
    grid-column: 1 / 4;
    grid-row: 2;
    margin: 4rem auto 0 auto;
    color: white;
}

@media (max-width: 600px) {
    footer{
        width: 100%;
        display: grid;
        grid-template-columns:1.5fr 1fr;
        padding: 1rem;
    }
    .footer_img{
        width: 50%;
        margin: auto;
    }
    .foo_redes a{
        font-size: 0.8rem;
    
    }
}