@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

* {
	margin: 0;
	padding: 0;
}

body {
	margin:0;
	font-family: 'Press Start 2P', cursive;
	background: #333;
	color: #fff;
	font-size: 1.1em;
	line-height: 1.5;
	text-align: center;

}


nav {
	display: flex;
	justify-content: space-around;
	align-items: center;
	min-height: 8vh;
	background-color: #9aa493;
	color: #000000;
	position: fixed;
	width: 100%;

}

.logo{
		margin: 10px;
		position: relative;
		text-align: center;
}
.nav-links{
	display: flex;
	background-color: #9aa493;
	justify-content: space-around;
	width: 50%;
}
.nav-links li{
	list-style: none;
}
.nav-links a{
	color:inherit;
	text-decoration: none;
	letter-spacing: 3px;
	font-weight: bold;
	font-size:14px;

}

.burger {
	cursor: pointer;
	background-color: inherit;


}
.burger div{
	cursor: pointer;
	display: none;
	width: 25px;
	height: 3px;
	background-color: #000000;
	margin: 5px;
	transition: all 0.3s ease;

}

#main {
	padding: 2em 1em 1em;

}

#title {
	margin-bottom: 20px;
}


/* #main ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#main li {
  margin-bottom: 1em;
  background: #fff;
  color: #333;
} */

.card-content {
  padding: 1.5em;
}


.tree-entries{
  background: #CACFD2;
  color: #333;
	padding: 2em 1em;
	text-align: left;

}
ul[role="tree"] {
  margin: 0;
  padding: 10px;
  list-style: none;
  font-size: 80%;

}
/* padding se bajo de 10 a 5 px */
li[role="treeitem"]{
	padding: 5px;
	font-size: 95%;
}


[role="treeitem"].doc::before {
	background-image: url('../img/coin.gif');
	background-size: 20px 20px;
	display: inline-block;
	width: 20px;
	height: 20px;
	content:"";


}

[role="treeitem"][aria-expanded="false"] > ul {
  display: none;
}

[role="treeitem"][aria-expanded="true"] > ul {
  display: block;

}

[role="treeitem"][aria-expanded="false"] > span::before {
	  background-image: url('../img/coin.gif');
    background-size: 20px 20px;
    display: inline-block;
    width: 20px;
    height: 20px;
    content:"";


}

[role="treeitem"][aria-expanded="true"] > span::before {
	background-image: url('../img/coin.gif');
	background-size: 20px 20px;
	display: inline-block;
	width: 20px;
	height: 20px;
	content:"";

}

[role="treeitem"],
[role="treeitem"] span {
  width: 20em;
  margin: 0;
  padding: 0.125em;
  border: 2px transparent solid;
  display: block;
}

/* disable default keyboard focus styling for treeitems
   Keyboard focus is styled with the following CSS */
[role="treeitem"]:focus {
  outline: 0;
}

[role="treeitem"].focus,
[role="treeitem"] span.focus {
  border-color: black;
  background-color: #eee;
}

[role="treeitem"].hover,
[role="treeitem"] span:hover {
  background-color: #ddd;
}

.footer {
  text-align:center;
  background-color: #F4D03F;
  color: #333;
  padding: 20px;
  bottom: 0;
}
@media (min-width: 760px){
	.grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
  }
	#main p {
		text-align: justify;
	}

	.nav-links{
		width: 60%;
	}


}

@media screen and (max-width: 760px) {



	.nav-links{
		position: absolute;
		right: 0px;
		height: 75vh;
		top:13.9vh;
		background-color: inherit;
		flex-direction: column;
		align-items: center;
		width: 50%;
		overflow-x:hidden;
		opacity: .8;
		width: 0;
		transition: width .5s ease-out;

	}
	.nav-links li{
		opacity: 0;

	}
	.burger {
		cursor: pointer;
		background-color: inherit;


	}
	.burger div{
		display: block;
	}



.nav-active{
	width: 50%;
	opacity: .8;
}
/*agregado para prueba */
@keyframes navFade{
	from{
		opacity: 0;

	}
	to{
		opacity: 1;

	}
}

.toggleNav{

	opacity: 1;

}


@keyframes navLinkFade{
	from{
		opacity: 0;
		transform: translateX(50px);
	}
	to{
		opacity: 1;
		transform: translateX(0px);
	}

}

.toggle .line1{
	transform: rotate(-45deg) translate(-5px, 6px);

}
.toggle .line2{
	opacity: 0;

}
.toggle .line3{
	transform: rotate(45deg) translate(-5px, -6px);
}
