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

section:before {
    content: "";
    display: block;
    height: 135px;
    margin: -135px 0 0;
}

section {
    text-align: center;
}

html {
    font-size: 62.3%;
    font-family: 'Raleway', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    font-weight: 700;
    font-size: 1.8rem;
}

#logo {
    height: auto;
    vertical-align: middle;
}

header {
    position: fixed;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    padding: 5%;
    padding-top: 1.5%;
    padding-bottom: 1.5%;
    text-align: center;
}

header div {
    width: 70%;
    display: inline-flex;
    align-items: center;
    justify-content: left;
}

header img {
    width: 300px;
}

header ul,
li {
    display: inline-block;
}

header ul {
    list-style: none;
    margin-left: auto;
}

header li {
    cursor: pointer;
    padding-left: 30px;
}

header li:hover {
    color: rgb(214, 33, 62);
}

.contenedor {
    width: 100%;
    position: relative;
    display: inline-block;
    text-align: center;
    margin: auto;
    padding-top: 50px;
}

.contenedor img {
    width: 100%;
}

.centrado {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(214, 33, 63, 0.644);
    padding: 3.5%;
}

.texto1 {
    font-size: 12rem;
    font-weight: 900;
}

.texto2 {
    font-size: 4rem;
    font-weight: 600;
}

h1 {
    color: rgb(214, 33, 63);
    font-weight: 900;
    text-align: center;
    font-size: 6rem;
}

.bajadaprincipal {
    font-size: 2rem;
    margin: auto;
    text-align: justify;
}

.texto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70%;
    padding-top: 3%;
    text-align: center;
}

.negrita {
    font-weight: 700;
}

.rojo {
    color: rgb(214, 33, 63);
    font-weight: 700;
}

.linearoja {
    background-color: rgb(214, 33, 63);
    height: 15px;
    width: 10%;
    margin: 1.5%;
    float: left;
}

.bajada {
    width: 50%;
    text-align: justify;
    padding-right: 3%;
}

.bajada p {
    font-size: 2rem;
    padding-bottom: 3%;
}

.titulo {
    font-weight: 700;
    font-size: 3rem;
}

.contenido {
    font-weight: 400;
    font-size: 3rem;
}

.separador {
    padding-top: 2%;
    padding-bottom: 2%;
}

.fotonosotros {
    width: 50%;
}

.valores {
    width: 100%;
    position: relative;
    display: inline-block;
    text-align: center;
    margin-top: 2.5%;
}

h2 {
    color: white;
    font-weight: 900;
    text-align: center;
    font-size: 10rem;
    margin: auto;
    width: 100%;
}

.textovalores {
    width: 100%;
    position: absolute;
    top: 35%;
}

.textovalores ul {
    padding: 0;
}

.textovalores li {
    display: inline-block;
    padding: 30px;
    padding-bottom: 0;
}

.textovalores ul li {
    color: white;
    font-weight: 700;
    font-size: 4rem;
}

.contenedorservicios {
    width: 100%;
    padding-top: 3%;
}

.contenedorservicios p {
    font-weight: 600;
    text-align: center;
    font-size: 4rem;
}

#services {
    background-color: rgba(1, 1, 1, 0.1);
}

.tituloservicio {
    font-weight: 900;
    color: rgb(214, 33, 63);
    font-size: 2.5rem;
    text-align: center;
    border: rgb(199, 200, 202)2px solid;
    vertical-align: middle;
    height: 80px;
    padding-top: 2.5%;
}

/***** CARD *****/

.tarjetas {
    display: inline-block;
    text-align: center;
    width: 80%;
    padding: 2%;
}

.tarjetas div {
    background-color: white;
}

.flip-container {
    display: inline-block;
    position: relative;
    perspective: 1000px;
    transform-origin: 100% 200px;
    margin: 1%;
}

.flip-container:hover .flipper,
.flip-container.hover .flipper {
    transform: rotateX(-180deg);
}

.flip-container,
.front,
.back {
    width: 310px;
    height: 450px;
}

.flipper {
    transition: 0.5s;
    transform-style: preserve-3d;
    position: relative;
    transform-origin: 100% 225px;
}

.front,
.back {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    border: 5px white solid;
}

.front p,
.back p {
    padding: 1.5%;
}

.front img,
.back div:first-child {
    height: 80%;
}

.front div,
.back div:last-child {
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.front {
    z-index: 2;
}

.back {
    transform: rotateX(180deg);
}

/* FRONT */

.front img {
    display: block;
    width: 100%;
}

.front p {
    text-align: center;
    color: rgb(214, 33, 63);
    font-weight: 600;
    font-size: 2.5rem;
}

/* BACK */

.back div p {
    color: black;
    font-weight: 600;
    font-size: 1.5rem;
}

.back div:last-child a,
.back div:first-child p:first-child {
    color: rgb(214, 33, 63);
    font-weight: 600;
    font-size: 2.5rem;
    padding: 5%;
}

.back div:last-child a {
    border: 2px rgb(214, 33, 63) solid;
    transition: 0.5s;
}

.back div:last-child a:hover {
    color: rgba(0, 0, 0, 0.9);
}

/****** END CARD ******/

.porquenoseligen {
    width: 100%;
    color: white;
    background-color: rgb(214, 33, 63);
}

.textoeligen {
    font-weight: 800;
    font-size: 3rem;
    width: 70%;
    margin: auto;
    text-align: center;
    padding-top: 5%;
    padding-bottom: 5%;
}

.textoeligen p {
    font-weight: 500;
    font-size: 2.5rem;
    padding-top: 1%;
}

.textoeligen ul {
    list-style: none;
    padding-top: 2.5%;
}

.textoeligen ul li {
    width: 33.3%;
    float: left;
}

.cleaner {
    clear: both;
}

.textoeligen ul li p {
    font-weight: 700;
    font-size: 2.8rem;
}

.contacto {
    width: 100%;
    display: inline-flex;
    padding-top: 50px;
    background-image: url(../img/contacto.png);
    background-size: cover;
    padding-bottom: 5%;
}

.textocontacto {
    width: 50%;
    padding-left: 15%;
    font-size: 3rem;
    text-align: left;
}

.formcontacto {
    width: 40%;
    text-align: left;
}

.inputTexto {
    width: 80%;
    margin-top: 20px;
    padding: 5px;
    border: 4px rgba(214, 33, 63, 0.66) solid;
    background: transparent;
    color: rgb(214, 33, 63);
    font-size: 22pt;
}

.inputBoton { 
    display: block;
    margin-top: 20px;
    padding: 16px 32px;
    border: 4px rgba(214, 33, 63, 0.66) solid;
    background-color: rgba(214, 33, 63, 1);

    color: white;
    text-decoration: none;
    
    cursor: pointer;
}