* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --col-bg: #e51e2f;
  --col-main: #fff;
  --text-size: 18px;
}
*::selection {
  background-color: var(--col-main);
  color: var(--col-bg);
}
@font-face {
  font-family: 'Ronzino';
  src: url('../fonts/Ronzino-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}


html {
  -webkit-text-size-adjust: 100%;
  height: 100%;
}
body {
  position: relative;
  padding: calc(var(--text-size)/4);
  font-family: 'Ronzino', sans-serif;
  font-size: var(--text-size);
  line-height: 1.2;
  font-weight: normal;
  font-feature-settings: "liga", "dlig", "kern" 1;
  font-kerning: normal;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--col-main);
	background-color: var(--col-bg);
  --text-size: clamp(18px, calc(18px + (28 - 18) * ((100vw - 420px) / (1800 - 420))), 28px);
  padding: var(--text-size);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
p {
	margin-bottom: calc(var(--text-size)*1.2);
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: currentcolor;
  text-decoration: none;
  position: relative;
}
a:after {
  position: absolute;
  bottom: 0;
  content: "";
  display: block;
  height: 1px;
  background: var(--col-main);
  width: 100%;
  left: 0;
  -webkit-transition: width 0.3s ease-in-out;
  transition: width 0.3s ease-in-out;
}
a:hover:after {
  -webkit-animation: hoverLine 0.6s ease-in-out;
  animation: hoverLine 0.6s ease-in-out;
}
@-webkit-keyframes hoverLine {
    0%{width: 100%;}
    20%{width: 0;}
    100%{width: 100%;}
}
@keyframes hoverLine {
    0%{width: 100%;}
    20%{width: 0;}
    100%{width: 100%;}
}

#theresia {
  display: block;
  max-width: calc(var(--text-size)*35);
  margin: calc(var(--text-size)/2) 0 calc(var(--text-size)*1.2) 0;
  object-fit: contain;
  object-position: top left;
}
#needle {
  display: block;
  margin-left: auto;
  margin-right: 0;
  max-width: calc(var(--text-size)*20);
  object-fit: contain;
  object-position: bottom right;
  margin-top: calc(var(--text-size)*1.2);
}


@media all and (min-width: 900px) {
  main {
    display: flex;
    align-items: end;
  }

}