/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding-left: .5%;
  padding-right: 0;
  padding-bottom: 5vh;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;

}
/* my styles */
main{
  font-family: 'Oxygen', sans-serif;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(10, 1fr);
}
h1{
  font-size: 2rem;
  grid-column: 1/2;
  grid-row: 1/1;
  z-index: 2;
}
h2{
  font-size: 6rem;
  grid-column: 3/4;
  grid-row: 2/2;
  z-index: 2;
}
h3{
  font-size: 20rem;
  font-weight: bold;
  grid-row: 3/3;
  z-index: 2;
}
h4{
  font-size: 100vw;
  color: lightblue;
  grid-column: 2/4;
  grid-row: 1/5;
  z-index: 1;
  padding-left: 10%;
  transition: color 5s ease;
}
h4 a:hover{
  color: darkblue;
}
i{
  font-family: 'Oxygen', sans-serif;
  font-size: 5rem;
  margin-bottom: 100px;
}
i:nth-of-type(1){
  font-family: 'Oxygen', sans-serif;
  font-size: 5rem;
  grid-column: 1/2;
  grid-row: 4/4;
  padding-left: 10%;
}
i:nth-of-type(2){
  font-family: 'Oxygen', sans-serif;
  font-size: 5rem;
  padding-left: 60%;
  grid-column: 3/4;
  grid-row: 4/4;
}
p{
  font-family: 'Oxygen', sans-serif;
  line-height: 1em;
  max-width: 80%;
  margin: 0 auto;
}
p:nth-of-type(1){
  font-size: 10rem;
  padding-top: 50px;
}
p:nth-of-type(2){
  font-size: 8rem;
}
p:nth-of-type(3){
  font-size: 6rem;
  line-height: 2em;
}
p:nth-of-type(4){
  font-size: 4rem;
  line-height: 2em;
}
p:nth-of-type(5){
  font-size: 1rem;
  line-height: 3em;
}
div{
  font-size: 90vw;
  padding-left: 20%;
  margin: 0 auto;
}
header{
  top: 10px;
  right: 10px;
  left: 120px;
  z-index: 1;
}
.nav{
  position: absolute;
  top: 8px;
  right: 16px;
  font-size:3rem;
  padding: 10px;
  color: rgb(215, 195, 60);
}
.nav:nth-of-type(1){
  font-family: 'Comfortaa', cursive;
  top: 8px;
  right: 110px;
  background-color: lightblue;
  z-index: 2;
  padding: 11px;
  color: rgb(215, 195, 60);
}
.nav:nth-of-type(2){
  font-family: 'Gentium Book Basic', serif;
  top: 8px;
  right: 65px;
  background-color: lightblue;
  z-index: 2;
  color: rgb(215, 195, 60);
}
.nav:nth-of-type(3){
  font-family: 'Oxygen', sans-serif;
  top: 8px;
  right: 18px;
  background-color: lightblue;
  z-index: 2;
  color: rgb(215, 195, 60);
}
/* Change the link color on hover */
header a:hover {
  color: white;
  text-decoration: none;
}
