* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: sans-serif;
    background-color: #f4f4f4;
}

header {
    width: 100%;
    height: 90vh;
    background: linear-gradient(rgba(49, 39, 39, 0.8), rgba(48, 36, 36, 0.8)),
        url('img.11.jpg');
    background-size: cover;
    background-attachment: fixed;
}

nav {
    width: 100%;
    height: 80px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 80px;
    position: fixed;
    background: white;
    z-index: 1;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    top: 0;

}

.logo {
    font-family: sans-serif;
    font-size: 2.5em;
}

.logo samp {
    color: #e74c3e;
}

.menu a {

    text-decoration: none;
    color: black;
    padding: 10px 20px;
    font-family: sans-serif;
    font-size: 20px;
}

.menu a:first-child {
    color: #e74c3e;
}

.menu a:hover {
    color: #e74c3e;

}

.icon i {
    font-size: 20px;
}

.icon i:hover {
    color: #e74c3e;
}

.icon a {
    text-decoration: none;
    background-color: #e74c3e;
    color: white;
    padding: 10px 20px;
    margin-left: 30px;
    border-radius: 5px;

}

.icon a:hover {
    background: transparent;
    border: 1px solid #e74c3e;
    color: black;
    transition: 0.4s ease;
}

.h-text {
    color: white;
    max-width: 700px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.h-text #camera {
    font-size: 40px;
    margin-bottom: 10px;

}

.h-text h3 {
    font-size: 3em;
    font-family: sans-serif;
    line-height: 1.2em;
}

.h-text input {
    width: 60%;
    padding: 19px;
    border: none;
    outline: none;
    font-size: 15px;
    border-radius: 7PX;
}

button {
    width: 20%;
    padding: 19px;
    border: none;
    outline: none;
    background-color: #e74c3e !important;
    color: white;
    font-size: 15px;
    margin-top: 30px;
    border-radius: 7px;
}

.filter-gallery {
    padding: 20px;
}

.portfolio-menu {
    text-align: center;
    margin-bottom: 10px;
}

.portfolio-menu ul li {
    list-style: none;
    display: inline-block;
    margin: 20px 0px;
    font-size: 20px;
    font-weight: bold;
    font-family: sans-serif;
    padding: 10px 20px;
    cursor: pointer;
    text-align: center;

}

.portfolio-menu ul li:hover {
    background-color: #e74c3e;
    color: white;
    border-radius: 5px;
    transition: 0.4s ease;
}

li.active {
    background-color: #e74c3e;
    color: white;
    border-radius: 5px;
}

.portfolio-item {
    width: 80%;
    display: grid;
    margin: 0 auto;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 5px;
}

.portfolio-item .item {
    border-radius: 5px;
    transition: 0.4s ease;
    
    overflow: hidden;
    border-radius: 5px;
    transition: 0.4s ease;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.item img {
    width: 100% ;
    height: 250px;
}

/*
Image Loading Animation
*/
/*
.item img {
    opacity: 1;
    display: block;
    transition: .5s ease;
    backface-visibility: hidden;
    animation: myAnimation 3s ease-in-out;
}

@keyframes myAnimation {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
*/