* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

/* Hide the scrollbar by default */
body::-webkit-scrollbar {
  width: 6px;
  background-color: transparent;
}

/* scrollbar itself */
body::-webkit-scrollbar-thumb {
  background-color: rgba(178, 115, 0, 0.5);
  border-radius: 16px;
}

/* set button (top and bottom of the scrollbar) */
body::-webkit-scrollbar-button {
  display: none;
}

div {
  display: block;
}

body {
  font-family: "Leitura News", "Palatino", "Georgia", "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.6;
}

ul {
  /* list-style-type: none; */
  margin: 0;
  padding: 0;
}

.list-inline {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.list-unstyled {
  list-style-type: none;
}

ul.header_links li {
  display: inline;
  margin: 5px;
}

nav ul,
footer ul {
  font-family: "Helvetica", "Arial", "Sans-Serif";
  padding: 0px;
  list-style: none;
  font-weight: bold;
}

nav ul li,
footer ul li {
  display: inline;
  margin-right: 20px;
}

a {
  text-decoration: none;
  transition: background-color 0.35s;
  color: #000;
  background-color: rgba(1, 109, 36, 0.4);
  padding: 3px;
  border-radius: 10px;
}

a:hover {
  background-color: #9aef94;
}

h1 {
  font-size: 2em;
  text-align: center;
  min-height: 76.8px;
  font-family: "Merienda", cursive;
}

h1 a {
  background-color: inherit;
  font-weight: bold;
}

h1 a:hover {
  text-decoration: none;
  background-color: inherit;
}

p {
  font-size: 1em;
  line-height: 1.4em;
  color: #333;
  text-align: left;
}

section p {
  margin-bottom: 20px;
}

ul.posts {
  margin: 20px auto 40px;
  font-size: 1.5em;
}

ul.posts li {
  list-style: none;
}

/* CSS that deals with header specific entries. */

.header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #f4f4f4;
}

.header_photo {
  flex: 1;
  max-width: 100%;
  height: auto;
  padding-right: 150px;
  z-index: 1;
}

.header_email {
  font-family: "Inconsolata", "Consolas", monospace;
  margin: 10px 0;
  text-align: center;
}

.header_message,
.header_affiliation,
.header_pronouns {
  margin-bottom: 0;
  letter-spacing: 2px;
  text-align: center;
}

@media (min-width: 500px) {
  .header {
    padding: 60px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    text-align: left;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  .header__nav {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
}

@media screen and (max-width: 600px) {
  .column {
    width: 100%;
  }
}


.header__nav {
  display: -webkit-box;
  display: -ms-flexbox;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
}

.header__quote {
  font-style: italic;
  text-align: center;
}

.header_links {
  text-align: center;
  padding-top: 10px;
}

.header .container {
  display: inline-flex;
}

.header_photo_wrapper::before {
  content: "";
  position: absolute;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  height: 150px;
  width: 150px;
  background-color: rgba(223, 130, 40, 0.6);
  z-index: -1;
}

/* Set of css instructions to prevent highlight on certain elements on the page */

.no-highlight {
  background-color: inherit;
}

.no-highlight:hover {
  text-decoration: none;
  background-color: none;
}

/* CSS for the container that each section is built in */

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px;
}

.about {
  background-color: rgba(223, 130, 40, 0.6);
  width: 100%;
}

.section-title {
  font-size: 1.5rem;
  margin: 0 auto;
  font-weight: bold;
  margin-bottom: 10px;
  position: relative;
  display: table;
  padding: 0 10px;
  z-index: 2;
}

.section-title::after {
  content: "";
  background-color: rgba(1, 109, 36, 0.4);
  height: 8px;
  position: absolute;
  top: 60%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 0;
  width: 100%;
  z-index: -1;
}

.column {
  float: left;
  width: 33.33%;
  text-align: center;
}


#skills {
  height: 100%;
  background-color: #fff;
  width: 100%;
}

#skills span {
  display: block;
  padding-top: 10px;
  padding-bottom: 15px;
  font-size: 16px;
}

#skills i {
  display: inline;
  font-size: 55px;
  margin-right: 12px;
}

#skills img {
  position: relative;
  align-self: center;
  padding: 0 10px;
  height: 50px;
}


#projects {
  background-color: #eaf1f7;
  display: grid;
}

.projects-head {
  font-style: italic;
  text-decoration: underline;
  font-weight: bold;
}

.resume__tag {
  font-family: "Inconsolata", "Consolas", monospace;
  font-size: 0.9rem;
  padding: 1px 4px;
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 5px;
  border-radius: 2px;
  color: #333;
  background-color: #eaeaea;
}

