/*------------------------------------ ESTILOS GENERALES -------------------------------------------------- */

html,
body {
  height: 100%;
}
body {
  padding: 0%;
  margin: 0%;
  font-family: "RM Neue", sans-serif;
  color: black;
  width: 100%;
  overflow-x: hidden;
}
.padding-general-izquierda {
  padding-left: 150px;
}
a {
  cursor: crosshair;
}
.raton-cruz {
  cursor: crosshair !important;
}
.oculto {
  @media (max-width:770px) {
    display: none;
  }
}
.espaciado-izquierdo-movil{
  @media (max-width:770px){
    padding-left: 20px !important;
  }
}
@media (max-width:770px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
}
/* -------------------------------------- FUENTES ------------------------------------------------------*/
h1 {
  font-weight: 800;
}
h2 {
  font-weight: 700;
}
h3 {
  font-weight: 600;
}
p,
li,
body {
  font-weight: 400;
}
i {
  font-style: italic;
}
/*------------------------------- NAVBAR ------ EFEECTO UNDERLINE -------------------------------------------*/
:root {
  --pad-max: 40px;
  /* padding top/bottom inicial */
  --pad-min: 5px;
  /* padding mínimo */
  --logo-max: 60px;
  /* alto logo inicial */
  --logo-min: 40px;
  /* alto logo final (≈ tamaño texto) */

  --link-max-px: 40px;
  /* tamaño inicial */
  --link-min-px: 30px;
  /* tamaño final */
}

#mainNav .nav-link {
  font-size: var(--link-size-px, var(--link-max-px));
  line-height: 1.2;
}

#mainNav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 2000;
  padding-block: var(--nav-pad, var(--pad-max));
  background: #fff;
  font-size: 40px;
}

/* Quita el caret de Bootstrap */
.navbar .dropdown-toggle::after {
  display: none !important;
}
.link-underline {
  position: relative;
  text-decoration: none;
  color: inherit;
}
.link-underline::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: currentColor;
  transition: width .25s ease;
}
.link-underline:hover::before,
.nav-item.show>.link-underline::before {
  width: 100%;
}

.navbar-toggler {
  box-shadow: none !important;
  background-color: transparent;
  color: black;
}
#mobileMenu .navbar-nav  {
  color: black !important;
  font-size: 25px;
}

@media (max-width:770px) {
  #mainNav {
    display: none !important;
  }
  #navSpacer{
    display: none !important;
  }
  #mobileNav {
    display: flex !important;
    padding: 15px 0 15px 0 !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    width: 100%;
    max-width: 100%;
  }
  #mobileNav .nav-link::before {
    display: none !important;
  }
   #mobileNav .container-fluid {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100% !important;
    max-width: 100%;
    padding-right: 16px;
    box-sizing: border-box;
  }

  #mobileNav .navbar-toggler {
    margin: 0;
  }
  #mobileNav,
  #mobileNav * {
    box-sizing: border-box;
  }
}
/* ------------------------------------------ SUBMENU -------------------------------------------------------*/
.bt-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  height: 80%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #000;
  display: block;
  visibility: hidden;
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
  transition:
    clip-path .22s ease-in,
    opacity .22s ease-in,
    visibility 0s linear .22s;
  z-index: 1500;
  font-size: 30px;
  justify-content: end;
  align-items: center;
  margin-top: 0%;
  padding-top: 0%;
}

.bt-dropdown.show {
  visibility: visible;
  opacity: 1;
  clip-path: inset(0 0 0 0);
  pointer-events: auto;
  transition:
    clip-path .32s cubic-bezier(.2, .7, .2, 1),
    opacity .32s cubic-bezier(.2, .7, .2, 1),
    visibility 0s;
  padding-top: 0%;
  height: 100%;
  margin-top: 0%;
}

.bt-dropdown .nav-link {
  color: #fff !important;
  font-weight: 600;
}

/* Centrar la lista del submenu bajo su link */
.bt-dropdown .nav {
  position: absolute;
  top: 50%;
  left: var(--dd-x, 50%);
  transform: translate(-50%, -50%);
  margin: 0;
}

