:root {
  --color1: #7f1416;
  /* --color2: rgba(23, 180, 83, 0.877); */
  /* --color3: rgba(11,194,211, 0.623);  */
  --fondo: #f2f2f2;
  --titulos: 33px;
  --margenes: 60px;
  --espacios: 10px;
  --espacios-contenido: 45px;
  font-family: Georgia, Times, "Times New Roman", serif;
}

@font-face {
  font-family: 'Georgia';
  src: url('/fonts/Georgia.woff') format('woff'),
    url('/fonts/Georgia.ttf') format('truetype'),
    url('/fonts/Georgia.svg#Georgia') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Georgia';
  src: url('/fonts/Georgia-Bold.woff') format('woff'),
    url('/fonts/Georgia-Bold.ttf') format('truetype'),
    url('/fonts/Georgia-Bold.svg#Georgia-Bold') format('svg');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

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

body {
  background: var(--fondo);
}

ul li{
  list-style-type: square;
}

li {
  list-style-type: circle;
}

img {
  vertical-align: top;

}

.textos {
  width: 100%;
  /* para no ocultar el logo en el movil */
  height: 70%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  /*color:#fff;*/
  overflow: hidden;
  text-align: center;
}

.textos>h1 {
  font-size: 80px;
  color: var(--color1);
}

.textos>h2 {
  font-size: 30px;
  font-weight: 300;
}

.textos>h3 {
  font-size: 25px;
  font-weight: 200;
}



/* Preloader *****************************************************************/
.hidden {
  overflow: hidden;
}

.centrado {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lds-facebook {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}

.lds-facebook div {
  display: inline-block;
  position: absolute;
  left: 6px;
  width: 13px;
  background: #cef;
  animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lds-facebook div:nth-child(1) {
  left: 6px;
  animation-delay: -0.24s;
}

.lds-facebook div:nth-child(2) {
  left: 26px;
  animation-delay: -0.12s;
}

.lds-facebook div:nth-child(3) {
  left: 45px;
  animation-delay: 0;
}

@keyframes lds-facebook {
  0% {
    top: 6px;
    height: 51px;
  }

  50%,
  100% {
    top: 19px;
    height: 26px;
  }
}

/* Header *********************************************************/
header {
  /* background-position, linear-gradient = problemas en ios iPados */
  /* 
  width: 100%;
  height: 850px;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.8),
      rgba(100, 32, 32, 0.6)), url(../img/fondo.jpg);
  background-attachment: fixed; 
  background-position: center;
  background-size: cover; 
  */
  width: 100%;
  height: 850px;
  background:  url(../img/fondo2.jpg);
  background-position-x: 40%;
  background-position-y: 0%;
 
  background-size: cover;

  
}

nav {
  font-family: Arial, Helvetica, sans-serif;
  width: 100%;
  position: fixed;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5)
}

.nav1 {
  background: transparent;
  /* height: 80px; */
  height: 100px;
  color: var(--color);
}

.nav2 {
  background: var(--fondo);
  height: 100px;
  color: var(--color);
}

.contenedor-nav {
  display: flex;
  margin: auto;
  width: 90%;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  height: inherit;
  overflow: hidden;
}

nav .enlaces a {
  display: inline-block;

  padding: 5px 0;
  margin-right: 10px;
  font-size: 17px;
  /*font-weight: 200;*/
  font-weight: bold;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  color: var(--color1)
}

nav .enlaces a:hover {
  border-bottom: solid var(--color1);
  color: #231f20;
  transition: 0.4s;
  padding-right: 6px;
  padding-left: 6px;
  /* background: #f3e9e9; */
}

.logo,
.logo img {
  height: 80px;
  color: var(--color1)
}

.icono {
  display: none;
  font-size: 30px;
  padding: 23.5px 20px;
  color: #7f1416;
}

/* Main ***************************************************/
.contenedor {
  margin: auto;
  padding: var(--margenes) 0;
  width: 90%;
  max-width: 1000px;
  text-align: center;
  overflow: hidden;
}

.contenedor h3 {
  font-size: var(--titulos);
  color: var(--color1);
  margin-bottom: var(--espacios);
}

.contenedor p {
  font-size: var(--subtitulos);
  font-weight: 300;
  color: var(--color1);
}

.after::after {
  content: '';
  display: block;
  margin: auto;
  margin-top: var(--espacios);
  width: 500px;
  height: 2px;
  background: var(--color1);
  margin-bottom: var(--espacios-contenido);
}

.card {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.content-card {
  width: 31%;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
  overflow: hidden;
  height: 400px;
}

.people {
  height: 80%;
}

.content-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.texto-team {
  height: 20%;
  width: 100%;
  padding: var(--espacios) 0;
}

/* About *********************************************************/
.about {
  width: 100%;
  height: auto;
  background: rgb(175, 175, 175);
  /* height: auto; */
}

.about img {
  margin: 10px;
}

.about p {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.caja-servicios h4 {
  font-weight: 700;
}


/* Services *********************************************************/

.lista-servicios {
  text-align: left;
}



.lista-servicios li {
  font-family: Arial, Helvetica, sans-serif;
  /* margin-bottom: 2px; */
}

.lista-servicios h1 {
  color: var(--color1);
  margin-bottom: 5px;
}

.servicios {
  display: flex;
  color: #fff;
  justify-content: space-between;
  margin: auto;
  flex-wrap: wrap;
}


.caja-servicios {
  width: 80%;
  margin: auto;
  text-align: center;
}

.caja-servicios>h4 {
  margin-bottom: var(--espacios-contenido);
}

.caja-servicios>p {
  text-align: center;
  margin-bottom: var(--espacios-contenido);
}

/* TEAM *********************************************************/

.team {
  width: 100%;
  height: auto;
  /* background: url(img/teclado2.jpg); */
  /* height: auto; */
}



/* FOOTER *********************************************************/

footer {
  background: rgb(175, 175, 175);
}

footer p {
  margin-top: var(--espacios);
  color: #FFF;
}



.aviso p {
  font-family: Arial, Helvetica, sans-serif;
  color: rgb(255, 255, 255);
  /*color: var(--color1);*/
  /*font-weight: bold*/
}

.aviso a {
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  white-space: nowrap;
  /*color: var(--color1);*/
  /*font-weight: bold*/
}
.aviso span {
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  padding:10px;
  /*color: var(--color1);*/
  /*font-weight: bold*/
}

/* Formulario *********************************************************/
/* Style inputs, select elements and textareas */
input[type=text],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

input[type=email] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input[type=number] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input[type=tel] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input[type=text] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}


/* Style the label to display next to the inputs */
label {
  padding: 12px 12px 12px 0;
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
}

/* Style the submit button */
input[type=submit] {

-webkit-appearance: none;
  background-color: var(--color1);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 100;
}

/* Style the container */
.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 50px;
}

/* Floating column for labels: 25% width */
.col-25 {
  float: left;
  width: 25%;
  margin-top: 3px;
  text-align: left;
}

/* Floating column for inputs: 75% width */
.col-75 {
  float: left;
  width: 75%;
  margin-top: 3px;
}


/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* AVISO (legal y cookies ******************************************/

.after2::after {
  content: '';
  display: block;
  margin: auto;
  margin-top: var(--espacios);
  width: 500px;
  height: 2px;
  background: #FFF;
  margin-bottom: var(--espacios);
}


/* PANTALLA menos de 800px ancho ***********************************/

@media screen and (max-width: 800px) {
  .nav2 {
    color: var(--color1);
  }

  .icono {
    display: block;
    cursor: pointer;
    color: #7f1416
  }

  .enlaces {
    width: 100%;
    position: fixed;
    top: 100px;
    background: rgba(210, 210, 210, 0.8);
    color: var(--color1);
    right: 0;
    height: 100%;
    transition: 1s;
    width: 0;
    /*para que no se muestre el menu al cargar */
    /* padding-left: 300px; */
    overflow: hidden;
  }

  .enlaces a {
    display: block;
    text-align: right;
    width: 92%;
    height: 30px;
    margin-bottom: 10px;
    border-bottom: 3px solid transparent;
    color: var(--color1);

  }

  nav .enlaces a:hover {
    border-bottom: solid var(--color1);
    text-align: right;
    margin-left: 10px;
    padding-left: 30px;
    /* background: #f3e9e9; */
  }

  .textos>h1 {
    font-size: 70px;
  }

  .textos>h2 {
    font-size: 35px;
  }

  .content-card {
    width: 48%;
    margin-bottom: var(--margenes);
  }

  :root {
    --margenes: 30px;
  }
}

/* PANTALLA menos de 500px ancho ***********************************/
@media screen and (max-width: 500px) {
  :root {
    --espacios-contenido: 25px;
  }

  .content-card {
    width: 90%;
  }

  .caja-servicios {
    width: 90%;
    margin-bottom: var(--margenes);
  }

  .cont-work {
    width: 85%;
  }

  .marca-logo {
    width: 80%;
  }

  .iconos {
    margin: auto;
  }
  /* PARA REDUCIR el tamaño del formulario en el móvil */
  .container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 10px;
  }

}

/* Página de respuesta contact.php */
/* Style the submit button */
input[type=button] {
  background-color: var(--color1);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  
}

.mensajes {
  background: rgb(175, 175, 175);
}

/* COOKIES ************************************************/
#barraaceptacion {
  display:none;
  position:fixed;
  left:0px;
  right:0px;
  bottom:0px;
  padding-bottom:20px;
  width:100%;
  text-align:center;
  min-height:25%;
  background-color: rgba(127,20,22, 0.85);
  color:#fff;
  z-index:99999;
}

.inner {
  width:100%;
  position:absolute;
  padding-left:5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size:12px;
  top:30%;
}

.inner a.ok {
  background-color: white;
  color: var(--color1);
  padding: 8px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 100;
  cursor: pointer;
}

.inner a.info {
  color:#faff00;
  text-decoration:none;
}



/* PAginas aviso legal y politicas de privacidad y cookies */
.avisolegal{
  text-align: left;
}

.avisolegal h3{
  color: var(--color1)
}

.avisolegal h4{
  color: var(--color1)
}

.avisolegal p{
  font-family: Arial, Helvetica, sans-serif;
  color: #000;
}


.enlaces-aviso {
  text-decoration: none;
  right: 0;
  float: right;
  /*para que no se muestre el menu al cargar */
  /* padding-left: 300px; */

}

.enlaces-aviso a{
  text-decoration: none;
  color: black;
}