* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@font-face {
  font-family: 'LatoBlack';
  src: url('./fonts/lato-black.eot');
  /* IE9 Compat Modes */
  src: url('./fonts/lato-black?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('./fonts/lato-black.woff') format('woff'),
    /* Pretty Modern Browsers */
    url('./fonts/lato-black.ttf') format('truetype'),
    /* Safari, Android, iOS */
    url('./fonts/lato-black.svg#svgFontName') format('svg');
  /* Legacy iOS */
}

@font-face {
  font-family: 'LatoBold';
  src: url('./fonts/lato-bold.eot');
  /* IE9 Compat Modes */
  src: url('./fonts/lato-bold?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('./fonts/lato-bold.woff') format('woff'),
    /* Pretty Modern Browsers */
    url('./fonts/lato-bold.ttf') format('truetype'),
    /* Safari, Android, iOS */
    url('./fonts/lato-bold.svg#svgFontName') format('svg');
  /* Legacy iOS */
}

@font-face {
  font-family: 'LatoItalic';
  src: url('./fonts/lato-italic.eot');
  /* IE9 Compat Modes */
  src: url('./fonts/lato-italic?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('./fonts/lato-italic.woff') format('woff'),
    /* Pretty Modern Browsers */
    url('./fonts/lato-italic.ttf') format('truetype'),
    /* Safari, Android, iOS */
    url('./fonts/lato-italic.svg#svgFontName') format('svg');
  /* Legacy iOS */
}

@font-face {
  font-family: 'LatoBoldItalic';
  src: url('./fonts/lato-bolditalic.eot');
  /* IE9 Compat Modes */
  src: url('./fonts/lato-bolditalic?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('./fonts/lato-bolditalic.woff') format('woff'),
    /* Pretty Modern Browsers */
    url('./fonts/lato-bolditalic.ttf') format('truetype'),
    /* Safari, Android, iOS */
    url('./fonts/lato-bolditalic.svg#svgFontName') format('svg');
  /* Legacy iOS */
}

@font-face {
  font-family: 'LatoLigth';
  src: url('./fonts/lato-ligth.eot');
  /* IE9 Compat Modes */
  src: url('./fonts/lato-ligth?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('./fonts/lato-ligth.svg#svgFontName') format('svg');
  /* Legacy iOS */
}

@font-face {
  font-family: 'LatoRegular';
  src: url('./fonts/lato-regular.eot');
  /* IE9 Compat Modes */
  src: url('./fonts/lato-regular?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('./fonts/lato-regular.woff') format('woff'),
    /* Pretty Modern Browsers */
    url('./fonts/lato-regular.ttf') format('truetype'),
    /* Safari, Android, iOS */
    url('./fonts/lato-regular.svg#svgFontName') format('svg');
  /* Legacy iOS */
}

@font-face {
  font-family: 'LatoThin';
  src: url('./fonts/lato-regular.ttf') format('truetype')
    /* Safari, Android, iOS */
}

body {
  margin: 0;
  padding: 0;
  background-image: url(./assets/bg-1920.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  font-family: 'LatoThin', 'LatoRegular';
  position: relative;
  min-height: 100vh;
}

.topnav {
  overflow: hidden;
  background-color: #364795;
  position: relative;
  height: 7vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
      -webkit-box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19);
      box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.30);
    padding: 0 1em;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 21px;
  text-decoration: none;
  font-size: 12px;
 
    font-weight: 500;
   
      -webkit-transition: 0.4s;
   
      transition: 0.4s;
        cursor: pointer;
    letter-spacing: 0.3px;
}

.topnav a:hover {
  color: white;
  opacity: 0.5;
 

      -webkit-transition: 0.4s;
 

      transition: 0.4s;
}

.topnav a.active {
  color: white;
}

.topnav button {
  border: none;
  background: none;
  color: white;
  margin: 15px;
  opacity: 0.9;
  margin-left: auto;
  font-size: 12px;
 
    font-weight: 600;
  cursor: pointer;
    
      -webkit-transition: 0.4s;
 

      transition: 0.4s;
    letter-spacing: 0.3px;
}

.topnav button#hover {
   color: white;
  opacity: 0.5;
 

      -webkit-transition: 0.4s;
 

      transition: 0.4s;
}

.topnav #mobile-title {
  display: none;
}

.topnav .icon {
  display: none;
}

#playrandom-mobile {
  display: none;
}


#footer {
  height: 5vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: white;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-family: 'LatoThin', 'LatoLigth';
  position: absolute;
  bottom: 0;
  width: 100%;
  font-size: 11px;
}

#footer div {
  margin: 0 10px;
  opacity: 0.7;
}

#footer #playrandom {
  margin: auto;
    padding-right: 150px;
}

