
@import url('https://fonts.cdnfonts.com/css/bankgothic-md-bt');


button {
    background: none;
    box-shadow: none;
    border: none;
    cursor: pointer;
  }
  
  button:focus,
  input:focus {
    outline: 0;
  }
  
  html {
    scroll-behavior: smooth;
  }
  

  body {
    line-height: 1.5em;
    padding: 0;
    margin: 0;
    
  }
  
  /*-------------Helpers-------------*/
  .skew {
    transform: skew(20deg);
   
  }
  
  
  /*-------------Nav-------------*/
  #nav-wrapper {
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    height: 6em;
  }
  
  nav {
    background-color: #A4161A !important;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    font-family: 'BankGothic Md BT', 'Bank Gothic Light', 'BankGothic', sans-serif;
    
    overflow: hidden;
  }
  #nav.nav-visible {
    height: 100%;
    overflow: auto;
    
  }
  
  .nav {
    display: flex;
    height: 4em;
    line-height: 4em;
    flex-grow: 1;
    
  }
  
  .nav-link,
  .logo {
    padding: 1.5em 1em;
    margin-top: 0px;
    line-height: 3em;
  }
  .gradient {
    background: #D3D3D3;
    background: -webkit-linear-gradient(45deg, #D3D3D3, #D3D3D3);
    background: linear-gradient(45deg, #D3D3D3, #D3D3D3);
    padding: 0 1em;
    position: relative;
    right: 1em;
    margin-right: auto;
    
  }
  #navbarSupportedContent {
    max-height: 200px; 
    overflow-y: auto; 
    overflow-x: hidden; 
  }
  .navbar-collapse {
    margin-left: auto; 
  }
  .navbar-nav {
    flex-direction: column;
  }
  .navbar-nav .nav-item {
    margin-right: 0; 
  }
  .gradient:hover {
    animation-name: logo-hover;
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.17, 0.57, 0.31, 0.85);
    
  }
  span.gradient {
    background: #D3D3D3;
    background: -webkit-linear-gradient(45deg, #D3D3D3, #D3D3D3);
    
    /*recuadro logo*/
    background: linear-gradient(45deg, #D3D3D3, #D3D3D3);
    padding: 0 1em;
    position: relative;
    right: 1em;
    margin-right: auto;
    
  }
  span.gradient:hover {
    animation-name: logo-hover;
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.17, 0.57, 0.31, 0.85);
  }
  
  .logo-container {
    display: flex !important;
    align-items: center !important;
  }

  .logo {
    margin-right: 20px !important;
    margin-top: 50px;
  
    margin-left: -50%;
  }
  
  .logo img {
    width: 40px !important; /* Ajustar el tamaño del logo */
    height: auto !important;
    margin-top: 20px;
    margin-left: 20px; /* Mover el logo más a la derecha */
  }
  .logo-text {
    margin-left: 15%;
    font-family: 'BankGothic Md BT', 'Bank Gothic Light', 'BankGothic', sans-serif !important;
    color: #A4161A;
    line-height: 30px;
    
    font-size: 22px;
    
  }
 
  
  #logo-navbar {
    font-family: 'BankGothic Md BT', 'Bank Gothic Light', 'BankGothic', sans-serif;
    color: #A4161A; /* Color del texto */
    transform: skew(-20deg);
    background: #D3D3D3;
    background: -webkit-linear-gradient(45deg, #D3D3D3, #D3D3D3);
    background: linear-gradient(45deg, #D3D3D3, #D3D3D3);
    position: sticky;
    margin-right: 0 !important; /* Ajustar el margen derecho */
    width: calc(40% + 2%) !important;
    font-style: normal !important;
    text-transform: skew(0deg) !important;
  }
  
  #logo-navbar > span {
    font-size: 22px;
    transform: skew(20deg);
    font-style: normal !important; 
  } 
  #logo-navbar > a {
    position: relative;
    display: inline-block;
    transform: skew(-20deg);
    font-style: normal !important; 
  }
  
  #logo-navbar > a > span {
    display: inline-block;
    transform: skew(20deg); 
    font-style: normal !important;
  }

  h1.logo a,
  a:active,
  a:hover,
  a:visited {
    text-decoration: none;
    color: #fff;
    font-style: normal !important;
  }
  
  /* FUENTE PARA LETRAS NAVBAR*/
  .nav-link {
    text-transform: uppercase !important;
    text-align: center;
    border-top: 0.5px solid #ddd;
    font-family: 'BankGothic Md BT', sans-serif !important;
    transform: skew(0deg); /* Anular la inclinación */
    display: inline-block;
    padding-right: 20px !important;
    margin-right: 0; /* Ajustar el espaciado entre las pestañas */
}

  .nav-item:last-child .nav-link {
    margin-right: 1em; /* Ajuste de espaciado para el último elemento */
  }
  .nav-item {
    
    display: inline-block;
  }

  .nav-link:hover{
    color: #A4161A !important;
  }
  
  a:link,
  a:visited,
  a:active {
    text-decoration: none;

    /*letras navbar*/
    color: #D3D3D3 !important;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  .right {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .btn-nav {
    color: #A4161A;
    padding-left: 2em;
    padding-right: 2em;
  }

  nav div ul li a:link.active,
    nav div ul li a:visited.active,
    nav div ul li a:active.active {
      background: #D3D3D3;
      background: -webkit-linear-gradient(45deg, #D3D3D3, #D3D3D3);
      background: linear-gradient(45deg, #D3D3D3, #D3D3D3);

      /*Letra HOME*/
      color: #A4161A;
    }
  
  @media (min-width: 800px) {
    #nav-wrapper {
      overflow: hidden;
    }
  
    #nav {
      overflow: hidden;
      flex-direction: row;
    }
  
    .nav-link {
      border-top: none;
    }
  
    .right {
      overflow: hidden;
      flex-direction: row;
      justify-content: flex-end;
      position: relative;
      left: 1.5em;
      height: auto;
    }
  
    .btn-nav {
      display: none;
    }
  
    a:link.active,
    a:visited.active,
    a:active.active {
      background: #D3D3D3;
      background: -webkit-linear-gradient(45deg, #D3D3D3, #D3D3D3);
      background: linear-gradient(45deg, #D3D3D3, #D3D3D3);

      /*Letra HOME*/
      color: #A4161A !important;
    }
  
    .nav-link-span {
      
      display: inline-block;
    }
  
    .nav-link {
      transform: skew(-20deg);
      color: #777;
      text-decoration: none;
    }
  
    .nav-link:last-child {
      padding-right: 3em;
    }
  
    a:hover.nav-link:not(.active) {
      color: #444;
      background: #ddd;
      background: linear-gradient(45deg, #fff, #ddd);
      
    }
  }
  @media (max-width: 1000px) {
    .nav {
      flex-direction: column;
      height: auto;
    }
    .logo-text {
      display: none; 
  }
    .nav-link {
      border-top: 0.5px solid #ddd;
    }
  
    .right {
      flex-direction: column;
      justify-content: center;
      align-items: center;
      position: static;
      left: 0;
    }
  
    .btn-nav {
      display: block;
      order: -1; /* Coloca el botón al principio del contenedor */
    }
  
    .nav-link,
    .logo {
      text-align: center;
      margin-top: 10px;
      margin-right: 20px;
    }
  
    #main-content {
      padding-top: 4em;
    }
  }

  .navbar{
    padding: 0 0 !important;
  }

  .navbar-expand-lg .navbar-nav .nav-link, #logo-navbar {
    padding: 0.5rem 1rem; 
    height: 100%;
    text-align: center; 

}
