/* selection tag -- add bg image n gridient color and aligin it with display size */
.header1{
    min-height: 12vh;
    width:100%;
    background-position: center;
    background-size: cover;
    position: relative;
    background-image: linear-gradient(rgba(241, 112, 172, 0.7),rgba(88, 236, 155, 0.7));
 
}

nav a:hover {
    color:red;
   
  }


  nav a:link{
    text-decoration: none;
  }
  /* navigation on , display ....*/
nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

/* navigation on image size */
nav img{
    width: 60px;
    height: 30px;
}

/* div tag to apply to whole box content */
.nav-links2{
    text-align: right;
    align-items: right;
}

/* display-in same line / list-style - remove bulet */
.nav-links2 ul li {
    display: inline-block;
    list-style-type: style none;
    padding:5;
}

/* href color / text-decoration-remove */
.nav-links2 ul li a{
    color: cornsilk;
    text-decoration: none;
     
}

/* mouse move color change on href */
.nav-links2 ul li a:hover{
    color: black;
    
}
/* Add Hover effect on menu with transiton for 5 sec */
.nav-links2 ul li ::after{
   content: '';
    width: 0%;
    height:2px;
    background: rgb(88, 3, 3);
    margin: auto;
    display:block;
  transition: 0.5s;
}

.nav-links2 ul li :hover::after{
    width: 100%;
}

nav .fa{
    display: none;
}

@media(max-width:700px){

    .header1{
        min-height: 5vh;          
    }
   
    .nav-links2 ul li {
        display: block;
    }

    .nav-links2{
        position: absolute;
        background: rgb(219, 91, 6);
         height: 100vh;
         width: 200px;
         top: 0;
         right: -200px;
         text-align: left;
         z-index: 2;
         transition: 1s;
    }

    .nav-links2 ul{
        padding: 30px;
    }
   
     .nav-links2 ul li{
         padding: 12px;
     }
    /* css for icon(close and menu bar) */
    nav .fa{
        display: block;
        cursor: pointer;
        font-size: 22px;
        margin: 10px;
    }
   
}