@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

@import url('https://fonts.googleapis.com/css2?family=Baloo+Tamma+2&display=swap');

.nav-link > .link-cel {
  display: none;
}

ul {
  list-style: none;
  margin-bottom: 0rem;
}

a {
  text-decoration: none;
}

header {
  font-family: "Poppins", sans-serif;
  position: fixed;
  top: 0px;
  background-color: transparent;
  width: 100%;
  z-index: 3;
  text-decoration: none;
  height: 64px;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0%;
  background-color: rgb(56, 165, 238, 0.5);
}

.container-header {
  padding: 1rem 1rem;
  margin: 0 auto;
  display: flex;
  position: relative;
  padding-left: 10rem;
}

.logo-container {  
  display: flex;
  width: 150px;
  align-items: center;
  margin-bottom: 15px;
}
.logo-container a {
  align-items: center;
}

.logo-container a img {
  align-items: center;
  display: flex;
  margin-bottom: 7.5em; 
  margin-left: -190px;
}

.nav-btn-header {
  flex: 3;
  display: flex;
}

.nav-links-header {
  flex: 2;
}

.log-sign {  
  justify-content: center;
  align-items: center;
  /* flex: 1; */
}

.logo {
  color: rgb(0, 0, 0);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 3rem;
}

.logo span {
  font-weight: 300;
}

header .btn {
  display: inline-block;
  padding: 0.5rem 1.3rem;
  font-size: 0.8rem;
  border: 2px solid white;
  border-radius: 6px;
  line-height: 1;
  margin: 0 0.2rem;
  transition: 0.3s;
  text-transform: uppercase;
  color: white;
}

header.btn.solid,
header.btn.transparent:hover {
  background-color: #7c83fd;
  color: #ffffff;
}

header.btn.transparent,
header.btn.solid:hover {
  background-color: transparent;
  color: #7c83fd;
}

.nav-links-header > ul {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 5rem;
}

.nav-link {
  position: relative;
  text-transform: uppercase;
}

.nav-link > a {
  line-height: 3rem;
  color: white;
  padding: 0 0.8rem;
  letter-spacing: 1px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 0.5s;
  text-decoration: none;
}

.nav-link > a > i {
  margin-left: 0.2rem;
}

.nav-link:hover > a {
  transform: scale(1.1);
  color: white;
  /* color: black; */
}

.btnIni .solid {
  transition: 0.5s;
  -moz-transition: 0.5s; /* Firefox */
  -webkit-transition: 0.5s; /* Chrome - Safari */
  -o-transition: 0.5s; /* Opera */
}

.btnIni:hover,
.solid:hover{
  transform : scale(1.1);
  -moz-transform : scale(1.1); /* Firefox */
  -webkit-transform : scale(1.1); /* Chrome - Safari */
  -o-transform : scale(1.1); /* Opera */
  -ms-transform : scale(1.1); /* IE9 */
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 15rem;
  transform: translateY(10px);
  opacity: 0; 
  pointer-events: none;
  transition: 0.5s;
}

.dropdown ul {
  position: relative;
}
/*jorge */
.dropdown ul li ul:before{
  content: '';
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom:12px solid purple;
  position: absolute;
  top: -12px;
  left: 20px;
}


.dropdown-link > a {
/*caja de texto*/
display: flex;
background-color: #7c83fd;
color: #ffffff;
padding: 0.5rem 1rem;
font-size: 0.9rem;
align-items: center;
justify-content: space-between;
transition: 0.3s;
text-decoration: none;
 
}

.dropdown-link:hover > a {
  background-color: #A7ACF3;
  color: #7c83fd;
}

.dropdown-link:not(:nth-last-child(2)) {
  border-bottom: 1px solid #7c83fd;
}

.dropdown-link i {
  transform: rotate(-90deg);
}

