/* Avenir-like font from Google Fonts */
/*@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300&display=swap");*/

@font-face {
  font-family: "Nunito";
  src: url("../font/Nunito.ttf");
}

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
  transition: 1s;
  -moz-transition: 1s;
  -webkit-transition: 1s;
  -o-transition: 1s;
}

a:focus,
a:hover {
  opacity: 0.7;
  text-decoration: none;
}

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
  color: #fff;
  text-shadow: none;
  background-color: transparent;
  border: 1px solid #fff;
  border-radius: 2px;
}

/*
 * Base structure
 */
html,
body {
  height: 100%;
  background-color: #000;
}
body {
  font-family: "Nunito", sans-serif;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

h1 {
  letter-spacing: 20px;
}

.brand {
  opacity: 0.7;
  filter: invert(0%) blur(0px);
  transition: all 2s ease-out;
}

.brand:hover {
  filter: invert(100%) blur(1.5px);
  transition: all 2s ease-out;
}

.cover img {
  width: 70%;
  -webkit-filter: drop-shadow(1px 1px 5px #222);
  filter: drop-shadow(1px 1px 5px #222);
}



/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;
  height: 100%;
  min-height: 100%;
}
.site-wrapper-inner {
  display: table-cell;
  vertical-align: middle;
  position: relative;
}
.cover-container {
  margin-right: auto;
  margin-left: auto;
}

/* Padding for spacing */
.inner {
  padding: 30px;
}

/*
 * Header
 */
.masthead-brand {
  letter-spacing: 10px;
  text-align: center;
  padding-bottom: 10px;
  margin-bottom: 2em;
}

.masthead-brand small {
  display: block;
  font-size: 50%;
  margin-top: 10px;
}

.masthead-nav > li,
.masthead-brand > li {
  display: inline-block;
}
.masthead-nav > li + li,
.masthead-brand > li + li {
  margin-left: 20px;
}
.masthead-nav > li > a,
.masthead-brand > li > a {
  padding-right: 0;
  padding-left: 0;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  opacity: 0.3;
}

.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus,
.masthead-brand > li > a:hover,
.masthead-brand > li > a:focus {
  background-color: transparent;
  color: #fff;
  opacity: 1;
}

.masthead a {
  text-decoration: none;
}

/* VIDEO BACKGROUND */

.video-background {
  z-index: 550;
  text-align: center;
  height: 100%;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

.video-background .video-background-container {
  width: 830px;
  max-width: 100%;
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.video-background-title {
  font-size: 78px;
  color: #fff;
  font-weight: 300;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 22px;
  padding-top: 20px;
  display: inline-block;
  background-attachment: scroll;
  background-repeat: repeat-x;
  background-position: top center;
}

.overlay {
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* Imagen de fondo en móvil (sustituye al vídeo de desktop) */
.video-background-default-image { 
  background: url(../img/bg.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
  backface-visibility: hidden;
}

/*
 * Cover
 */
.cover {
  padding: 0 20px;
}
.cover .btn-lg {
  padding: 15px 50px;
  font-weight: bold;
}

.cover-heading {
  font-family: "Nunito", sans-serif;
  font-size: 60px;
  transform: rotate(-6deg);
  -ms-transform: rotate(-6deg);
  -moz-transform: rotate(-6deg);
  -webkit-transform: rotate(-6deg);
  -o-transform: rotate(-6deg);
}

small {
  color: #ccc !important;
}

/*
 * Footer
 */
.mastfoot {
  color: #999; /* IE8 proofing */
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
  .masthead {
    position: fixed;
    top: 0;
  }
  .mastfoot {
    position: fixed;
    bottom: 0;
  }
  .site-wrapper-inner {
    vertical-align: middle;
  }
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%;
  }
  .cover-heading {
    font-size: 100px;
  }
}

@media (min-width: 992px) {
  .mastfoot,
  .cover-container {
    max-width: 800px;
  }
  .masthead {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 7vw;
    text-overflow: clip;
  }

  .cover img {
    opacity: 0.5;
    width: 100%;
  }

  .brand {
    opacity: 1;
    filter: invert(0%) blur(0px);
    transition: all 2s ease-out;
  }
  
  .brand:hover {
    filter: invert(100%) blur(0.5px);
    transition: all 2s ease-out;
  }

  .masthead-nav > li + li,
  .masthead-brand > li + li {
    margin-left: 5px;
  }
}
