*{
    padding: 0;
}

html {
    box-sizing: border-box;
    font-size: 62.5%; /* Reset para REMS - 62.5% = 10 px de 16 px standard para web */
}
*, *:before, *:after {
        box-sizing: inherit;
      }

body {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    line-height: 2.2rem;
}

/* Globales */

img {
    max-width: 100%;
}

iframe {
    max-width: 100%;
    border: solid;
    border-radius: 20px;
    border-color: #188ccb;
}

.contenedor {
    max-width: 95rem;
    margin: 0 auto;
}

h1 {
    font-size: 3rem;
}

h2 {
    color:black;
    font-size: 2rem;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

h3 {
    font-size: 2rem;
    text-align: center;
}

p {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.texto-borde {
    -webkit-text-stroke: 0.8px #188ccb;
    color: transparent; 
}

/* Utilidades */

.seccion {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.subtitulos {
    font-size: 2rem;
}

.fw-100 {
    font-weight: 100;
}

.fw-300 {
    font-weight: 300;
}

.fw-500 {
    font-weight: 500;
}

.fw-900 {
    font-weight: 900;
}

.centrar-texto {
    text-align: center;
}

.justificar-texto {
    text-align: justify;
}

.separacion {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Botones */

.boton {
    color: black;
    font-size: 2rem;
    font-weight: 100;
    text-decoration: none;
    text-align: center;
    display: block;
}

.otros-botones {
    color: #ffffff;
    background-color: rgb(2, 5, 36);
    font-weight: 400;
    text-decoration: none;
    border-radius: 5%;
    font-size: 1.5rem;
    padding: 1rem 3rem;
    margin-top: 3rem;
    display: inline-block;
    text-align: center;
}

.ver-todas {
    display: flex;
    justify-content: center;
}

.ver-todas a:hover {
    color: black;
    background-color: blanchedalmond;
}


/* Barra inicial logo */

.barra img {
    max-width: 20rem;
}

.navegacion{
    display: block;
}

.navegacion a {
    color: black;
    text-decoration: none;
    font-size: 1.5rem;
    margin-right: 2rem;
}

.navegacion a:hover {
    color: #188ccb;
}

@media (min-width:768px){
    .barra {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 0.2rem;
        padding-right: 3rem;
        padding-left: 3rem;
        margin-top: 1.5rem;
    }
    
    .barra img {
        max-width: 25rem;
    }
    
    .navegacion a {
        color: black;
        text-decoration: none;
        font-size: 1.8rem;
        margin-right: 2rem;
    }
    
    .navegacion a:hover {
        color: #188ccb;
    }
    
    .navegacion a:last-of-type {
        margin:0;
    }
    
}

/* header Index */

.container-portada {
    width: 100%;
    height: 20rem;
    position: relative;
    background-image: url(../img/crypto-3569795_1920.jpg);
    background-size: 100%;
    animation: movimiento 8s linear infinite alternate;
}

.container-portada-EPP {
    width: 100%;
    height: 33rem;
    position: relative;
    background-image: url(../img/EPP_Portada.jpg);
    background-size: 100%;
    animation: movimiento 8s linear infinite alternate;
}
.container-portada-desarrollo {
    width: 100%;
    height: 20rem;
    position: relative;
    background-image: url(../img/cog-wheels-2125183_1920.jpg);
    background-size: 100%;
    animation: movimiento 8s linear infinite alternate;
}

.container-portada-partes {
    width: 100%;
    height: 20rem;
    position: relative;
    background-image: url(../img/processor-2217771_1920.jpg);
    background-size: 100%;
    animation: movimiento 8s linear infinite alternate;
}

.container-portada-servicio {
    width: 100%;
    height: 20rem;
    position: relative;
    background-image: url(../img/call-center-1015274_1920.jpg);
    background-size: 100%;
    animation: movimiento 8s linear infinite alternate;
}

.container-portada-contacto {
    width: 100%;
    height: 20rem;
    position: relative;
    background-image: url(../img/digital-marketing-1433427_1920.jpg);
    background-size: 100%;
    animation: movimiento 8s linear infinite alternate;
}

.container-portada-gracias {
    width: 100%;
    height: 20rem;
    position: relative;
    background-image: url(../img/singapore-river-255116_1920.jpg);
    background-size: 100%;
    animation: movimiento 8s linear infinite alternate;
}

.container-portada-repuestos {
    width: 100%;
    height: 20rem;
    position: relative;
    background-image: url(../img/cog-wheels-2125169_1920.jpg);
    background-size: 100%;
    animation: movimiento 8s linear infinite alternate;
}

.container-portada-computadores {
    width: 100%;
    height: 20rem;
    position: relative;
    background-image: url(../img/imac-2354965_1920.jpg);
    background-size: 100%;
    animation: movimiento 8s linear infinite alternate;
}

.container-portada-impresoras {
    width: 100%;
    height: 20rem;
    position: relative;
    background-image: url(../img/printer-159612_1280.png);
    background-size: 100%;
    animation: movimiento 8s linear infinite alternate;
}

@keyframes movimiento {
    from{
        background-position: top left;
    } to{
        background-position: bottom right;
    }
}

.capa-gradiente{
    width: 100%;
    height: 100%;
    position: absolute;
    background: -webkit-linear-gradient(left, black, #0672d0);
    opacity: 0.5;
}

.details{
    width: 100%;
    max-width: 30rem;
    position: relative;
    top: 3rem;
    left: 1rem; 
    color: white;
}

.details h1{
    font-size: 2rem;
    font-weight: 500;
    line-height: 2rem;
}

.details p{
    text-align: justify;
    font-size: 2rem;
    font-weight: 300;
}

@media (min-width:768px){
    
    .container-portada {
        width: 100%;
        height: 33rem;
        position: relative;
        background-image: url(../img/crypto-3569795_1920.jpg);
        background-size: 100%;
        animation: movimiento 8s linear infinite alternate;
    }

    .container-portada-desarrollo {
        width: 100%;
        height: 33rem;
        position: relative;
        background-image: url(../img/cog-wheels-2125183_1920.jpg);
        background-size: 100%;
        animation: movimiento 8s linear infinite alternate;
    }
    
    .container-portada-partes {
        width: 100%;
        height: 33rem;
        position: relative;
        background-image: url(../img/processor-2217771_1920.jpg);
        background-size: 100%;
        animation: movimiento 8s linear infinite alternate;
    }

    .container-portada-servicio {
        width: 100%;
        height: 33rem;
        position: relative;
        background-image: url(../img/call-center-1015274_1920.jpg);
        background-size: 100%;
        animation: movimiento 8s linear infinite alternate;
    }

    .container-portada-contacto {
        width: 100%;
        height: 33rem;
        position: relative;
        background-image: url(../img/digital-marketing-1433427_1920.jpg);
        background-size: 100%;
        animation: movimiento 8s linear infinite alternate;
    }

    .container-portada-gracias {
        width: 100%;
        height: 33rem;
        position: relative;
        background-image: url(../img/singapore-river-255116_1920.jpg);
        background-size: 100%;
        animation: movimiento 8s linear infinite alternate;
    }

    .container-portada-repuestos {
        width: 100%;
        height: 33rem;
        position: relative;
        background-image: url(../img/cog-wheels-2125169_1920.jpg);
        background-size: 100%;
        animation: movimiento 8s linear infinite alternate;
    }

    .container-portada-computadores {
        width: 100%;
        height: 33rem;
        position: relative;
        background-image: url(../img/imac-2354965_1920.jpg);
        background-size: 100%;
        animation: movimiento 8s linear infinite alternate;
    }

    .container-portada-impresoras {
        width: 100%;
        height: 33rem;
        position: relative;
        background-image: url(../img/printer-159612_1280.png);
        background-size: 100%;
        animation: movimiento 8s linear infinite alternate;
    }

    @keyframes movimiento {
        from{
            background-position: top left;
        } to{
            background-position: bottom right;
        }
    }
    
    .capa-gradiente{
        width: 100%;
        height: 100%;
        position: absolute;
        background: -webkit-linear-gradient(left, black, #0672d0);
        opacity: 0.5;
    }
    
    .container-details{
        width: 100%;
        max-width: 95rem;
        position: relative;
        margin: auto;
    }
    
    .details{
        width: 100%;
        max-width: 45rem;
        position: relative;
        top: 11rem;
        left: 1rem; 
        color: white;
    }
    
    .details h1{
        font-size: 3rem;
        font-weight: 400;
        line-height: 4rem;
    }
    
    .details p{
        text-align: justify;
        font-size: 2rem;
        font-weight: 100;
    }
    
}

/* Anuncios */

@media (min-width:768px) {
    .contenedor-anuncios {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
}

@media (min-width:768px) {
    .contenedor-anuncios .anuncio {
        width: 33rem;
        height: 24rem;
        border-radius: 5%;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        margin: 1rem;
        text-align: center;
        transition: all 0.25s;
    }
}

.contenedor-anuncios .anuncio {
    width: 94%;
}

.contenedor-anuncios {
    padding-left: 2.5rem;
}

@media (min-width:768px) {
    .contenedor-anuncios .anuncio:hover {
        transform: translateY(-15px);
        box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.2);
    }
}

.contenedor-anuncios .anuncio:hover {
    transform: translateY(-5px);
}

.anuncio {
    border: 0.5rem solid #F6F6F6;
    background: #F6F6F6;
}

@media (min-width: 768px) {
    .anuncio {
        flex-basis: calc(33.3% - 2rem);
    }
}

.contenido-anuncio a {
    font-size: 1.5rem;
    font-weight: 900;
}

.contenido-anuncio a:hover {
    color:#188ccb;
}

.contenido-anuncio h3, .contenido-anuncio p{
    margin:0;
}

/* Footer */

.site-footer {
    background-color: rgb(2, 5, 36);
    margin: 0;
}

.contenedor-footer {
    padding: 2rem 1rem;
    display: flex;
    justify-content: space-between;
}

.navega-footer a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    margin-right: 5rem;
    display: block;
}

.navega-footer-otros a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    margin-right: 5rem;
    display: block;
    margin-left: 1rem;
}

@media (min-width: 768px) {
    .navega-footer a {
        display: inline-block;
        font-size: 1.8rem;
    }

    .navega-footer-otros a {
        display: inline-block;
        font-size: 1.5rem;
    }
}

.navega-footer a:hover {
    color: #bd1522;
}

.navega-footer-otros a:hover {
    color: #188ccb;
}

.navega-footer a:last-of-type {
    margin: 0;  
}

.copyright {
    margin: 1rem;
    color: white
}

.sophia{
    display: flex;
}
.sophia p{
    color:white;
    position: relative;
    text-align: left;
    font-size: 1.5rem;
    font-weight: 100;
    margin-bottom: 1rem;
}

.separacion-footer {
    display: flex;
    justify-content: left;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.reservados{
    margin-top: 1rem;
    margin-left: 1rem;
}

.reservados a{
    color:white;
    position: relative;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 100;
}

.reservados p{
    color:black;
    position: relative;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 500;
    margin-top:3rem;
    margin-bottom: 0.4rem;
}

.analisis h3{
    margin: 1rem;   
}

.analisis p{
    margin: 1rem;   
}
/* menu hamburguesa */

#btn-menu {
    display: none;
}


header label{
    font-size: 3rem;
    cursor: pointer;
    display: none;
}

.menu ul{
    display: flex;
    list-style: none;

}

.menu ul ul{
    display: none;
}

.menu a{
    display: block;
    font-size: 1.8rem;
    padding: 1rem 2rem;
    text-decoration:none;
    color: black;
}

.menu a:hover{
    color: #188ccb;
}

.menu a span {
    margin-left: 1rem;
}

.menu ul li:hover ul{
    display: block;
    position: absolute;
    z-index: 50;
    background:white;
}

@media (max-width:768px) {
    header label {
        display:block;
    }

    .menu {
        position: absolute;
        z-index: 50;
        top: 5rem;
        left: 0;
        width: 100%;
        transform: translateX(-100%);
        transition: all 0.8s;
    }

    .menu a:hover{
        color: #bd1522;
    }

    .menu ul{
        display: block;
        background: #188ccb;
        opacity: 0.95;
    }

    .menu ul li:hover ul {
        display: block;
        position: static;
        margin-left: 3rem;
        background: #188ccb;
    }

    #btn-menu:checked ~ .menu {
        transform: translateX(0%);
    }
}

/* Contacto */

legend{
    font-size: 2rem;
    color: #333333;
}

label{
    font-weight: 400;
    text-transform: unset;
    display: block;
}

input:not([type="submit"]),
textarea{
    padding: 0.5rem;
    display: block;
    width: 100%;
    background-color: #e1e1e1;
    margin-bottom: 1rem;
    border:none;
    border-radius: 1rem;
}

textarea{
    height: 20rem;
}

.boton.contacto{
    color: black;
    font-size: 2rem;
    font-weight: 100;
    text-decoration: none;
    text-align: center;
    display: block;
}

/* Iconos nosotros */

@media (min-width: 768px) {
    .iconos-nosotros {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 5rem;
    }
}


@media (min-width:768px) {
    .iconos-nosotros .icono {
        width: 33rem;
        height: 50rem;
        border-radius: 5%;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        margin: 1rem;
        text-align: center;
        transition: all 0.25s;
    }

    .iconos-nosotros .icono:hover {
        transform: translateY(-15px);
        box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.2);
    }
}

.icono {
    height: 52rem;
}

.iconos-nosotros .icono:hover {
    transform: translateY(-2px);
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.2);
}

.icono {
    border: 0.5rem solid #F6F6F6;
    background: #F6F6F6;
    text-align: center;
}

@media (min-width: 768px) {
    .icono {
        flex-basis: calc(33.3% - 2rem);
    }
}

.icono h3 {
    text-transform: capitalize;
    font-size: 1.5rem;
    font-weight: 900;
}

.icono p {
    font-size: 1.3rem;
    padding: 1rem;
    text-align: justify;
}

.icono a {
    font-weight: 900;
    text-decoration: none;
    font-size: 1.5rem;
    color: black;
}

.icono a:hover {
    color: #bd1522;
}
