* {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	/* scrollbar-color: #7085b6 #343434;
	scrollbar-width: thin; */
}

body,html {
	padding: 0;
	margin: 0;	
}
body {
	background-color: #fff;
}
sup {
	font-size: 13px;
}
.container {
    position: relative;
	height: 100%;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto 0;
	padding: 0 10px;	
}
.top-container {
	width: 100%;
	padding: 0 10px;
	max-width: 1200px;
	margin: 0 auto 0;
}
.top {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	gap: 8px;
    background-color: #fff;
}
.top__logo {
	max-width: 50px;
}
.top__logo img {
	width: 100%;
	object-fit: contain;
}
.top__text {
	color: #7085b6;
	text-align: center;
	font-size: 32px;
}
.nav__link {
	display: inline-block;
    padding: 3px 5px;
    border: 1px solid #0097b2;
    color: #6c6c6c;
    font-size: 13px;
    border-radius: 2px;
    font-weight: 500;
    text-decoration: none;
    transition: all ease-in .2s;
}
.nav__link:hover {
	color: #fff;
	background-color: #0097b2;
}
.header {
	padding: 15px 0;
	display: flex;
	align-items: center;
	gap: 10px;
}
.header__logo {
	max-width: 100px;
	cursor: pointer;
}
.header__logo img {
	width: 100%;
	object-fit: contain;
}
.header__text {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.header__name-link {
	text-decoration: none;
	/* color: #653d3e; */
	color: #0097b2;
	font-weight: 700;
	font-size: 38px;
	line-height: 1;
}
.header__title-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}
.header__title {
	color: #000;
	margin: 0;
	font-weight: 400;
	font-size: 28px;
	line-height: 1;
}
.search-form {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}
.search-form__input-wrapper {
	position: relative;
	width: 100%;
}
.search-form__input {
	font-family: "Nunito", sans-serif;
	font-weight: 500;
	width: 100%;
	padding: 15px 52px 15px 10px;
	font-size: 16px;
	border: 1px solid #0097b2;
	outline: none;
	border-right: none;
	height: 50px;
	border-radius: 4px 0 0 4px;
}
.search-form__input.clear-shown {
	padding-right: 78px;
}
.search-form__clear-btn, 
.search-form__keyboard-btn,
.search-form__help-btn {
	all: unset;
	box-sizing: border-box;
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all ease-in .2s;
}
.search-form__clear-btn, 
.search-form__keyboard-btn {
	top: 0;
	right: 25px;
	height: 50px;
}
.search-form__clear-btn svg, 
.search-form__keyboard-btn svg {
	color: #848484;
	transition: color ease-in .2s;
}
.search-form__clear-btn svg:hover, 
.search-form__keyboard-btn svg:hover {
	color: #343434;
}
.search-form__clear-btn {
	right: 55px;
	width: 25px;
	display: none;
}
.search-form__clear-btn img {
	width: 100%;
}
.show {
	display: flex;
}
.search-form__help-btn {
	font-family: 'Open Sans', sans-serif;
	right: 0;
	bottom: 0;
	background-color: #efefef;
	font-weight: 700;
	font-size: 18px;
	width: 25px;
	height: 50px;
	border: 1px solid #0097b2;
	border-left: none;
	border-right: none;
	color: #666;
	transition: all ease-in .2s;
}
.search-form__help-btn:hover {
	color: #fff;
	background-color: #9ba3b5;
}
.search-form__button {
	width: 170px;
	padding: 15px 10px;
	font-size: 16px;
	text-align: center;
	border: none;
	border-left: none;
	font-weight: 700;
	background-color: #0097b2;
	color: #fff;
	cursor: pointer;
	height: 50px;
	border-radius: 0 4px 4px 0;
	transition: all ease-in .2s;
}
.search-form__button:hover {
	background-color: #007185;
}
.about {
	background-color: #e4edff;
	padding: 10px;
	margin-bottom: 70px;
	font-size: 18px;
	box-shadow: 0 0 5px #DAD6D6;
	border-radius: 4px;
}
.description__title {
	font-weight: 700;
}
.about__description p {
	line-height: 1.5;
	margin-top: 0;
	text-align: justify;
}
.about__instructions-title {
	font-size: 22px;
	font-weight: 700;
	margin: 0;
	margin-bottom: 10px;
}
.about__instructions ol {
	margin: 0;
}
.about__instructions ol li {
	margin-bottom: 10px;
}
.instructions__img {
	display: inline-block;
	width: 100%;
	max-width: 400px;
}
.instructions__img img {
	width: 100%;
	object-fit: contain;
}
.instructions__search-btn-img {
	max-width: 95px;
}
.instructions__alphabet-img {
	display: inline-block;
	text-align: center;
	max-width: 100%;
}
.instructions__alphabet-img img {
	max-width: 500px;
}
.content {
	display: none;
	position: relative;
	min-height: 200px;
    font-size: 13pt;
	color: #2A4142;
	overflow-y: auto; 
	margin-bottom: 20px;
	padding: 15px;
	background-color: #FFFDC5;
	border-radius: 12px;
	-webkit-box-shadow: 0 0 5px #DAD6D6;
	        box-shadow: 0 0 5px #DAD6D6;

}
.content .content__word-p {
	padding-left: 15px;
	margin-top: 0;
	margin-bottom: 5px;
	font-family: 'Open Sans', sans-serif;
}
.suggested-words-title {
	display: inline-block;
	margin-top: 0;
	margin-bottom: 8px;
    font-size: 20px;
    font-weight: 400;
    background-color: #d2ebd0;
    padding: 8px;
    border-radius: 5px;
}
.content .content__word-p .content__word {
	margin-left: -15px;
}
.content__main-word {
	font-weight: 700;	
	cursor: pointer;
	text-decoration: underline;
}
.content__word {
	font-weight: 700;
}
.content__word_link {
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
	transition: all ease .3s;
}
.content__word_link:hover, .content__main-word:hover {
	color:#00232e;
}
.content__article {
	line-height: 1.5;
}
.selection-word {
	/* background-color: #fff1b2; */
	background-color: #ffff00;
}
.content__article_hide {
	display: none;
}

