html {
  width: 100%;
  min-height: 100%;
}

body {
  position: relative;
  background-color: black;
  display: flex;
  flex-direction: column;
  margin: 0;
  width: 100%;
  min-height: 100%;
  height: 100vh;
}

.header {
  position: relative;
  flex: 0 0 40vw;
  background-image: url('resources/stars.png');
  background-repeat: repeat;
}

.main {
  display: flex;
  border-top: thick double rgb(15, 62, 124);
  margin-top: 3em;
  width: 100%;
  height: fit-content;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(11, 22, 34) 20%,
    rgb(11, 22, 34) 80%,
    rgba(0, 0, 0, 0) 100%
  );
  flex: 1 1 auto;
}

.contents {
  position: relative;
  flex-grow: 1;
  width: 100%;
  max-width: 700px;
  min-height: fit-content;
  margin-left: auto;
  margin-right: auto;
  background-color: rgb(7, 13, 20);
  padding-top: 40px;
  padding-bottom: 80px;
  text-align: center;
}

.sky {
  position: absolute;
  top: 0;
  left: 0;
  height: 30vw;
  width: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 20%, rgba(11, 11, 112, 0.5) 100%);
}

#duck {
  position: absolute;
  width: 10vw;
  height: 10vw;
  left: 15vw;
  top: 3vw;
  transform: rotate(10deg);
  z-index: 1;
}

#shinymoon {
  position: absolute;
  width: 20vw;
  height: 20vw;
  right: 10vw;
  top: -2vw;
  z-index: 1;
}

#moon {
  position: absolute;
  width: 50%;
  height: 50%;
  left: 25%;
  top: 25%;
}

#shine {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

#bgmountain {
  position: absolute;
  width: 100%;
  bottom: 18vw;
  z-index: 2;
}

.lake {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20vw;
  background: linear-gradient(
    180deg,
    rgb(169, 239, 255) 0%,
    rgb(41, 194, 194) 12%,
    rgb(9, 3, 117) 100%
  );
}

#grass {
  position: absolute;
  bottom: 0;
  width: 100%;
}

#otsikko {
  color: rgb(206, 218, 255);
  font-size: 3.5em;
  font-style: normal;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial,
    sans-serif;
  text-shadow: rgb(95, 116, 160) 0px 0px 10px, cyan 0px 0px 5px;
  font-weight: lighter;
  text-align: center;
  margin-top: 0;
}

p {
  color: rgb(206, 218, 255);
  text-shadow: rgb(95, 116, 160) 0px 0px 5px, cyan 0px 0px 2px;
  font-size: 1.2em;
  text-align: justify;
  padding-left: 20px;
  padding-right: 20px;
}

.pctr {
  color: rgb(206, 218, 255);
  text-shadow: rgb(95, 116, 160) 0px 0px 5px, cyan 0px 0px 2px;
  font-size: 1.2em;
  text-align: center;
}

h2 {
  color: rgb(206, 218, 255);
  text-shadow: rgb(95, 116, 160) 0px 0px 10px, cyan 0px 0px 3px;
  font-size: 2em;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial,
    sans-serif;
  text-align: center;
}

h3 {
  color: rgb(206, 218, 255);
  text-shadow: rgb(95, 116, 160) 0px 0px 4px, cyan 0px 0px 2px;
  font-size: 1em;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial,
    sans-serif;
  text-align: center;
}

a {
  color: rgb(80, 220, 255);
  text-shadow: rgb(95, 116, 160) 0px 0px 5px, cyan 0px 0px 2px;
  font-size: 1.2em;
  padding-left: 20px;
  padding-right: 20px;
}

a:hover {
  text-shadow: rgb(147, 167, 211) 0px 0px 15px, rgb(125, 250, 250) 0px 0px 5px;
}

.mail {
  font-size: 1.1em;
}

.smol {
  color: rgb(206, 218, 255);
  text-shadow: rgb(95, 116, 160) 0px 0px 5px, cyan 0px 0px 2px;
  font-size: 0.8em;
  text-align: center;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  margin-top: -10px;
}

.footer {
  width: 100%;
  background-color: rgb(13, 23, 36);
  border-top: thick double rgb(15, 62, 124);
  text-align: center;
  bottom: 0;
  z-index: 3;
  flex: 0 0 50px;
}

.footercont {
  display: flex;
  align-content: center;
  justify-content: center;
  padding-top: 13px;
}
