* {
	padding: 0;
	margin: 0;
}

:root {
	--Gris: #232323;
	--Blanco: #F9F9F9;
	--Rojo: #FF1E00;
	--Verde: #7DCE13;
}

body {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-family: monospace;
	background-color: var(--Gris);
	font-size: 14px;
	gap:1rem;
}

.encabezado{
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 95%;
}
.encabezado__titulo {
	text-align: center;
	color: var(--Blanco);
	margin: 7px 7px 0 7px;
}

.encabezado__p{
	text-align: center;
	font-size: 10px;
	color: var(--Blanco);
}

.encabezado__p a{
	text-decoration: none;
	color: var(--Verde);
}

.encabezado__p a:visited {
	color: var(--Verde);
}

button {
	border: none;
	outline: none;
	cursor: pointer;
}

textarea {
	resize: none;
	border: none;
	outline: none;
}

/*MENU PRINCIPAL*/

.principal{
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 95%;
}
.principal__menu {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;

	width: 100%;
	height: 560px;
	/*top: 250px;*/
	/* margin: 200px auto 0 auto; */
}

.btn{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-family: monospace;
	font-weight: bold;
	font-size: 1.05rem;
	height: 3rem;
	width: 100%;
	border-radius: .5rem;
	border: none;
}

.menu__btnAdd {
	color: var(--Blanco);
	background-color: var(--Gris);
	border: 1px var(--Blanco) solid;
}

/*SALA DE JUEGO*/
.principal__categorias{
	display: none;
	flex-direction: column;
	align-items: center;
	width: 100%;
	gap: .7rem;
}
.categorias__titulo{
	display: flex;
	justify-content: center;
	color: var(--Blanco);
}
.principal__jugando {
	width: 100%;
	display: none;
	align-items: center;
	flex-direction: column;
	height: 610px;
	gap: 1rem;
}

.jugando__lienso {
	margin-top: 5px;
}

.jugando__sectorLetras {
	width: 100%;

}

.sectorLetras__correctas {
	display: flex;
	justify-content: center;
}

.cajaLetra {
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: var(--Blanco);
	display: flex;
	height: 40px;
	width: 30px;
	border-bottom: 1px solid var(--Blanco);
	margin: 0 5px;
}

.sectorLetras__incorrectas {
	display: flex;
	margin: 5px auto 0 auto;
	color: var(--Rojo);
	width: 160px;
	height: 15px;
	justify-content: center;
	align-items: center;
}

.sectorLetras__incorrectas p {
	display: flex;
	justify-content: center;
	width: 20px;
}

.jugando__teclado {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	width: 350px;
	gap: .12rem;
}

.jugando__teclado button {
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--Blanco);
	width: 36px;
	height: 36px;
	border-radius: 2px;
	cursor: pointer;
}

.jugando__btns{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	height: 3rem;
	width: 100%;
}
.btni{
	height: 2rem;
	width: 2rem;
	border: solid 1px var(--Blanco);
	border-radius: .5rem;
}
.reintentar__icon{
	display: flex;
	height: calc(2rem - 2px);
	width: calc(2rem - 2px);
	background-image: url(../img/reload-svgrepo-com.svg);
	background-repeat: no-repeat;
	background-color: var(--Gris);
	border-radius: .5rem;
}

.home__icon{
	display: flex;
	height: calc(2rem - 2px);
	width: calc(2rem - 2px);
	background-image: url(../img/home-svgrepo-com.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-color: var(--Gris);
	border-radius: .5rem;
}

/*AGREGAR PALABRAS*/

.principal__agregaPalabras {
	display: none;
	flex-direction: column;
	width: 100%;
	height: 610px;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

.agregaPalabras__campo {
	font-size: 1rem;
	background-color: var(--Blanco);
	color: var(--Gris);
	padding: 10px;
	width: calc(100% - 20px);
	height: 200px;
	border-radius: 10px;
	margin: 0 auto;
}

.agregaPalabras__btns {
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: .6rem;
	width: 100%;
}

/* RESPONSIVE */
@media screen and (min-width:760px) {

.principal__menu{
	height: 80vh;
}

.btn{
	width: 30%;
}
.jugando__teclado{
	display: none;
}
.jugando__btns{
	width: 350px;
}
.agregaPalabras__campo{
	width: calc(60% - 10px);
}
}