﻿body[
background-image:url('images/becados.jpg');
background-size:100% 100%;
background:attechment:fixed;
text-decoration: none;
]

*{
	margin:0px;
	padding:0px;
	
}
.menudes {
position: relative;
overflow: hidden;
width: 100%;
margin: 0 auto 10px;
text-align:center;
}
.menudes a {
display: inline-block;
width:11.11%; /* 100% dividido por el número de elementos */
box-sizing: border-box;
padding: 5px 15px;
color: #000;
background: #ccc;
opacity:.4;
text-decoration: none;
font-weight:bold;
text-align: center;
border-right: 2px solid #fff;
position:relative;
z-index:2;
}
.menudes a:first-child {
border-left: 1px solid #fff;
}
.marca { /* cuadro blanco*/

position: absolute;
width: 11.11%;
height: 28px;
box-sizing: border-box;
bottom: 0;
left: -30%;
border: 2px solid #ffffff;
transition: 0.5s ease-in-out;
z-index:1;
}
.menudes a:hover ~ .marca {
margin-left: -1px;
}
.menudes a:nth-child(1):hover ~ .marca {
left: 4.8%; 
}
.menudes a:nth-child(2):hover ~ .marca {
left: 16.20%; /* 1/8 del ancho total */
}
.menudes a:nth-child(3):hover ~ .marca {
left: 27.50%; /* 2/8 del ancho total */
}
.menudes a:nth-child(4):hover ~ .marca {
left: 38.9%; /* 3/8 del ancho total */
}
.menudes a:nth-child(5):hover ~ .marca {
left: 50.2%; /* 4/8 del ancho total */
}
.menudes a:nth-child(6):hover ~ .marca {
left: 61.5%;  /* 5/8 del ancho total */
}
.menudes a:nth-child(7):hover ~ .marca {
left: 72.8%; /* 6/8 del ancho total */
}
.menudes a:nth-child(8):hover ~ .marca {
left: 84.3%; /* 7/8 del ancho total */
}


