@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

body {
	font-family: 'Roboto', sans-serif;
	margin: 0;
	position: relative;
	display: flex;
	flex-flow: column;
}

h1,
h2,
h3 {
	text-transform: uppercase;
	margin-top: 0;
}
#main {
	display: flex;
	justify-content: center;
	align-items: start;
	margin: 0 auto;
}
#cabecalho {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	border-radius: 1rem;
	img {
		max-height: 200px;
		margin: 0 2rem;
		width: 100%;
		height: auto;
		display: inline-block;
		max-width: 340px;
	}
}
#introducao {
	max-width: 80vw;
	text-align: center;
	margin-bottom: 2rem;
}
.gerador {
	border-radius: 0.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	height: auto;
	max-height: auto;
	flex-wrap: wrap;
	flex-direction: column;
	background-color: #f0f0f0;
	box-shadow: 0px 2px 0.5rem rgba(0, 0, 0, 0.3);
	padding: 1.5rem;
	width: 100%;
	max-width: 80vw;
	margin: 0 2rem;

	button {
		margin: 1rem;
		&:last-child {
			margin-top: 0px;
			margin-bottom: 1rem;
		}
	}
	h2 {
		margin: 1rem 0;
	}
}
.numeros {
	display: flex;
	justify-content: center;
	align-items: center;
	width: fit-content;
	flex-wrap: wrap;
	span {
		padding: 1.4rem;
		background: white;
		border-radius: 100%;
		height: 2rem;
		width: 2rem;
		align-items: center;
		justify-content: center;
		display: block;
		margin: 0.5rem;
		font-weight: bold;
		box-shadow: 0px 2px 0.5rem lightgray;
		letter-spacing: revert;
		text-align: center;
		font-size: 2rem;
		letter-spacing: auto;
	}
}
button {
	padding: 1rem 2rem;
	background: #85bb65;
	font-weight: bold;
	font-size: 1rem;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	margin-top: 1rem;
	transition: 0.3s;
	display: block;
	&:hover {
		background: #6e9e4f;
		box-shadow: 0px 2px 0.5rem lightgray;
	}
}

#novosNumeros {
	display: block;
	transform: scale(0.8);
	background-color: white;
	color: #6e9e4f;
	&:hover {
		background-color: #6e9e4f;
		color: white;
	}
}

.modal {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, 0.4);
}

#rodape {
	display: flex;
	width: 100%;
	justify-content: space-around;
	align-items: center;
	bottom: 0;
	font-size: 0.8rem;
	padding: 1rem;
	width: auto;
	margin-top: 3rem;
	opacity: 0.7;
}

.modal-content {
	font-family: monospace;
	box-sizing: border-box;
	border-radius: 0;
	background-color: wheat;
	text-align: left;
	padding: 2rem;
	width: 480px;
	max-width: 91vw;
	margin: 1.5rem;
	justify-self: center;
	display: flex;
	flex-direction: column;
	position: relative;
}
.cabecalho-pix {
	margin-top: 1rem;
}

.close {
	color: black;
	font-size: 28px;
	font-weight: normal;
	cursor: pointer;
	position: absolute;
	top: 1rem;
	right: 1rem;
}

.close:hover,
.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}
.box {
	margin: 1rem 0;
	text-align: center;
	padding: 0.4rem;
	border: 2px solid black;
	font-weight: 600;
}
.numeros-escolhidos {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	justify-content: center;
	padding: 0;
	li {
		list-style: none;
		padding: 0.5rem;
		border-radius: 100%;
		height: 32px;
		width: 29px;
		align-items: center;
		justify-content: center;
		display: block;
		margin: 0.5rem;
		font-weight: bold;
		border: 3px solid black;
		text-align: center;
		font-size: 2rem;
		letter-spacing: auto;
		justify-self: center;
		display: flex;
	}
}
.pix {
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-direction: row;
	div {
		display: flex;
		flex-wrap: wrap;
		flex-direction: column;
	}
	small {
		margin-top: 0.5rem;
		display: inline-flex;
	}
	img {
		display: inline-flex;
		max-width: 100px;
		padding: 0.4rem;
		background-color: white;
		margin-right: 1rem;
	}
	button {
		display: inline-flex;
		margin: 0;
	}
	h1,
	h2,
	h3 {
		margin-top: 0;
	}
}
