@font-face {
  font-family: MaestroTimes;
  src: url(../font/MaesstroTimes Regular.ttf);
}

@font-face {
  font-family: Hack;
  src: url(../font/Hack-Regular.ttf);
}


*, *::before, *::after {
    box-sizing: border-box;
}

body, html {
  margin: 0;
  width: auto;
  height: 100%;
  font-family: Times;
  min-width: 230px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: sans-serif;
}

#page-wrapper {
  width: auto;
  margin: auto;
  max-width: 720px;
}

header {
  position: sticky;
  top:0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 30px 0 30px;
  background: #fff;
  box-shadow: 0 8px 6px -6px #ddd;
  z-index: 99;
}

#logo {
  width: 30%;
  max-width: 350px;
  margin: 20px 0;
}

#mordent-mini {
  display: block;
  padding: 12px 0;
  font-size: 32px;
}

#drawing {
  display: none;
}

#page-wrapper {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#page-wrapper header {
  flex-direction: column;
  align-items: center;
  box-shadow: none;
  width:100%;
  margin-bottom: 20%;
}

#page-wrapper #logo {
  width: 80%;
  max-width: 800px;
}


#logo svg {
  width: 100%;
}

#activeMaskArea {
  fill:#fff;
}

#mordent {
  fill: #000;
  font-family: MaestroTimes;
  font-style:italic;
  font-weight: 800;
  font-size: 12.076px;
  letter-spacing: -.46589px;
  stroke-width: .30189;
}

#technologies {
  fill:#000000;
  font-family:Hack;
  font-size:7.5312px;
  letter-spacing: 0px;
  stroke-width:.18828;
  word-spacing: 0px;
  line-height:1.25;
}

#p1, #p2 {
  stroke-width:.5;
  fill:#fff;
  stroke:#000;
}


#contact {
  opacity: 0;
  font-size: calc(12px + (20 - 12) * ((100vw - 230px) / (800 - 230)));
  font-weight: bold;
  padding: 10px;
  text-align: right;
  font-family: sans-serif;
  dispaly:inline-block;
  position: relative;
  margin-top: 12px;
}

#contact a {
  color: #000;
  text-decoration: none;
  cursor: default;
}

#contact a:after {
  bottom: 0;
  content: "";
  display: inline-block;
  height: 2px;
  left: 50%;
  position: absolute;
  background: #000;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}

#contact a:hover:after {
  width: 100%;
  left: 0;
}
