html {
	min-height: 100%;
	box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background: #F2F2F2;
	padding: 0;
	margin: 0;
	align-items: center;
	justify-content: center;
}

header {
    height: 20%;
	width: 100%;
	background-color: #e5e5e5;
}

.header__container {
	margin: 0 auto;
	padding: 0 18px;
	max-width: 100%;
	background-color: #dbdbdb;
}

.container {
	align-items: center;
	justify-content: center;
	width: 80%;
}


footer {
	padding: 1rem;
	background-color: #e5e5e5;
    margin-top: 10px;
	width: 100%;
	flex: 0 0 auto;
}

.foot {
	width: 100%;
	background-color: #e5e5e5;
	padding: 0px;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
}

.round {
	width: 100px;
	height: 100px;
	border-radius: 22px;
	padding: 10px;
	margin-left: 25%;
	border-radius: 100px;
}

.txt {
	margin-bottom: 0.5%;
	padding-left: 20px;
	font-size: 1.2vw;
	font-family: 'Courier New', Courier, monospace;
}

.highlight {
	background-color:rgb(229, 206, 27);
}

h1 a {
	text-decoration: none;
	text-align: center;
	color:#242323;
	font-size: 34pt;   
	font-weight: lighter;
	margin: 0 auto;
	width: 80%;
	padding-bottom: 20px;
}

h1 {
	text-align: center;
	color:#242323;
	font-size: 34pt;   
	font-weight: lighter;
	margin: 0 auto;
	width: 80%;
	padding-bottom: 20px;
}

.head {
    font-size: 25px;
	margin: 0 auto;
}

h2 {
	text-align: center;
	color:#ffffff;
	background-color:#A68446;
	font-size: 24pt;  
	font-weight: lighter;
	border: 10px solid;
	border-color: #ffffff;
	margin: 0 auto;
	margin-top: 2%;
	padding: 5px;
	width: 60%;
}

h3 {
	margin-right: 10%;
	font-weight: 600;
	font-size: 1.2vw;
	margin-bottom: 5px;
	letter-spacing: 2px;
	font-family: Cambria, serif;
	color:#383A39;
	padding: 1px;
}

h4 {
	color: rgb(39, 39, 39);
	margin-left: 10%;
	font-weight: 200;
}

.buttons {
	margin-top: 1%;
}

.btn-primary {
	padding: 0.8vw 1.8vw;
	border: none;
	border-radius: 2px;
	cursor: pointer;
	font-family: Cambria, sans-serif;
	color: whitesmoke;
	background-color: #A68446;
	outline: whitesmoke;
    font-size: 1.4vw;
}

.btn-primary:hover {
	background-color: #8B9DCC;
	transform: all 0.4s ease;
}

.form-control {
	margin-top: 5px;
    border: none;
	border-radius: 1px;
	outline: 2px solid #F2F2F2;
	background-color: #ffffff;
	font-family: Charis, serif;
	font-size: 1.3vw;
	letter-spacing: 1px;
	height: 2.1vw;
	width: 100%;
	padding-left: 10px;

}

@font-face {
	font-family: NovgorodUnicode;
	src: url(../fonts/novgorod-unicode-2012.ttf)
}

@font-face {
	font-family: CourierNew;
	src: url(../fonts/COUR.TTF)
}

@font-face {
	font-family: Cambria, serif;
	src: url(../fonts/cambria.ttc)
}

table {
	margin-top: 1%;
	font-family: Cambria, serif;
	background: white;
	text-align: left;
	border-collapse: collapse;
	color: #000000;
	width: 80vw;
	table-layout: fixed;
}

th {
	width: 40%;
}

thead {
    background-color:rgb(212, 187, 155);
	font-weight: lighter;
	font-size: 1.5vw;
	color: rgb(36, 34, 32);

}

tbody th {
	font-weight: normal;
	font-size: 1.5vw;
}

tbody th:first-child, tbody td:first-child {
  color:#242323;
  border-left: none;
  font-weight: 800;
}

tbody th:last-child {
	font-family: NovgorodUnicode;
}
  
