@font-face {
  font-family: "Arial Rounded Bold";
  src: url("../../font/ArialRoundedMTBold.woff2") format("woff2"),
    url("../../font/ArialRoundedMTBold.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

 
:root {
  --primary-color: #61e040;
  --secondary-color: #47cef9;
  --black-color: #222222;
  --color-black: #222222;
  --color-gray-1: #efeff3;
  --color-gray-3: #dbdbdb;
  --color-gray-border-box: #ebebeb;
  --color-red: #d96336;  
  --color-svg-primary: brightness(0) saturate(100%) invert(76%) sepia(53%) saturate(655%) hue-rotate(52deg) brightness(95%) contrast(87%);
  --color-svg-secondary: brightness(0) saturate(100%) invert(66%) sepia(99%) saturate(949%) hue-rotate(163deg) brightness(102%) contrast(95%);
  --color-svg-gray: brightness(0) saturate(100%) invert(39%) sepia(0%) saturate(391%) hue-rotate(137deg) brightness(103%) contrast(71%);
  --font-body:  'DM Sans', sans-serif;
  --font-heading: "Arial Rounded Bold", sans-serif;
}

 
body {
  font-size: 1rem;
  padding: 0;
  line-height: 1.5;
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  color: #9e9e9e;
  margin: 0;
  overflow-x: hidden; 
}
 

.container-m {
  max-width: 1280px;
  margin: 0 auto;
	padding-left:  20px;
	padding-right: 20px;
}


a {
  text-decoration: none;
}


/*General*/


.padt1 {
  padding-top: 5vh;

}

.padb1 {
  padding-bottom: 5vh;
}


.post-hero {

  min-height: 250px;
}



/*Overlay*/
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);  
  display: none;  
  justify-content: center;
  align-items: center;
  z-index: 999999;  
}


/* */ 
.mil-overlay {
  background: #000;
}
.mil-menu-btn {
  
  z-index: 9999999;

}

 
/*hEADER*/

header ul {
   padding: 0;
   margin: 0;
}

.desk-nav .mil-dropdown-toggle:after, .app-nav .mil-dropdown-toggle:after{
  content: "";
  background-image: url(https://performance-dev.com/wp-content/uploads/menu-arrow-1.png);
  position: absolute;
  background-repeat: no-repeat;
  width: 10px;
  height: 7px;
  background-size: 10px 6px;
  top: 50%;
  right: 0;
  filter: invert(1);
  transform: translatey(-50%);
}



.menu a{
  position: relative;
}

.header-container{
  display: flex;
  justify-content: flex-end;
  grid-gap: 15px;
  background: #000;
  padding: 0.85rem 1rem;
  font-family: "Sora", sans-serif;
  align-items: center;    
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.header-logo img{
  display: block;
  height: 2em;
  font-size: 1rem;
  font-size: clamp(1rem, 0.98rem + 0.10000000000000009vw, 1.1rem);
}


.menu a:hover{
  color: var(--primary-color);
}


.menu{
  grid-gap: 1em;
 
  font-weight: 600;
  list-style: none;
  text-transform: uppercase;
}
 

.menu a{
 text-decoration: none;
 font-family: var(--font-body);
  padding:0.3em 0;
  display: block;
  color: #fff;

} 


.sub-menu {
  display: none; /* Por defecto, el submenú está oculto */
  z-index: 9;
  list-style: none;
  font-size: 0.8em;
  padding: 0 0 2em 2em;
}
.sub-menu a{
  font-size: 1em;
  padding:0.2em 0;
  color: rgba(255,255,255,0.75);
}

.desk-nav{
  display: none;

 }
  
.app-nav{
  display: none;
  position: fixed;
  height: 100%;
  z-index: 9999;
  left: 0;
  top: 0;
  font-size: 19px;
  background: #000;
  width: 100vw;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-between;
  padding: 35px;
  box-sizing: border-box;

}
.app-hb {
   cursor: pointer;
   height: 25px;
   display: flex;
   justify-content: center;
   align-items: center; z-index: 999999;
}
.app-hb img{
  filter: invert(1);
  height: 100%;

  display: block;
  position: relative;

}
.btn-nav{
  text-decoration: none;
    background: var(--primary-color);
    color: #000;
    line-height: initial;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.8rem;
    font-size: clamp(0.8rem, 0.76rem + 0.19999999999999996vw, 1rem);
    padding: 0.7em 1.2em;
    white-space: nowrap;
    font-family: var(--font-body);

}



  .top-header{

  padding: 0.25rem 1rem; background: #000; border-bottom: 1px solid rgba(255,255,255,0.15); display: flex; font-size: 14px;  justify-content: flex-end;

  }
 
@media screen and (max-width: 999px) {
  .header-logo {
    margin-right: auto;
    }
  }

  @media screen and (min-width: 690px) {
  .x2{
    display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
       
      }
    }

@media screen and (min-width: 999px) {

  .header-container{
  
    padding: 0.9rem 2rem;
    justify-content: space-between;
    
  }

  .top-header{


  padding: 0.25rem 2rem;  

  }

.desk-nav {
    display: flex;
     align-items: center;
  grid-gap: 4em;
  font-size: 0.9rem;
  text-transform: uppercase;
}
.menu { 
  font-size: 0.8rem;  
}
.menu a {
    padding: 1em 1.5em;
}

.menu {
    display: flex;
    grid-gap: 1em;
    font-size: 0.9rem;
    position: relative;
}

.menu a {
  
    display: block;
}
.menu-item {
  position: relative;
}
.sub-menu {
    position: absolute;
    background: #2f2f2f;
     min-width: 200px;
    right: 0px;
    text-align: right;
    font-size: 1em;
    padding: 0;
}

.sub-menu a {
    height: auto;
    padding: 1.5em 2em 0 2em;
}
.sub-menu li:last-child a {
 padding-bottom: 1.5em;
}

/* Cambiar aquí para que solo el submenú correspondiente se muestre */
.menu > li:hover .sub-menu {
    display: block; /* Solo muestra el submenú del elemento padre */
}

.app-nav, .app-hb {
    display: none;
}

}