@import url('https://fonts.googleapis.com/css2?family=Afacad:wght@500&family=Open+Sans&display=swap');
*{
	box-sizing: border-box;
	font-family: 'Open Sans', sans-serif;
}
h4{
	font-size: 30px;
	margin: 2% 0px 2% 10%;
	color: #000080;
	border-left: 4px solid red;
	padding-left: 10px;
}
.slideshow{
	max-width: 1150px;
	position: relative;
	margin: auto;
}
.myslides{
	display: none;
}
.myslides img{
	height: 610px;
	border-radius: 20px;
	box-shadow: 0px 0px 5px 0 grey;
	border: 1px solid frey;
}
.fade{
	animation-name:fade ;
	animation-duration: 1.5s;
}
@keyframes fade{
	from { opacity: 0.4 }
	to { opacity: 1 }
}
.h5-f{
	font-size: 23px;
	margin: 2% 0px 2% 10%;
	color: #000080;
}
.f-item{
	border: 1px solid red;
	padding: 40px 30px;
	text-align: center;
	border-radius: 10px;
	margin: 20px 10px;
	box-shadow: 0px 0px 2px red;
	cursor: pointer;
}
.f-item:hover{
	box-shadow: 0px 0px 6px 0 red;
}
.f-list{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0;
	color: #000080;
}
@media only screen and (min-width: 200px) and (max-width: 790px){
.f-list{
	grid-template-columns: repeat(1, 1fr);
}
.h5-f{
	font-size: 20px;
	margin: 2% 0px 2% 7%;
}
.myslides img{
	height: 500px;
}
h4{
	font-size: 29px;
	margin: 2% 0px 2% 6.5%;
}
}
@media only screen and (min-width: 790px) and (max-width: 1200px){
.f-list{
	grid-template-columns: repeat(2, 1fr);
}
.h5-f{
	font-size: 29px;
	margin: 2% 0px 2% 7%;
}
}