/* reset */

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

/* fonts */

@font-face {
  font-family: "Handjet Variable Web";
  src: url('../fonts/HandjetVFWeb-All.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

/* custom */

html {
  box-sizing: border-box;
  font-family: -apple-system, arial, sans-serif;
  /*font-family: ui-monospace, monospace; */ 
}

body {
  animation-name: fadeIn;
  animation-duration: 2s;
  background: white;
  background: radial-gradient(white 60%, white 80%);
  background-size: 100% 100%;
  font-size: 6vw;
  line-height: 7vw;
  animation: right 150s infinite linear;  
  transition: all 500ms ease;
  pointer-events: none;

}


@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

a {
  color: black;
}

a:hover {
  color: blue;
  text-decoration: none;
}

#link {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10000;
  text-decoration: none;
  font-size: 32px;
}

h1 {
  font-weight: normal;
  margin-bottom: 40px; 
  font-size: 22px;
}

h2 {
  font-weight: normal;
  margin-bottom: 20px; 
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .05rem;
}

p {
  margin: 0px 0px 20px;
}

ul {
   margin: 0px 0px 40px; 
}

li {
  list-style: none;
  padding-left: 20px; 
}

li::before {
  content: '☀︎';
  margin-left: -20px;
}

/* type */

.window {
  text-align: center;
  padding: 60px;
}

#overlay {
  font-size: 22px;
  line-height: 30px;
  font-weight: 500;
}

#links {
  font-size: 16px;
  line-height: 30px;
  font-weight: 500;
}


/* links */

#links {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000000;
}

#links a {
  background: black;
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  margin-left: 5px;
  text-decoration: none;
}

/* lists page */

#sentences {
  transition: all 1500ms ease;  
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: rgba(0,0,0,0);
  color: rgba(0,0,0,0);
  text-shadow: 0px 0px 10px white;    
}

.window {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;    
  background: transparent;
}

.window img {
  position: absolute;
  width: 50px;
  height: 50px;
  filter: blur(3px);
  animation: rotate 200s infinite linear;  
  transform-origin: center;
}

@keyframes down {
  0% {background-position:  0 -200%;}
  100% {background-position:  0 0}
}

@keyframes right {
  0% {background-position:  -420% 0;}
  100% {background-position:  0 0}
}

@keyframes left {
  0% {background-position:  0 0;}
  100% {background-position:  -420% 0}
}

@keyframes rotate {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(359deg);}
}

#sentences .window {
  /*display: none;*/
}

#sentences .window:first-child {
  display: flex;
}

@media only screen and (max-width: 500px) {
  body {
    font-size: 44px;
    line-height: 50px;
  }

  #links {
    margin: 0px;
    width: calc(100vw - 40px);
    padding: 0px;
    font-size: 14px;
  }

  #links a{
    display: block;
    background: transparent;
    text-decoration: underline;
    margin: 0px;
    padding: 0px;
    color: black;
    text-shadow: 0px 0px 4px rgba(255,255,255,1);  
  }

  #overlay {
    font-size: 14px;
    line-height: 20px;
    padding: 120px 20px;
  }

  #overlay h1 {
    font-size: 14px;
    line-height: 20px;
  }

  .window {
    text-shadow: 0px 0px 5px rgba(255,255,255,.9);      
  }
}