.bt-dropdown .nav {
  flex-wrap: nowrap;
}
.bt-dropdown .nav-link {
  white-space: nowrap;
}
.nav-item {
  display: flex;
  justify-content: center;
  flex-direction: column;
}


@media (min-width:771px) {
  #mobileNav {
    display: none !important;
  }
}
.back-black{
  @media(max-width:770px){
    background-color: black;
    width: 100% !important;
    text-align: center;
  }
}
.white{
  @media(max-width:770px){
    color: white;
  }
}

/*-------------------------------------- HEADER ------------------------------------------------------*/

.text-justify {
  text-align: justify;
}

.texto-girado {
  position: absolute;
  bottom: 150px;
  right: 90px;
  writing-mode: sideways-lr;
  font-weight: 600;
  color: #444;
}

.imagen-entrada {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 210%;
}

@media (max-width:770px) {
  .contenedor-header {
    height: 40% !important;
  }
  #texto-header-1 {
    all: unset;
    width: 100%;
    padding: 10px !important;
    display: flex;
    text-align: left;
  }
  #texto-header-1 p {
    line-height: 30px;
    padding-right: 10px !important;
  }
  #contenedor-texto-header {
    all: unset;
    height: 100%;
    width: 100% !important;
  }
  #header-responsive {
    display: none !important;
  }
}

/* ==================================== EFECTO FLECHAS CAROUSEL =================================================*/
#carousel-brottek.hide-cursor,
#carousel-brottek.hide-cursor * {
  cursor: none !important;
}

.follow-arrow {
  position: fixed;
  left: 0;
  top: 0;
  display: none;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1055;
}

.follow-arrow::after {
  content: '→';
  font-family: "RM Neue", sans-serif;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 90px;
  color: black;
}

.follow-arrow.is-left::after {
  content: '←';
}

@media (pointer:fine) {
  #carousel-brottek .carousel-control-prev,
  #carousel-brottek .carousel-control-next {
    pointer-events: none;
  }
  #carousel-brottek .carousel-control-prev-icon,
  #carousel-brottek .carousel-control-next-icon,
  #carousel-brottek .carousel-control-prev .text-dark,
  #carousel-brottek .carousel-control-next .text-dark {
    opacity: 0;
  }
}

/*------------------------------ CAPAS OVERLAYS CAROUSEL -------------------------------------------*/

#carousel-brottek .carousel-item img {
  max-height: 100%;
  object-fit: contain;
}

#carousel-brottek {
  position: relative;
}

#carousel-brottek .carousel-inner,
#carousel-brottek .carousel-item,
#carousel-brottek .carousel-item img {
  position: relative;
  z-index: 1;
}

#carousel-brottek .carousel-overlay {
  position: absolute;
  left: 150px;
  top: 300px;
  z-index: 1100;
  pointer-events: none;
}

#carousel-brottek .texto-overlay {
  position: absolute;
  right: 100px;
  bottom: 250px;
  z-index: 1500;
  pointer-events: none;
}

.overlay-patern {
  position: absolute;
  pointer-events: none;
  z-index: 1100;
  left: 0%;
}

.overlay-footer {
  position: absolute;
  pointer-events: none;
  z-index: 1100;
  right: 0%;
  bottom: 0%;
}

/* por si acaso los controles quedaran detrás */
#carousel-brottek .carousel-control-prev,
#carousel-brottek .carousel-control-next {
  z-index: 25;
}
@media (max-width:770px) {
  .carousel-responsive {
    height: 60vh !important;
  }
    #carousel-brottek{
    height: 100% !important;
  }
    .carousel-item{
    height: 100% !important;
    width: 100% !important;
  }

 .carousel-item img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
 }
  .carousel-overlay {
    left: 15px !important;
    top: 45px !important;
  }
  .carousel-overlay p {
    font-size: 30px !important;
  }
  .texto-overlay {
    width: 150px !important;
    height: 50px !important;
    right: 15px !important;
    bottom: 25px !important;
  }
  #captionBox {
    font-size: 10px !important;
  }
}

/*============== PARALLAX ==================================================================*/

