/* -- default stylings!! */
@import url('https://fonts.googleapis.com/css2?family=Cherry+Swash:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Grandstander:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: calc(4px + 0.25vh);
}

::-webkit-scrollbar-thumb {
  background: white;
  border: 1px solid;
}

::selection {
  background: #d8eebc;
}

body {
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  min-height: 100vh;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 190%;
  font-family: Cherry Swash, cursive;
  color: #706056;
  letter-spacing: 0.5px;
  background-image: url(https://64.media.tumblr.com/54bca4d6c2c62256d38438faa1ad7f33/tumblr_inline_p7gjv2yYnk1rhwzwl_75sq.gifv);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Grandstander, cursive;
  color: mediumseagreen;
}

h2,
h3,
h4,
h5,
h6 {
  font-weight: 300;
}

h1 {
  font-size: 1.7em;
}

h3 {
  margin: 0 auto;
}

p {
  color: #3c342a;
}

.display {
  font-size: calc((80vh / 15) - 1vh);
  color: #b4eda4;
  text-shadow: 1px 1px #3c342a, -1px 1px #3c342a, -1px -1px #3c342a, 1px -1px #3c342a;
  text-align: center;
  font-weight: 400;
  margin: 3.5vh auto;
}

.display::after,
.display::before {
  content: url(https://64.media.tumblr.com/6ea590225bafd17c711efae47e455c7b/tumblr_inline_p94wgt9zlk1rhwzwl_75sq.gifv);
  margin: 0 0.5vh;
}

button {
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  color: inherit;
}

/* main div */
#science {
  border: 1px solid;
  outline: 1px solid white;
  background-color: white;
  width: calc(80vh - 4vw);
  height: calc(400px + 35vh);
  padding: 2vw;
}

#eggplant {
  height: calc(400px + 35vh - (80vh / 15) - 1vh - 4vw - 1.34em - 2vw);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  align-content: center;
  font-size: calc(((400px + 35vh - (80vh / 15) - 1vh - 4vw - 1.34em - 2vw) / 36));
}

#eggplant p,
.flowering p {
  margin: 0.7vw auto;
}

#nature,
#natural {
  height: 100%;
  padding: 0 2vh;
}

#nature {
  flex: 1.7;
  text-align: justify;
  overflow-y: auto;
}

#nature span {
  color: mediumseagreen;
}

#natural {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

#eco {
  border: 1px solid;
  height: calc((400px + 35vh - (80vh / 15) - 1vh - 4vw - 1.34em - 2vw) / 1.8);
  background-image: url(https://i.pinimg.com/originals/c0/ac/19/c0ac197c759a360089e9d7e58ecc5590.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.system {
  background-color: white;
  background-repeat: no-repeat;
  border: 1px solid #706056;
  padding: 1vh;
  height: calc((400px + 35vh - (80vh / 15) - 1vh - 4vw - 1.34em - 2vw) / 15);
  font-family: grandstander, cursive;
  color: mediumseagreen;
  font-size: calc((400px + 35vh - (80vh / 15) - 1vh - 4vw - 1.34em - 2vw) / 35);
  font-weight: 500;
  cursor: pointer;
}

.system:hover {
  box-shadow: 4px 4px lightgreen;
  transition: 0.5s;
}

.system,
#eco {
  margin: 1vh 0;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: calc(100vh - ((400px + 35vh)) + 2vw);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(255, 255, 255);
  background-color: rgba(255, 255, 255, 0.3);
}

/* Modal Content */
.modal-content {
  margin: auto;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flower {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url(https://64.media.tumblr.com/41e091f62e6487e3b1c1bf05f87c1696/tumblr_inline_p7gjv2y0ia1rhwzwl_75sq.gifv);
  border: 1px solid;
  width: calc((80vh - 4vw) / 1.2);
  height: calc((400px + 35vh) / 1.3);
  position: relative;
  outline: 1px solid white;
}

.flowering {
  background-color: white;
  border: 1px solid #387f47;
  width: calc((80vh - 4vw) / 1.5);
  height: calc((400px + 35vh) / 1.6);
  padding: 3em;
  text-align: justify;
  position: relative;
}

.pistil {
  height: calc(100% - 2em - 1.34em);
  overflow-y: auto;
  padding-right: 15px;
}
.pistil::-webkit-scrollbar {
  width: calc(7.5px + 0.25vw);
}

.pistil::-webkit-scrollbar-thumb {
  background: #d8eebc;
  border: none;
}
.flowering h1 {
  text-align: center;
  font-weight: 300;
  color: #b4eda4;
  text-shadow: 1px 1px #3c342a, -1px 1px #3c342a, -1px -1px #3c342a, 1px -1px #3c342a;
  margin-top: 0;
}
.flowering h1::after, .flowering h1::before {
  content: url(https://64.media.tumblr.com/355fe073045679c078dea6d05f21fe46/tumblr_inline_p7gjraoMqj1rhwzwl_75sq.png);
  margin: 0 3px;
}
.flowering span {
  color: mediumseagreen;
}

.italic {
  font-style: italic;
}

/* The Close Button */
.close {
  color: #706056;
  text-shadow: 1px 1px #fff, -1px 1px #fff, -1px -1px #fff, 1px -1px #fff;
  position: absolute;
  top: 1vw;
  right: 1vw;
  font-size: 28px;
  font-weight: 300;
  text-transform: lowercase;
  font-family: sans-serif;
  font-style: normal;
}

.close:hover,
.close:focus {
  text-decoration: none;
  cursor: pointer;
}
