ul {
    margin-top: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 0;
}

ul li {
    list-style: none;
}

ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;

    width: 120px;
    height: 120px;

    text-decoration: none;
    color: black;
    font-size: 18px;

    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
}

ul li#torre_castillo a{
    background-image: url(imgs/iconos/torre_castillo.png);
    background-repeat: no-repeat;
    background-size: 75px;
    background-position: center top;
    width: 150px;
    padding-top: 75px;
}

ul li#torre_castillo a:hover{
    background-image: url(imgs/iconos/torre_castillo_hover.png);
}


ul li#magos a{
    background-image: url(imgs/iconos/magos.png);
    background-repeat: no-repeat;
    background-size: 75px;
    background-position: center top;
    width: 150px;
    padding-top: 75px;
}

ul li#magos a:hover{
    background-image: url(imgs/iconos/magos_hover.png);
}

ul li#pergamino a{
    background-image: url(imgs/iconos/pergamino.png);
    background-repeat: no-repeat;
    background-size: 75px;
    background-position: center top;
    width: 150px;
    padding-top: 75px;
}

ul li#pergamino a:hover{
    background-image: url(imgs/iconos/pergamino_hover.png);
}


ul li#ra_icono a{
    background-image: url(imgs/iconos/ra.png);
    background-repeat: no-repeat;
    background-size: 75px;
    background-position: center top;
    width: 150px;
    padding-top: 75px;
}

ul li#ra_icono a:hover{
    background-image: url(imgs/iconos/ra_hover.png);
}


ul li#dado a{
    background-image: url(imgs/iconos/dado.png);
    background-repeat: no-repeat;
    background-size: 75px;
    background-position: center top;
    width: 150px;
    padding-top: 75px;
}

ul li#dado a:hover{
    background-image: url(imgs/iconos/dado_hover.png);
	
	
}

ul li#ra a{
    background-image: url(imgs/iconos/ra.png);
    background-repeat: no-repeat;
    background-size: 75px;
    background-position: center top;
    width: 150px;
    padding-top: 75px;
}

ul li#ra a:hover{
    background-image: url("imgs/iconos/ra_hover.png");
	}