html, body {
  height: 100%;
}

body {
  padding-top: 46px;
  display: flex;
  flex-direction: column;
}

img {
  border: 2px solid black;
  margin: 10px 0;
}

#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

#main {
  margin: 0 1rem;
  flex: 1 0 auto;
  padding-bottom: 1rem;
}

#url-field {
  width: 70%;
}

#custom-iframe {
  margin: 5px;
  width: 100%;
  height: 85%;
  position: relative;
  z-index: 0;
}

.label, .value {
  display: inline-block;
}

label {
  margin: 6px;
}

nav ul {
  margin: 0;
  padding: 0;
  background-color: lightgreen;
  list-style: none;
}

nav li {
  padding: 5px 0;
  display: inline-block;
  font-size: 1.5rem
}

nav li a {
  color: black;
  text-decoration: none;
  text-transform: uppercase;
}

nav li a {
  padding: 5px 10px;
}

nav li a:hover {
  background-color: orangered;
  padding: 5px 10px;
}

footer {
  z-index: 999;
  text-align: center;
  padding: 3px;
  flex-shrink: 0;
  background-color: #d3d3d3;
}

#map {
  height: 500px;
  width: 500px;
  float: right;
  display: inline-block;
  position: relative;
  margin-top: -350px;
  /* to be changed later as it breaks view on mobile */
}

#test-button {
  font-size: 2rem;
  background-color: #1877f2;
  width: 100%;
  height: 100%;
  text-align: center;
  /*padding: 15% 0;*/
}

#test-button p {
  margin-top: calc(15% - 0.5rem);
  vertical-align: center;
}

#button-generate {
  margin: 10px 0;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content/Box */
#modal-content {
  background-color: #fefefe;
  margin: 70px auto;
  padding: 20px;
  border: 1px solid #888;
  width: 27rem;
}

/* The Close Buttons */
.close {
}

/* The Cross Close Button */
.close-x {
  margin-top: -1.5rem;
  color: #aaa;
  float: right;
  position: relative;
  font-size: 2.5rem;
  font-weight: bold;
}

.close-x:hover,
.close-x:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
