html,body{
    overflow-x: hidden;
    /* background: #f2f2f2; */
}
body{
    /* background: transparent; */
    background-color: rgb(220, 212, 212);
    /* background-image: linear-gradient(rgba(4,9,30,.3),rgba(4,9,30,.7)),url('banner.JPG'); */
    
}


@keyframes rot {
    100% {transform: skewY(30deg);}
    
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
.header{
    min-height: 100vh;
    width: 100%;
    background-position: center;
    position: relative;
    background-size: cover;
    /* transition: 5s; */
    
}
.Home{
    background-image: linear-gradient(rgba(4,9,30,.3),rgba(4,9,30,.7)),url('Resources/imgs/bodyimg.JPG');
}
.About{
    background-image: linear-gradient(rgba(4,9,30,.3),rgba(4,9,30,.4)),url('/Nextgni/Resources/imgs/aboutme.JPG');
}
.Blog{
    background-image: linear-gradient(rgba(4,9,30,.3),rgba(4,9,30,.4)),url('/Nextgni/Resources/imgs/blog.JPG');
}
.Contact{
    background-image: linear-gradient(rgba(4,9,30,.3),rgba(4,9,30,.7)),url('/Nextgni/Resources/imgs/contact.JPG');
}
.Service{
    background-image: linear-gradient(rgba(4,9,30,.3),rgba(4,9,30,.7)),url('/Nextgni/Resources/imgs/IMG_0113.JPG');
}
/* .header{
    animation: back 10s infinite linear ;
} */
/************* The navigations ***********/
nav{
    display: flex;
    padding: 2% 5%;
    padding-right: 2%;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    /* top: 4%; */
    /* right: 5%; */
    z-index: 3;
    transition: background-color 0.4s ease-in-out;
}
.nav-row{
    width: 100%;
}
.nav-row.scrolled{
    background-color: rgba(255, 255, 255, 0.705);
    opacity: 0.98;
    border-bottom-left-radius: 1.5em;
}
.nav-row.scrolled a, .nav-row.scrolled .log-inbtn,.nav-row.scrolled .fa-align-justify{
    color: black;
}


.bravebox{
    border-color: #f00;
    width: 15%;
    height: 15%;
    position: fixed;
    /* margin-top: 1em; */
    left: 5%;
    right: 5%;
    cursor: pointer;
}
.bravebox img{
    border-radius: .7em;
    width: 100%;
    height: 100%;
    opacity: .7;
}
.fa-brave{
    transform-origin: 50%;
    color: aquamarine;
    font-size: 60px;
    animation: breath 2s infinite linear ;   
}
#txt{
    position: absolute;
    animation: rot 15s infinite linear;
}