.content .preloader {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}
.error {
	color: red;
	font-weight: 500;
}
.alphabet-wrapper {
	display: none;
	margin-bottom: 20px;
}
.alphabet {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 2px;
	border-radius: 7px
}
.alphabet__letter, .clear-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #2a8e56;
	color: #fff;
	width: 30px;
	height: 30px;
	border-radius: 4px;
	font-weight: 500;
	cursor: pointer;
	transition: all ease-in .1s;
	user-select: none;
}
.space-key, .clear-btn {
	width: auto;
	padding: 0 8px;
}
.clear-btn img {
	width: 20px;
	object-fit: contain;
}

.alphabet__letter:active,
.clear-btn:active {
	background-color:#2f4347;
}
@media (hover: hover) {
	.alphabet__letter:hover, 
	.clear-btn:hover {
		background-color:#2f4347;
	}
}


.content__words-wrapper {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.content__words-wrapper .content__word {
	width: calc(95% / 5);
	text-decoration: underline;
	font-weight: 700;
	word-break: break-word;
}
.content__words-wrapper .content__word:hover {
	color:#006888;
}
/* .number-to-text-wrapper, .date-to-text-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-transform: uppercase;
	min-height: 180px;
	font-family: "Nunito", sans-serif;
} */
.number-to-text-wrapper p, .date-to-text-wrapper p{
	margin-top: 0;
	font-weight: 500;
}
.number-to-text, .date-to-text {
	display:flex;
	align-items:center;
	gap:8px
}
/* .day-of-week {
	display: inline-block;
	padding: 5px 15px;
	border: 1px solid #0097b2;
	border-radius: 3px;
} */
.footer {
	width: 100%;
	position: fixed;
	bottom: 0;
	padding: 10px;
	background-color: #fff;
}
.footer-wrapper {
	display: flex;
	justify-content: flex-end;
}

@media (max-width: 1200px){
	.top__text {
		font-size: 32px;
	}
	
}

@media (max-width: 1000px){
	.top__text {
		font-size: 28px;
	}
	
}

@media (max-width: 850px){
	.content__words-wrapper .content__word {
		width: calc(95% / 4);
	}
	.top__text {
		font-size: 26px;
	}
	
}

@media (max-width: 820px){
	.header__title {
		font-size: 26px;
	}
	
}

/*   TABLET  : 768px -----------------------------   */
@media (max-width: 768px){
	.content__words-wrapper .content__word {
		width: calc(96% / 3);
	}
	.alphabet {
		padding-left: 0;
		padding-right: 0;
	}
	.top__text {
		font-size: 24px;
	}
	.header__title {
		font-size: 22px;
	}
	
}
@media (max-width: 685px){
	.header__title {
		font-size: 20px;
	}
	.header__name-link {
		font-size: 36px;
	}
}

/*   Phone  : 480px -----------------------------   */ 
@media (max-width: 480px){
	.top__text {
		font-size: 20px;
	}
	.header__name-link {
		font-size: 34px;
	}
	.header {
		gap: 5px;
	}
	.header__name {
		font-size: 26px;
		margin-bottom: 0;
	}
	.header__title {
		font-size: 18px;
	}
	.search-form {
		margin-bottom: 10px;
	}
	.search-form__input {
		padding-left: 5px;
	}
	.search-form__button {
		width: 120px;
	}
	.content__words-wrapper {
		justify-content: space-between;
	}
	.content__words-wrapper .content__word {
		width: calc(95% / 2);
	}
	.top {
		padding: 5px;
	}
	.about__instructions-title {
		font-size: 20px;
	}
	.about__instructions ol {
		padding-left: 25px;
	}
	.instructions__search-btn-img {
		max-width: 80px;
	}
	
}

@media (max-width: 376px){
	.top__text {
		font-size: 18px;
	}
	.header__name-link {
		font-size: 30px;
	}
	.header__title {
		font-size: 14px;
	}
	.header__name {
		font-size: 22px;
	}
	.search-form__button {
		width: 100px;
	}
	.instructions__search-btn-img {
		max-width: 70px;
	}

}

/*   Phone  : 320px -----------------------------   */
@media (max-width: 330px){
	.top__text {
		font-size: 16px;
	}
	.instructions__search-btn-img {
		max-width: 60px;
	}
	
}