
@font-face {
  font-family: "extralight";
  font-display: swap;
  src: url("AnekDevanagari-ExtraLight.ttf");
}

@font-face {
  font-family: "light";
  font-display: swap;
  src: url("AnekDevanagari-Light.ttf");
}

@font-face {
  font-family: "medium";
  font-display: swap;
  src: url("AnekDevanagari-Medium.ttf");
}

@font-face {
  font-family: "regular";
  font-display: swap;
  src: url("AnekDevanagari-Regular.ttf");
}

@font-face {
  font-family: "thin";
  font-display: fallback;
  src: url("AnekDevanagari-Thin.ttf");
}

* {
  box-sizing: border-box;
}

html {
  font-family: "light", sans-serif;
  font-size: 16px;
}

@media screen and (min-width: 1600px) {
  html {
    font-size: 1vw;
  }
}

body {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: flex-end;
  
  min-height: 100vh;
  margin: 0em auto;
  
  background: url(mydrugpipeline_background_resized.jpeg), #000;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  
  color: #333;
}

.logo {
  
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.5em;
  align-items: center;
  
  margin: 1em 1em 0em 1em;
}

.logo img {
  max-height: 2.5em;
}

h1 {
  /*font-family: "regular", sans-serif;*/
  font-size: 1.5rem;
  font-weight: normal;
  margin: 0.2em 0em 0em 0em;
}

p {
  font-size: 1rem;
  margin: 0em;
  grid-column: 1 / -1;
}

img {
  display: block;
  max-width: 100%;
}



.centered {
  margin: auto;
  text-align: center;
}

.centered h2 {
  font-size: 4rem;
  font-weight: normal;
  
  margin: 0em;
}

.centered span {
  font-size: 2.5rem;
}

footer {
  font-size: 1rem;
  font-family: sans-serif;
  
  margin: 0em auto 0.5em auto;
}

footer a,
footer a:active,
footer a:visited {
  color: inherit;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media screen and (min-width: 500px) {
  
  h1 {
    font-size: 2rem;
  }
  
  .logo img {
    max-height: 3em;
  }
}

@media screen and (min-width: 700px) {
  
  .logo {
    gap: 0.5em 1em;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  p {
    font-size: 1.1rem;
  }
  
  .logo img {
    max-height: 4em;
  }
}

@media screen and (min-height: 750px) {
  
  .centered {
    margin-top: 20vh;
  }
}
