header{
  position: sticky;
  top: 0px;
  background-color: white;
  z-index: 2;
}

body {
  margin: 0;
  margin-bottom: 80px;
  padding:0;
}
.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #191966;
  color: white;
  text-align: center;
  z-index: 99
}

.flex-center{
  display: flex;
  justify-content: center;
  z-index: 9;
}

dl{
  font-family: Helvetica
  font-size: 40pt
}
dt{
  font-family: Helvetica
}
p {
  font-family: Helvetica
}
h1 {

  font-family: Helvetica
}
h3 {
  font-family: Helvetica
}
h2 {

  font-family: Helvetica
}
h4 {
  font-family: Helvetica
}





/* Add a black background color to the top navigation */
.topnav {
    background-color: #191966;
    overflow: hidden;
    font-family: Helvetica;

}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;

}

/* Add a color to the active/current link */
.topnav a.active {
    background-color: #8484e1;
    color: white;

}
.active {
  background-color: #8484e1;
  color: white;
}
.topnav-centered a {
  float: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

}
/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}
/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}





.row {
  display: flex;
  flex-wrap: wrap;
  padding-left: 5%;
  padding-right: 5%;
  margin: auto;
  width: 100%
}
/* Create four equal columns that sits next to each other */
.column1 {
  flex: 45%;
  max-width: 45%;
  padding: 0 4px;
}
.column2 {
  flex: 35%;
  max-width: 35%;
  padding: 0 4px;
}
.column img {
  margin-top: 8px;
  vertical-align: middle;
}
.column1img {
  flex: 45%;
  max-width: 45%;
  padding: 0 4px;
}
.column2img {
  flex: 45%;
  max-width: 45%;
  padding: 0 4px;
}


/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;

}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}
/* Dropdown button */
.dropdown .dropbtnA {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: #8484e1;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #191966;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  color: #f2f2f2;
  display: block;
  text-align: left;

}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
    background-color: #ddd;
    color: black;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;

}


.container {
  position: relative;
  width: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    max-width: 500px
}
.centerProj {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;

  opacity: 0;
  transition: 1s ease;
  background-color: #008CBA;
}
.container:hover .overlay {
  opacity: 0.8;
}
.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}
.twitter-timeline-rendered {
    margin: auto;
}



.publicationwrapper{
  position:relative;
}

#altmetbadge{
  position:absolute;
  right:0;
}


a.btn {
  border: 3px solid #191966;
  background-color: inherit;
  padding-left: 10%;
  padding-right:10%;
  font-size: 16px;
  color: #191966;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

/* On mouse-over */
a.btn:hover {background: #eee;}

.btncenter {
  margin: auto;
  width:200px;

  padding: 10px;
}
