* {
  box-sizing: border-box;
}

@font-face {
  font-family: lintel;
  src: local(lintel) url(css/lintel.otf);
}

body {
  font-family: lintel, helvetica; /* TODO: Add lintel.otf and reference here */
  margin: 0;
  padding: 0;
  /*overflow-x: hidden;*/
}

#container {
  width: 90vw;
  margin: auto;
}

#mainHeader {
  margin: auto;
  text-align: center;
  font-family: lintel, helvetica;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: lighter;
  text-align: center;
}

.nav {
  overflow: hidden;
}

.nav a {
  float: left;
  text-align: center;
  font-weight: bold;
  padding: 14px 10px;
  text-decoration: none;
  font-size: 18px;
}

.nav-right {
  float: right;
  padding-top: 14px;
  margin: 24px 20px 0 10px
}

.download-link a {
  color: #365cb5;
  text-decoration: none;
}

.download-link a:hover {
  text-decoration: underline;
}

.experiments-group {
  margin: auto;
  margin-top: 10px;
  width: 100%;
  clear: both;
}
.experiment-previews {
  text-align: left;
  clear: both;
}

.experiment-preview {
  display: inline-block;
  padding: 20px;
  margin: 20px;
  transition: opacity 0.5s ease-in-out, background-color 0.25s ease-in-out;
  text-align: center;
  box-shadow: 3px 3px 5px #7c7c7c;
  background-color: #dceff6;
  vertical-align: top;
}

.experiment-preview a {
  text-decoration: none;
  color: initial;
}
.experiment-preview h2 {
  font-weight: bold;
  margin-bottom: 15px;
}

.experiment-preview:hover {
  background-color: #a4e6ff;
}

.experiment-preview .experiment-desc {
  width: 256px;
  text-align: left;
}

.clear {
  clear: both;
}

main {
  padding: 2%;
}

main .heading {
  text-align: inherit;
  font-weight: bold;
  margin: 10px;
}

@media all and (max-width: 520px) {
  #container {
    width: 100vw;
  }
  .header-logo {
    display: none;
  }
}
