@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Monomakh&family=Shafarik&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Merriweather;
    background-color: #010101;
    color: #eee;
}

header {
    width: 1200px;
    max-width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 50px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
}

header .logo {
    font-weight: bolder;
    font-size: 24px;
}

header .menu {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-weight: 500;
}

header .menu li {
    display: inline;
}

header .menu li a {
    color: #eee;
    text-decoration: none;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

header .menu li a:hover {
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
}


/*...........Start..........*/
#Projects{
    width: 100%;
    display: flex;
    align-items: center;
    padding: 60px 0;
}
.container{
    width:90%;
    max-width: 1200px;
    margin: 0 auto;
}
.items-links{
    width: 90%;
    margin: 40px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.item-link{
    border: 2px solid #eee;
    padding: 10px 30px;
    font-size: 18px;
    color: #eee;
    border-radius: 30px;
    transition: .4s ease;
    cursor: pointer;
}

.item-link:hover{
    background: #eee;
    color: #fff;
}

.gallery{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}
.project-img{
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 4px rgba(175, 175, 175, .4);
    height: 20rem;
    animation: Sc1Animation;
}
@keyframes Sc1Animation{
    0%{
        transform: scale(0);
    }
    100%{
        transform: scale(1);
    }

}


.project-img:hover img{
    transform: scale(1.1);
}

img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: .4s ease;
    object-position: 50% 30%;
}









/*...........End..........*/