* {
  margin: 0;
  padding: 0;
  /* outline: 1px solid red; */
}

:root {
  --azul-claro: #00C5F8;
  --azul-oscuro: #1022AB;
  --azul-oscuro-2: #16079b;
}

/* @import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400&display=swap'); */

main {
  box-sizing: border-box;
  /* font-family: Arial, Helvetica, sans-serif; */
  font-family: 'Open Sans', sans-serif;
  /* font-weight: 500; */
  font-size: 16px;


  width: 85%;
  margin: 10px auto;
  max-width: 1200px;
}

/* imagenes */
figure>img {
  width: 150%;
  /* transform: scaleY(1.5); */
  /* height: 550px; */
}

main figure{
  /* border:2px solid red; */
  /* max-width: 90%; */
  height: 110%;
  /* border:2px solid red; */
  margin: 0 auto;
}

/* CONTENEDOR LOGIN + FOTO 24/7 */
main>div {
  /* border:1px solid red; */
  width: 270px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  justify-content: right;
  align-content: flex-end;
  position: absolute;
  top: 10px;
  right: 20.2%;
  
}

/* LOGIN */
#login {
  padding: .5em;
  /* width: 40%; */
  color: white;
  background-image: linear-gradient(to right, var(--azul-claro) 25%, var(--azul-oscuro));
  border-radius: 0 0 20px 20px;
  box-shadow: 0px 2px  10px darkslategray;
  /* display: none; */
}

#login h3 {
  text-transform: uppercase;
}

#login form {
  width: 80%;
  margin: 1em auto;
}

#login form>div:first-of-type,
#login form>div:nth-of-type(2) {
  padding: 10px 0;
  display: flex;
  flex-direction: column;
}

#login form>div label{
  font-weight: bold;
}

#login #user,
#login #password {
  border: none;
  padding: 10px 2px;
  border-radius: 3px;
  height: 10px;
}

#login form>div:nth-of-type(3) {
  display: flex;
  justify-content: center;
}

input[type="submit"], .btn {
  padding: 5px 10px !important;
  border: 1px solid white;
  background-color: #1064AB;
  color: white;
  margin: 5px 0;
  cursor: pointer;
  text-decoration: none;
}

#login div:last-of-type {
  text-align: center;
}

#login div:last-of-type a {
  color: white;
}

/* IMAGEN 24_7 */
figure>img {
  font-size: 10em;
  color: rgba(8, 8, 90, 0.822);
  text-align: right;
  width: 100%;
  /* border:2px solid red; */
  /* padding-top: .3em; */
}

#reader>img {
  /* border:2px solid red; */
  padding-top: 1em;
  filter: drop-shadow(0 0 5px gray);
}


/* 24_7 READER */
section {
  width: 95%;
  margin: 0 auto;
  /* padding-top: 2.5em; */
}

section>h1 {
  font-size: 3em;
}

section h1,
section h2 {
  color: var(--azul-oscuro-2);
}

section h2 {
  font-weight: thin !important;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  padding-bottom: 1em;
}

/* CONTENIDO */
section>article {
  color: rgb(150, 150, 150);
  padding-bottom: 1em;
  font-size: .8em;
}

/* LINKS DESCARGA */
section>#descargar {
  /* display: flex; */
  justify-content: space-around;
  align-content: center;
  padding: 1em;
  width: 50%;
  margin: 0 auto;
  display: none;
}

#descargar>a {
  border: 1px solid var(--azul-oscuro-2);
  padding: .5em 1em;
  border-radius: 10px;
  text-decoration: none;
  color: var(--azul-oscuro-2);
  font-family: 'Open Sans', sans-serif;
  background-color: rgba(255, 255, 255, .7);
  margin-top: 10%;

  display: flex;
  justify-content: center;
  align-content: center;
  /* border:2px solid red; */
  width: 80%;
}

#descargar a>div {
  display: flex;
  align-items: center;
}

#descargar a>div i {
  padding-left: .7em;
  font-size: 1.1em;
}

#descargar>a span:first-of-type {
  font-weight: bolder;
  /* font-size: 1.1em; */
}

#descargar>a span:last-of-type {
  font-size: .8em;
  display: block;
}

#descargar {
  padding-left: .5em;
  font-size: 1.4em;
}

/* EMAIL CONTACTO */
section>p:last-of-type {
  padding: 1em;
  font-size: .7em;
  color: (150, 150, 150);
}

section>p:last-of-type>span {
  color: var(--azul-oscuro-2);
  font-weight: bold;
}

/* FOOTER */
main>footer {
  background-image: linear-gradient(to right, var(--azul-claro) 35%, var(--azul-oscuro));
}

/* Mobile */
@media screen and (max-width: 750px),
screen and (max-height: 360px) {
  main {
    width: 90%;
  }

  main>div {
    position: relative;
    margin: 10px auto;

    right: 0;
    left: 0;
    width: 100%;
    max-width: 400px;
  }

  main>div form {
    transform: scale(1.1);
    font-size: 1.1em;
  }

  main>div form input[type="submit"] {
    transform: scale(1.3);
    margin: 10px;
  }

  main>section {
    margin-top: 20px;
  }

  main>section h1,
  main>section h2 {
    text-align: center;
  }

  main section p {
    font-size: 1.5em;
  }

  main figure {
    display: none;
  }

  #descargar {
    padding: 0;
  }
}
/* Desktop muy grandes */

/* @media screen and (min-width: 1400px){
  main section {
    font-size: 2em;
  }
  main > div {
    top: 90px;
    transform: scale(1.5);
  }
} */