.resume__tag.field {
  background-color: #f2c4b7;
  color: #8f5a51;
}

.resume__tag.front {
  background-color: #ffc966;
  color: #b27300;
}

.resume__tag.back {
  background-color: #bacbf4;
  color: #475e99;
}

.resume__tag.mobile {
  background-color: #bdf4ba;
  color: #475e99;
}

.resume__tag.database {
  background-color: #fa8484;
  color: #ebfaf2;
}

.resume__tag.robotics {
  background-color: #af9292;
  color: #ebfaf2;
}

.resume__tag.research {
  background-color: #793d8b;
  color: #ebfaf2;
}

.resume__content {
  flex: 1;
}

.resume__item-description,
.resume__item-summary {
  display: inline-block;
  vertical-align: top;
}

.resume__title {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.resume__location {
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.resume__item-links {
  letter-spacing: 1px;
  margin-top: 5px;
  padding-bottom: 10px;
}

.card {
  display: inline-flex;
  width: 100%;
  max-height: 200px;
  padding: 5px;
  border-radius: 20px;
  align-self: center;
  justify-self: center;
  overflow: visible;
  margin: 20px 0;
}

.card:hover {
  background-color: #e4e7ee;
  z-index: 9999;
  -webkit-transform: scale(1.1) rotate(0.01deg);
  transform: scale(1.1) rotate(0.01deg);
  -webkit-transition: -webkit-transform 0.6s;
  transition: transform 0.6s;
}


.resume__item-description {
  display: flex;
  width: 100%;
  overflow: visible !important;
  position: relative;
}

.resume__image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: visible !important;
}

.resume__image img {
  max-height: 150px;
  object-fit: contain;
  -webkit-transition: -webkit-transform 0.8s;
  transition: transform 0.8s;
  display: block;
  cursor: pointer;
}

.resume__image img:hover {
  -webkit-transform: scale(1.1) rotate(0.01deg);
  transform: scale(1.1) rotate(0.01deg);
}


.resume__image.is-selected {
  z-index: 3;
}

.resume__image.is-selected img {
  z-index: 0;
  overflow: visible !important;
  position: relative;
}

.resume__image.is-selected .inner:hover {
  transform: scale(1.2);
  overflow: visible;
  position: relative;
  z-index: 2;
}

.zoomed-image {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  z-index: 9999;
}

.zoomed-image-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9998;
}

.inner {
  width: 100%;
  margin-right: 10px;
  transition: transform 0.5s;
}


.slider {
  flex: 1;
  width: 100%;
  text-align: center;
  justify-content: center;
  overflow: visible !important;
  position: relative;
}

.js-flickity {
  overflow: visible !important;
  position: relative;
}

.flickity-button {
  background: transparent;
  opacity: 0.8;
}

.flickity-page-dots {
  display: none;
}

.flickity-prev-next-button {
  width: 30px;
  height: 30px;
  background: transparent;
}

.flickity-button:disabled {
  display: none;
}


.flickity-prev-next-button .arrow {
  fill: black;
}

.flickity-prev-next-button:hover {
  background: transparent;
}


.font-secondary,
.about h3,
.resume__location,
.resume__item-links,
.header__affiliation {
  font-family: "Larsseit", -apple-system, BlinkMacSystemFont, "Futura",
    sans-serif;
  text-transform: uppercase;
  font-size: 90%;
}

.resume__link--code,
.resume__link--site,
.resume__link--paper,
.resume__link--video,
.resume__link--collab,
.resume__link--app {
  margin-left: 7.5px;
}

.private {
  background-color: lightgray;
  pointer-events: none;
}

.private:hover {
  background-color: lightgray;
}

.resume__item-links>li:not(:last-of-type) {
  margin-right: 10px;
}

.list-inline li:not(:last-of-type) {
  padding-right: 20px;
}

/* CSS for creating a table */

dl.inline-flex {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  overflow: visible;
}

dl.inline-flex dt {
  text-overflow: ellipsis;
  width: 33%;
  overflow: visible;
}

dl.inline-flex dd {
  flex: 0 0 67%;
  text-align: left;
  text-overflow: ellipsis;
  overflow: visible;
}

dl,
dd {
  position: relative;
  overflow: visible !important;
}


#news {
  background-color: #f9f8e8;
}

.news__item-description {
  margin-left: 0px;
}

.news__item-date,
.news__item-description {
  display: inline-block;
  vertical-align: top;
}

.news__item-date {
  font-style: italic;
  padding-right: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  border-left: solid;
}

dt.news__item-date p {
  text-align: right;
}

/* Things that I needed to include in the footer section! */

