/* reset css */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
 }
 a {
	display: inline-block;
	text-decoration: none;
	color: inherit;
 }
 
 img {
	vertical-align: top;
 }
 
 ul li {
	list-style: none;
	padding-left: 0;
 }
 
 h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
	font-family: inherit;
	font-size: inherit;
 }
 
 html,
 body {
	block-size: 100%;
 }
 /* ______________________________________ */

 body{
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 18px;
	
 }

 h2{
	font-family: "Red Hat Display", sans-serif;
	font-weight: 500;
	font-size: 1.5rem;
	color: white;
	margin-bottom: 10px;
 }

 h1{
	font-family: "Red Hat Display", sans-serif;
	color: white;
	font-size: 3rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 30px;
 }

 .page{
	background: rgb(3, 51, 77);
	max-width: 70%;
	margin: 0 auto;
	padding: 30px;
	border-radius: 30px;
	margin-top: 30px;
	display: flex;
	flex-direction: column;
	font-size: 1.1rem;
 }

 #animalList li{
	background-color: #f0f8ff;
	border-radius: 10px;
	padding: 10px;
	margin-bottom: 10px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
	display: flex;
	justify-content: space-between;
   align-items: center;
 }

 #animalList li:last-child{
	margin-bottom: 0;
 }

 button{
	padding: 8px 16px;
	background-color: rgb(168, 220, 214);
	color: rgb(3, 51, 77);
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.3s;
	font-weight: 600;
	font-size: 1.1rem;
 }

 button:hover{
	background-color: rgb(0, 188, 198);
	color: white;
 }

 button:active{
	background-color: rgb(248, 207, 169);
	color: rgb(3, 51, 77);
 }

 #sort_btn{
	background-color: rgb(248, 207, 169);
 }

 #sort_btn:hover{
	background-color: rgb(243, 156, 75);
 }

 #sort_btn:active{
	background-color: rgb(168, 220, 214);
 }

 #sort_btn, 
 #addAnimal_btn{
	min-width: 15%;
 }

 input, select {
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1.1rem;
	font-weight: 500;
	color: rgb(3, 51, 77);
	margin-right: 10px;
 }

 input{
	min-width: 40%;
 }

 select{ 
	min-width:20%;
	text-align: center;
 }

 [class*="__section"]{
	margin-bottom: 30px;
	display: flex;
	flex-wrap: wrap;
 }

 @media screen and (max-width: 845px) {
	[class*="__section"] {
		flex-direction: column;
	}

	#animalList li{
		font-size: 1.7rem;
		flex-direction: column;
		padding: 20px;
		text-align: center;
	}
	#animalList button{
		margin-top: 20px;
		font-size: 1.7rem;
	}
	input,select{
		margin-bottom: 10px;
		width: 100%;	
		text-align: center;
		font-size: 1.7rem;
	}

	#sort_btn, 
	#addAnimal_btn {
		width: 100%;
		font-size: 1.7rem;
	 }

	 h2{
		font-size: 1.7rem;
	 }
 }

 @media screen and (max-width:639px) {
	.page{
		min-width: 100%;
	}
	body{
		background-color: rgb(3, 51, 77);
	}
 }

 