*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial;
}

body{
background:#f4f6fb;
}

/* NAVBAR */

.navbar{
background:#0d6efd;
color:white;
padding:15px 0;
}

.container{
width:90%;
margin:auto;
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
font-size:20px;
font-weight:bold;
}

nav ul{
display:flex;
list-style:none;
gap:20px;
}

nav ul li a{
color:white;
text-decoration:none;
font-weight:500;
}

/* SECTION */

.gallery-section{
padding:50px 8%;
}

.gallery-section h2{
text-align:center;
margin-bottom:30px;
font-size:28px;
color:#333;
}

/* GRID */

.gallery-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:20px;

}

.gallery-item{
background:white;
border-radius:10px;
overflow:hidden;
box-shadow:0 4px 15px rgba(0,0,0,0.1);
}

.gallery-item img,
.gallery-item video{
width:100%;
height:200px;
object-fit:cover;
}

.gallery-item p{
padding:10px;
text-align:center;
font-size:14px;
}

/* FOOTER */

footer{
background:#0d6efd;
color:white;
text-align:center;
padding:15px;
margin-top:40px;
}

/* MOBILE */

@media(max-width:768px){

.container{
flex-direction:column;
gap:10px;
}

nav ul{
flex-wrap:wrap;
justify-content:center;
}

.gallery-item img,
.gallery-item video{
height:180px;
}

}