.table th {
  border-bottom: 2px solid #F5E1A6;
  border-right: 2px solid white;
  padding: 8px 10px;
  
}

.table tr:hover {
	background-color:#f0e8d5;
}

thead tr:first-child:hover {
	background-color:rgb(210, 194, 174);
}

.table td {
  border-right: 5px solid white;
  border-left: 5px solid white;
  color: #8b8e91;
}

table tr {
	width: 100px;
}

.textbody {
	margin: 0 auto;
	padding-top: 2%;
	padding-left: 10%;
	padding-right: 10%;
	width: 100%;

}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
	box-shadow: 0 5px 25 px rgb (1 1 1 / 5%);
}

.header__burger-btn {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    background-color: #a68446;
	border-radius: 5px;
    z-index: 2;
	cursor: pointer;
}

.header__burger-btn:hover {
	background-color: #8B9DCC;
}

.header__burger-btn span {
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: whitesmoke;
    left: 5px;
    transition: transform .5s, opacity .5s, background-color .5s;
}

.header__burger-btn span:nth-child(1) {
    transform: translateY(-10px);
}

.header__burger-btn span:nth-child(3) {
    transform: translateY(10px);
}

.header.open .header__burger-btn span {
    background-color: white;
}

.header.open .header__burger-btn span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.header.open .header__burger-btn span:nth-child(2) {
    opacity: 0;
}

.header.open .header__burger-btn span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}

.logo {
    display: block;
}

.logo__img {
    width: 45px;
	padding-left: 4%;
}

.menu__list {
    display: flex;
    align-items: center;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.menu__item:not(:last-child) {
    margin-right: 20px;
}

.foot_link {
	transition: 0.3s ease;
	color: rgb(41, 41, 41);
	text-decoration: underline;
}

.card_link {
	transition: 0.3s ease;
	color: #212121;
	text-decoration: underline;
}

.menu__link {
    font-size: 1.5vw;
	transition: 0.3s ease;
	color: rgb(41, 41, 41);
	text-decoration: none;
}

.logo__link {
	display: flex;
    align-items: center;
    list-style-type: none;
    padding: 0px 5px;
    margin: 0;
	font-size: 1.5vw;
	transition: 0.3s ease;
	color: rgb(255, 255, 255);
	text-decoration: none;
	letter-spacing: 2px;
	background-color: #69676c;
	border-radius: 5px;
}

.table_link {
    text-decoration: none;
    list-style: none;
	color:#b1832e;
	font-family: 'Times New Roman', Times, serif;
	letter-spacing: 2px;
}

.table_link:hover {
	text-decoration: underline;
	color: #2a2a2a;
	transform: all 0.4s ease;
}

.menu__link:hover {	
	color: #ffffff;
	background-color:#8B9DCC;
	border-radius: 5px;
	padding: 5px;
}

.logo__link:hover {	
	color: #ffffff;
	background-color:#8B9DCC;
}

.foot_link:hover {	
	color: #ffffff;
	background-color:#8B9DCC;
	border-radius: 3px;
	padding: 3px;
}

.card_link:hover {	
	color: #ffffff;
	background-color:#8B9DCC;
	border-radius: 3px;
	padding: 0 5px 0 5px;
}

.news {
	width: 100%;
	height: 100%;
	margin-top: 1%;
  }

.news p {
	font-size: 18px;
	font-family: Cambria, serif;
	letter-spacing: 1px;
}

.card {
	width: 60%;
	margin-left: 20%;
	margin-right: 20%;
	background-color: #ffffff;
	padding: 30px;
	margin-top: 20px;
	margin-bottom: 10px;
	color:#383A39;
	border-radius: 5px;
	text-align: justify;
}

.card_first_step {
	width: 60%;
	margin-left: 20%;
	margin-right: 20%;
	background: white;
	padding: 30px;
	margin-top: 20px;
	margin-bottom: 10px;
	color:#242323;
	border-style:double;
	border-color: #A68446;
	border-radius: 5px;
	text-align: justify;
	font-weight: 400;
  }


@media (max-width: 992px) {

	.form-control {
		width: 100%;
		font-size: medium;
		height: 20px;
	}

	h3 {
		margin-top: 12%;
		font-size: 5vw;
	}

	#letter {
		font-size: 10pt;
	}

	.buttons {
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
	}

	.btn {
		font-size: medium;
		margin-top: 2%;
		margin-bottom: 2%;
	}

	table {
		display: block;
		overflow-x: scroll;
	}

	thead {
		font-size: 14pt;
		text-align: start;
		padding: 0;
	}

	tbody th {
		font-size: 10pt;
	}

    .header__burger-btn {
        display: block;
    }
    .menu {
		position: absolute;
        left: -100%;
        top: 33,5%;
        width: 100%;
        background-color: #69676c;
        padding: 20px 20px 20px 100px;
        transition: transform .5s;
    }
    .menu__list {
        display: flex;
		flex-wrap: wrap;
    }
	.menu__item {
		margin-right: 2%;
		padding-bottom: 5%;
		padding-top: 5%;
		padding-left: 3%;
	}
    .menu__link {
		font-size: larger;
        color: white;
    }
    .header.open .menu {
        transform: translateX(100%);
    }

	.logo__img {
		transform: scaleX(-1);
	}

	-header -h1.-hide {
		height: 20%;
		color: transparent;
		transition: transform .5s, opacity .5s;

	}

	.foot {
		display: flex;
		flex-direction: column;
		width: 100%;
		margin: 0 auto;
		text-align: justify;
		text-align-last: center;
	}

	.round {
		width: 160px;
		height: 160px;
		align-self: center;
		margin-left: 0;
		margin-top: 20px;
	}

	.txt {
		font-size: 5vw;
		text-align: center;
		padding: 0 40px 25px 40px;
	}

	.card {
		width: 90%;
		margin-left: 5%;
		margin-right: 5%;
	  }

	.card_first_step {
		width: 90%;
		margin-left: 5%;
		margin-right: 5%;
	  }
}