#footer #comofunciona {
  display: none;
}

#footer #playrandom button {
  position: relative;
  background-color: red;
  border: none;
  padding: 0;
  margin:  0;
width: 70px;
    height: 5vh;

  cursor: pointer;
     -webkit-transition: 0.4s;
     transition: 0.4s;
}

#footer #playrandom button:hover {

  background-color: black;
     -webkit-transition: 0.4s;
     transition: 0.4s;

}

#playrandom button::after {
content: '';
    position: absolute;
    z-index: 1;
    top: 2vh;
    border: solid 8px transparent;
    border-left-color: white;
    border-left-width: 12px;
    left: 30px;
}

#mapa-svg {
  width: 100%;
  height: 89vh;
}

#map {
  position: relative;
}

#map #logo {
  position: absolute;
  top: 3vh;
  left: 20px;
  width: 50px;
  z-index: -1;
}

#controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  position: absolute;
  bottom: 5%;
  right: 70px;
      
   
}

#controls > button {
  padding: 10px;
  font-size: 1.5rem;
  border: none;
  margin: 1px;
  min-width: 50px;
      -webkit-transition: 0.4s;
 

      transition: 0.4s;
      -webkit-box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19);
      box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#controls img {
  height: 55px;
  position: absolute;
  right: -40px;
  top: -2px;
}

#controls button:hover {
  background-color: #bfbfc4;
     cursor: pointer;
      -webkit-transition: 0.4s;
 

      transition: 0.4s;
}

.pin:hover {
  stroke: black;
}

#info-box {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 1;
  padding: 5px;
  max-width: 300px;
  font-family: arial;
}

#info-box .box {
  padding: 20px;
  position: relative;
  background: #0000FF;
  color: white;
  border-radius: 10px;
  min-width: 250px;
  height: 150px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#info-box #box-title {
  -webkit-box-flex: 3;
  -ms-flex: 3;
  flex: 3;
  text-align: center;
}

#info-box #box-links {
  -webkit-box-flex: 2;
  -ms-flex: 2;
  flex: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

#info-box #box-links button {
  padding: 5px;
  background: none;
  border: none;
  color: rgba(250, 250, 250, 0.6)
}

#info-box .box:before {
  content: "";
  position: absolute;
  top: 150px;
  left: 110px;
  z-index: 1;
  border: solid 15px transparent;
  border-top-color: #0000FF;
  border-top-width: 70px;
}

#modal-comofunciona {
  position: absolute;
  background-color: #536DE1;
  right: 0;
  left: 65%;
  top: 7vh;
  bottom: 5vh;
  z-index: 9999;
  padding: 50px;
  color: white;
  font-family: 'LatoThin', 'LatoLight', 'LatoRegular';
}
#modal-comofunciona h4{
  font-family: 'LatoBlack';
}
#modal-info {
  position: absolute;
  background-color: #364795;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 9999;
}

.closeModal {
  fill: white;
  width: 20px;
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
}
#modal {
  position: absolute;
  background-color: black;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 9999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
}

#modal #video-header {
  color: white;
  font-size: 50px;
  font-family: 'LatoThin';
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#modal #video-header div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 1.5rem;
}
  
#modal #video-header #title {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
  
#modal #video-header img {
  margin-left: 30px;
  margin-right: auto;
  height: 80px;
  position: relative;
}

#modal #video-header button {
  border: none;
  color: white;
  padding: 15px;
  font-family: 'LatoBold';
  font-size: 1.5rem;
}

#modal #video-header #btn-info {
  margin-left: auto;
  background-color: #0000FF;
}

#modal #video-header #btn-map {
  background-color: red;
  margin-right: 30px;
}

#modal #video-header span {
  margin: 0 20px;
}

#modal #video-header #titulo1 {
  text-align: right;
}

#modal #video-header #vertical {
  border-left: 2px solid white;
}

#modal .closeModal {
  position: absolute;
  top: -5px;
  margin-right: 40px !important;
  width: 30px;
}

.hidden {
  display: none !important;
}

#video {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#prev-video {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-left: 15px;
}

#prev-video button {
  background: none;
  color: white;
  font-size: 100px;
  border: none;
  cursor: pointer;
}

#prev-video button::after {
  content: ' \2190';
}

#next-video {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-right: 15px;
}

#next-video button {
  background: none;
  color: white;
  font-size: 100px;
  border: none;
  cursor: pointer;
}

#next-video button::after {
  content: ' \2192';
}

.wrapper {
  overflow: hidden;
  max-width: 100%;
  -webkit-box-flex: 10;
  -ms-flex: 10;
  flex: 10;
}

.frame-container {
  position: relative;
  padding-bottom: 48.25%;
  width: 100%;
  top: -10%;
}

.frame-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

