/* nav */
.nav {
position: relative;
margin: 31px 0;
/*font-weight: 600;*/
}

.nav ul {
margin: 0;
padding: 0;
}

.nav li {
margin: 0 5px 10px 0;
padding: 0;
list-style: none;
display: inline-block;
color: #999;
text-decoration: underline;
}

.nav a {
padding: 3px 12px;
text-decoration: none;
color: #999;
line-height: 100%;
}

.nav a:hover {
color: #000;
background-color: #D7B065;
}

.nav .current a {
background: #000;
color: #fff;
border-radius: 5px;
}


/* hover */
.hover-title {
    display: inline;
    pointer-events: auto;
    cursor: pointer;
}

.hover-image {
    visibility: hidden;
}

body:not(.mobile) .hover-title:hover + .hover-image {
    visibility: visible;
    pointer-events: none;
}

.hover-image {
    display: flex;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;

/* Change width and height to scale images */
    width: 90vw;
    height: 90vh;
}

.hover-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    margin-bottom: 0;
}