
*, *::after, *::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;

  }

body{
  font-family: sans-serif;
}

  .carousel-item {
    height: 100vh;
    min-height: 18.75em;
    position: relative;
  }

  .carousel-item::before {
    content: '';
    width: 100%;
    height: 100%;
    inset: 0;
    position: absolute;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(124, 12, 12, 0.671));
  }

  .carousel-item img {
    width: 100%;
    object-fit: cover;
  }

  .title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Espaciado entre h5 y span */
  }

  .carousel-caption {
    bottom: 13.75em;
  }

  .carousel-caption h5 {
    font-size: 2.9em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 25px;
  }

  .carousel-caption p {
    width: 70%;
    margin: auto;
    font-size: 1.3em;
    line-height: 1.6;
  }

  .carousel-caption a {
    text-transform: uppercase;
    text-decoration: none;
    background-color: rgb(56, 189, 248);
    padding: 10px 30px;
    display: inline-block;
    color: #ffffff;
    border-radius: 10px;
    margin-top: 1em;
  }

  .carousel-caption a i {
    transition: 0.3s;
  }

  .carousel-caption a:hover i {
    transform: translateX(2px);
  }



  .navbar-light .navbar-brand {
    color: #000;
    font-size: 25px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
  }

  .navbar-light .navbar-nav .nav-link {
    color: #000;
    font-size: 1.1em;
    padding: 0.5em 1em;
    transition: transform 0.3s, color 0.3s ease;
  }

  .navbar-light .navbar-nav .nav-link:hover {
    transform: translateY(-3px);
    color: #8d0000; /*007bff*/
  }

  .w-100 {
    height: 100vh;
  }

  .logo{
    position: absolute;
    top: -50px;
  }


  @media only screen and (max-width: 767px) {
    .navbar-nav {
      text-align:center;
    }
    .carousel-caption {
      bottom: 10.3125em;
    }

    .carousel-caption h5 {
      font-size: 2.5em;
      transform: translateY(-40px);
    }

    .carousel-caption a {
      padding: 10px 15px;
      font-size: 0.7em;
    }
  }


  