.arrow {
  position: absolute;
  width: 11px;
  height: 11px;
  top: -5.5px;
  left: 50px;
  background-color: #7c83fd;
  transform: rotate(45deg);
  cursor: pointer;
  transition: 0.3s;
  z-index: -1;
}

.dropdown-link:first-child:hover ~ .arrow {
  background-color: #7c83fd;

}

.dropdown-link {
  position: relative;
}

.dropdown.second {
  top: 0;
  left: 100%;
  padding-left: 0.8rem;
  cursor: pointer;
  transform: translateX(10px);
}

.dropdown.second .arrow {
  top: 10px;
  left: -5.5px;
}

.nav-link:hover > .dropdown,
.dropdown-link:hover > .dropdown {
  transform: translate(0, 0);
  opacity: 1;
  pointer-events: auto;
}

.hamburger-menu-container {
  flex: 1;
  display: none;
  align-items: center;
  justify-content: flex-end;
  margin-top: 24px;
  margin-right: 18px;
  
}

.hamburger-menu {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hamburger-menu div {
  width: 1.6rem;
  height: 3px;
  border-radius: 3px;
  background-color: #7c83fd;
  position: relative;
  z-index: 1001;
  transition: 0.5s;
}

.hamburger-menu div:before,
.hamburger-menu div:after {
  content: "";
  position: absolute;
  width: inherit;
  height: inherit;
  background-color: #7c83fd;
  border-radius: 3px;
  transition: 0.5s;
}

.hamburger-menu div:before {
  transform: translateY(-7px);
}

.hamburger-menu div:after {
  transform: translateY(7px);
}

#check {
  position: absolute;
  top: 50%;
  right: 1.0rem;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  z-index: 4;
  cursor: pointer;
  opacity: 0;
  display: none;
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div {
  background-color: transparent;
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div:before {
  transform: translateY(0) rotate(-45deg);
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div:after {
  transform: translateY(0) rotate(45deg);
}

@keyframes animation {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

@media (max-width: 1200px) {
  .hamburger-menu-container {
    display: flex !important;
  }

  #check {
    display: block;
  }
  
  .nav-link > a {
    color: black;
  }



  @media (min-width: 1000px) {
    .container-header {
      max-width: 65rem;
      padding: 1rem 2rem;
      margin: 0 auto;
      display: flex;
      position: relative;
      background-color:none;
    }

    .log-sign .btnIni {
      margin-left: -50px;
    }
  }
    @media (min-width: 320px) {
      .container-header {
        height: 80px;
        max-width: 65rem;
        padding: 1rem 1rem;
        margin: 0 auto;
        display: flex;
        position: relative;
        background-color:#e7f4ff;
        top: -10px;

      }
      .logo-container a img{
        position: relative;
        top: -1em;
        margin-bottom:7.6em; 
        margin-left: -2px !important;
      }

   

      .logo-container {
        margin-top: 40px;
        margin-left: -2em;
      }

      .nav-link > a {
        color: black !important;
      }

      .nav-link > .link-cel {
        display: block;
      }

      .dropdown-link > a {
      
        display: none;

      
      }      

    }

  header .btn {    
    border: 2px solid #737bf1 !important;
    margin: 0 .2rem !important;
    transition: .3s !important;
    margin-top: 10px !important;
  }

  .nav-btn-header {
    position: fixed;
    height: calc(100vh - 45px);
    top: 90px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateX(100%);
    transition: 0.65s;
    display: none;
  }

  #check:checked ~ .nav-btn-header {
    transform: translateX(0);
  }

  #check:checked ~ .nav-btn-header .nav-link,
  #check:checked ~ .nav-btn-header .log-sign {
    animation: animation 0.5s ease forwards var(--i);
  }

  .nav-links-header {
    flex: initial;
    width: 100%;
  }

  .nav-links-header > ul {
    flex-direction: column;
  }

  .nav-link {
    /*width: 100%;*/
    opacity: 0;
    transform: translateY(15px);
  }

  .nav-link > a {
    line-height: 2.5rem !important;
    padding: 1.6rem 2rem;
    
  }

  

  .dropdown,
  .dropdown.second {
    position: initial;
    top: initial;
    left: initial;
    transform: initial;
    opacity: 1;
    pointer-events: auto;
    width: 100%;
    padding: 0;
    background-color: #c6e0fa;
    display: none;
  }

  li.nav-link > .dropdown,
  .dropdown-link:hover > .dropdown {
    display: block;
  }

  .nav-link {
    position: relative;
    /*left: -60px;*/
  }

  .nav-link:hover > a > i,
  .dropdown-link:hover > a > i {
    transform: rotate(360deg);

  }

  .dropdown-link > a {
    background-color: transparent;
    color: rgb(0, 0, 0);
    padding: 1.2rem 2rem;
    line-height: 1;

    

  }

  .dropdown.second .dropdown-link > a {
    padding: 1.2rem 2rem 1.2rem 3rem;



  }

  .dropdown.second .dropdown.second .dropdown-link > a {
    padding: 1.2rem 2rem 1.2rem 4rem;

  
  }

  .dropdown-link:not(:nth-last-child(2)) {
    border-bottom: none;

  
  }

  .arrow {
    z-index: 1;
    background-color: #69bde7;
    left: 10%;
    transform: scale(1.1) rotate(45deg);
    transition: 0.5s;
  }

  .nav-link:hover .arrow {
    background-color: #c6e0fa;
  }

  .dropdown .dropdown .arrow {
    display: none;
  }

  .dropdown-link:hover > a {
    background-color: #c6e0fa;

  }

  .dropdown-link:first-child:hover ~ .arrow {
    background-color: #c6e0fa;
  

  }

  .nav-link > a > i {
    font-size: 1.1rem;
    transform: rotate(-90deg);
    transition: 0.7s;
  }

  .dropdown i {
    font-size: 1rem;
    transition: 0.7s;
  }

  .log-sign {
    flex: initial;
    width: 100%;
    padding: 1.5rem 1.9rem;
    justify-content: flex-start;
    transform: translateY(15px);
    display: block;
  }
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.904);
  transition: background-color 500ms linear;
}
@media only screen and (min-width:320px) and (max-width:920px) {
  .nav-link>a {
    line-height: 1 !important;
  }
}

