/* CATEGORIES */

:root {
	--font-category1: #f50;
	--font-category2: #09f;
	--font-category3: #cd0;
	--font-category4: #5f0;	
	--font-category5: #f09;	
}

.category-fon1 {
background: var(--bg-body);
	border-radius: 50%;
	width: fit-content;
	padding: 0.4rem;
	margin: 0.4rem;
	transition: all 0.4s linear 0.1s;
}

.category-fon2 {
	background: #fff;
	border-radius: 1rem;
	width: fit-content;
	padding: 2rem 1rem;
	margin: 0;
	box-shadow: inset 1rem 1rem 1rem rgba(0,0,0,0.2), inset -1rem -1rem 1rem rgba(50,100,80,0.9), 1rem 1rem 1rem rgba(0,0,200,0.9), -1rem -1rem 1rem rgba(0,0,200,0.9);
	transition: all 0.4s linear 0.1s;

}

.category-fon1:hover {
	box-shadow: inset 5px 5px 3px rgba(0,30,0,0.4), inset -4px -10px 6px rgba(250,250,250,0.9), 12px 20px 10px rgba(0,0,50,0.4), -25px -20px 25px rgba(160,160,60,0.5);
	transform: rotateY(20deg);
	background: #bbb;	
}

.category-fon2:hover {
	box-shadow: inset 1rem 2rem 1rem rgba(0,0,0,0.2), inset -5px -1rem 1rem rgba(50,0,10,0.2), 1rem 1rem 1rem rgba(0,0,20,0.2), -2rem -1rem 1rem rgba(200,100,200,0.2);
	transform: rotateY(20deg);
}

.category1 {
	color: var(--font-category1);
}
.category2 {
	color: var(--font-category2);
}
.category3 {
	color: var(--font-category3);
}
.category4 {
	color: var(--font-category4);
}
.category5 {
	color: var(--font-category5);
}

.category1 a{
	color: var(--font-category1);
	font-weight: 900;
}
.category2 a{
	color: var(--font-category2);
	font-weight: 900;
}
.category3 a{
	color: var(--font-category3);
	font-weight: 900;
}
.category4 a{
	color: var(--font-category4);
	font-weight: 900;
}
.category5 a{
	color: var(--font-category5);
	font-weight: 900;
}


.category-big {
	width: 100%;
	padding: 20px;	
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	perspective: 500px;
	margin-bottom: 2rem;
	background: linear-gradient(to top, var(--bg-body), var(--bg-body), var(--bg-head-footer));	
}

.category-big1 {
	width: 100%;
	padding: 10px;	
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	perspective: 500px;
	margin-bottom: 2rem;
	background: linear-gradient(to top, var(--font-category1), var(--bg-head-footer));		
}

.category-big2 {
	width: 100%;
	padding: 10px;	
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	perspective: 500px;
	margin-bottom: 2rem;
	background: linear-gradient(to top, var(--font-category2), var(--bg-head-footer));		
}

.category-big3 {
	width: 100%;
	padding: 10px;	
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	perspective: 500px;
	margin-bottom: 2rem;
	background: linear-gradient(to top, var(--font-category3), var(--bg-head-footer));		
}

.category-big4 {
	width: 100%;
	padding: 10px;	
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	perspective: 500px;
	margin-bottom: 2rem;
	background: linear-gradient(to top, var(--font-category4), var(--bg-head-footer));		
}

.category-big5 {
	width: 100%;
	padding: 10px;	
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	perspective: 500px;
	margin-bottom: 2rem;
	background: linear-gradient(to top, var(--font-category5), var(--bg-head-footer));		
}

.footer {
	width: 100%;
	min-height: 5rem;
	background: var(--bg-head-footer);
	padding: 2rem;
	/*position: absolute;
	bottom: 0; */
	margin-bottom: auto;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: flex-start;
	color: var(--font-color-list1);
}
.footer ul { list-style: none; }

.footerindex {
	width: 100%;
	min-height: 5rem;
	background: var(--bg-head-footer);
	padding: 2rem;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: flex-start;
	color: var(--font-color-list1); 

}
.footerindex ul { list-style: none; }


table {
  border-collapse: collapse;          /* объединяем границы */
  width: 100%;                        /* таблица на всю ширину */
  font-size: 0.9em;                   /* шрифт чуть мельче основного */
  background-color: #fff9e6;          /* светло-жёлтый фон */
  color: #5c4033;                     /* коричневый текст */
}

th, td {
  border: 1px solid #d2b48c;          /* коричнево-бежевые границы */
  padding: 8px 12px;                  /* отступы внутри ячеек */
  text-align: left;                   /* выравнивание текста */
}

th {
  background-color: #fbeabc;          /* фон для заголовков */
  font-weight: bold;
}

