@import url(//fonts.googleapis.com/css?family=Open+Sans);
@import url(//fonts.googleapis.com/css?family=Signika);

h1{

  font-family: "Signika";
  text-align: center;
  font-size: 60px;
  margin-top: 20px;
}

.subtitle {
  font-family: "Open Sans";
  text-align: center;
  font-size: 30px;
}

.description{

  font-family: "Open Sans";
  text-align: center;
  font-size:  16px;
}

.description-div{

  width: 40%;
  margin-left: 420px;
}

.active {
  background-color: #3dc012;
}

#navbar {
  overflow: hidden;
  background-color: #2fbac9;
}

/* Navbar links */
#navbar a {
  float: left;
  font-family: "Signika";
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px;
  text-decoration: none;
}


video::-webkit-media-text-track-display {
  font-size: 300%;
}

/* Page content */
.content {
  padding: 16px;
}


.bg{

  width: 40%;
  margin: 100px auto;
}

.map{
  position: relative;
  left: 350px;
  top: 50px;
  width: 50%;
  height: auto;
}

.popup {
  position: absolute;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Immigration */

.popup .popuptext {
  visibility: hidden;
  font-family: "Open Sans", regular;
  width: 320px;
  background-color: whitesmoke;
  color: black;
  text-align: center;
  padding: 30px 30px;
  position: absolute;
  top: -600px;
  left: -200px;
  z-index: 3;
  border-radius: 25px;
}

.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 5%;
  left: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent whitesmoke;
}

.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

/* Colonization */

.popupcol {
  position: absolute;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.popupcol .popuptext-col {
  visibility: hidden;
  font-family: "Open Sans", regular;
  width: 320px;
  background-color: whitesmoke;
  color: black;
  text-align: center;
  padding: 30px 30px;
  position: absolute;
  left: 500px;
  top: -650px;
  z-index: 2;
  border-radius: 25px;
}

.popupcol .popuptext-col::after {
  content: "";
  position: absolute;
  top: 15%;
  right: 100%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent whitesmoke transparent transparent;
}

.popupcol .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

/* Slavery */

.popupsl {
  position: absolute;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.popupsl .popuptextsl {
  visibility: hidden;
  font-family: "Open Sans", regular;
  width: 320px;
  background-color: whitesmoke;
  color: black;
  text-align: center;
  padding: 30px 30px;
  position: absolute;
  left: 500px;
  top: -500px;
  z-index: 2;
  border-radius: 25px;
}

.popupsl .popuptextsl::after {
  content: "";
  position: absolute;
  top: 15%;
  right: 100%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent whitesmoke transparent transparent;
}

.popupsl .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}


/* Natural resources */

.popupnr {
  position: absolute;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.popupnr .popuptextnr {
  visibility: hidden;
  font-family: "Open Sans", regular;
  width: 320px;
  background-color: whitesmoke;
  color: black;
  text-align: center;
  padding: 30px 30px;
  position: absolute;
  left: -230px;
  top: -600px;
  z-index: 3;
  border-radius: 25px;
}

.popupnr .popuptextnr::after {
  content: "";
  position: absolute;
  top: 25%;
  left: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent whitesmoke;
}

.popupnr .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}


/* Start here */

.popupstart {
  position: absolute;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.popupstart .popuptextstart {
  visibility: hidden;
  font-family: "Open Sans", regular;
  width: 320px;
  background-color: whitesmoke;
  color: black;
  text-align: center;
  padding: 30px 30px;
  position: absolute;
  left: -200px;
  top: -700px;
  z-index: 3;
  border-radius: 25px;
}

.popupstart .popuptextstart::after {
  content: "";
  position: absolute;
  top: 25%;
  left: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent whitesmoke;
}

.popupstart .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}




/* Close button */

.close {
  color: #aaaaaa;
  position: absolute;
  left: 330px;
  top: 10px;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.closecol {
  color: #aaaaaa;
  position: absolute;
  left: 330px;
  top: 10px;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.closesl {
  color: #aaaaaa;
  position: absolute;
  left: 330px;
  top: 10px;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.closenr {
  color: #aaaaaa;
  position: absolute;
  left: 330px;
  top: 10px;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.closestart {
  color: #aaaaaa;
  position: absolute;
  left: 330px;
  top: 10px;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.starthere{
  position: absolute;
  font-family: "Open Sans", regular;
  left: 60px;
  bottom: -15px;
}
