/*---------------------------------------------------------------------------*/
/*- base --------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

:root{
  --primary:      #422710;
  --primary_alt:  #563518;
  --secondary:    #1d5d9b;
  --date:         #b87834;
  --hover:        #fbeeac;
  --gray:         #96897b;
  --back:         #f9f5eb;
}

html {
  max-width: 850px;
  height: 100%;
  margin: auto;
  font-family: "Noto Sans", "Open Sans", "Helvetica", sans-serif;
}

body {
  margin: .5em;
  padding: 0;
  font-size: 17px;
  background: var(--back);
  color: var(--primary);
}

p {
  margin: .2em 0;
}

h1 {
  letter-spacing: .1em;
  font-size: 1.6em;
  text-align: left;
  margin-bottom: .2em;
}

h2 {
  margin: 1em 0 .5em;
  border-bottom: 2px solid var(--primary);
  font-size: 1.1em;
}

h3 {
  font-size: .9em;
  padding-bottom: 0.1ex;
  margin: .5em 0 .2em;
  color: var(--gray);
  border-bottom: 1px solid var(--gray);
  border-bottom-style: dashed;
}

a, a:visited {
  color: var(--secondary);
  text-decoration: none;
  font-size: .95em;
}


a:hover {
  color: var(--secondary);
  background-color: var(--hover);
}

ul {
  margin: .5em 0;
}

li {
  margin: .5em 0;
}

button {
  border: none;
  color: var(--back);
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  background-color: var(--back);
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

button:hover {
  background-color: var(--secondary);
  color: white;
}

small {
  color: var(--primary_alt);
  font-family: monospace;
}

/*---------------------------------------------------------------------------*/
/*- classes -----------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

.note {
  font-size: .9em;
  margin-top: 2ex;
  text-align: justify;
}

.font08 {
  font-size: .8em;
}

.font09 {
  font-size: .9em;
}

.indication {
  font-size: .85em;
  color: var(--gray);
  float: right;
  text-align: right;
}


.columns {
  display: flex;
  width: 100%;
  margin: auto;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.column {
  margin: 0 0 0 1em;
}

@media (max-width:810px){
  .columns {
    flex-direction: column;
  }
  img {
    margin-top: 2ex;
  }
  .indication {
    display: none;
  }
}

.keywords {
  margin: 0;
  padding-left: 0;
}

.sc {
  font-variant-caps: small-caps;
}

.date {
  font-size: 0.8em;
  color: var(--date);
  font-family: "Noto Sans", sans-serif;
  line-height: 2em;
}

.babelio {
  font-size: 0.9em;
}

@media (min-width:850px){
  .date {
    float: right;
  }
}

.separador {
  background-color: var(--gray);
  height: 2px;
  max-width: 30px;
  margin: 30px auto 8px;
}

.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.8em;
}

.license {
  padding-top: 1ex;
  padding-bottom: 5px;
}

.e404 {
  display: flex;
  align-items: center;
  justify-content: center;
  button {
    height: 100%;
    margin-top: 30%;
    font-size: x-large;
  }
  button:hover {
    color: var(--back);
    background-color: var(--secondary);
  }
}

.header {
  margin-top: 2ex;
}

.miscellaneous {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 2em;
  padding-right: 2em;
}

.anoa, .anoa > a, .anoa > a:visited {
  color: var(--gray);
  text-decoration: none;
  font-size: inherit;
}

/*---------------------------------------------------------------------------*/
/*- positional --------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

.keywords li {
  margin: 0 .2em 0 1.2em;
}

.header hr {
  margin: .2em 0;
}

@media (max-width:750px){
  .miscellaneous {
    display: block;
    div {
      padding-bottom: 1ex;
    }
  }
}

.header a {
  font-weight: bold;
}

pre.quine {
  margin-top: 5%;
}

/*---------------------------------------------------------------------------*/
/*- MODAL -------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

@font-face {
  font-family: Baikal;
  src: local("Baikal"),
       url("../fonts/Baikal-CondensedMedium.woff2") format("woff2");
  font-weight: 300;
}

.modal {
  font-family: "Baikal";
  font-size: x-large;
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #e2caa1;
  margin: auto;
  padding: 30px;
  border: 2px solid var(--primary_alt);
  width: 50%;
  a {
    font-size: 1.1em;
    color: #ff4a52;
  }
  .r_shifted {
    margin-top: 2ex;
    padding-left: 2em;
  }
}

.modal_close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.modal_close:hover,
.modal_close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


/*---------------------------------------------------------------------------*/
/*- EOF ---------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
