html,body{
width:100%;
height:100%;
margin:0px;
padding:0px;
overflow-x: hidden;
background-image:url('DVM Code/homebackground.jpg')  
}

.menu li{
list-style: none;
float: left;
position: relative;
height: 40px;
z-index:99;
} 

.menu>li{
background-color: black;
background-image: -webkit-linear-gradient(black, #670000);
background-image: -moz-linear-gradient(black, #670000);
background-image: -o-linear-gradient(black, #670000);
background-image: linear-gradient(black, #670000);
border-left: 1px solid #5f5f5f;
border-right: 1px solid #7e0000;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out; 
}

.menu li:first-child{
border-radius: 3px 0px 0px 3px;
border-left: none;
}

 .menu li:last-child{
border-radius: 0px 3px 3px 0px;
 border-right: none;
 }

.menu a{
display: block;
text-decoration: none;
color: white;
text-transform:capitalize;
padding: 0 20px;
font-family: 'Verdana', arial;
margin: 0;
position: relative;
font-size: 12px;
line-height: 40px;
}

.menu li:hover{
-webkit-box-shadow: inset 0 0 10px #470000;
-moz-box-shadow: inset 0 0 10px #470000;
box-shadow: inset 0 0 10px #470000;
background-color: black;
}

.menu li:hover span:after{
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
transform: rotate(180deg);
}

ul.menu-hover{
visibility: hidden;
position: absolute;
top:100%;
opacity: 0;
height: 0;
width:250px;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}

.menu li:hover .menu-hover{
visibility: visible;
height: 100%;
opacity: 1;
right:10px;
}

.menu-hover li{
height: 100%;
width:220px;
border-bottom: 1px solid #696969;
background-color: #2a2a2a;
border-left: none;
border-right: none;
}

.menu-hover li:hover{
background-image: -webkit-linear-gradient(#2a2a2a, #434343);
background-image: -moz-linear-gradient(#2a2a2a, #434343);
background-image: -o-linear-gradient(#2a2a2a, #434343);
background-image: linear-gradient(#2a2a2a, #434343);
box-shadow: none;
}

.menu-hover a{
color: white;
}

.menu a span:after{
content: "";
border-left: 3px solid transparent;
border-right: 3px solid transparent;
border-bottom: 3px solid white;
position: absolute;
top: 30px;
right: 35px;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out; 
}

.menu-hover li:first-child, .menu-hover li:last-child{
border-radius: 0;
}

.menu a:after {
    background: rgba(255,255,255,.07);
    content: "";
    height: 20px;
    left: 0;
    position: absolute;
    width: 100%;
}
.maindiv{
	width:480px;
	height:330px;
	position: relative;
	left: 35%;
	top: 70px;
	transform: translate(-50%,-25%);
	background-image: url('2.jpg');
	background-size: 100% 100%;
	box-shadow: 1px 2px 10px 10px orange  ;
animation:slider 5s infinite linear;
}
@keyframes slider{
	0%{ background-image: url('1.jpg ');}
	25%{ background-image: url('2.jpg');}
	50%{ background-image: url('3.jpg');}
	75%{ background-image: url('3.jpg');}
	100%{ background-image: url('4.jpg');}
	}
span{
	
}