body,
html {
    height: 100%;
    width: 100%;
}

body {
    position: relative;
    overflow: hidden;
}

#background,
#backgroundClean,
.interactive-image,
.interactive-image .hover-image {
    height: 100%;
    width: 100%;

    position: fixed;
    top: 0;
    left: 0;

    background-position: center center;
}

.interactive-image .hover-image {
    opacity: 0;

    transition: opacity 0.2s ease-in-out;
}

.interactive-image.hover .hover-image {
    opacity: 1;
}

#background {
    z-index: 1;
    background-image: url("img/background_clean.png");
    background-size: 100%;
}

#backgroundClean {
    z-index: 2;
    background-image: url("img/background_clean.png");
    background-size: 100%;

    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

#background.focus #backgroundClean {
    opacity: 1;
}

#geschichte {
    z-index: 3;
    background-image: url("img/paper_final.png");
}

#geschichteHover {
    z-index: 4;
    background-image: url("img/paper_hover.png");
}

#fahrzeuge {
    z-index: 0;
    background-image: url("img/vehicle_final.png");
}

#fahrzeugeHover {
    z-index: 0;
    background-image: url("img/vehicle_hover.png");
}

#anwesen {
    z-index: 1;
    background-image: url("img/clothes_final.png");
}

#anwesenHover {
    z-index: 1;
    background-image: url("img/clothes_hover.png");
}

#outfit {
    z-index: 2;
    background-image: url("img/mansion_final.png");
}

#outfitHover {
    z-index: 2;
    background-image: url("img/mansion_hover.png");
}

#mitglieder {
    z-index: 11;
    background-image: url("img/police_final.png");
}

#mitgliederHover {
    z-index: 12;
    background-image: url("img/police_hover.png");
}

#gamble {
    z-index: 13;
    background-image: url("img/money_final.png");
}

#gambleHover {
    z-index: 14;
    background-image: url("img/money_hover.png");
}

#recorder {
    z-index: 17;
    background-image: url("img/recorder_final.png");
}

#recorderHover {
    z-index: 18;
    background-image: url("img/recorder_hover.png");
}


#weapon {
    z-index: 21;
    background-image: url("img/weapon_final.png");
}

#weaponHover {
    z-index: 22;
    background-image: url("img/weapon_hover.png");
}


#heroin {
    z-index: 25;
    background-image: url("img/heroin_final.png");
}

#heroinHover {
    z-index: 26;
    background-image: url("img/heroin_hover.png");
}

#video {
    z-index: 27;
    background-image: url("img/video_final.png");
}

#videoHover {
    z-index: 28;
    background-image: url("img/video_hover.png");
}


#svgContainer svg {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    width: 3000px;
    height: 2000px;

    z-index: 40;
}

.draggable {
    width: 25%;
    min-height: 6.5em;
    margin: 1rem 0 0 1rem;
    background-color: #29e;
    color: white;
    border-radius: 0.75em;
    padding: 4%;
    touch-action: none;
    user-select: none;
  }

/* The Modal (background) */
.modal {
    color:rgb(204, 203, 203);
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 60; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .modal-content {
    background-color: #030303d2;
    margin: 4% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
  }
  
  /* The Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  .centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: #111; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  }
  
  /* The navigation menu links */
  .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  /* When you mouse over the navigation links, change their color */
  .sidenav a:hover {
    color: #f1f1f1;
  }
  
  /* Position and style the close button (top right corner) */
  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }
  
  /* Style page content - use this if you want to push the page content to the right when you open the side navigation */
  #main {
    transition: margin-left .5s;
    padding: 20px;
  }
  
  /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
  @media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  }