
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,600;1,100;1,700;1,900&display=swap');

body{
    font-family: 'Montserrat', sans-serif;
    background: #000;   
}
/* Menu de hamburgesa */
.hamburger-menu{
    display: flex;
    flex-direction: column;
    width: 3rem;
    height: 3rem;
    border: 0;
    background: transparent;
    gap: .2rem;
    justify-content: center;
    z-index: 201;
    margin: 0px 0px -26px
}

.hamburger-menu > div {
    background: #fff;
    height: 6px;
    width: 100%;
    clip-path: polygon(0 0, 93% 0%, 100% 100%, 7% 100%);
    /* border-radius: 5px; */
    transition:all .5s;
    transform-origin: left;
    right: 20px;
  position: relative;
}

.hamburger-menu div:nth-child(2) {
    translate: .3rem;
}
.hamburger-menu div:last-child {
    translate: .6rem;
}
/* Posible animaci¨®n */
/* button:hover div:first-child {
    transform: rotate(45deg) ;
}
button:hover div:nth-child(2) {
    opacity: 0;
}
button:hover div:last-child {
    translate: -.11rem;
    transform: rotate(-45deg) ;
} */


/* Animaci¨®n menu */
.nav__logo{
    margin: 0px 0px -26px;
    z-index: 201;
}
.nav{
    width: 100%;
    height: 75px;
    position: fixed;
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,1) 85%, rgba(93,93,93,0.10407913165266103) 100%);
    z-index: 200;
    top: 0;
}
.nav__container{
    display: flex;
    height: 100%;
    width: 90%;
    margin: -20px auto;
    justify-content: space-between;
    align-items: center;
}
/* .nav__menu{
    display: grid;
    grid-auto-flow: column;
    gap: 3rem;
} */

.nav__menu, .nav__input{
    display: none;
}
.nav__label{
    cursor: pointer;
}
.nav__menu{
    position: fixed;
    top: 0px;    
    bottom: 0;
    background: #000000e6;
    width: 100%;
    left: 0;
    display: flex;
    /*justify-content: space-evenly;*/
    padding-top: 100px;
    flex-direction: column;
    z-index: 200;
    align-items: end;
    padding-right: 10%;
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    /* clip-path: circle(0.3% at 100% 0); */
    /* clip-path: circle(0 at center); */
    transition: clip-path 1s ease-in-out;
}
.nav__input:checked + .nav__menu{
    position:fixed;
    clip-path:  polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
    /* clip-path:  circle(141.2% at 100% 0); */ 
}

.nav__item{
    color: #fff;
    text-decoration: none;
    --clippy : polygon(0 0, 0 0, 0 100%, 0% 100%);
    font-size: 40px;
    font-weight: 600;
    padding-right: 10%;
}

  
.nav__item::after{
    content: "";
    display: block;
    background: #1EA538;
    width:  90%;
    margin-top: 3px;
    height: 3px;
    clip-path: var(--clippy);
    transition: clip-path .3s;
}
.nav__item:hover{
    --clippy: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

@media (max-width: 700px) {
    .nav__item{
        font-size: 20px;
        font-weight: 600;
        margin-top: 24px;
    }
}

@media (max-width: 1500px) {
    .nav__item{
        font-size: 27px;
        padding-right: 12%;
    }
}

@media (max-width: 370px) {
    .nav__item{
        font-size: 11px;
        padding-right: 5%;
    }
}

.nav__submenu {
    position: absolute;
    background-color: #00000027;
    /* border: 1px solid rgba(204, 204, 204, 0.274); */
    padding: 10px;
    color: #ffffff; 
    visibility: hidden; 
    opacity: 0;
    transition: visibility 1.5s, opacity 1.0s;
    left: -172px;
    clip-path:var(--clippy);
    width: 180px;
    border-radius: 5%;
}


.nav__item-efd {
    position: relative;
    width: 23%;
}


.nav__item-efd:hover .nav__submenu {
    visibility: visible;
    opacity: 1;
    
}


.nav__submenu-item{
    color: #fff;
    text-decoration: none;
    --clippy : polygon(0 0, 0 0, 0 100%, 0% 100%);
    font-size: 15px;
    font-weight: 600;
    padding-right: 10%;
}

  
.nav__submenu-item::after{
    content: "";
    display: block;
    background: #1EA538;
    width:  90%;
    margin-top: 3px;
    height: 3px;
    clip-path: var(--clippy);
    transition: clip-path .3s;
}
.nav__submenu-item:hover{
    --clippy: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

  footer{
    margin-bottom: 0;
    position: relative;
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(0,0,0,1) 85%, rgba(93,93,93,0.10407913165266103) 100%);
    z-index: 200;
    top:99px
  }
