body {
margin: 0;
font-family: Arial;
}
.content {
width: 1000px;
margin-left: auto;
margin-right: auto;
}
.logo {
float: left;
margin-top: 10px;
font-size: 12px;
color: gray;
}
.shapka{
display: flex;
justify-content: space-between;
align-items: left;
font-size: 14px;
color: #666;
margin-bottom: 15px;
}
.shapka2{
display: flex;
justify-content: space-between;
align-items: right;
font-size: 14px;
color: #666;
margin-bottom: 15px;
}
.info {
float: right;
margin-top: 10px;
font-size: 12px;
color: gray;
}
.search {
width: 350px;
height: 30px;
margin-left: auto;
margin-right: auto;
margin-top: 5px;
margin-bottom: 10px;
background-color: #f3f3f3;
border-radius: 20px;
color: gray;
font-size: 12px;
padding-left: 10px;
}
.content {
width: 600px;
margin-left: auto;
margin-right: auto;
text-align: center;
}
.slideshow {
width: 70%;
height: 500px;
position: relative;
overflow: hidden;
margin: 10px 0;
margin-left: auto;
margin-right: auto;
}
.slideshow-item {
width: 100%;
height: 100%;
position: absolute;
opacity: 0;
animation: slideanim 40s infinite;
pointer-events: none;
}
.slideshow-item:nth-child(1),
.slideshow-item:nth-child(1) img {
animation-delay: 0;
}
.slideshow-item:nth-child(2),
.slideshow-item:nth-child(2) img {
animation-delay: 10s;
}
.slideshow-item:nth-child(3),
.slideshow-item:nth-child(3) img {
animation-delay: 20s;
}
.slideshow-item:nth-child(4),
.slideshow-item:nth-child(4) img {
animation-delay: 30s;
}
.slideshow-item img {
width: 100%;
height: 100%;
object-fit: cover;
animation: zoom 40s infinite;
}
@keyframes slideanim {
12.5% {
opacity: 1;
pointer-events: auto
}
25% {
opacity: 1;
pointer-events: auto
}
37.5% {
opacity: 1;
}
}
.categories {
width: 1000px;
margin-left: auto;
margin-right: auto;
text-align: center;
margin-top: 20px;
}
.category {
width: 150px;
display: inline-block;
margin-left: 15px;
margin-right: 15px;
text-align: center;
}
.category img {
width: 80px;
height: 80px;
border-radius: 50%;
}
.category p {
font-size: 14px;
color: black;
}
.popular {
width: 1000px;
margin-left: auto;
margin-right: auto;
text-align: center;
margin-top: 30px;
}
.popular-block {
width: 90px;
height: 90px;
display: inline-block;
vertical-align:top;
background-color: #f3f3f3;
margin: 5px;
transition: 0.3s;
}
.popular-block:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px gray;
}
.icon {
font-size: 30px;
margin-top: 14px;
}
.popular-block p {
font-size: 16px;
} 
.overlay {
position: absolute;
margin: 0;
inset: 0;
border-radius: 8px;
background-color: rgba(0,0,0,0.0);
color: black;
font-family:Arial;
font-size:54px;
opacity: ;
display:grid;
place-items: below the center;
}
.category img {
transition: transform 3s;
cursor: pointer;
}
.category:hover img {
 transform: rotate(90deg);
}