*{
    margin: 0;
    box-sizing: border-box;
    padding: 0;
}

@keyframes cambioImagen {
    0% {
        content: url("industrial.svg");
    }

    50% {
        content: url("industrial2.svg");
    }
  } 
  #myImage {
    animation: cambioImagen 3s infinite;
  }
  


  @keyframes cambio {
    0% {
        content: url("permacultura.svg");
    }

    50% {
        content: url("permacultura2.svg");
    }
  } 
  #myImagep {
    animation: cambio 3s infinite;
  }
  


  @keyframes cambiod {
    0% {
        content: url("diseño.svg");
    }

    50% {
        content: url("diseño2.svg");
    }
  } 
  #myImaged {
    animation: cambiod 3s infinite;
  }


  @keyframes cambioco {
    0% {
        content: url("colaborar1.svg");
    }

    50% {
        content: url("colaborar2.svg");
    }
  } 
  #myImageco {
    animation: cambioco 3s infinite;
  }


  @keyframes cambiotec {
    0% {
        content: url("tecnologia.svg");
    }

    50% {
        content: url("tecnologia2.svg");
    }
  } 
  #myImagetec {
    animation: cambiotec 3s infinite;
  }


  @keyframes cambiocer {
    0% {
        content: url("certificacion.svg");
    }

    50% {
        content: url("certificacion1.svg");
    }
  } 
  #myImagecer {
    animation: cambiocer 3s infinite;
  }
  
  
.nav__icon {
width: 30 px;
height: 30 px;
}

.nav__container .nav__icon {
width: 30px;
height: 30px;
}

body{
    font-family: Arial;
}



.nav{
   

    --img1: scale(1);
    --img2: scale(0);
}

.nav:has( .dropdown:target ){
    --img1: scale(0);
    --img2: scale(1);

    --clip:inset(0 0 0 0);

}

.nav__container{
    width: 90%;
    margin: 0 auto;
    height: 70px;

    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-areas: "title img";
    justify-content: space-between;
    align-items: center;

    overflow: hidden;
}

.nav__title{
    color: #fff;
    grid-area: title;
}


.nav__menu{
    grid-area: img;
    position: relative;
    z-index: 10;

    transform: var(--img1);
  
}

.nav__menu--second{
  
    transform: var(--img2);
}

.nav__icon{
    width: 30px;
    display: block;
}

.dropdown{
    position: absolute;
    background-color: #003300;
    width: 75%;

    max-width: 300px;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 1em;

    display: grid;
    align-content:center ;
    gap: 1rem;

    overflow-y: auto;


    clip-path: var(--clip, inset(0 0 100% 100%));
    transition: clip-path .5s;
	z-index: 9999;
    display: none;
}
.dropdown.show {
    display: block;
  }

.dropdown__list{
    list-style: none;
	
}

.dropdown__link{
    color: rgb(184, 187, 191);
    padding: 1em .7em;
    text-decoration: none;
    
    display: flex;
    align-items: center;
    gap: .6rem;

    position: relative;
    background-color: var(--bg, transparent);
    border-radius: 6px;
}

.dropdown__list:has( :checked ){
    --rows: 1fr;
    --rotate: rotate(180deg);
 
}

.dropdown__check{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.dropdown__arrow{
    margin-left: auto;
    transform: var(--rotate, 0);
    transition: .2s transform;
}

.dropdown__content{
    display: grid;
    grid-template-rows: var(--rows, 0fr);
    transition: .3s grid-template-rows;
}

.dropdown__sub{
    overflow: hidden;

}

.dropdown__li{
    width: 85%;

    list-style: none;
    margin-left: auto;
}

.dropdown__anchor{
    padding: 1em 0;
    display: block;
    
    text-decoration: none;
}