:root {
  --color-primary: #133d70;
  --color-secondary: #1f5aa0;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header{
  width: 100%;
  height: auto;
  margin: 0 auto;
  z-index: 999;
}

@media screen and (min-width: 1000px){
  #header-pc{
    height: 135px;
  }

  #header-mobile{
    display: none;
  }
}

.sticky{
  position: sticky;
  top: 0;
  width: 100%;
  height: auto;
  margin: 0 auto;
  z-index: 999;
}

#body-container {
  position: relative;
}

header nav{
  width: 100%;
  height: 100px;
  background: #133d70;
}

header .logo{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.logo img{
  width: auto;
  height: 50%;
  transition: var(--transition-smooth);
}

.logo img:hover {
  transform: scale(1.02);
}

.button-list {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  list-style-type: none;
  padding-inline-start: 0px;
  background: #133d70;
  height: 30px;
  position: relative;
  margin-bottom: 0;
  margin: 0;
  z-index: 999;
}

.button-list li {
  flex: 1;
  font-size: 16px;
  height: 30px;
}

.button-list li:last-child {
  margin-right: 5px;
}

.box-nav {
  display: flex;
  text-decoration: none;
  color: white;
  justify-content: center;
  align-items: center;
  height: 30px;
  transition: var(--transition-smooth);
}

.box-nav:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.sub-list {
  display: none;
  position: absolute;
  width: 16.9%;
  background-color: #133d70;
  list-style-type: none;
  padding-inline-start: 0px;
  border-radius: 0 0 10px 10px;
  padding-top: 0.5%;
  padding-bottom: 0.5%;
  transform-origin: top;
  margin: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.sublist.active {
  display: block;
  opacity: 1;
}

.slide-down{
  animation: slideDown 0.3s ease forwards;
}

.slide-up{
  animation: slideUp 0.3s ease forwards;
}

@keyframes slideDown {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: scaleY(1);
    opacity: 1;
  }
  to {
    transform: scaleY(0);
    opacity: 0;
  }
}

.blur-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  filter: blur(8px);
  z-index: 8;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.blur-effect.active {
  opacity: 1;
}

.sub-list li a{
  flex: 1;
  font-size: 13px;
  text-align: center;
  margin-bottom: 5px;
  transition: var(--transition-smooth);
}

.sub-list li:last-child{
  margin-right: 0;
}

.sub-list a:hover {
  background-color: #1f5aa0;
}

.container-top-bar{
  width: 100%;
}

.top-bar{
  width: 90%;
  margin: 0 auto;
  height: 30px;
  display: flex;
}

.top-izq{
  width: 50%;
  display: flex;
  align-items: center
}

.top-der{
  width: 50%;
  display: flex;
  align-items: center;
}

.top-izq img{
  width: 30px;
}

.botones{
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  list-style-type: none;
  padding-inline-start: 0px;
  justify-content: flex-start;
}

.top-izq .botones{
  justify-content: flex-end;
}

.botones li{
  margin-right: 3%;
  font-size: 13px;
  text-align: center;
}

.botones li:last-child{
  margin-right: 0;
}

.botones a{
  color: #1f5aa0;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
}

.botones a:hover::after {
  width: 100%;
}

.botones a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #1f5aa0;
  transition: var(--transition-smooth);
}

.arrow{
    width: 10px;
    height: 10px;
    top: 50%;
    border-left: none;
    border-top: none;
    border-right: 1px #fff solid;
    border-bottom: 1px #fff solid;
    -webkit-transform: rotate(45deg);
    margin-left: 5%;
    margin-bottom: 3%;  
}

.arrow-up{
  width: 10px;
  height: 10px;
  top: 50%; 
  border-right: none;
  border-bottom: none;
  border-left: 1px #fff solid;
  border-top: 1px #fff solid;
  -webkit-transform: rotate(45deg);
  margin-left: 5%;
  margin-top: 3%;
}

.divHamburguesa{
  display: none;
}

.menu-responsive{
  display:none;
}

.logoResponsive{
  display: none;
}

.navResponsive{
  display:none;
}



@media screen and (max-width: 1000px){
  nav{
    display:none;
  }
  
  .navResponsive{
    display: flex;
  }
  
  header{
    background: #133d70;
  }

  .logo{
    padding-left: 10px;
    align-items: center;
    height: 100px!important;
  }

  .logoResponsive{
    display: block;
    width: 80%;
    height:40%;
  }

  .divHamburguesa{
    display: flex;
    width:auto;
    align-items: center;
    justify-content: flex-end;
    height: 100px;
  }

  .botonHamburguesa{
    display:flex;
    flex-direction: column;
    align-items: center;
    width: 3rem;
    height: 2rem;
    border: 0;
    background: transparent;
    gap: .65rem;
  }

  .botonHamburguesa > div{
    float:left;
    background: white;
    height: 2px;
    width: 100%;
    border-radius: 5px;
    transition: var(--transition-smooth);
    transform-origin:left;
  }

  .botonHamburguesa.cruz div:first-child{
    transform: rotate(45deg);
  }

  .botonHamburguesa.cruz div:nth-child(2){
    opacity:0;
  }

  .botonHamburguesa.cruz div:last-child{
    transform: rotate(-45deg);
  }

  .container-top-bar{
    display:none;
  }

  .button-list {
    display: none; 
  }

  .menu-responsive{
    display:none;
  }

  .menu-responsive.active {
    display: block; 
  }

  .button-listResponsive {
    display: block;
    text-decoration: none;
    margin: 0px;
    top: 100px;
    right: 0;
    flex-direction: column;
    background-color: #133D70;
  }

  .button-listResponsive li {
    flex: none;
    width: 100%;
    list-style: none;
  }
  
  .button-listResponsive li a, .button-listResponsive li .menu-item-no-link{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    text-decoration: none;
    height: 60px;
    transition: var(--transition-smooth);
  }

  .button-listResponsive li a .arrow, .button-listResponsive li .menu-item-no-link .arrow{
    width: 10px;
    height: 10px;
    border-left: none;
    border-top: none;
    border-right: 1px #fff solid;
    border-bottom: 1px #fff solid;
    transform: rotate(45deg);
    margin-left: 5px;
    margin-right: 5%;
  }

  .button-listResponsive ul {
    display:none;
  }

  .sub-listResponsive {
    display: none;
  }

  .sub-listResponsive.active {
    display: block;
    background: rgba(0,0,0,0.2);
    width: 89%;
  }

  .button-listResponsive li a:hover{
    background-color: rgba(255,255,255,0.1);
  }

  .bodyRes{
    display: block;
  }

  .logo img {
    height: 50%;
  }
}

@media screen and (max-width: 424px){
  header .logo{
    width: 80%;
  }

  .logo img{
    height: 40%;
  }

  
}

#redes li {
  width: 8%;
  display: flex;
  margin-right: 2%;
  transition: var(--transition-smooth);
}

#redes li:hover {
  transform: translateY(-2px);
}