@charset "UTF-8";
/* CSS Document */
html {
  box-sizing: border-box;
}
body {
  margin: 0px;
  padding: 0px;
}

*,
*:before,
*:after {
  box-sizing: inherit;
  margin: 0%;
}

:root {
  --morado: #621e55;
  --azul: #021b79;
  --azul-claro: #0575e6;
  --rojo-claro: #dc281e;
  --rojo-fuerte: #f00000;
}
/***********************************************************/

body {
  position: relative;
  line-height: 1.8;
  font-size: 16px;
  line-height: 1.8;
  font-family: montserrat;
  margin: 0px auto;
  padding: 0px 0px;
}

/*------------ Menu ------------*/
ul {
  padding: 0;
  list-style: none;
  margin: 0;
}

p {
  margin-bottom: 15px;
}

/*-------------Menú--------------*/

#menu {
  position: fixed;
  padding: 1.5rem;
  margin: 1.5rem 0rem 0rem 0rem;
}
@media screen and (max-width: 600px) {
  #menu {
    position: fixed;
    padding: 0;
  }
}
.logo {
  width: 2.5em;
}
.logo-color {
  width: 5.1em;
}
.navegacion {
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  padding: 10vw;
  background-color: linear-gradient(
    to top,
    #dc281e,
    #f00000
  ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  transition: background-color 0.3s;
}
.navegacion.scroll {
  background-color: var(--cafe);
}
.navegacion a {
  text-decoration: none;
  color: #004e92;
  font-size: 1.4rem;
}
/*---------------Headroom-------------------*/
.headroom {
  will-change: transform;
  transition: transform 200ms linear;
}
.headroom--pinned {
  transform: translateY(0%);
}
.headroom--unpinned {
  transform: translateY(-100%);
}

/*----------------------------------*/

.lanzador-menu {
  text-decoration: none;
  color: #fff; /* color letra menu*/
  background-color: var(--rojo-fuerte);
  border-radius: 3px;
}

/*------------ MEDIA QUERIES MENU ------------*/

@media screen and (max-width: 600px) {
  .js .navegacion {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s;
    position: absolute;
    top: -25px;
    left: 30px;
    right: 90px;
    border-radius: 6px;
  }
  .js .navegacion a {
    color: gainsboro;
    padding: 5px 10px;
    border-top: 1px solid rgb(245, 93, 93); /*---- Color de línea*/
  }
  .js .navegacion.menu-desplegado {
    max-height: 380px;
  }

  /*----------------------------------*/

  .navegacion a {
    display: block;
    font-size: 2rem;
    right: 20%;
  }
  .lanzador-menu {
    z-index: 1;
    font-size: 2rem;
  }
  /*---Medida de boton---*/
  .lanzador-menu {
    text-decoration: none;
    padding: 6px 10px;
    margin: 0vw;
  }

  .menu-desplegado {
    margin: 15px 0px 0px 0px;
  }

  /*---------------- HOVER MENU -----------------------*/
  /*----- Hover de Botón menú ------*/
  .lanzador-menu {
    background-color: var(--rojo-fuerte);
    transition: background-color 0.5s;
  }

  .lanzador-menu:hover {
    background-color: var(--rojo-claro);
  }
}

.contenedor_menu {
  display: block;
  text-align: center;
}

/*---------------------------------------------*/

@media screen and (min-width: 601px) {
  .lanzador-menu {
    display: none;
  }

  .navegacion {
    position: absolute;
    top: -30px;
  }
  Body {
    margin-top: 60px;
  }
  .navegacion li {
    display: inline-block;
    margin-right: 15px;
  }
}

@media (max-width: 37.5em) {
  body {
    font-size: 1.2em;
  }
}



/*-----------  IMAGENES DE CABECERA-----------*/

h1 {
  font-size: 12vw;
  line-height: 1.2;
  margin-bottom: 0.5em;
  font-weight: bold;
  text-transform: uppercase;
}

.cabecera {
  /*background: linear-gradient(38deg, #000428, #004e92);*/
  color: gainsboro;
  display: flex;
  flex-direction: column;
  position: relative;
}
@media (min-width: 40em) {
  .cabecera {
    flex-direction: row;
  }
}

.cabecera_bloque1,
.cabecera_bloque2 {
  height:100%;
  width: 100%;
}
@media (min-width: 40em) {
  .cabecera_bloque1,
  .cabecera_bloque2 {
    height: 100%;
    width: 50%;
  }
}

.cabecera_titulo {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3em;
}

.cabecera img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  /*opacity: 0.4;
      filter: grayscale(100%);*/
}

.image {
  background: 004e92;
  margin: 2rem 0;
}

.image img {
  display: block;
  width: 100%;
}
@media (min-width) {
  .image {
    height: 500px;
    overflow: hidden;
  }
}

.navegacion {
  color: #fafafa;
  background: #0575e6; /* fallback for old browsers */
  background: #f00000; /* fallback for old browsers */
  background: -webkit-linear-gradient(
    to top,
    #dc281e,
    #f00000
  ); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(
    to top,
    #dc281e,
    #f00000
  ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

  padding: 0 1.5rem;
}
.navegacion ul {
  list-style: none;
  display: inline;
  padding: 1rem 2rem;
}
.navegacion a {
  color: inherit;
  text-decoration: none;
  padding: 1rem 2rem;
}
.navegacion a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
:root {
  --cols: 1.5rem 0 auto 0 11.5rem;
}

@media (min-width: 45rem) {
  :root {
    --cols: 1.5rem 2rem auto 2rem 1.5rem;
  }
}

@media (min-width: 60rem) {
  :root {
    --cols: 1.5rem 3rem auto 2rem 1.5rem;
  }
}
@media (min-width: 70rem) {
  :root {
    --cols: 1.5rem 5rem minmax(0, 50 rem 1fr);
  }
}

/*----------Pie de página ------------*/

.pie-pagina {
  display: block;
  color: white;
  margin: 0;
  padding: 1em 1em;
  background-color: var(--rojo-fuerte);
  text-align: center;
}

/*---------- Terminar Pie de página ------------*/