@media only screen and (min-width:1200px) and (max-width:1400px) {
  .logo-container a img {
    margin-bottom:7.6em; 
    margin-left: 0px;
  }
}
@media only screen and (min-width:1400px) and (max-width:1650px) {
  .logo-container a img {
    margin-bottom:7.6em; 
    margin-left: -100px;
    margin-top: 4px;    
  }
}
@media screen and (min-width: 1050px) {

  .logo-container {
    margin-right: 0px;    
  }

  #PagePay{
    margin-left: 20px;
    margin-right: 270px;
  }
  
}

.links-headers {
  color: white;
}
@media (max-width: 1200px) {

  header .btn {
    display: inline-block;
    padding: 0.5rem 1.3rem;
    font-size: 0.8rem;
    border: 2px solid #737BF1;
    border-radius: 6px;
    line-height: 1;
    margin: 0 0.2rem;
    transition: 0.3s;
    text-transform: uppercase;
    color: #737BF1 !important;
    margin-top: 10px;
  }

  .nav-link:hover > a {
    
    /* color: white; */
    color: black;
  }
  
}

@media (max-width:1200px) {
  header .btn-cerrarsesion {
    display: inline-block;
    padding: 0.5rem 1.3rem;
    font-size: 0.8rem;
    border: 2px solid #737BF1;
    border-radius: 6px;
    line-height: 1;
    margin: 0 0.2rem;
    transition: 0.3s;
    text-transform: uppercase;
    color: #737BF1;
    margin-top: 10px;
  } 
  .nav-link .link-cel {
    display: block;
  }
}

@media (min-width:1201px){
  header .btn-cerrarsesion {
    display: none;
  }
}