@import url('https://fonts.googleapis.com/css?family=Oxygen');
@import url('https://fonts.googleapis.com/css?family=Libre+Baskerville');
@import url('https://fonts.googleapis.com/css?family=Comfortaa');

:root {
  font-family: 'Oxygen', sans-serif;
  font-weight: bold;
  font-size: 16px;
  color: #fff;
}

html, body {
  margin: 0;
  padding: 0;
  font-size: 1.4em;
}

h2, h3, h4 {
  margin: 0;
  padding: 0.5em;
  font-family: 'Comfortaa', sans-serif;
  font-weight: 300;
}

h2 {font-size: 2rem;}

h3 {font-size: 1.6rem;}

h4 {font-size: 1.4rem;}

@media(min-width: 400px) {
  h2 {font-size: 3.5rem;}

  h3 {font-size: 2rem;}

  h4 {font-size: 1.8rem;}
}

@media(min-width: 700px) {
  h2 {font-size: 4rem;}

  h3 {font-size: 3.5rem;}

  h4 {font-size: 2.5rem;}
}

p {
  width: 60%;
  max-width: 950px;
  margin: 0 auto;
  padding: 1rem 0 2rem;
  font-size: 1rem;
}

@media(min-width: 400px) {
  p {
    font-size: 1.4rem;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img, video {
  max-width: 100%;
}

hr {
  border: 1px solid #396132;
  width: 80%;
}

header {
  background: #58dcff url("../img/template/bg-header.png") no-repeat center bottom;
  min-height: 560px;
  position: relative;
  box-sizing: border-box;
  text-align: center;
}

header p {
  max-width: 500px;
  font-size: 1.2rem;
}

@media(min-width: 400px) {
  header p {
    font-size: 1.4rem;
  }
}

section {
  text-align: center;
  overflow: hidden;
}

.aviso {
  background: #fff;
  padding: 0.5em;
  display: inline-block;
  color: #d43500;
  margin: 1em 70px;
  max-width: 1000px;
  box-sizing: border-box;
  position: relative;
}

.aviso p {
  max-width: none;
}

.aviso p:nth-child(2) {
  font-weight: normal;
}

.aviso:before, .aviso:after {
  content: "";
  position: absolute;
  width: 35px;
  height: 100%;
  top: 0;
}

.aviso:before {
  background: url("../img/template/before-aviso.png") no-repeat;
  background-size: 100% 100%;
  left: -35px;
}

.aviso:after {
  background: url("../img/template/after-aviso.png") no-repeat;
  background-size: 100% 100%;
  right: -35px;
}

.img-content {
  max-width: 80%;
  padding: 1em;
}

header .social {
  text-align: right;
  display: block;
  padding: 1em;
}

header .social a {
  position: inline-block;
  margin: 0.5em;
}

.logo {
  display: block;
  margin: 0 auto;
  width: 80%;
  max-width: 740px;
  padding: 1em;
}

.nav-scroll {
  position: absolute;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  bottom: -20px;
  width: 24px;
  background: #58dcff;
  border-radius: 100%;
  padding: 0.5em;
}

.nav-top {
  background: rgba(232, 98, 86, 0.8) url("../img/template/cd-top-arrow.svg") no-repeat center 50%;
  white-space: nowrap;
  text-indent: 100%;
  overflow: hidden;
  display: block;
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 40px;
  height: 40px;
}

#ranking {
  background: #4f2c1b;
}

#videos {
  background: #ff6900;
}

#utilidad {
  background: #ffc109;
}

#importancia {
  background: #32ca69;
}

#funcion {
  background: #ff6900;
}

#mitos-verdades {
  background: #15ac4c;
}

#preguntas {
  background: #15ac4c;
}

#ayuda {
  background: #58dcff url("../img/template/bg-header.png") center bottom no-repeat;
  color: #000;
}

#ayuda .social-icons {
  margin: 1em 0 5em;
  padding: 0;
}

#ayuda .social-icons li {
  background: #fff;
  border-radius: 100%;
  display: inline-block;
  height: 70px;
  width: 70px;
  margin: 1em 0.5em;
  cursor:pointer;
}

#ayuda h2, #mantenimiento h2 {
  background: url("../img/ayuda/bg-ayudanos.png") no-repeat top center;
  background-size: 100% 100%;
  font-size: 1.5rem;
  padding: 1.5em 2em;
  overflow: hidden;
  display: inline-block;
  margin: 1em;
}

@media(min-width: 800px) {
  #ayuda h2, #mantenimiento h2 {
    font-size: 2rem;
  }
}

#mantenimiento {
  background: #58dcff url("../img/template/bg-header.png") center bottom no-repeat;
  color: #000;
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.slide {
  position: relative;
}

.slide blockquote {
  font-weight: normal;
  text-align: right;
  position: absolute;
  bottom: 5em;
  right: 2em;
  display: none;
}

.slide blockquote p {
  background: rgba(255, 170, 9, 0.4);
  font-size: 0.5em;
  line-height: 1.6em;
  display: inline;
  padding: 0.075em;
  max-width: none;
}

.slide blockquote p::before, .slide blockquote p::after {
  background: none;
  font-family: 'Libre Baskerville', serif;
  font-size: 3rem;
  position: absolute;
}

.slide blockquote p::before {
  content: open-quote;
  left: -0.5em;
}

