/* VARIABLES {{{ */
:root {
	--bg: #ffffff;
	--fg: #000000;
	--color: red;

	--light: Sono-Light; 
	--regular: SonoSans-Regular; 
	--medium: Sono-Medium; 
	--mono: Sono-Regular; 
}
/* }}} */

/* FONTS {{{ */
@font-face {
	font-family: SonoSans-Regular;
	src: url("../fonts/SonoSans-Regular.woff2");
}
@font-face {
	font-family: Sono-Light;
	src: url("../fonts/Sono-Light.woff2");
}
@font-face {
	font-family: Sono-Regular;
	src: url("../fonts/Sono-Regular.woff2");
}
@font-face {
	font-family: Sono-Medium;
	src: url("../fonts/Sono-Medium.woff2");
}
/* }}} */

/* SELECTION {{{ */
::selection {
	background-color: black;
	color: white;
}
::-webkit-scrollbar {
  background: white;
  width: 5px;
}
::-webkit-scrollbar-thumb:hover {
  border-bottom: solid 7px black;
}
::-webkit-scrollbar-thumb {
  background-color: transparent;
  border-bottom: solid 1px black;
  width: 5px;
}
/* }}} */

/* GLOBAL {{{ */
html {
	scrollbar-width: thin;
  overflow-x: hidden;
  overflow-y: scroll;
}

body {
  min-height: calc(100vh - 25px);
  position: relative;
  margin: 0 25px;
  color: var(--fg);
  background-color: var(--bg);
  font-family: var(--mono);
  font-size: 16px;
}

a {
  color: black;
  text-decoration: underline;
  text-underline-position: under;
}
a:hover {
  text-decoration: none;
}
/* }}} */

/* SMALL SCREENS {{{ */
@media only screen and (max-width: 980px) {
  body {
    font-size: 16px !important;
    max-width: 100vw !important;
    height: auto !important;
    margin: 10px !important;
  }
  header {
    padding-bottom: 5px !important;
    padding-top: 0 !important;
    font-size: 14px !important;
    gap: 0 !important;
    margin-bottom: 0 !important;
  }
  header div {
    flex-direction: column !important;
    gap: 0 !important;
  }
  header + header {
    flex-direction: row !important;
    padding-bottom: 1px !important;
  }
  nav .dir {
    padding: 0 !important;
    font-size: 20px !important;
  }
  nav a {
    padding: 5px 0 !important;
  }
  .project-page header {
    flex-direction: column !important;
  }
  .projects-list {
    width: 100% !important;
    margin: 5px 0 !important;
    padding-bottom: 10px !important;
  }
  .project {
    display: inline !important;
    padding: 2px 0 !important;
    border-bottom: none !important;
  }
  .project::before {
    content: "→" !important;
    font-size: 20px !important;
  }
  .project a {
    display: inline !important;
  }
  .project cite {
    margin: 0 !important;
  }
  .project time {
    display: none !important;
  }
  .project address {
    font-size: 12px !important;
    padding-top: 5px !important;
  }
  h2 {
    font-size: 12px !important;
    margin: 0 !important;
  }
  .jumble-container {
    display: none !important;
  }
  .project-gallery {
    display: flex !important;
    flex-direction: column !important;
    width: 100vw !important;
    margin: 0 !important;
  }
  .project-description {
    display: block !important;
    position: static !important;
    order: -1 !important;
    font-size: 14px !important;
    margin-bottom: 10px !important;
  }
  .project-gallery figure {
    display: block !important;
    position: static !important;
    margin: 0 0 10px 0 !important;
  }
  .project-gallery .jumble-img {
    position: static !important;
    width: calc(100vw - 22px) !important;
    max-width: calc(100vw - 22px) !important;
    height: auto !important;
  }
  .project-gallery .jumble-caption {
    display: inline !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    margin: 5px 0 !important;
  }

  .news-list li:before {
    content: "→";
    font-size: 20px !important;
  }
}
/* }}} */
