* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: "Poppins", sans-serif;
}
body {
	background-color: #f7f9fd;
}
.container {
	width: 90vw;
	max-width: 62.5em;
	position: relative;
	margin: auto;
}
.add-flashcard-con {
	display: flex;
	justify-content: flex-end;
	padding: 1.2em 1em;
}
button {
	border: none;
	outline: none;
	cursor: pointer;
}
.add-flashcard-con button {
	font-size: 1em;
	background-color: #587EF4;
	color: #ffffff;
	padding: 0.8em 1.2em;
	font-weight: 500;
	border-radius: 0.4em;
	margin-inline: 0.5em;
}

#add-flashcards-list {
	background-color: #ff5353;
}

#card-con {
	margin-top: 1em;
}
.flashcard-popup {
	width: 90vw;
	max-width: 34em;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background-color: #ffffff;
	position: absolute;
	transform: translate(-50%, -50%);
	top: 50%;
	left: 50%;
	padding: 3em 2em;
	border-radius: 0.6em;
	box-shadow: 0 1em 2em rgba(28, 0, 80, 0.1);
}
h2 {
	font-size: 2.2em;
	color: #363d55;
	font-weight: 600;
	text-align: center;
	margin-bottom: 2em;
}
.list-insert-container{
	max-width: 60em;
}
.wrapper {
	display: grid;
	grid-template-columns: 11fr 1fr;
	gap: 1em;
	margin-bottom: 1em;
}
.error-con {
	align-self: center;
}
.error {
	color: #ff5353;
	font-weight: 400;
}
.fa-xmark {
	font-size: 1.4em;
	background-color: #587ef4;
	height: 1.8em;
	width: 1.8em;
	display: grid;
	place-items: center;
	color: #ffffff;
	border-radius: 50%;
	cursor: pointer;
	justify-self: flex-end;
}
#close-btn-2 {
	background-color: #ff5353;
}
label {
	color: #363d55;
	font-weight: 600;
	margin-bottom: 0.3em;
}
textarea {
	width: 100%;
	padding: 0.7em 0.5em;
	border: 1px solid #d0d0d0;
	outline: none;
	color: #414a67;
	border-radius: 0.3em;
	resize: none;
}
textarea:not(:last-child) {
	margin-bottom: 1.3em;
}
textarea:focus {
	border-color: #363d55;
}
.save-btn {
	font-size: 1em;
	background-color: #587ef4;
	color: #ffffff;
	padding: 0.6em 0;
	border-radius: 0.3em;
	font-weight: 600;
}
#save-btn-2 {
	background-color: #ff5353;
}
.card-list-container {
	display: grid;
	padding: 0.2em;
	gap: 1.5em;
	grid-template-columns: 1fr 1fr 1fr;
}
.card {
	background-color: #ffffff;
	box-shadow: 0 0.4em 1.2em rgba(28, 0, 80, 0.08);
	padding: 1.2em;
	border-radius: 0.4em;
	position: relative;
}
.question-div,
.answer-div {
	text-align: justify;
}
.question-div{
	margin-bottom: 0.5em;
	font-weight: 500;
	color: #363d55;
}
.answer-div {
	margin-top: 1em;
	font-weight: 400;
	color: #414a67;
}
.show-hide-btn {
	display: block;
	background-color: #587ef4;
	color: #ffffff;
	text-decoration: none;
	text-align: center;
	padding: 0.6em 0;
	border-radius: 0.3em;
}
.buttons-con {
	display: flex;
	justify-content: flex-end;
}
.edit,
.delete {
	background-color: transparent;
	padding: 0.5em;
	font-size: 1.2em;
}
.edit {
	color: #587ef3;
}
.delete {
	color: #ff5353;
}
.hide {
	display: none;
}
@media screen and (max-width: 800px) {
	.card-list-container {
		grid-template-columns: 1fr 1fr;
		gap: 0.8em;
	}
}
@media screen and (max-width: 450px) {
	body {
		font-size: 14px;
	}
	.card-list-container {
		grid-template-columns: 1fr;
		gap: 1.2em;
	}
}
.flashcard-popup {
	position: fixed;
}
.list-title {
	text-align: center;
	flex-grow: 1;
}
.question-div {
	margin-top: 5px;
	margin-bottom: 20px;
}
input[name="question"] {
	-webkit-apperance: none;
	appearance: none;
	position: absolute;
}
input[name="question"]:after {

	font-family: "Font Awesome 5 Free";
	font-weight: 400;
	content: "\f111";
	font-size: 16px;
	position: absolute;
	top: 0;
	right: 0;
	color: #d0d0d0;
	cursor: pointer;
}
input[name="question"] {
	top: 1.8em;
	right: 1.2em;
}
label.question {
	display: block;
	position: absolute;
	top: 1.2em;
	right: 1.8em;
	width: 1.1em;
	height: 1.1em;
}
input[name="question"]:checked:after {
	font-weight: 900;
	content: "\f058";
	color: #587EF4;
}
input[name="question"]:hover:after {
	font-size: 20px;
	right: -2px;
	top: -2px;
}
.wrap {
	color: #363d55;
	width: 100%;
	margin-bottom: 2rem;
}
.select-btn, .options li {
	display: flex;
	cursor: pointer;
	align-items: center;
}
.select-btn {
	height: 65px;
	padding: 0 20px;
	border-radius: 7px;
	background-color: #fff;
	justify-content: space-between;
	border: 1px solid #d0d0d0;
}
.select-btn i {
	font-size: 1.4em;
	transition: transform 0.3s linear;
}
.wrap.active .select-btn i {
	transform: rotate(180deg);
}
.content {
	padding: 20px;
	margin-top: 15px;
	border-radius: 7px;
	background: #fff;
	border: 1px solid #d0d0d0;
}
.content .search {
	position: relative;
}
.search i {
	left: 15px;
	color: #d0d0d0;
	font-size: 20px;
	line-height: 53px;
	position: absolute;
}
.search input {
	height: 53px;
	width: 100%;
	outline: none;
	font-size: 17px;
	border-radius: 5px;
	padding: 0 15px 0 43px;
	border: 1px solid #d0d0d0;
}
.content .options {
	margin-top: 10px;
	max-height: 250px;
	overflow-y: auto;
	padding-right: 7px;
}
options::-webkit-scrollbar {
	width: 7px;
}
options::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 25px;
}
options::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 25px;
}
.options li {
	height: 50px;
	padding: 0 13px;
	border-radius: 5px;
}
.options li:hover{
	background-color: #f2f2f2;
}
.char-button {
	height: 30px;
	width: 30px;
	margin: 2.5px;
	margin-inline: 0px;
	border-radius: 5px;
	background-color: #587ef3;
	color: white;
	font-weight: bold;
}
.char-button:hover {
	background-color: #7a9ff5;
}
.char-buttons-greek {
	width: fit-content;
	margin-inline: auto;
}
.char-buttons-german {
	width: fit-content;
	margin-inline: auto;
}
.char-buttons {
	width: 100%;
	background-color: lightgray;
	border-radius: 10px;
	padding-block: 15px;
	background-color: #365cd1;
	margin-bottom: 20px;
}
.options li.selected {
	background-color: #587ef3;
	color: white;
}
.options li.selected:hover {
	background-color: #365cd1;
}