@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
  margin:0;
  padding:0;
}
html{
  --eirBlue:#0E7ECF;
  --eirBlueMedium:#A1D7FF;
  --eirBlueLight:#DFEFFB;
  --eirGreyDark:#3A4C58;
  --eirGreyMedium:#7C91A1;
  --eirGreen:#63DC93;
  --eirOrange:#FF8024;
  position:relative;
  min-height:100%;
}
body{
  padding:2em;
  font-family:poppins,sans-serif;
  font-size:16px;
  color:var(--eirGreyMedium);
  max-width:70em;
  margin:0 auto;
}
html.subpage body{
  max-width:30em;
}
img{
  display:block;
}
.logo{
  display:block;
  margin-bottom:6em;
  z-index:999;
  position:absolute;
  top:2em;
  left:2em;
}
.logo img{
  height:2em;
}
.logo:hover{
  opacity:0.7;
}
nav{
  position:absolute;
  top:2em;
  right:2em;
  line-height:3.2;
}
nav ul{
  list-style:none;
}
nav li{
  display:inline-block;
  padding-left:1em;
}
nav a.current{
  border-bottom:solid 0.2em var(--eirBlueMedium);
}
a{
  text-decoration:none;
  color:var(--eirBlue);
}
a:hover{
  color:var(--eirBlueMedium);
}
html.home main{
  margin-top:9.6em;
}
html.subpage main{
  margin-bottom:8em;
}
h1{
  color:var(--eirGreyDark);
  font-size:2.4em;
  font-weight:normal;
  line-height:1;
  margin-bottom:0.3em;
}
h1 em{
  color:var(--eirBlue);
  font-style:normal;
  display:block;
}
html.subpage h1{
  margin-top:4em;
}
.lead{
  margin-bottom:2.2em;
}
.lead span{
  display:block;
}
html.subpage .lead{
  font-size:1.6em;
  line-height: 1.2;
  font-weight:300;
}
.soon{
  font-weight:bold;
  border:solid 0.2em var(--eirGreyMedium);
  border-radius:999em;
  padding:0.3em 0.9em;
  display:inline-block;
}
picture.hero{
  width:50%;
}
.hero img{
  width:100%;
  max-width:10em;
  margin:2em auto;
}
p{
  margin-bottom:1em;
}
footer{
  text-align:right;
}

@media (min-width:46em){
  nav{
    left:0;
    text-align:center;
    line-height:2.25;
  }
  nav li{
    padding:0 1em;
  }
}

@media (min-width:46em) and (min-height:35em){
  html.home,
  html.home body,
  html.home main{
    height:100%;
    padding-top:0;
    padding-bottom:0;
  }
  html.home main{
    display:flex;
    align-items:center;
    width:100%;
    margin:0 auto;
  }
  html.home .text{
    width:50%;
  }
  footer{
    position:absolute;
    bottom:2em;
    right:2em;
  }
}
@media (min-width:60em) and (min-height:45em){
  h1{
    font-size:3.2em;
  }
  .hero img{
    max-width:17em;
  }
}
@media (min-width:120em) and (min-height:70em){
  body{
    font-size:20px;
  }
}

/* dark mode */
@media (prefers-color-scheme: dark) {
  html{
    background-color:var(--eirGreyDark);
  }
  body{
    color:white;
  }
  nav a, a{
    color:white;
  }
  h1{
    color:white;
  }
  h1 em{
    color:var(--eirBlueMedium);
  }
  .lead{
    color:var(--eirBlueLight);
  }
  .soon{
    color:var(--eirGreyMedium);
  }
  footer{
    color:var(--eirGreyMedium);
  }
}
