:root {
  --azul-principal: #0071bc;
  --naranja-claro: #F38D47;
}

body{
  font-family: 'Montserrat', sans-serif;
  line-height: unset;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

div{
  flex: 1;
}

a {
    color: white;
}

a:hover {
    text-decoration: none;
}


span h2 {
    font-size: 1.5em;
    width: 100%;
    text-align: center;
}

.container{
	margin-top: 6em;
}

.titulo-proyectos {
  font-size: 2em;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
}

.row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 1em .5em 5em;
  margin-top: 1em;
}


/* COLUMNAS */
.column {
  -ms-flex: 25%; /* IE10 */
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.column img {
  vertical-align: middle;
  width: 100%;
}

.column a {
  display:inline-block;
  position:relative;
  margin-bottom: 8px;
}

.column a span{
  width: 100%;
  height: 100%;
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  color: white;
  display:none;
  background: rgba(243, 141, 71, 0.8);
}

.column a:hover span{
  display:block; 
}

.caja-galeria-hover {
  width: 100%;
  position: absolute;
  top: 50%;
  text-align: center;
  transform: translateY(-50%);
  }

.fa-plus-square{
  font-size: 1.5em;
  margin: 0 0 0.8em;
}

.modal{
  padding: 0;
}

.modal-dialog{
  width: 100%;
}

.modal-header {
  border-bottom: 0;
  padding: 0;
}

.modal-header .close{
  margin: 0;
  font-size: 2.5em;
  opacity: 1;
  z-index: 2;
  position: absolute;
  right: 0;
  top: -.3em;
  color: white;
  font-size: 40px;
  font-weight: bold;
  text-shadow: 0 0 0 #fff;
}

.modal-header .close:hover{
  color: var(--azul-principal);
}


.modal-body{
  padding: 0;
}

.modal-content {
  height: auto;
  background-color: #e2dedb;
}

.picture-proyectos{
  width: 100%;
}

.img-proyectos{
  width: 100%;
}
.img-proyectos2{
  display: none;
}

.mvideo-proyectos {
    width: 100%;
}

.mvideo-proyectos video{
  width: 100%;
}

.container-proyectos-video {
  text-align: center;
}

.container-proyectos-video .logo-proyectos {
    width: 60%;
}

.container-proyectos-video .descripcion {
  margin-bottom: 1.8em;  
}

.container-proyectos-video p {
  margin: 0;
  padding: 0 1.8em;
}

.container-proyectos-video .logo-atrapapesad {
    width: 48%;
}

.container-proyectos-ventana{
  width: 100%;
  padding: 2em;
  text-align: center;
}

.logo-proyectos{
    width: 80%;
}

.btn-proyecto{
  margin: 2em auto;
  background-color: var(--azul-principal);
  height: 3em;
  display: flex;
  align-items: center;
  width: 70%;
  border-radius: 0.8em;
}

.btn-proyecto:hover{
  background-color: var(--naranja-claro);

}

.btn-proyecto a{
  width: 100%;
  font-size: .7em;
  padding: 1em;
  text-align: center;
}

/* MINICÓMICS */
.body-minicomics{
  width: 100%;
}

.body-minicomics h3{
  width: 100%;
  text-align: center;
  color: var(--azul-principal);
  font-weight: 700;
  font-size: 1.5em;
}

.bloque-minicomics p{
  width: 100%;
  text-align: left;
  padding: 20px 30px 40px 30px;
  line-height: 1.3em;
  color: black;
  height: 60%;
}

.body-minicomics .container-proyectos-ventana{
  width: 100%;
  clear: both;
}

img.minicomics {
    width: 100%;
}

.boton-minicomics {
    max-width: 50%;
    margin: 1em auto .8em;
    height: 30px;
    padding: 10px;
    background-color: #0071bc;
    border-radius: 8px;
}

.boton-minicomics a {
    position: relative;
    top: -5px;
    text-decoration: none;
    color: white;
    font-size: .7em;
}

/* Cómic ¿Por qué España? */
#mAquarius .container-proyectos-ventana {
    margin: 0;
}