footer {
  text-align: center;
  font-size: 0.9rem;
  background-color: rgba(223, 130, 40, 0.6);
  color: #000;
}

footer i {
  color: #000;
}

.footer__links {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.footer-end {
  color: black;
  z-index: 1;
  flex: 1;
  align-self: center;
  margin-right: 100px;
  /* padding-top: 20px; */
}

#end div {
  display: inline-flex;
}

footer .container {
  padding: 0px;
}

/* Timeline? ... timeline  */

.timeline {
  width: 100%;
  max-width: 800px;
  background-color: seashell;
  padding: 50px 50px 0px;
  position: relative;
  box-shadow: 0.5rem 0.5rem 3rem 0 rgba(0, 0, 0, 0.2);
}

.timeline:before {
  content: "";
  position: absolute;
  top: 0px;
  left: calc(33% + 15px);
  bottom: 0px;
  width: 4px;
  background: #ddd;
}

.timeline:after {
  content: "";
  display: table;
  clear: both;
}

.entry {
  clear: both;
  text-align: left;
  position: relative;
}

.entry .title {
  margin-bottom: 0.5em;
  float: left;
  width: 33%;
  padding-right: 30px;
  text-align: right;
  position: relative;
}

.entry .title:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 4px solid salmon;
  background-color: #fff;
  border-radius: 100%;
  top: 15%;
  right: -9px;
  z-index: 5;
}

.entry .title h3 {
  margin: 0;
  font-size: 100%;
  font-weight: bold;
}

.entry .title p {
  margin: 0;
  font-size: 60%;
}

.entry .body {
  margin: 0 0 3em;
  float: right;
  width: 66%;
  padding-left: 30px;
  font-size: 90%;
  font-style: italic;
}

.entry .body p {
  line-height: 1.4em;
}

.entry .body p:first-child {
  margin-top: 0;
  font-weight: 400;
}

.entry .body ul {
  color: #aaa;
  padding-left: 0;
  list-style-type: none;
}

.entry .body ul li:before {
  content: "–";
  margin-right: 0.5em;
}

/* Here's a bunch of code to make the page responsive. Also why is this over 450
lines of code (literally CSS is the worst). If you're reading this, know that I
love you a lot and hope you have a great day <3  */

@media only screen and (max-width: 600px) {
  .header .container {
    display: block;
  }

  .header_photo {
    padding-right: 0px;
  }

  .header_message,
  .header_affiliation,
  .header_pronouns,
  .header_email,
  .header_links {
    text-align: center;
  }

  .footer-end {
    margin-right: 0px;
    padding-top: 0px;
  }

  #end div {
    display: block;
  }

  dl.inline-flex dt {
    overflow: visible;
  }

  footer .container {
    padding: 40px;
  }

  .resume__item-links {
    display: contents;
  }

  .resume__item-links>li:not(:first-of-type) {
    padding-top: 5px;
  }
}

/* Legit Hate animations but okay */
.slide-top {
  -webkit-animation: slide-top 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation: slide-top 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@-webkit-keyframes slide-top {
  0% {
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
  }

  100% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
}

@keyframes slide-top {
  0% {
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
  }

  100% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
}

/* Doggo Preloader! */

.doggo-wrapper {
  flex: 1;
  justify-content: center;
  text-align: center;
  -ms-overflow-style: none;
  scrollbar-width: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  z-index: 10;
}

.background {
  background-image: url("background.jpg");
}

.about-list {
  margin-left: 50px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .container {
    padding: 10px;
  }

  .card {
    flex-direction: column;
    align-items: center;
    margin: 50% 0;
    display: flex;
    flex-wrap: nowrap;
    transform: none;
  }

  .card:hover {
    background-color: transparent;
    transform: none;
    transition: none;
  }

  .resume__location {
    text-align: center;
  }

  .resume__item-description {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    margin: 20px;
  }

  .resume__item-summary {
    text-align: center;
    margin-bottom: 10px;
  }

  .resume__image {
    margin-top: 10px;
  }

  .resume__image img {
    max-height: 200px;
    overflow: hidden;
  }

}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .card {
    flex-direction: row;
    margin: 30% 0;
    display: flex;
    flex-wrap: nowrap;
    transform: none;
  }

  .card:hover {
    background-color: transparent;
    transform: none;
    transition: none;
  }

  .resume__location {
    text-align: center;
  }

  .resume__item-description {
    padding-left: 20px;
    flex-direction: row;
    align-items: flex-start;
  }

  .resume__item-summary {
    margin-bottom: 0;
  }

  .resume__image {
    margin-top: 0;
    margin-left: 20px;
  }

  .resume__image img {
    max-height: 150px;
  }
}