.slide blockquote p::after {
  content: close-quote;
  bottom: 0.25em;
}

.slide blockquote cite {
  font-weight: 700;
  margin-top: 1em;
  display: inline-block;
  font-size: 0.5em;
}

@media(min-width: 580px) {
  .slide blockquote {
    display: block;
  }
}

@media(min-width: 800px) {
  .slide blockquote {
    bottom: 3.5em;
  }

  .slide blockquote p {
    font-size: 1em;
  }

  .slide blockquote p::before, .slide blockquote p::after {
    font-size: 4rem;
  }

  .slide blockquote cite {
    font-size: 0.75em;
  }
}

@media(min-width: 900px) {
  .slide blockquote {
    bottom: 2em;
  }

  .slide blockquote p {
    font-size: 1.4em;
  }

  .slide blockquote p::before, .slide blockquote p::after {
    font-size: 6rem;
  }

  .slide blockquote cite {
    font-size: 1em;
  }
}

.slide blockquote cite span {
  font-weight: 300;
}

.slide blockquote cite:before {
  content: "- "
}

.carousel-loop {
  margin: 1em auto;
}

.carousel-loop img {
  max-height: 680px;
  overflow: hidden;
  display: block;
  margin: 0 auto;
  padding: 0 7.5%;
  box-sizing: border-box;
}

.title-icon {
  padding: 2em 1em 0;
  display: block;
  margin: 0 auto;
}



.tokio {
  background: #32ca69;
}

.tokio .habitantes-antena {
  background: url("../img/paises/japon-mapa.png") no-repeat center;
}

.reino-unido {
  background: #f4a320;
}

.reino-unido .habitantes-antena {
  background: url("../img/paises/londres-mapa.png") no-repeat center;
}

.brasil {
  background: #f57e20;
}

.brasil .habitantes-antena {
  background: url("../img/paises/sao-paulo-mapa.png") no-repeat center;
}

.chile {
  background: #ff5022;
}

.chile .habitantes-antena {
  background: url("../img/paises/santiago-mapa.png") no-repeat center;
}

.peru {
  background: #d43500;
}

.peru .habitantes-antena {
  background: url("../img/paises/lima-mapa.png") no-repeat center;
}

.habitantes-antena, .cantidades {
  display: block;
}

img.bandera {
  padding: 1em 1em 0;
}

.habitantes-antena {
  padding: 2em 1em 4em;
}

.habitantes-antena .cantidad {
  font-size: 4rem;
  display: inline-block;
  font-family: 'Comfortaa', sans-serif;
  padding: 0 0.25em;
}

@media(min-width: 600px) {
  .habitantes-antena .cantidad {
    font-size: 6rem;
  }
}

.habitantes-antena .leyenda {
  display: inline-block;
  font-size: 1.5rem;
  font-family: 'Comfortaa', sans-serif;
  padding: 0 0.25em;
}

@media(min-width: 600px) {
  .habitantes-antena .leyenda {
    font-size: 2.5rem;
  }
}

.cantidades {
  padding: 1em 0 3em;
}

.cantidades .habitantes {
  display: inline-block;
  background: url(../img/paises/habitante.png) no-repeat left;
  padding: 1em 0 0 3em;
  font-size: 1rem;
  margin: 2em;
}

.cantidades .antenas {
  display: inline-block;
  background: url(../img/paises/antena.png) no-repeat left;
  padding: 1em 0 0 3em;
  font-size: 1rem;
  margin: 2em;
}




/* -- Start of Nav icons -- */

nav {
  padding: 2em 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #4f2c1b;
}

.nav-icon {
  height: 200px;
  width: 200px;
  padding: 1em;
  margin: 1em;
  box-sizing: border-box;
  padding-top: 145px;
  background-size: cover;
  font-size: 0.75em;
  text-align: center;
  box-shadow: 8px 8px 6px rgba(0, 0, 0, 0.4)
}

.nav-icon:first-child {
  border-top-left-radius: 25px;
}

.nav-icon:last-child {
  border-top-right-radius: 25px;
}

.icon-utilidad {
  background-image: url("../img/nav/utilidad.png");
}

.icon-funcion {
  background-image: url("../img/nav/funcion.png");
}

.icon-mitos-verdades {
  background-image: url("../img/nav/mitos-verdades.png");
}

.icon-noticias {
  background-image: url("../img/nav/noticias.png");
}

/* -- End of Nav icons -- */

.antena {
  max-height: 500px;
}

/* -- Radio buttons for quiz -- */

.radio {
  position:relative;
  display:inline-block;
  margin:0 30px;
  vertical-align:middle
}
.radio label {
  padding-left:20px;
  margin-bottom:0;
  font-weight:400;
}

.radio input[type=radio] {
  position:absolute;
  margin-top:4px \9;
  margin-left:-20px
}

input[type=radio   ]:not(old){
  width:60px;
	margin:0;
	padding:0;
	opacity:0;
	height:60px;
	vertical-align:bottom;
	cursor:pointer;
}

input[type=radio   ]:not(old) + label{
  display:inline-block;
  margin-left:-28px;
  padding-left:65px!important;
  background:url('../img/template/checks.png') no-repeat 0 0;
  line-height:60px;
  min-width:180px;
}

input[type=radio]:not(old):checked + label{
  background-position :0 -60px;
}

/* -- End of Radio buttons for quiz -- */

footer img {
  padding: 1em;
}
