/**
 * (c) Mind Vault Associates
 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body {
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-family: "Open Sans", sans-serif;	
	min-height: 100vh;
	box-sizing: border-box;
	padding: 0 1em 1em 1em;
	margin: 0;
	background: linear-gradient(to bottom, #007ced 1%,#cce7ff 100%);
  color: #353333;
  border: 12px solid white;
}

h1 img {
  width: 100%;
  max-width: min(1200px, 90vw);
  margin-top: -48px;
}

h2 {
  font-weight: 600;
  font-size: min(200%, 5vw);
  margin-top: -24px;
}

.no {
  display: none; 
}

.clouds {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url(cloud3.png), url(cloud2.png);
  background-size: cover, cover;
  background-position: -500px 0, 0 0;
  animation: wind 155s linear infinite;
  pointer-events: none;
  z-index: -2;
}

.clouds-front {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url(cloud3.png);
  background-size: cover;
  background-position: -500px 0;
  animation: wind-opa 285s linear infinite;
  pointer-events: none;
  z-index: 2;  
}

@keyframes wind {
  0% {
    background-position: -500px 1000px, -1000px 800px, -1500px 1000px;
    background-size: cover cover;
  }  
  25% {
    background-position: 0 -1000px, 0 -800px, 0px -1000px;
    background-size: cover cover;
  }
  75% {
    background-position: -1000px 0px, -1500px -800px, -2000px 0px;
    background-size: cover cover;
  }
  100% {
    background-position: -500px 1000px, -1000px 800px, -1500px 1000px;
    background-size: cover cover;
  }   
}

@keyframes wind-opa {
  0% {
    background-position: -500px 1000px, -1000px 800px, -1500px 1000px;
    background-size: cover cover;
    opacity: 0;
  }  
  10% {
    opacity: 0.5;
  }
  25% {
    background-position: 0 -1000px, 0 -800px, 0px -1000px;
    background-size: cover cover;
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  60% {
    opacity: 0.85;
    background-size: cover cover;
  }
  75% {
    background-position: -1000px 0px, -1500px -800px, -2000px 0px;
    background-size: cover cover;
    opacity: 1;
  }  
  100% {
    background-position: -500px 1000px, -1000px 800px, -1500px 1000px;
    background-size: cover cover;
    opacity: 0;
  }   
}
