@import 'https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300&family=Poppins:wght@400;700&display=swap';

#scrollUp {
  bottom: 0px;
  right: 10px;
  padding: 5px 10px;
  background: #8b2123;
  color: #fff;
  font-size: 2rem;
}
.btn-primary {
  border-radius: 2rem;
  background-color: transparent;
  border: 3px solid #fff;
  font-size: 1.2rem;
  font-weight: bolder;
  padding: 1rem 2rem;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  border: 3px solid #000;
  color: #000 !important;
  background: transparent;
}
.btn-secondary {
  border-radius: 1rem;
  background-color: black;
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background: #000;
}
body {
  font-family: 'Poppins', sans-serif;
}
a {
  text-decoration: none;
  color: #000;
}
a:hover {
  color: #8b2123;
}
h2 {
  font-size: 3.5vw;
}
p {
  font-size: 1.3rem;
}
@media screen and (max-width: 991px) {
  h2 {
    font-size: 3.3rem;
  }
}
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: black;
  z-index: 1111;
}
#preloader #status {
  width: 30px;
  height: 30px;
  position: absolute;
  left: 50%;
  top: 50%;
  background-image: url("../img/loader.gif");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px;
  margin: -15px 0 0 -15px;
}
.img-transform {
  -webkit-transition: -webkit-transform 600ms cubic-bezier(0.23, 1, 0.32, 1);
  transition: -webkit-transform 600ms cubic-bezier(0.23, 1, 0.32, 1);
  transition: transform 600ms cubic-bezier(0.23, 1, 0.32, 1);
  transition: transform 600ms cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 600ms cubic-bezier(0.23, 1, 0.32, 1);
}
.img-transform:hover {
  -webkit-transform: scale3d(1.1, 1.1, 1);
  transform: scale3d(1.1, 1.1, 1);
}
.title {
  padding: 3rem 15px 2rem 15px;
}
.fancybox-slide--video .fancybox-content {
  background: #fff;
}
.stackItem {
  border: 1px solid #000;
}
html,
body {
  height: 100%;
}
.view {
  cursor: default;
  position: relative;
  overflow: hidden;
  cursor: default;
  height: 100vh;
  min-height: 650px;
}
@media screen and (max-width: 991px) {
  .view {
    height: calc(100vh - 7vh);
  }
}
.view .btn-play {
  height: inherit;
  max-height: 10vh;
}
@media screen and (max-width: 991px) {
  .view .btn-play {
    max-height: 7rem;
  }
}
.view .logo-hane {
  position: absolute;
  max-width: 24rem;
  z-index: 1;
  width: 100%;
  top: 3rem;
  left: 50%;
  margin-left: -12rem;
}
@media screen and (max-width: 480px) {
  .view .logo-hane {
    left: auto;
    margin-left: auto;
    max-width: 480px;
    padding-left: 25%;
    padding-right: 25%;
  }
}
.view .flex-center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  padding-left: 10rem;
  padding-right: 10rem;
}
@media screen and (max-width: 1199px) {
  .view .flex-center {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}
.view .mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-attachment: fixed;
  bottom: 0;
  background-color: rgba(0,0,0,0.8);
}
.view video {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  width: 100%;
  height: 100%;
}
.view .title img {
  width: 100%;
  bottom: 0;
  position: absolute;
  left: 0;
}
.view .scroll-down {
  position: absolute;
  height: inherit;
  max-height: 3.5rem;
  bottom: 1rem;
  right: 4.9rem;
}
.section h1 {
  margin-bottom: 0;
  color: black;
}
#about {
  padding-bottom: 7vh;
}
#about .text {
  font-size: 1.3rem;
  text-align: center;
}
#obras video {
  width: 100%;
}
#obras .title {
  background-color: black;
}
#obras h2 {
  color:  white;
}
.title .iso {
  max-width:  5rem;
  margin-bottom: 1rem;
}
.navbar {
  padding-top: 0;
  padding-bottom: 0;
  background-color: black;
}
@media screen and (max-width: 1190px) {
  .navbar {
    background-color: #8b2123;
  }
}
.navbar .navbar-toggler {
  font-size: 3vh !important;
  border-color: transparent;
  padding: 1vh 1.5vh;
}
@media screen and (max-width: 991px) {
  .navbar .navbar-toggler {
    font-size: 2rem !important;
    padding: 1rem 1.5rem;
  }
}
.navbar-nav {
  align-items: center;
}
.navbar .navbar-nav .nav-item {
  padding: 0 1rem;
}
.navbar .navbar-nav .nav-item .nav-link,
.navbar .navbar-nav .nav-item .nav-link.active {
  color: #fff;
  text-align: center;
  line-height: 2vh;
  font-size: 1.5rem;
  padding: 1rem;
  width:  15rem;
  border-bottom: 4px solid black;
}
@media screen and (max-width: 991px) {
  .navbar .navbar-nav .nav-item .nav-link,
  .navbar .navbar-nav .nav-item .nav-link.active {
    line-height: 1.3rem;
    font-size: 1.3rem;
  }
}
.navbar .navbar-nav .nav-item .nav-link span,
.navbar .navbar-nav .nav-item .nav-link.active span {
  display: block;
}
.navbar .navbar-nav .nav-item .nav-link img,
.navbar .navbar-nav .nav-item .nav-link.active img {
  max-width: 18rem;
}
.navbar .navbar-nav .nav-item .nav-link .logo,
.navbar .navbar-nav .nav-item .nav-link.active .logo {
  max-width: 8rem;
}
.navbar .navbar-nav .nav-item .nav-link:hover,
.navbar .navbar-nav .nav-item .nav-link.active:hover,
.navbar .navbar-nav .nav-item .nav-link.active,
.navbar .navbar-nav .nav-item .nav-link.active.active {
  color: #fff;
  border-bottom: 4px solid #fff;
}
.modal {
  background: rgba(254,80,0,0.9) !important;
}
.modal .modal-content {
  border: none;
}
.modal .modal-content .logo-hane {
  width: 100%;
  max-width: 10rem;
}
.modal .modal-content .close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  z-index: 1;
}
.modal .modal-content .close img {
  max-height: 3rem;
}
.modal .modal-content .modal-body h2 {
  font-size: 3rem;
  padding-top: 3rem;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.modal .modal-content .modal-body .btn-primary {
  width: 100%;
  max-width: 10rem;
}
.modal input::-webkit-outer-spin-button,
.modal input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.modal input[type=number] {
  -moz-appearance: textfield;
  border-radius: 2rem;
  background-color: transparent;
  border: 0.25rem solid #fff;
  font-size: 1.5rem;
  color: #fff;
}
.modal ::-webkit-input-placeholder {
  color: #fff;
  opacity: 1;
}
.modal ::-moz-placeholder {
  color: #fff;
  opacity: 1;
}
.modal :-ms-input-placeholder {
  color: #fff;
  opacity: 1;
}
.modal ::-ms-input-placeholder {
  color: #fff;
  opacity: 1;
}
.modal ::placeholder {
  color: #fff;
  opacity: 1;
}
.modal :-ms-input-placeholder {
  color: #fff;
}
.modal ::-ms-input-placeholder {
  color: #fff;
}
.modal button {
  color: #fff;
}
.modal button:hover {
  color: #000;
}
.modal .help-block {
  margin-top: 1rem;
}
.modal .help-block ul {
  list-style: none;
  padding-left: 0;
}
.modal .alert-danger {
  background-color: #000;
  color: #fff;
  border: 0;
}
.modal .alert-danger button {
  color: #fff;
}
.modal .alert-danger button:hover {
  color: black;
}

footer .logo-hane {
  width: 100%;
  max-width: 15rem;
}
footer .copy a,
footer .redes a {
  color: white;
}
footer .copy a:hover,
footer .redes a:hover {
  color: #8b2123;
}
footer .redes .fa-inverse {
color:  black;
}
footer .white-bar {
  background: url("../img/white-bar.svg");
  background-color: rgba(0,0,0,0);
  background-size: auto;
  width: 100%;
  height: 10rem;
  background-color: #8b2123;
  background-size: cover;
  height: 0;
  padding: 0;
  padding-bottom: 0px;
  padding-bottom: calc(100% * 0.1);
  margin-bottom: -1px;
}

/* Galería */

.carousel-obras .card {
    background-position: center center;
    height: 100%;
    width: 100%;
    /*padding-bottom: 100%;*/
    background-size: cover;
    background-repeat: no-repeat
}

.carousel-obras .card .icon {
    background-color: #e10006;
    opacity: 0;
    -webkit-transition: all 600ms cubic-bezier(0.23,1,0.32,1);
    transition: all 600ms cubic-bezier(0.23,1,0.32,1);
    position: absolute;
    left: 0;
    height: 100%;
    top: 0;
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.carousel-obras .card .icon i {
    color: #fff;
    font-size: 30pt
}

.carousel-obras .card:hover .icon {
    opacity: 0.75
}

.carousel-obras .owl-dots {
    text-align: center;
    padding-top: 1rem
}

.carousel-obras .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 5px
}

.carousel-obras .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    display: block
}

.carousel-obras .owl-dots .owl-dot.active span {
    background: #e10006
}


@media screen and (min-width: 768px) {
  html {
    font-size: 14px;
  }
}
@media screen and (max-width: 767px) {
  html {
    font-size: 13px;
  }
}
@media screen and (max-width: 640px) {
  html {
    font-size: 12px;
  }
}
@media screen and (max-width: 480px) {
  html {
    font-size: 11px;
  }
}
@media screen and (max-width: 320px) {
  html {
    font-size: 10px;
  }
}
