/*reference
https://css-tricks.com/css-borders-using-masks/ (wave border)
*/

html,
body {
  font-size: 16px;
}

@font-face {
  font-family: 'PlayfairDisplay-Italic';
  src: url('../fonts/PlayfairDisplay-Italic.woff2') format('woff2'),
    url('../fonts/PlayfairDisplay-Italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'PlayfairDisplay-Regular';
  src: url('../fonts/PlayfairDisplay-Regular.woff2') format('woff2'),
    url('../fonts/PlayfairDisplay-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  width: 100%;
  font-family: 'PlayfairDisplay-Regular'; /*This font is designed by Claus Eggers Sørensen. I found it from Google font.*/
  padding: 0;
  margin: 0;
  background-image: url('../images/tree2.jpg');
  background-repeat: repeat-y;
  background-size: 100%;
}

.window {
  position: absolute;
}

.top,
.left,
.right,
.bottom {
  position: fixed;
  background: #4395de; /*#232323;*/
  z-index: 4;
  cursor: url('../images/fingersmall.png'), auto;
  padding: 0;
  margin: 0;
  font-family: 'PlayfairDisplay-Regular';
}

.top {
  top: 0;
  width: 100%;
  height: 3rem;
  box-shadow: 0px 5px 12px #4395de;
}

.left,
.right {
  width: 3rem;
  height: 100%;
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: vertical-rl;
  -moz-writing-mode: vertical-rl;
  text-orientation: upright;
}

.left {
  left: 0;
  box-shadow: 5px 0px 12px #4395de;
}

.right {
  right: 0;
  box-shadow: -5px 0px 12px #4395de;
}

.bottom {
  bottom: 0;
  width: 100%;
  height: 3rem;
  box-shadow: 0px -5px 12px #4395de;
}

header li {
  color: white;
  list-style: none;
  font-size: 1.2rem;
}

header li a {
  text-decoration: none;
  color: white;
}
.edu,
.garden {
  padding-left: 5%;
  padding-top: 0.35rem;
}

.about,
.workflow {
  padding-right: 0.65%;
}

.about {
  padding-top: 5rem;
}

/*.home exists at process and about pages*/
.home {
  padding-top: 5rem;
  padding-right: 0.65%;
}

.workflow {
  padding-top: 12rem;
}

.container {
  position: relative;
  display: block;
  width: 65%;
  height: auto;
  margin: 0 auto;
  top: 4rem;
}

h1 {
  font-family: 'PlayfairDisplay-Italic';
  font-size: 2.2rem;
  letter-spacing: 0.1rem;
}

.cap,
.cap2 {
  font-weight: bold;
}

.explain {
  position: relative;
  margin: 0 auto;
  display: block;
  text-align: center;
  width: 100%;
  color: black;
}

.explain h1 a {
  text-decoration: none;
  color: black;
}

.explain h2 {
  font-size: 2rem;
}

.explain p {
  font-size: 1.2rem;
  line-height: 140%;
  margin-top: -0.5rem;
}

.issues {
  position: relative;
  display: block;
  width: 70%;
  margin: 0 auto;
  padding: 2rem;
  margin-bottom: 2rem;
}

.issues > div {
  width: 100%;
  height: auto;
  padding-bottom: 2.5rem;
}

.i1 a,
.i2 a,
.i3 a,
.i4 a,
.i5 a {
  text-decoration: none;
  color: black;
}

.issues img {
  width: 100%;
  height: auto;
  padding: 1rem;
  border: dashed black 1px;
  box-shadow: 1px 1px 10px 8px #4395de;
}

.issues p:hover {
  display: none;
}

.i1 p,
.i2 p,
.i3 p,
.i4 p,
.i5 p {
  position: absolute;
  display: inline-block;
  background: linear-gradient(#2b2d42 0 0) top/100% calc(100% - 10px) no-repeat,
    radial-gradient(circle farthest-side, #2b2d42 98%, #0000)
      bottom/calc(1.85 * 30px) 80px repeat-x;
  opacity: 0.9;
  left: 2rem;
  width: 98%; /*71.5*/
  height: 10rem;
  /*padding: 4rem 0;*/
  padding-top: 3rem;
  font-size: 1.6rem;
  text-align: center;
  text-decoration: underline;
  color: white;
  z-index: 3;
  cursor: url('./images/hand1.png'), auto;
}

.i1 p {
  top: 0.4rem;
}

.i2 p {
  top: 20%; /*from now on i should use %, not rem*/
}

.i3 p {
  top: 38.88%; /*from now on i should use %, not rem*/
}

.i4 p {
  top: 58.82%; /*from now on i should use %, not rem*/
}

.i5 p {
  top: 78.66%;
}

#back-top {
  position: absolute;
  bottom: 10rem;
  background-color: #4395de;
  color: white;
  font-size: 0.9rem;
  text-align: center;
  width: 5%;
  height: 1%;
  border-radius: 50%;
  padding-left: 1.5%;
  padding-right: 1%;
  padding-top: 0.5%;
  padding-bottom: 0.5%;
  cursor: pointer;
  z-index: 999;
}

/*.issue3, .issue4. .issue5, .issue6, .issue7, .issue8, .issue9*/