.nav-links{
    width: 100%;
    text-align: right;
    margin: auto;
}
.nav-links::after{
    content: "";
}
.nav-links ul{
    padding-right: 4em;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    text-decoration: none;
    font-size: 13px;
    color: white;
    transition: color 0.4s ease-in-out;
}
.nav-links ul .lk:after{
    content: "";
    display: block;
    width: 0%;
    height: 2px;
    background: aqua;
    margin: auto;
    transition: .5s;
}
.nav-links ul .lk:hover:after{
    width: 100%;

}
.nav-links .fa-xmark,.fa-align-justify{
    font-size: 0px;
}
.textb{
    width: 100%;
    text-align: center;
    color: white;
    position: absolute;
    top: 30%;
    margin: 40px 0;
}
.textb h1{
    font-size: 60px;
}
.textb p{
    margin: 10px 0 40px;
   
}
.textb a{
    color: white;
}
.btn-hero{
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid white;
    position: relative;
    cursor: pointer;
    background: transparent;
    transition: .2s;
}
.btn-hero:hover{
    border: 1px solid aquamarine;
    background: rgba(0,255 , 255, .7);
}
/* ********The About Session********* */
.about{
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    width: 80%;
    margin: auto;
    margin-top: 100px;

   
    text-align: center;
    justify-content: space-between;
    /* background-image: linear-gradient(rgba(4,9,30,.3),rgba(4,9,30,.7)),url('about.JPG'); */


}
.about:hover{
    box-shadow: 2px #777;
}
.about h2{
    margin: 30px 0;
    font-size: xx-large;
}
.news{
    width: 100%;
    display: flex;
    align-items: start;
    align-content: start;
    text-align: center;
    margin: 50px 0;
    align-items: center;
    flex-basis: 31%;
    justify-content: space-between;
}
.story{
    width: 100%;
   justify-content: space-between;
    background: #fff3ff;
    padding: 18px 0 15px;
      
   margin: 20px 20px;
}
.story h3{
    margin-bottom: 10px;
}
.story p{
    padding: 10px;
    color: #777;
    line-height: 25px;
}
@keyframes trans {
    0% {background-color: #f00;}
    33.33% {background-color: #ff0;}
    66.66% {background-color: rgb(0, 255, 64);}
    67.32% {background-color: rgb(233, 27, 106);}
    85.66% {background-color: #ff0;}
    100% {background-color: #ffffff9c;}
    
}
.anim{
    margin: 10px 0;
}
/* .anim{
    padding: 20px;
    width: 150px;
    height: 150px;
    margin: 100px;
    transform: rotateY(85deg) rotateZ(45deg);
    animation: trans 4s infinite ease-in-out;
} */
/*-------Log in button-----*/
.log-inbtn{
    color: #ffffff;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid rgb(157, 185, 218);
    right: -2%;
    width: 90px;
    text-align: center;
    font-size: larger;
 
}
.log-inbtn:hover{
    background:rgba(223, 181, 133, 0.781);
}
.log-outbtn input{
    width: 100%;
    height: 5%;
    color: red;
}
@media (max-width: 700px){
    .bravebox{
        position: relative;
        float: right;
        transform: translate(-100%);
        scale: 0;
        transition: .5s;
    }
    img.mylogo{
        position: absolute;
        bottom: 45%;
        
    }

    .textb h1{
        font-size: 30px;
        
    }
    .textb p{
        font-size: 12px;
    }
    .nav-row.scrolled{
        background-color: initial;
        opacity: 0.98;
    }
    .nav-row.scrolled a{
        color: white;
    }
   
    
    .nav-links{
        width: 200px;
        height: 100vh;
        display: block;
        background: black;
        text-align: left;
        position: absolute;
        top: 0;
        z-index: 10;
        transition: 0.6s;
    }
    /* .nv-active{
        position: fixed;
        transform: translateX(200px);
    } */
    .nav-links{
        right: -223px;
    }
    .nav-links ul{
        margin: 50px 0;
        display: flex;
        flex-direction: column;
    }
    .nav-links ul li:hover:after{
        display:block;
    }
    .nav-links .fa-xmark{
        color: white;
        position: absolute;
        top: 0;
        font-size: 30px;
        margin: 10px;
        cursor: pointer;
    }
    .fa-align-justify{
        color: #ffffff;
        position: fixed;
        top: 0;
        right: 0;
        font-size: 40px;
        cursor: pointer;
        margin: 30px;

    }
   
    .fa-brave{
        margin: 10px 0px;
    }
    .news{
        flex-direction: column;
    }
    .story{
        width: 100%;
        margin-bottom: 20px;
        box-sizing: content-box;
    }
    .story p{
        text-align: center;
    }
    .log-inbtn.side{
        /* width: max-content; */
        width: 70%;
        text-align: center;
        background: rgba(127, 255, 212,.4);
        transform-origin: 0% 100%;
        transform: translateY(30px);
        right: -9%;
        border-radius: 10px;
        
    }
    .nav-row.scrolled .log-inbtn.side{
        color: white;
    }
    
    .log-inbtn:hover{
        background: rgba(223, 181, 133, 0.781);
        
    }
    .footer p{
        width: 80%;
    }

}


/* ****About section***** */
.about-sec{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
    display: flex;
    justify-content: space-between;
    /* line-height: 20px; */
}
.about-row{
    display: flex;
    margin-top: 5%;
   
}
.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}
.about-col img{
    width: 100%;
    height: 100%;
}
.about-col h1{
    padding-top: 0;
    font-size: 30px;
}
.about-col p{
    padding: 15px 0 25px;
    color: #777;
}


/* ********Footer section***** */
.footer{
    width: 100%;
    text-align: center;
    padding: 10px 10px;
    margin: 20px 10px;
}
.footer h2{
    margin: 20px;
    font-size: 20px;
}
.footer p{
    width: 50%;
    margin: auto;
    color: #777;
}
@media (max-width: 700px){
    .footer p{
        width: 80%;
    }
    .about-row{
        flex-direction: column;
    }
}
.icons{
    margin: 20px 0;
    width: 100%;
   
    text-align: center;
    justify-content: center;
   

   
}
.icons i{
    margin: 5px 20px;
    color: #f444f4;
    text-align: center;
    cursor: pointer;
    font-size:large;
}
.icons i.fa-facebook{
    color: blue;
}
.icons i.fa-x{
    color: black;
}
.icons i.fa-facebook{
    color: blue;
}
.icons i.fa-whatsapp{
    color: green;
}

.made,.made i{
    margin: 5px 0 0;
    color: #777;
}

/* *****Blog Section***** */
.news.blog{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: space-evenly;
    align-items: start;
    flex-direction: row;
    flex-basis: 100%;
    overflow-x: scroll;
    width: 70%;
    height: 20%;
    margin: auto;
}
@media (max-width: 700px){
    .news.blog{
        height: 10em;
        flex-direction: column;

        overflow-y: hidden;
        overflow-x: hidden;
    }
}

.story.blog{
    text-align: left;
    display: flex;
    flex-basis: 30%;
    padding: 10px 10px;
    margin: 20px 10px;
    border-radius: 10px;
    width: 80%;
    margin: 5% auto;
    opacity: .7;
}
.story.blog h4{
    text-align: start;
    margin-left: 2%;
    margin-top: 2%;
}
.story.blog div{
    text-align: center;
}
.about.blog{
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,.3),rgba(44, 51, 80, 0.7)),url('/Nextgni/Resources/imgs/aboutblog.JPG');
    overflow-x: hidden;
    margin-top: 20%;
}
.about.blog img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.about.blog i{
    text-align: left;
    color: #f00;
    float: left;
    margin-left: 1%;
}
.about.blog i:first-of-type{
    margin-left: 2%;
}
.story.blog p{
    padding: 0;
    margin-left: 2%;
    text-align: left;
}
.comment{
    width: 70%;
    text-align: left;
    display: flex;
    margin: 50px auto;
    padding: 10px 20px;
    flex-direction: column;
    border: 1px #726e6e dashed;
}
.comment h3{
    color: white;
    text-align: center;
}
.comment form{
    display: flex;
    flex-direction: column;
    margin: 10px 20px;
    /* background-color: #777; */
}
.comment input,textarea{
    padding: 10px;
    border: none;
    outline: none;
    background: #f0f0f0;
    opacity: .6;
    margin: 10px 0;
}
.log-inbtn.comment{
    width: 50%;
    /* background:green; */
    color: rgb(230, 233, 230);
    align-items: center;
    position: relative;
    left: 25%;
    font-size: small;
    border: 2px solid rgba(223, 181, 133, 0.781);
    transition: 0.3s;
}
.log-inbtn.comment:hover{
    background: rgba(92, 212, 92, 0.6);
    color: white;
}

/* ******Contact Section***** */
.contact-img{
    width: 80%;
    margin:100px auto;
}
.contact-img img{
    width: 100%;
    height: 70vh;
}
.comment.mail{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border: none;
}
.comment.mail form{
    flex-basis: 50%;
}
.comment.mail input,textarea{
    border: 1px solid #777;
}
.comment.mail .log-inbtn{
    transform: translateX(-50%);
}
.log-inbtn.comment.contact{
    color: #726e6e;
}
.log-inbtn.comment.contact:hover{
    background-color: rgb(200, 200, 216);
}
.info{
    display: flex;
    max-width: 60%;
    flex-direction: column;
}

.info div{
    margin: 10px 0;
    text-align: right;
    display: flex;
    flex-basis: 35%;
    flex-direction: column;
    justify-content: center;
    padding: 5px;
    /* background: #777; */

}
.info i{
    float: left;
    margin-right: 5%;
    transform: translateY(50px);
    text-align: left;
    color: #f00;
    font-size: x-large;
}
.info h3{
    font-size: x-large;
    text-align: right;
}
.info h3 a{
    text-decoration: none;
}
.banner{
    width: 100%;
    margin: auto;
    background-image: url('/Nextgni/Resources/imgs/banner.JPG');
}
.banner img{
    width: 100%;
    background: linear-gradient(rgba(4,9,30,.3),rgba(4,9,30,.7));
}

/* Service Section */
.par{
    color: #777;
}

.news.serv{
    display: flex;
    justify-content: space-between;
    align-content: space-evenly;
    align-items: start;
    flex-wrap: wrap;
    
}

.story.serv{
    position: relative;
    flex-basis: 34%;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 30px;
    height: 100%;
    overflow: hidden;
    background-color: white;
   
 
}
.story.serv:hover{
    background: transparent;

}
.story.serv img{
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 20px;
    
}
.story.serv h3{
    text-align: center;
    position: relative;
    font-size: x-large;
    color: rgb(196, 186, 186);
}
.story.serv h2{
    position: absolute;
    /* bottom: 40%; */
    top: 40%;
    /* z-index: -1; */
    width: 100%;
    height: 100%;
    border-radius: 20px;
    color: wheat;
   
    
}

.story.serv h3, .story.serv p{
    align-items: center;
    position: relative;
    width: 100%;
    top: 40%;
    bottom: 50%;
    /* z-index: -1; */
   
    
}
/* .story.serv .layer{
    position: absolute;
    top: 0;
    text-align: center;
   transform: translateY(-150%);
    width: 100%;
    height: 100%;
    border-radius: 20px;
   
    align-items: center;
} */

/* .story.serv p:hover{
    background: red;
    position: relative;
    transform: translateX();
    height: 100%;
}
.story.serv h3{
    position: relative;
    transform: translateY(10%);
    font-size: x-large;
    color: #fff3ff;
}
.story.serv p{
    background: red;
    position: relative;
    transform: translateY(5%);
    width: 100%;
    height: 20%;
    text-align: center;
    color: whitesmoke;
    margin: auto;
}
.story.serv.C p{
    transform: translateY(20%);
}
.story.serv.C .anim{
    transform: translateY(20%);
}
.story.serv .anim{
    position: relative;
    transform: translateY(20%);
} */
/* .story.serv.A{
    background-image: linear-gradient(rgba(4,9,30,.3),rgba(4,9,30,.7)),url('Resources/cart.jpg');
} */
.story.serv.A{
    background-image: linear-gradient(rgba(4,9,30,.3),rgba(4,9,30,.7)),url('/Nextgni/Resources/imgs/tmpimgs/cart.jpg');
    
}
.story.serv.B{
    background-image: linear-gradient(rgba(4,9,30,.3),rgba(4,9,30,.7)),url('Resources/brand.png');
}
.story.serv.C{
    background-image: linear-gradient(rgba(4,9,30,.3),rgba(4,9,30,.7)),url('Resources/bglake.jpg');
}

/* Change of buttons */


@media (max-width: 700px){
    .comment.mail{
        flex-direction: column;
    }
    .news.serv{
        flex-direction: column;
    }
    .info{
        max-width: 60%;
    }
    /* .story.serv p{
        transform: translateY(35%);
    } */
}
/* @media(min-width:400px){
    .story.serv p{
        transform: translateY(5%);
    }
} */