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

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: Anurati;
  src: url(https://cdn.glitch.com/6c0b5eb0-fb06-4eaa-a795-f7034ab636f7%2FAnurati-Regular.otf?v=1622476632088);
}

/*title*/
h1{
  color: #0f030f;
  font-family: 'Open Sans', sans-serif;
  font-weight:bold;
  font-size: 32pt;
}

/*subtitle*/
h2{
  color:#333333;
  font-family: 'Open Sans', sans-serif;
  font-weight:normal;
  font-size: 24pt;
}

/*Section title*/
h3{
  color: #0f030f;
  font-family: 'Open Sans', sans-serif;
  font-weight:bold;
  font-size: 16pt;
  line-height: 22pt;
}

/*date*/
h4{
  color: #0f030f;
  font-family: 'Open Sans', sans-serif;
  font-weight:normal;
  font-size: 14px;
  line-height: 14px;
}

/*Quote*/
h5{
  color: #0f030f;
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  font-weight:bold;
  font-size: 24pt;
}

p{
  color: #0f030f;
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  font-weight:light;
  font-size: 16pt;
  line-height: 22pt;
}

a{
  color: #0f030f;
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  font-weight: normal;
  font-size: 14pt;
}

nav a{
  color: #0f030f;
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  font-weight: lighter;
  font-size: 16pt;
  line-height: 18pt;
  margin-right:32px;
}

ul, ol{
list-style-position: outside; /* bullet outside */
  padding-left: 1.5em;         /* space for the bullet */
  margin-left: 0;
padding-bottom: 40px;
}

ul li{
  color: #0f030f;
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  font-weight:light;
  font-size: 16pt;
  line-height: 24pt;
  margin: auto;
  margin-left: 0;
}

ol li{
    color: #0f030f;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-weight:light;
    font-size: 16pt;
    line-height: 24pt;
    margin: auto;
    padding-bottom: 40px;
}

body{
  width: 100%;
  background-color:#f2f2f2;
}

nav{
  width:100%;
  top:0;
  left:0px;
  position: fixed;
  padding: 5%;
  display: flex;
  flex-direction: row;
  z-index: 3;
  background: rgba(255, 255, 255, 0.21);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: top 0.5s;
}

main{
  width: 90%;
  margin: auto;
}

header{
    margin-bottom: 32px;
    padding-top:10vh;
}

article p{
  padding-bottom: 40px;
}

.quote{
    margin: 32px auto 64px auto;
    line-height: 30pt;
    max-width: 640px;
}

.image{
  width: 100%;
  text-align: center;
}

img{
  width: 75%;
  margin: auto;
}

.home{
  display: flex;
  flex-direction: row;
  width:fit-content;
  cursor: pointer;
}

.icon {
  position: relative;
  width: 31px;
  height: 24px;
  margin-top: auto;
  margin-bottom: auto;
}

.icon img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease;
}

footer{
  width:100%;
  bottom: 0;
  padding: 16px 24px 32px 24px;
}
  
footer a{
  color: #a0a0a0;
  text-decoration: none;
  font-weight: normal;
  font-size: 12pt;
}

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

footer p{
  font-size: 12pt;
}

/*Mobil horizontal | 490-768*/
@media (min-width: 490px){
  h1 {
    font-size: 42pt;
  }

  h2 {
    font-size: 22pt;
  }
  
  nav{
  padding:24px;
  }

  .quote{
    margin: 32px auto 64px auto;
}
}

/*iPad vertical | 768-1040*/
@media (min-width: 768px) {
  nav{
  padding:32px;
  }

  header{
    padding-top:12vh;
}
  
  .quote{
    margin: 56px auto 96px auto;
}

  footer{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
  }
}

/*Desktop and iPad horizontal*/
@media (min-width: 1040px) {
  h3{
    font-size: 18pt;
    line-height: 24pt;
  }

  ul li, ol li{
    font-size: 18pt;
    line-height: 24pt;
  }
    p{
    font-size: 18pt;
    line-height: 24pt;
}



.icon img.hover {
  opacity: 0;
}

.home:hover .icon img.hover {
  opacity: 1;
}

.home:hover .icon img.default {
  opacity: 0;
}
}

@media (min-width: 1440px) {
  h1 {
    font-size: 42pt;
  }

  h2 {
    font-size: 32px;
    line-height: 65px;
  }
  
  a {
    font-size: 20px;
  }

  main {
    width: 992px;
    margin: auto;
  }

  #footer-quote{
    visibility:visible;
  }
  
  #footer-quote:hover{
    opacity: 0;
    transition: opacity 0.3s ease;
  }
}
