/*
RUG Kleuren:

RUG-rood:  rgb(204, 0, 0)
RUG-blauw: rgb(0, 156, 239)

*/

body {
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;

  margin: 0;
  /* background-color: rgb(204, 0, 0); */
  background-color: #FFF;
  overflow-x: hidden;
}

#rug-logo {
  width: calc(100vw - 32px);
  margin: calc(56px + 25px) 16px 25px 16px;
}

main {
  position: relative;
  display: inline-flex;

  flex-direction: column;
  align-items: left;
  z-index: 0;
  /* background-color: #FFF; */
  width: calc(100vw - 64px);
  padding: 32px;
  /* box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12); */
}

@media (min-width: 1021px) {
  main {
    align-self: center;
    width: calc(3/4 * 100vw - 36px);
  }

  #rug-logo {
    align-self: center;
    width: calc(3/4 * 100vw - 36px);
  }
}

@media (min-width: 1439px) {
  main {
    align-self: center;
    width: calc(1/2*100vw);
    }

  #rug-logo {
      align-self: left;
      width: calc(.8 * 1/2*100vw);
    }
}

.banner {
  position: absolute;
  top: 0;

  padding: 8px;
  background-color: #fff;
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);
}


/* Typography */

h1 { /* Main titles */
  margin: 0px 0px 24px 0px;
  opacity: .95;
  font-family: 'Roboto', sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.02rem;
}

h2 { /* Secondary titles */
  margin: 0px 0px 16px 0px;
  opacity: .87;
  font-family: 'Roboto', sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.04rem;
}

h3 { /* Secondary titles */
  margin: 0px 0px 16px 0px;
  opacity: .87;
  font-family: 'Roboto', sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04rem;
}

p { /* General Text */
  margin: 0 0 8px 0;
  opacity: .87;
  font-family: 'Roboto', sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04rem;
  line-height: 1.25rem;
}

p:last-child { margin-bottom: 0 !important}

p b {
  font-weight: 500;
}

p a { /* inline links */
  color: rgb(0, 156, 239);

  opacity: .87;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04rem;
  line-height: 1.25rem;

  -webkit-transition: opacity .1s; /* Safari */
  transition: opacity .1s;
}

p a:hover {
  opacity: .67;
}

td b {
  font-weight: 500;
}

td a { /* inline links */
  color: rgb(0, 156, 239);

  opacity: .87;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04rem;
  line-height: 1.25rem;

  -webkit-transition: opacity .1s; /* Safari */
  transition: opacity .1s;
}

td a:hover {
  opacity: .67;
}

.code {
  opacity: .87;
  font-family: 'Roboto Mono', monospace;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04rem;
  line-height: 1.25rem;

  background-color: #F0F0F0;
  border-radius: 4px;
}

.code::before {
  content: '"';
}
.code::after {
  content: '"';
}

.caption {
  text-align: center;
  margin: 8px 0 8px 0;
  opacity: .67;
  font-family: 'Roboto', sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04rem;
  line-height: 1.25rem;
}

.imagecite {
  margin: 8px 0 8px 0;
  opacity: .67;
  font-family: 'Roboto', sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.04rem;
  line-height: 1.25rem;
}

.biglinkbox {
  margin-top: 16px;
  margin-bottom: 16px;
  display: inline-flex;
  flex-direction: row;
  margin-left: -16px;
}

.biglinkbox:last-child {
  margin-bottom: 0;
}

.biglink {
  margin-left: 16px;
  text-decoration: none;

}

.biglink div {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 32px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);
  -webkit-transition: background-color .15s; /* For Safari 3.1 to 6.0 */
  transition: background-color .15s;

  background-color: #FFF;
}

.biglink:hover div {
  background-color: rgb(0, 156, 239, .3);
}

.biglink img {
  height: 32px!important;
  width: 32px!important;
}

.biglink span {
  padding: 11px;
  color: #000;
  opacity: .87;
  font-family: 'Roboto', sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04rem;
}

#oratie {
  overflow-x: hidden;
  max-width: 0;
  -webkit-transition: max-width .15s; /* For Safari 3.1 to 6.0 */
  transition: max-width .15s;
}

.biglink:hover #oratie {
  max-width: 100px;
}
