html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
}

body {
    background: url(hero.jpg) no-repeat 50% 50%;
    background-size: cover;
    color: #fff !important;
}

.wrapper {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}


.overlay:before {
     animation: grain 1s steps(10) infinite;
     background-image: url(grains.png);
     content: "";
     height: 300%;
     left: -50%;
     opacity: 0.48;
     position: fixed;
     top: -110%;
     width: 300%;
}

@keyframes grain {
     0%, 100% { transform: translate(0, 0); }
     10% { transform: translate(-5%, -10%); }
     20% { transform: translate(-15%, 5%); }
     30% { transform: translate(7%, -25%); }
     40% { transform: translate(-5%, 25%); }
     50% { transform: translate(-15%, 10%); }
     60% { transform: translate(15%, 0%); }
     70% { transform: translate(0%, 15%); }
     80% { transform: translate(3%, 35%); }
     90% { transform: translate(-10%, 10%); }
}

.menu-btn {
    position: fixed;
    margin: 1.2em;
    right: 0;
    z-index: 1;
}

button {
    border: none;
    background: none;
}

button:focus {
    outline: none !important;
}

i {
    outline: none;
    padding: 0.8em;
    color: #fff;
    border: 1px solid #000;
    background: #000;
    border-radius: 50%;
}

.row, .col-lg {
    margin: 0 !important;
    padding: 0 !important;
}

.col-lg {
    height: 100vh;
}

.col-lg.overlay {
    background: #000;
    position: absolute;
    top: -100%;
}

ul {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    margin: 0;
    padding: 0;
}

li {
    font-family: Poppins;
    display: inline-block;
}

li:not(:last-child) {
    margin-right: 120px;
}

li:first-child:hover::before {
    content: "";
    z-index: -1;
    width: 300px;
    height: 400px;
    display: block;
    position: absolute;
    top: -180px;
    left: -30px;
    background: url(hover_one.jpg);
    transition: 1s;
    animation: fade-in 2s ease-in-out;
}

li:nth-child(2):hover::before {
    content: "";
    z-index: -1;
    width: 300px;
    height: 400px;
    display: block;
    position: absolute;
    top: -180px;
    left: -30px;
    background: url(hover_two.jpg);
    transition: 1s;
    animation: fade-in 2s ease-in-out;
}

li:nth-child(3):hover::before {
    content: "";
    z-index: -1;
    width: 300px;
    height: 400px;
    display: block;
    position: absolute;
    top: -180px;
    left: -30px;
    background: url(hover_three.jpg);
    transition: 1s;
    animation: fade-in 2s ease-in-out;
}

li:nth-child(4):hover::before {
    content: "";
    z-index: -1;
    width: 300px;
    height: 400px;
    display: block;
    position: absolute;
    top: -180px;
    left: -30px;
    background: url(hover_four.jpg);
    transition: 1s;
    animation: fade-in 2s ease-in-out;
}

@keyframes fade-in {
    0% {
        opacity: 0;
        top: -160px;
    }
    50% {
        opacity: 1;
        top: -180px;
    }
    100% {
        opacity: 1;
        top: -180px;
    }
}

@media(max-width: 900px) {
    li {
        text-align: center;
        display: block !important;
        margin: 0 !important;
        padding: 20px 0;
    }
    
    li:hover::before {
        width: 0 !important;
    }
}































































































































