body {margin:0;font-family:Arial}

.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.active {
  background-color: #4CAF50;
  color: white;
}

.topnav .icon {
  display: none;
}

.dropdown1 {
  float: left;
  overflow: hidden;
}

.dropdown1 .dropbtn {
  font-size: 17px;    
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover, .dropdown1:hover .dropbtn {
  background-color: #555;
  color: white;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown1:hover .dropdown-content {
  display: block;
}



@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown1 .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown1 {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown1 .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}




@media screen and (max-width:768px){
 #mySidenav a {
  position: absolute; /* Position them relative to the browser window */
  left: -75px; /* Position them outside of the screen */
  
  transition: 0.3s; /* Add transition on hover */
  padding-right:10px; /* 15px padding */
  width: 100px; /* Set a specific width */
  text-decoration: none; /* Remove underline */
  text-align:right;
  font-size: 14px; /* Increase font size */
  color: white; /* White text color */
  border-radius: 0 5px 5px 0; /* Rounded corners on the top right and bottom right side */
}

#mySidenav a:hover {
  left: 0; /* On mouse-over, make the elements appear as they should */
}

/* The about link: 20px from the top with a green background */
#floor4 {
  top: 60px;
  background-color: #e6007e;
}

#floor3 {
  top: 80px;
  background-color: #f49600; /* Blue */
}

#floor2 {
  top: 100px;
  background-color: #fdc300; /* Red */
}

#floor1 {
  top: 120px;
  background-color: #afcb0c /* Light Black */
}

#floor0 {
  top: 140px;
  background-color: #21bbef /* Light Black */
}

#floor-1 {
  top: 160px;
  background-color: #0e4194 /* Light Black */
}

#floor-2 {
  top: 180px;
  background-color: #494948 /* Light Black */
}


}

@media screen and (min-width:768px){
 #mySidenav a {
  position: absolute; /* Position them relative to the browser window */
  left: -60px; /* Position them outside of the screen */
  
  transition: 0.3s; /* Add transition on hover */
  padding-right:10px; /* 15px padding */
  width: 100px; /* Set a specific width */
  text-decoration: none; /* Remove underline */
  text-align:right;
  font-size: 20px; /* Increase font size */
  color: white; /* White text color */
  border-radius: 0 5px 5px 0; /* Rounded corners on the top right and bottom right side */
}

#mySidenav a:hover {
  left: 0; /* On mouse-over, make the elements appear as they should */
}

/* The about link: 20px from the top with a green background */
#floor4 {
  top: 100px;
  background-color: #e6007e;
}

#floor3 {
  top: 130px;
  background-color: #f49600; /* Blue */
}

#floor2 {
  top: 160px;
  background-color: #fdc300; /* Red */
}

#floor1 {
  top: 190px;
  background-color: #afcb0c /* Light Black */
}

#floor0 {
  top: 220px;
  background-color: #21bbef /* Light Black */
}

#floor-1 {
  top: 250px;
  background-color: #0e4194 /* Light Black */
}

#floor-2 {
  top: 280px;
  background-color: #494948 /* Light Black */
}


}
@media screen and (min-width:1280px){
 #mySidenav a {
  position: absolute; /* Position them relative to the browser window */
  left: -50px; /* Position them outside of the screen */
  
  transition: 0.3s; /* Add transition on hover */
  padding-right:10px; /* 15px padding */
  width: 100px; /* Set a specific width */
  text-decoration: none; /* Remove underline */
  text-align:right;
  font-size: 40px; /* Increase font size */
  color: white; /* White text color */
  border-radius: 0 5px 5px 0; /* Rounded corners on the top right and bottom right side */
}

#mySidenav a:hover {
  left: 0; /* On mouse-over, make the elements appear as they should */
}

/* The about link: 20px from the top with a green background */
#floor4 {
  top: 100px;
  background-color: #e6007e;
}

#floor3 {
  top: 160px;
  background-color: #f49600; /* Blue */
}

#floor2 {
  top: 220px;
  background-color: #fdc300; /* Red */
}

#floor1 {
  top: 280px;
  background-color: #afcb0c /* Light Black */
}

#floor0 {
  top: 340px;
  background-color: #21bbef /* Light Black */
}

#floor-1 {
  top: 400px;
  background-color: #0e4194 /* Light Black */
}

#floor-2 {
  top: 460px;
  background-color: #494948 /* Light Black */
}


}