:root {
	--color-blue: #183352;
	--color-grey: #767B77;
	--color-greyDark: #26323d;
	--color-lightBlue: #F3F5FC ;
	--color-purple: #892fa0;
	--color-lila: #8100fa;
}
* {
	box-sizing: border-box;
	margin: 0px;
	padding: 0px;
	letter-spacing: 1px;
	line-height: 1.3;
	font-family: 'IBM Plex Serif', serif;
	text-decoration: none;
}
body {
	background: #5b5c66a6 url(/imagenes/japan-city-street-purple-aesthetic-5gie0uq00n6a4bfv.jpg) no-repeat center;
	background-size: cover;
}
button {
	cursor: pointer;
}
/*Barra Scroll*/
*::-webkit-scrollbar {
	-webkit-appearance: none;
}
*::-webkit-scrollbar:vertical {
	width: 8px;
	background: none;
}
*::-webkit-scrollbar-button:increment,
*::-webkit-scrollbar-button {
	display: none;
}
*::-webkit-scrollbar:horizontal {
	height: 5px;
	background: none;
	border-radius: 100px;
}
*::-webkit-scrollbar-thumb {
	background-color: var(--color-blue);
	border-radius: 20px;
	border: none;
}
*::-webkit-scrollbar-track {
	border-radius: 500px;
}
/*Header*/
header {
	width: 100%;
	background-color: var(--color-greyDark);
	border-bottom: 4px solid var(--color-purple);
}
.header {
	width: 90%;
	height: 60px;
	margin: auto;
	display: flex;
	align-items: center;
	gap: .5em;
}
.logo {
	height: 40px;;
}
.title {
	font-size:clamp(22px, 2vw, 30px) ;
	text-align: center;
	color: var(--color-lightBlue);
	width: calc(100% - 77px);
}
.header__link__button {
	width: 50px;
}
.header__button {
	width: 50px;
	height: 50px;
	border-radius: 100%;
	border: none;
	background: #e6eafa;
	color: var(--color-blue);
	border: 1px solid var(--color-purple);
	border-bottom: 4px solid var(--color-purple);
	outline: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	font-size: 18px;
}
.header__button:active {
	border: 1px solid var(--color-purple);
}
.header__button__logo {
	height: 40px;
}
/*Main*/
.container {
	margin: auto;
	width: 85%;
	min-height: calc(100vh - 119px);
	display: grid;
	padding: 1rem;
	grid-template-columns: auto 280px;
	gap: 1rem;
}
/*Left*/
.left {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.inputtextarea {
	width: 100%;
	max-height: calc(100vh - 290px);
	border-radius: 5px;
	/* max-height: 33ch; */
	min-height: 50px;
	background: transparent;
	border: none;
	outline: none;
	resize: none;
	font-size: clamp(17px,1.5vw,20px);
	color: white;
	font-family: 'Space Mono', monospace;
}
.inputtextarea::placeholder {
	color: #ffffff;
}
.inputtextarea:focus::placeholder{
	color: #ffffff97;
}
.inputtextarea:valid,
.inputtextarea:focus{
	background-color: #000000bb;
	/* backdrop-filter: blur(10px); */
}
.content_botones {
	min-height: 80px;
}
.left__info{
	border-radius: 8px;
	background-color: #000000aa;
}

.left__info,
.rigth__info{
	display: flex;
	gap: 10px;
	text-align: center;
	font-size: 12px;
	color: white;
}
.botones {
	display: flex;
	justify-content: space-evenly;
	padding: .8rem 0 0;
	flex-wrap: wrap;
	gap: .8rem;
}
.subtitle{
	color: white;
	font-weight: bold;
}
.botonesSS{
	width: 100%;
	display: flex;
	gap: 5px;
}
.button__encriptar,
.button__desencriptar,
.button__copiar {
	width: 35%;
	max-width: 250px;
	min-width: 130px;
	height: 35px;
	font-size: 14px;
	font-weight: bold;
	border-radius: 5px;
	border: none;
	outline: 1px solid var(--color-blue);
	background: var(--color-blue);
	color: white;
}
.button__copiar,
.button__desencriptar {
	background: white;
	color: var(--color-blue);
}
.button__copiar {
	width: 100%;
	min-width: 100px;
}
.bn_ocultar {
	display: none;
}
/*Right*/
.right {
	align-items: center;
	width: 100%;
	height: 100%;
	background: #000000aa;
	border-radius: 15px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1rem;
	gap: 32px;
	box-shadow: 0px 24px 32px -8px rgba(0, 0, 0, 0.08);
}
.right.ajustar {
	justify-content: space-between;
}
.right__imagen {
	opacity: .9;
	border-radius: 100%;
	box-shadow: 0px 0px 25px 25px rgba(0, 0, 0, 0.515);
	min-width: 180px;
	width: 70%;
}

.ocultar {
	display: none;
}
.textoFinal {
	width: 100%;
	font-size: clamp(16px, 1.5vw, 18px);
	color: white;
	background: none;
	border: none;
	outline: none;
	text-align: center;
	overflow: hidden;
	resize: none;
	pointer-events: none;
	font-family: 'Space Mono', monospace;
}
.textoFinal::placeholder {
	color: white;
}
.textoFinal.ajustar {
	height: 22ch;
	min-height: calc(100% - 71px);
	pointer-events: all;
	text-align: left;
	overflow: auto;
}
/*Error Alert*/
.errorTitle{
	color: #fd1f4a;
}
.alertMessage{
	font-weight: bold;
	font-size: 1.2rem;
	color: #295afa;
}
.acepTitle{
	color: #20bb20;
}
/*Footer*/
footer {
	width: 100%;
	min-height: 55px;
	height: auto;
	text-align: center;
	display: flex;
	gap: 10px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: #183352d6;
    padding-bottom: 1%;
}
.creador {
	font-size: 20px;
	color: var(--color-lightBlue);
}
.usuario {
	color: var(--color-lightBlue);
	font-style: italic;
}
.links {
	width: 50px;
}

/*Creditos y codigo basado de Diego Llanos R.
.creditos{
    font-size: 20px;
	color: var(--color-lightBlue);
    padding: 20px;
}*/


/*Responsive*/
@media screen and (max-width: 850px) {
	.inputtextarea {
		max-height: calc(100vh - 450px);
	}
	.right__imagen {
		display: none;
	}
	.container {
		grid-template-columns: 1fr;
		grid-template-rows: 2fr max-content;
		margin: auto;
	}
}
@media screen and (max-width: 440px){ 
	body {
		background: #5b5c66b8 url(/imagenes/pink-aesthetic-anime-phone-xwmchz957c398dor.jpg) no-repeat center;
		background-size: cover;
	}
	.header {
		justify-content: center;
	}
}