.parallax {
  background-image: url("../imgs/bg_brottek.peque.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width:770px) {
  #contenedor-main-total {
    height: 70% !important;
  }
  #contenedor-main-responsive {
    display: flex !important;
  }
  #contenedor-main-responsive>div:first-of-type {
    all: unset;
    display: flex;
    margin: 0%;
    width: 30% !important;
    height: 100% !important;
  }
  .parallax {
    height: 100% !important;
  }
  #imagenprincipal {
    padding-top: 125% !important;
    width: 100px !important;
    padding-left: 20px !important;
  }
  #texto-main {
    all: unset;
    margin: 0%;
    padding: 0% !important;
    width: 70% !important;
    justify-content: center !important;
    height: 100% !important;
  }
  #texto-main p {
    all: unset;
    padding: 0% !important;
    padding-left: 10px !important;
    padding-right: 20px !important;
    padding-top: 50% !important;
    font-size: 200% !important; 
    line-height: 35px !important;
  }
}
@media (max-width:380px) {
  #imagenprincipal {
    padding-top: 65% !important;
    width: 80px !important;
    padding-left: 15px !important;
  }
  #texto-main p {
    all: unset;
    padding: 0% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    padding-top: 25% !important;
    font-size: 200% !important; 

    line-height: 30px !important;
  }
  .contenedor-header {
    height: 50% !important;
  }
  .padding-top-responsive {
    padding-top: 30px !important;
    padding-bottom: 30px;
  }

}
/*============== MARQUESINA ==================================================================*/

.marquee-track {
  animation: marquee 20s linear infinite;
}
.marquee-text {
  white-space: nowrap;
  display: inline-block;
  font-weight: 500;
}
.marquee-text a{
  color: black;
  margin-right: 20px;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/*============================================ FOOTER=================================================*/

:root {
  --marquee-h: 20vh;
  /* alto de la marquesina */
  --right-min-h: 70vh;
  /* alto mínimo del bloque derecho */
}

/* Marquesina por debajo (capa 1) */
.footer-marquee {
  height: var(--marquee-h);
  position: relative;
  z-index: 1;
}
.overlay-pattern {
  background-image: url("../imgs/patern02.svg");
  background-repeat: repeat;
  background-size: 100px auto;
  background-position: top left;
}
.overlay-raise {
  position: relative;
  z-index: 3;
  margin-top: calc(-1 * var(--marquee-h));
  /* se superpone a la marquesina */
  min-height: calc(var(--marquee-h) + var(--right-min-h));
  /* más alta que la derecha */
}
.padding-top-responsive {
  padding-top: 120px; 
}

@media (max-width: 770px) {
  .padding-top-responsive {
    padding-top: 100px;
    padding-bottom: 30px;
  }
}
@media (max-width:770px) {
  .idpruebas {
    margin-top: 30px !important;
  }
  #texto-footer-2 {
    font-size: 15px !important;
  }
  .overlay-pattern {
    background-size: 50px !important;
  }
  #contenedor-footer {
    height: 50% !important;
  }
  :root{
    --right-min-h: 60vh;
  }

}



/* -------------------------------------------- RESPONSIVE TABLET -------------------------------------------------------*/

@media (min-width:770px) and (max-width:1700px) {
  #navegador ul{
    padding-right: 0% !important;
    gap: 30px !important;
  }
  #contenedor-header{
    height: 90vh !important;
  }
  #contenedor-texto-header{
    height: 100% !important;
  }
  #texto-header-1{
    padding: 0px !important
  }
   #texto-header-1 p {
    line-height: 30px;
    padding-left: 50px !important;
  }
  #texto-main p {
    all: unset;
    padding: 0% !important;
    padding-left: 10px !important;
    padding-right: 20px !important;
    padding-top: 25% !important;
    font-size: 300% !important; 
    line-height: 45px !important;
  }
   #imagenprincipal {
    padding-top: 55% !important;
    width: 170px !important;
    padding-left: 20px !important;
  }

  .carousel-overlay {
    left: 35px !important;
    top: 200px !important;
  }
  .carousel-overlay p {
    font-size: 50px !important;
  }
  .texto-overlay {
    width: 200px !important;
    height: 50px !important;
    right: 155px !important;
    bottom: 265px !important;
  }
  #captionBox {
    font-size: 20px !important;
  }
    .carousel-responsive {
    height: 80vh !important;
  }


}



