@import url('./f/inter.css');

html { font-size: 16px; }

* {
  padding: 0;
  margin: 0;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.4;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-width: 100vw;
  color: #333;
  font-size: 2rem;
}

/* simplified lang switch
if desired add class 'en' or 'de' to body;
any elements with class 'en' or 'de' will be shown/hidden
*/
body .en, body .de { display: none; }
body.de .de { display: block; }
body.en .en { display: block; }

.floater {
  position: fixed;
  bottom: 0; right: 0;
  font-size: 1.5rem;
  margin: 0.5rem 1.75rem;
}

/* generic reveal on parent hover */
.oh { display: none; }
*:hover > .oh { display: inline; }

.cool {
  padding: 0.5rem 0.875rem;
  border: 0.1875rem solid #333;
  letter-spacing: 0.1em;
  border-radius: 0.125rem;
  box-shadow: -0.3125rem 0.375rem #333;
}

a, button {
  color: blue;
  text-decoration: none;
  outline: none;
  cursor: pointer;
  display: inline;
}

a:hover, button:hover {
  text-decoration: underline;
}

a.special { color: #31b25f; }

.pic {
  background-color: #18F3B7;
  background-image: url(i/tree.jpg); /* init */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 12rem;
  width: 12rem;
  border-radius: 50%;
  border: 0.1875rem solid #333;
  margin: 0 0 3rem 0;
  position: absolute;
  top: -4rem;
  left: -19rem;
}

h1 {
  display: inline-block;
  font-size: 2rem;
  font-weight: normal;
  margin: 0 0 3rem 0;
}

.info {
  position: relative;
  text-transform: lowercase;
  margin: 3rem 1rem 2rem;
}

.info > p {
  font-size: 2rem;
  width: 100%;
  max-width: 26rem;
  margin: 0 0 2rem;
}

.projs { margin-to: 1rem; }

.projs > a { display: block; }

/*

responsive

*/

/* put picture in flow for thinner screens */
@media screen and (max-aspect-ratio: 9/7), (max-height: 600px) {
  .pic { position: static; }
}

/* re-rem */
@media screen and (max-height: 1000px),(max-width: 560px) {
  html { font-size: 14px; }
}
@media screen and (max-height: 900px),(max-width: 440px) {
  html { font-size: 13px; }
}
@media screen and (max-height: 800px),(max-width: 390px) {
  html { font-size: 12px; }
}
@media screen and (max-height: 750px), (max-width: 375px) {
  html { font-size: 10px; }
}
