p{
	font-size: 20px;
	color: white;
	text-shadow: 0px 0px 5px black;
}
body {
	margin: 0;
	font-family: sans-serif;
	font-family: Verdana;
}

header {
	background-color: #3498db;
	color: white;
	text-align: center;
	display: flex;
	justify-content: space-around;
	align-items: center;
	background-color: #3498db;
	color: white;
	padding: 10px 20px;
}

.logo {
	font-size: 24px;
	font-weight: bold;
}

nav ul {
	list-style: none;
	display: flex;
	font-size: 20px;
	gap: 20px;
	margin: 0;
	padding: 0;
}

nav ul li a {
	color: white;
	text-decoration: none;
	font-weight: bold;
}

.nav ul li a:hover {
	text-decoration: underline;
}
.main {

	background-image: url('fon.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	min-height: 400px;
	padding: 20px;
}

footer {
	background-color: #2c3e50;
	color: white;
	text-align: center;
	padding: 20px;
	font-size: 14px;
}

footer a {
	color: white;
	margin: 0 10px;
	text-decoration: none;
	font-size: 18px;
}

footer a:hover {
	color: #3498db;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 20px;
}

.gallery img {
	height: 500px;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
h2 {
	color: white;
	text-shadow: 0px 0px 5px black;
}
p:hover {
	color: gold;
}
h2:hover {
	color: red;
}
li a:hover{
	color: black;
}
h1:hover {
	color: black;
}
.gallery img:hover {
	height: 400px;
}

@media all and (max-width: 500px){
	.gallery {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 20px;
	margin-top: 20px;
	}

	.gallery img {
		height: auto;
		border-radius: 10px;
		box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	}
}
body {
font-family: Arial;
}
-wrapper {
justify-content: center;
display: flex;
gap: 20px;
padding: 20px;
}
image-block {
background-color: Lavender;
width: 300px;
height: 300px;
border: 3px solid purple;
overflow: hidden;
}
image-block img {
width: 100%;
height: 100%;
object-fit: cover;
}
.text-block {
background-color: Lightgreen;
border: 3px solid green;
padding: 10px;
color: maroon;
width: 250px;
}
.text-block h2 {
color: red;
}
.inner-text {
border: 2px solid brown;
padding: 10px;
margin-top: 10px;
}
img {
	width: 300px;
	height: 400px;
}
body {
background-image: url('images.jpg');
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}