.header {
  position: fixed;
  z-index: 999;
  transition: 0.6s;
  display: flex;
  flex-direction: row;
  background: white;
}

.container-fluid .header {
  transition: 0.6s;
}

.header.sticky {
  width: 100%;
  transition: 0.6s;
  z-index: 99;
  background-color: #ffff;
  height: 5rem;
  box-shadow: 0px 4px 4px rgb(0 0 0 / 30%);
}

.show {
  transform: translateX(0px) !important;
}

.navbar {
  height: 14rem;
  background: white;
}

.navbar-nav {
  font-size: 0.8rem;
}

.dropdown-menu-mobile {
  list-style-type: none;
  padding: 0;
  display: none;
}

/* Mobile-specific dropdown styles: keep menus hidden by default
   and show when JS toggles the `.show` class. */
.mobile-nav .dropdown-menu-mobile,
.mobile-nav .dropdown-menu {
  display: none;
  padding-left: 0;
  margin: 0.4rem 0;
}

.mobile-nav .dropdown-menu-mobile.show,
.mobile-nav .dropdown-menu.show {
  display: block;
}

.mobile-nav .dropdown-item {
  display: block;
  padding: 0.6rem 1rem;
  color: #fff;
  border-radius: 0.6rem;
  margin: 0.3rem auto;
  width: 80%;
  text-align: center;
}

.dropdown-menu.navbar-list {
  background: #132263;
}

#navbarSupportedContent {
  border-radius: 2rem;
}

.boton-arriba-contenedor {
  position: fixed;
  bottom: 4rem;
  right: 4rem;
  width: 6.6rem;
  height: 6.6rem;
  z-index: -1;
}

#navbarSupportedContent a {
  font-family: "Coolvetica-regular";
  font-size: 1.3rem;
  border-radius: 20px;
}

#navbarSupportedContent a:link,
#navbarSupportedContent a:visited {
  color: #132263 !important;
}

#navbarSupportedContent a.dropdown-item:link,
#navbarSupportedContent a.dropdown-item:visited {
  color: white !important;
  border-radius: 0px;
}

#navbarSupportedContent a:hover {
  background: #757575;
  color: white !important;
}

#navbarSupportedContent {
  justify-content: center;
}

.navbar-brand img {
  max-width: 6rem;
  margin-right: 1rem;
  margin-left: 1rem;
}

.navbar {
  max-height: 5rem;
}

#splide01-list {
  height: 36rem;
}

.nav-item a {
  transition: all 0.3s ease-in-out;
}

.nav-item a:hover {
  color: #dbdbdb !important;
}

.dropdown-item:hover {
  background-color: #757575 !important;
}

.nosotros {
  height: 80vh;
  background-image: url("../img/fondo-nosotros.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* Menú Hamburguesa */

.hamburguer {
  position: relative;
  display: block;
  width: 35px;
  cursor: pointer;
  appearance: none;
  background: none;
  outline: none;
  border: none;
  transform: translateX(320px);
  z-index: 999999;
  position: fixed;
}

.hamburguer .bar,
.hamburguer:after,
.hamburguer:before {
  content: "";
  display: block;
  width: 100%;
  height: 5px;
  background-color: black;
  margin: 6px 8px;
  transition: 0.4s;
}

.hamburguer.is-active:before {
  transform: rotate(-45deg) translate(-8px, 6px);
}

.hamburguer.is-active:after {
  transform: rotate(45deg) translate(-9px, -8px);
}

.hamburguer.is-active .bar {
  opacity: 0;
}

.mobile-nav {
  position: fixed;
  display: block;
  top: 60px;
  left: 100%;
  width: 100%;
  min-height: 100vh;
  z-index: 98;
  background-color: #ffff;
  padding-top: 80px;
  transition: all 0.3s ease-in-out;
}

.mobile-nav.is-active {
  left: 0;
}

.mobile-nav a {
  display: block;
  margin: 0 auto;
  width: 60%;
  text-align: center;
  margin-bottom: 14px;
  padding: 5px 15px;
  background-color: #132263;
  color: white;
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease-in-out;
  font-size: 1.4em !important;
}

.mobile-nav a.dropdown-item-mobile {
  background: #757575;
}

.navbar-toggler {
  display: none;
}

/* Fin Menú Hamburguesa */
/* Botón volver arriba */
.boton-arriba-contenedor {
  position: fixed;
  bottom: 4rem;
  right: 4rem;
  width: 6.6rem;
  height: 6.6rem;
  z-index: -1;
}

.volver-arriba {
  width: 0rem;
  height: 0rem;
  background-color: #ec4b4e;
  border-radius: 50%;
  cursor: pointer;
  top: 50%;
  transition: 0.2s;
  transform: translate(-50%, 50%);
  transition: all 0.3s ease;
  box-shadow: 0px 7px 30px black;
}

.volver-arriba:hover {
  background-color: #132263;
}

.volver-arriba i {
  position: absolute;
  font-size: 1rem;
  top: 48%;
  left: 50%;
  transform: translate(-50%, 50%) scale(0);
  color: white;
  transition: 0.2s;
}

.show- {
  z-index: 10;
  transform: translateX(125px);
}

.show- .volver-arriba {
  animation: popop 0.3s ease-in-out;
  width: 4rem;
  height: 4rem;
  z-index: 11;
}

.show- i {
  transform: translate(-50%, -50%) scale(1);
}

@keyframes popop {
  0% {
    width: 0rem;
    height: 0rem;
  }

  50% {
    width: 2rem;
    height: 2em;
  }

  100% {
    width: 4rem;
    height: 4rem;
  }
}

@media screen and (max-width: 700px) {
  .navbar-brand img {
    margin-right: 0rem;
    max-width: 11.1rem;
    width: 5.5rem;
    margin-left: 0rem;
  }
}

@media screen and (min-width: 250px) and (max-width: 360px) {
  .mobile-nav {
    padding-top: 64px;
  }
  .hamburguer {
    transform: translateX(252px);
  }
}

@media screen and (min-width: 1000px) {
  .hamburguer {
    display: none;
  }
}

@media screen and (min-width: 1500px) {
  .header.sticky {
    height: 9rem;
  }
  .navbar-brand img {
    max-width: 8rem;
  }

  .navbar {
    max-height: 9rem;
  }

  .navbar-nav {
    font-size: 1rem;
  }

  #navbarSupportedContent {
    justify-content: center;
  }

  .nav-link:first-child {
    margin-left: 0.5rem;
  }
}

@media screen and (min-width: 2400px) {
  .navbar-brand {
    margin-right: 2rem !important;
  }

  .navbar-brand img {
    margin-left: 2rem;
  }
}
