* {
margin: 0;
padding: 0;
font-family: sans-serif;
}
body{
    background: rgb(255, 255, 255);
    display:block;
}
.navbar{
    width: 100%;
    height: 100px;
    background: rgba(0, 0, 0, 0.929);
    display: flex;
    justify-content: space-between;
}
.navbar ul {
    padding-top: 35px;    
}
.navbar ul li{
    display: inline;
    margin-right: 30px;
    font-size: large;
    color: rgb(255, 255, 255);

}
.navbar ul a{
    height:100%;
    padding:20px;
    text-decoration:none;

}
.navbar ul a:hover{
    background-color:#5703ff;

}

.logo img {
    width: 250px;
    padding: 25px;
}
.glav{
    width: 100%;
}
.box-cont{
    padding: 35px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap: 20px;
    justify-content: center;

}
.box{
    border-radius: 15px;
    box-shadow: 1px 10px 10px 10px  rgba(0,0,0,0.3);
    padding: 20px;
    text-align: center;
}
.box:hover {
    border: 0.1px solid #5703ff;
}
.box img {
    border-radius: 15px;
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.img-popup{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.95);
display:none;
justify-content:center;
align-items:center;
z-index:1000;
animation:fadeIn 0.3s;
}

.img-popup img{
max-width:85%;
max-height:85%;
border-radius:10px;
animation:zoomIn 0.3s;
transition:transform 0.3s;
}

.close{
position:absolute;
top:20px;
right:40px;
font-size:40px;
color:white;
cursor:pointer;
}

.nav{
position:absolute;
top:50%;
font-size:60px;
color:white;
cursor:pointer;
padding:20px;
user-select:none;
}

.prev{
left:20px;
}

.next{
right:20px;
}

#imgCounter{
position:absolute;
bottom:25px;
color:white;
font-size:18px;
}

@keyframes fadeIn{
from{opacity:0;}
to{opacity:1;}
}

@keyframes zoomIn{
from{transform:scale(0.8);}
to{transform:scale(1);}
}
.hidden{
    display:none;
}
.box p {
    padding: 25px;
}
.box h1 {
    padding-top: 25px;
}
.box button{
    padding: 10px;
    border-radius: 15px;
    border: none;
    width: 150px;
    background-color: #5703ff;
    color: white;
    
}
.box button:hover{
    background-color: #3d01b5;
    
}
@media (max-width: 1400px){
        .logo img {
            padding: 35px;
        width: 200px;
    }
    .navbar #menu{
        display: none;
    }

        .icon img {
        padding-right: 10px;
        padding-top: 35px;
        display: block;
        width: 30px;
        height: 30px;
    }
    .list
{
    display: none;
}

}
@media (min-width: 1400px) {

        .icon {
        display: none;
        
    }
        .navbar #menu{
        display: none;
    }
}
.navbar #menu.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100px;
    right: 0;
    gap: 15px;
    background: black;
    padding: 20px 20px 20px;
 
}
.navbar #menu.show a{
    text-decoration: none;
}

#popupImg{
    transition: transform 0.1s ease, opacity 0.1s ease;
}

.slide-next{
    transform: translateX(-120px);
    opacity:0;
}

.slide-prev{
    transform: translateX(120px);
    opacity:0;
}
footer{
    width: 100%;
    height: 210px;
    background-color: #3d01b5;
    color: aliceblue;
}
footer p {
    padding: 15px;
}