/* Responsive Layout - Dos Columnas */
@media screen and (max-width: 900px) {

  .column {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }
}


/* Responsive Layout - Una Columna */
@media screen and (max-width: 600px) {
  .column {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
}

@media screen and (min-width: 601px) {
  .container, .container-md, .container-sm {
    max-width: none;
  }
}

@media (min-width: 1024px){


  /* Etiquetas del MODAL */

  .modal-dialog {
    max-width: 80%;
  }

  .modal-header .close {
    font-size: 2.5em;
  }

  .modal-body {
    margin-top: 1em;
  }

  /* Imagen Superior */
  .picture-proyectos{
    width: 35%;
    padding: 2em 0.2em 2em 2em;
    float: left;
  }

  .img-proyectos{
    width: 100%;
  }


  /* Imagen Inferior */
  .img-proyectos2{
    display: inline-block;
    width: 35%;
    float: left;
    padding: 2em 2em 2em 0.2em;;
  }


  /* Contenido Proyectos con Imágenes */
  .container-proyectos-ventana{
    width: 30%;
    padding: 1em;
    float: left;
  }

  .btn-proyecto{
    margin: 2em auto;
    height: 2em;
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 0.4em;
  }

  .btn-proyecto a {
    font-size: 0.7em;
  }

  .descripcion p {
    font-size: 0.8em;
  }

  /* Video */
  .mvideo-proyectos {
    width: 60%;
    float: left;
    padding: 2em;
  }

  .mvideo-proyectos video{
    position: relative;
    width: 100%;
  }

  /* Contenido Proyectos con Video */
  .container-proyectos-video{
    width: 40%;
    padding: 2em;
    float: left;
  }

  .container-proyectos-video .logo-proyectos {
    width: 40%;
  }

  .mbody-video{
    display: flex;
    align-items: center;
  }

  .container-proyectos-video .descripcion {
    margin-bottom: 0;
  }

  .embed-responsive-16by9::before {
    padding-top: 0;
  }

  .container-proyectos-video .logo-western{
    width: 60%;
  }


  .btn-proyecto-western{
    height: 3em;
    width: 60%;
  }

  /* MINICÓMICS */

  .bloque-minicomics {
    width: 50%;
    float: left;
    padding: 1em;
  }

}

@media (min-width: 1200px){
  .container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1400px;
  }
}

@media (min-width: 1280px){

/* Contenido Proyectos con Imágenes */

  .container-proyectos-ventana{
    margin-top: 50px;
  }

  /*Entre dos Tierras Texto*/

  .cont-fulltext{
    margin: 0;
  }

  /* MINICÓMICS */

  .bloque-minicomics {
    width: 25%;
  }

}

@media (min-width: 1680px){

 /* Contenido Proyectos con Imágenes */
  .container-proyectos-ventana{
    margin-top: 80px;
  }

  /*Entre dos Tierras Texto*/

  .cont-fulltext{
    margin: 0;
  }
}

@media (min-width: 1920px){
  .picture-proyectos{
    width: 33%;
    padding: 2em;
    float: left;
  }

  .img-proyectos{
    width: 100%;
  }

  .img-proyectos2{
    display: inline-block;
    width: 33%;
    float: left;
    padding: 2em;
  }

  .container-proyectos-ventana{
    width: 33%;
    padding: 2em;
    float: left;
  }

  .mvideo-info{
    width: 34%;
    padding: 2em 0 2em 2em;
  }

  .logo-proyectos{
    width: 60%;
  }

   .logo-western{
    width: 100%;
  }

  .btn-proyecto{
    margin: 4em auto;
    height: 3em;
    display: flex;
    align-items: center;
    width: 70%;
    border-radius: 0.8em;
  }

  .mvideo-info .btn-proyecto {
    width: 40%;
  }

  .btn-proyecto-western{
    margin: 2em auto 4em;
    width: 30%;
  }
}
