*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body { 
    max-width: 100% !important;
    overflow-x: hidden !important;
    scroll-behavior: smooth;
}

.menu-fixed{
  position: fixed;
  width: 100%;
  z-index: 998;
}

.top-header{
  width: 100%;
  height: 50px;
  background-color: var(--main-color);
  /* background-color: #fff; */
}

.top-contact{
  display: flex;
  align-items: center;
}

.top-header-icon{
  color: #fff;
}

.container-top-header{
  margin: 0 auto;
  padding: 0 2rem;
  /* max-width: 1380px; */
  max-width: 1380px;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container-top-header p{
  padding: 0;
  color: #fff;
  font-size: 1.3rem;
}

.links-top-header{
  width: 400px;
  display: flex;
  justify-content: space-between;
}

.links-top-header a{
  font-size: 0.8rem;
}

.top-contact p{
  padding-left: 0.5rem;
  font-size: 1rem;
}

#header-bg{
  width: 100%;
  height: 100px;
  background-color: #Fff;
  top: 0;
  /* border-bottom: 1px solid #7f7f7f; */
  box-shadow: 1px 1px 1px 1px rgb(0 0 0 / 10%);
  z-index: 999;
  /* display: flex; */
}

header{ 
  position: relative;
  margin: 0 auto;
  /* padding: 0 2rem; */
  max-width: 1400px;
  /* max-width: 95%; */

  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#logo-menu{
    background-image: url('../img/datta_logo_web.svg');
    background-repeat: no-repeat;
    width: 330px;
    height: 70px;
    margin-left: 1rem;
}

.menu-nav{
  position: absolute;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 999;
}

.menu-nav ul{
    display: flex;
    flex-direction: row;
    padding-top: 6px;
}

.menu-nav ul li{
    padding: 0px 20px;
    list-style: none;
}

a{
  text-decoration: none;
}

.menu-nav ul a{
    color: var(--fourth-color); 
    font-weight: 700;
    line-height: 0;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.menu-nav ul a:hover{
    color: #777;
}

#social-media{
  padding-right: 20px;
  padding-left: 20px;
}

.social-icon{
  font-size: 1.8rem;
  /* color: #fff; */
  color: var(--main-color);
  padding-right: 20px;
}

.boton-contacto{
  position: relative;
  background: var(--second-color);
  padding: 15px;
  border-radius: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
    margin-right: 1rem;

}

.boton-contacto:hover{
    background-color: var(--third-color);
    color: #fff;
}

/*------------------------------------Breakpoint--------------------------------------------*/

@media (min-width: 1024px) {
  .menu-nav {
      display: flex; /* Asegura que esté visible */
  }
}

@media (max-width:1250px){


    #logo-menu{
        margin-left: 1.5rem;
        width: 170px;
        height: 35px;
    }

/*--------------mobile-btn-menu-----------------*/
.nav-mobile-icon {
    width: 34px;
    position: relative;
    margin: auto 1.5rem;
    padding: 10px 0px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .7s ease-in-out;
    -moz-transition: .7s ease-in-out;
    -o-transition: .7s ease-in-out;
    transition: .7s ease-in-out;
    cursor: pointer;
    z-index: 500;
  }
  
  .mobile-icon{
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: var(--second-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    -o-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
  }
  
  .mobile-icon:nth-child(1) {
    top: 0px;
  }
  
  .mobile-icon:nth-child(2), .mobile-icon:nth-child(3) {
    top: 10px;
  }
  
  .mobile-icon:nth-child(4) {
    top: 20px;
  }
  
  .nav-mobile-icon.open .mobile-icon:nth-child(1) {
    top: 10px;
    width: 0%;
    left: 50%;
  }
  
  .nav-mobile-icon.open .mobile-icon:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  
  .nav-mobile-icon.open .mobile-icon:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  
  .nav-mobile-icon.open .mobile-icon:nth-child(4) {
    top: 10px;
    width: 0%;
    left: 50%;
  }
  
  /*--------------mobile-btn-menu-----------------*/


  .menu-nav{
    display: none;
    position: absolute;
    width: 100%;
    padding-bottom: 100px;
    background: var(--main-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    /* border: 1px solid rgba(220, 230, 50, 0.3); */
    top: 80px;
    box-shadow: 0 5px 12px rgb(0 0 0 / 0.2);
    z-index: 800;
}

.menu-nav ul{
  flex-direction: column;
}

.menu-nav ul li{
    padding: 30px 20px;
}

.menu-nav ul a{
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;

}

.social-icon{
  color: #fff;
}

.boton-contacto{
  top: 60px;
  margin-left: 1rem;
  background-color: var(--third-color);
}

}

@media (max-width: 750px){

  #header-bg, header{
    height: 80px;
    max-width: 100%;
  }

  #localizacion{
    display: none;
  }

  .links-top-header p{
    font-size: 1rem;
  }


  #logo-menu{
    width: 200px;
    height: 50px;
}
}


