h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-family: "Roboto Mono", monospace;
}


.paper-subtitle {
  padding-left: .75em;
  font-weight: bold;
  font-size: .9rem;
  font-family: BitterPro;
  }




.main {
        float: left;
        text-align: justify;
        box-sizing: border-box;
        margin-left: 7%;
        margin-right: 8%;
        margin-top: 2%;
        margin-bottom: 4%;
        width: 85%;
        display: grid;
        grid-template-columns: [left] 50% [right] auto;
        grid-template-rows: [top] auto [bottom] 1fr;
        grid-template-areas:
                "topleft rightcol"
                "bottomleft rightcol";
}

.intro {
        grid-area: topleft;
        padding-top: 2em;
        padding-bottom: 2em;
}

.intro, .publications {
        padding-right: 15%;
        float: left;
        box-sizing: content-box;
        }

.publications {
        padding-top: 1.5em;
        grid-area: bottomleft;
        clear: left;
        }

.in-progress {
        grid-area: rightcol;
        padding-left: 15%;
        margin-bottom: 2em;
        padding-top: 2.5em;
        border-left: dashed;
        border-width: .1em;
        }





.header {
        font-size: 1.3rem;
        font-family: "Roboto Mono";
}





.paper-header {
        font-family: "Bebas Neue";
        font-size: 1.6rem;
        font-weight: normal;
        letter-spacing: 2px;
        }

.paper-title {
        text-align: left;
        font-family: BitterPro;
        font-weight: bold;
        }

.paper {
        margin-top: 1em;
        margin-bottom:1em;
        }

.paper p {
        margin-block-start: 0em;
        margin-block-end: 0em;
        }

.venue {
        font-variant: small-caps;
        font-style: italic;
        }

.note-and-buttons {
        display: flex;
        flex-wrap: wrap-reverse;
        justify-content: space-between;
        text-align: left;
}


.paper-buttons {
        font-family: "Roboto Mono";
        font-size: .9rem;
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap-reverse;
        }

.note {
        order: 2;
        font-family: BitterPro;
        }

.abstract {
        font-family: BitterPro;
        text-align: justify;
        padding: .5em;
        line-height: 1.5;
        }

input.abstract-toggle, .abstract { display: none; }

.abstract-container { order: -5}

label.abstract-toggle {
        cursor: pointer;
        white-space: nowrap;
        }

.abstract-toggle:checked ~ .abstract {
                order: -3;
                display: block;
                float: left;
                clear: both;
                width: 95%;
                margin-left: .5em;
                margin-right: .5em;
                vertical-align: baseline;
                position: relative;
  }



@media screen and (max-width: 1020px) {
   .main {
   width: 70%;
   margin-left: 10%;
   margin-right: auto;
   grid-template-columns: [left] 1fr;
   grid-template-rows: [top] auto [mid] auto [bottom] 1fr;
   }
   .intro{
   padding-right: 0;
   grid-row: top;
   }
   .publications{
   grid-row: mid;
   }
   .in-progress{
   grid-row: bottom;
   grid-column: left;
   }
   .publications, .in-progress {
        margin-bottom: 2em;
        padding-right: 0;
        padding-left: 0;
   }
   .in-progress {
        margin-top: 0;
        margin-bottom: 5em;
        border-left: none;
        border-top: dashed;
        }


  }


@media screen and (max-width: 770px) {
  .main {
        width: 80%;
        }

}

@media screen and (max-width: 620px) {
  .main {
        width: auto;
        margin-left: 5%;
        margin-right: 5%;
        }
}

@media screen and (max-width: 500px) {
  .main {
        margin-left: 2%;
        margin-right: 2%;
        }
}




html {
  font-size: 1.5vw
  }
body {
  line-height: 1.8;
  font-weight: 400;
  font-family: BitterPro;
  color: #000000;
  background-color: #ffffff;
  margin: 1%;
}

/* Smaller than desktop */
@media screen and (max-width: 1250px) {
html {
font-size: 1.9vw
  }
}

/* Smaller than desktop */
@media screen and (max-width: 1020px) {
html {
font-size: 2.5vw
  }
}

@media screen and (max-width: 850px) {
html {
font-size: 2.8vw
  }
}

/* Smaller than tablet */
@media screen and (max-width: 770px) {
html {
  font-size: 3.2vw
  }
}

@media screen and (max-width: 620px) {
html {
  font-size: 4.0vw
  }
}

/* Smaller than phablet (also point when grid becomes active) */
@media screen and (max-width: 500px) {
html {
  font-size: 4.5vw
  }
}
/* Smaller than mobile */
@media screen and (max-width: 420px) {
html {
  font-size: 1.4em
  }
}

/*Larger than Desktop HD */
@media (min-width: 1800px) {
html {
  font-size: 1.6em
  }
}



/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf {
  content: "";
  display: table;
  clear: both; }


::selection {
  background: black;
  color: white;
}

::-moz-selection {
  background: black;
  color: white;
}


@font-face {
        font-family: "BitterPro";
        src: url("./BitterPro/fonts/otf/BitterPro-Regular.otf")
        }



a {
text-decoration: none;
    border-bottom: 1px solid #CBF8DF;
    box-shadow: inset 0px -7.5px 0px #CBF8DF;
    background: white;
    border-radius: 3px;
    padding-right: 2px;
    padding-left: 2px;
    padding-bottom: 2px;
    color: black;
    transition: background 500ms, box-shadow 500ms;
}

a:visited {
        color: black;
        background: #CBF8DF;
        transition: background 500ms, border 500ms, box-shadow 500ms;
        }


a:hover {
        background: #54f979;
        box-shadow: none;
        border-bottom: 1px solid #54f979;
        transition: background 500ms, border 500ms, box-shadow 500ms;
}


