* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.body {
    background-color: #080808;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

/* navigation bar */
.navbar-inverse {
    background-color: black !important;
    border-color: none;
    font-size: 20px;
    font-weight: 500;
    /* height: 8vh !important; */
    padding: 10px !important;
}

.logo {
    width: 50px;
    height: 50px;
    margin-top: -20%;
}

.container-fluid {
    width: 80%;
    margin: auto;
}

.navbar-collapse ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -3px;
    transition: 0.5s;
}

.navbar-collapse ul li a:hover::after {
    width: 100%;
}

.navbar-collapse ul li a:hover {
    text-decoration: none !important;
    color: #fff !important;
}

.navbar-header {
    background-color: black !important;
}

.navbar-nav {
    background-color: black !important;
}

@media only screen and (max-width: 770px) {
    .navbar-collapse ul li a::after {
        display: none;
    }
}

/* portfolio section */
#web {
    padding: 50px 0;
}

.container {
    padding: 10px 10%;
}

.sub-title {
    font-size: 40px;
    font-weight: 600;
    color: #fff;
}

.row1{
    display: grid;
    grid-template-columns: auto auto auto;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

@media only screen and (max-width: 1200px) {
    .row1{
        grid-template-columns: auto auto;
    }
}
@media only screen and (max-width: 780px) {
    .row1{
        grid-template-columns: auto;
    }
}

.container1 {
    position: relative;
    width: 50%;
    cursor: pointer;
}

.image {
    display: block;
    width: 350px;
    height: 30vh;
}

.overlay {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.8);
    overflow: hidden;
    width: 350px;
    height: 0;
    transition: .5s ease;
}

.container1:hover .overlay {
    bottom: 0;
    height: 100%;
}

.text {
    color: white;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}
.text a{
    text-decoration: none;
    color: #fff;
    font-size: 30px;
}
.text a:hover{
    color: #ff004f;
}

/* footer */
.copyright {
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #262626;
    font-weight: 300;
    margin-top: 15px;
}

.copyright p {
    font-size: 15px;
}

.copyright p i {
    color: #ff004f;
}

/* css for small screen */
@media only screen and (max-width: 600px) {
    .sub-title {
        font-size: 20px;
    }

    .copyright p {
        font-size: 12px;
    }
}