/* ==================================================================
    Background
================================================================= */

html {
  background: url("/assets/background.png") no-repeat center center fixed;
  background-size: cover;
  min-height: 100%;
}

body {
  background: rgba(255, 255, 255, 0.85);
  min-height: 100vh;
}

/* ==================================================================
    Header and Nav
================================================================= */

header {
  text-align: right;
  margin-top: 50px;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

header .blog-name {
  flex: 0 0 auto;
  text-align: left;
  font-size: 18px;
  font-family: "Lucida Console", Monaco, monospace;
  padding-top: 10px;
  margin-right: 20px;
}

header .blog-name a {
  color: #a6a2a0;
  text-decoration: none;
}

nav {
  flex: 1 1 auto;
  min-width: 0;
}

nav ul {
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
  white-space: nowrap;
}

nav li {
  display: inline;
}

nav li a {
  color: #004de6;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  padding: 8px 5px 5px;
  margin: 0 4px;
  border-bottom: 2px solid #4c9cf1;
  transition: color 0.3s ease;
  white-space: nowrap;
}

header li a:hover {
  color: black;
  border-bottom: 2px solid black;
}

@media (max-width: 480px) {
  header {
    padding-left: 6%;
    padding-right: 6%;
  }
}

@media (min-width: 481px) {
  header {
    padding-left: 12.5%;
    padding-right: 12.5%;
  }
}

/* wide display: enforce maximum width of header to match content */
@media (min-width: 940px) {
  header {
    width: 850px;
    margin-left: auto;
    margin-right: auto;
  }
}

/*
medium display: nav goes under name
*/
@media (max-width: 760px) {
  header { display: block; }

  header .blog-name {
    display: block;
    width: 100%;
    padding-bottom: 10px;
  }

  nav {
    width: 100%;
  }

  nav ul {
    white-space: normal;
  }
}

/*
narrow display: collapse the header (don't show the menu items)
instead, display a burger menu.
*/
@media (max-width: 500px) {
  header {
    height: 35px;
    display: flex;
    align-items: center;
  }

  header .blog-name {
    display: inline-block;
    width: 70%;
  }

  nav {
    display: inline-block;
    width: 27%;
  }

  nav ul,
  nav:active ul {
    /* display: none; */
    position: absolute;

    /* padding: 20px; */
    background: #fff;
    border: 1px solid #444;
    right: 50px;
    top: 60px;
    width: 30%;
    border-radius: 4px 0 4px 4px;
    z-index: 1;
  }

  nav li {
    text-align: left;
    display: block;
    padding: 0;
    margin: 0;
  }
  header li a { border-bottom: none; }
  header li a:hover { border-bottom: none; }

  nav:hover ul {
    display: block;
  }

  #menu-icon {
    display: inline-block;
    margin-right: 10px;
    margin-top: 5px;
  }
}

table {
  line-height: 1em;
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
  text-align: center;
  margin-bottom: 1.5em;
}

tr:first-of-type {
  background: #eae9f4;
}

tr:first-of-type > th {
  text-align: center;
}

tr,
th,
td {
  padding: 10px;
  border: 1px solid lightgray;
}

table tbody tr td {
  border: 1px solid lightgray;
}

/* ==================================================================
    CONFERENCE-SPECIFIC
================================================================= */

.important {
  background-color: #fff3cd;
  border-left: 5px solid #ffc107;
  padding: 1em;
  margin: 1.5em 0;
  border-radius: 4px;
}

.hero h1 {
  font-size: 2.2em;
  border-bottom: none;
  text-align: center;
  margin-top: 1em;
  margin-bottom: 0.2em;
}

.hero .subtitle {
  text-align: center;
  font-size: 1.1em;
  color: #555;
  margin-bottom: 1.5em;
}

.hero .date-location {
  text-align: center;
  font-size: 1.1em;
  color: #004de6;
  font-weight: bold;
  margin-bottom: 2em;
}

.info-box {
  background-color: #eef3f5;
  border-left: 5px solid #4c9cf1;
  padding: 0.8em 1em;
  margin: 1em 0;
}

.acronym {
  color: #004de6;
  font-weight: bold;
}
