*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:sans-serif;
}

body,html{
height:100%;
}

body{
background:url('http://sikulis.lv/img/bg.png') no-repeat center center fixed;
background-size:cover;
}

.projects-section{
padding:100px 20px;
display:flex;
justify-content:space-around;
flex-wrap:wrap;
gap:20px;
}

.project-box{
background-color:rgba(0,0,0,0.75);
border-radius:12px;
overflow:hidden;
width:30%;
color:white;
text-align:center;
box-shadow:0 0 10px rgba(255,255,255,0.2);
transition:transform 0.3s, box-shadow 0.3s;
cursor:pointer;
}

.project-box:hover{
transform:scale(1.03);
box-shadow:0 0 20px rgba(255,138,0,0.9),0 0 30px rgba(229,46,113,0.7);
}

.project-box a{
display:block;
color:inherit;
text-decoration:none;
}

.image-wrapper{
position:relative;
width:100%;
height:180px;
overflow:hidden;
}

.image-wrapper img{
width:100%;
height:100%;
object-fit:cover;
transition:filter 0.3s;
display:block;
}

.image-wrapper:hover img{
filter:brightness(60%);
}

.play-button{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
width:60px;
height:60px;
background-color:rgba(255,255,255,0.8);
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
animation:pulse 2s infinite;
}

.play-button::before{
content:'';
display:block;
margin-left:3px;
width:0;
height:0;
border-left:18px solid black;
border-top:12px solid transparent;
border-bottom:12px solid transparent;
}

@keyframes pulse{
0%{transform:translate(-50%,-50%) scale(1);}
50%{transform:translate(-50%,-50%) scale(1.1);}
100%{transform:translate(-50%,-50%) scale(1);}
}

.video-count{
position:absolute;
top:10px;
right:10px;
background:rgba(0,0,0,0.7);
padding:6px 10px;
border-radius:6px;
font-size:12px;
}

.project-box h3{
margin:10px 0;
}

.project-box p{
font-size:14px;
padding:0 10px 15px;
}

.info-box{
position:fixed;
bottom:10px;
right:10px;
background-color:rgba(0,0,0,0.6);
color:white;
padding:10px;
font-size:12px;
border-radius:5px;
}

@media(max-width:1000px){
.project-box{width:45%;}
}

@media(max-width:600px){
.project-box{width:90%;}
}