.card-h {
	font-size: 20pt;
	border-radius: 3px;
	width: 100%;
}
.card-p {
	width: 100%;
}

.im-1 {
	background-image: url(/Грамоты_Имена/img/109.png);
	background-size: cover;
}

.im-2 {
	background-image: url(/Грамоты_Имена/img/v149.png);
	background-size: cover;
}

.im-3 {
	background-image: url(/Грамоты_Имена/img/npl1.png);
	background-size: cover;
}


.card_first_step {
	width: 100%;
	background: white;
	padding: 30px;
	margin-top: 20px;
	margin-bottom: 10px;
	color:#242323;
	border-style:double;
	border-color: #A68446;
	border-radius: 5px;
	text-align: justify;
	font-weight: 400;
}

.btnc { 
	padding: 10px 15px;
	margin-left: 0px;
	border:  2px solid;
	color: rgb(255, 255, 255);
	background: #A68446;
	transition: 0.3 ease;
	cursor: pointer;
	font-size: large;
}

.btnc:hover {
	background-color: #bfafa7;
	transform: all 0.4s ease;
}

.card h5 {
	color:black;
	font-size: large;
	font-family: 'Courier New', Courier, monospace;
	padding-top: 10px;
	padding-bottom: 5px;
	padding-left: 0;
}

.card_first_step h5 {
	color:#A68446;
	font-size: large;
	font-family: 'Courier New', Courier, monospace;
	text-decoration: underline;
	padding-top: 10px;
	padding-bottom: 5px;
	padding-left: 0;
}
.more {
	display: none;
}

.keyboard {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
	margin-top: 1%;
	margin-bottom: 10px;
	padding-left: 10px;
	padding-bottom: 10px;
	padding-top: 10px;
	background: white;
	color:#383A39;
	border-radius: 5px;
	text-align: justify;
	font-size: 1.3vw;
}

#letter {
	margin-left: 1%;
	font-family: NovgorodUnicode2012, serif;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

#filter-form__hobby-inp {
	font-family: NovgorodUnicode2012;
}

::-webkit-input-placeholder {font-family: 'Times New Roman', Times, serif;}

select {
	color:#69676c;
}

select option {
	color:#000000;
}

.more {
	display: none;
  }

