/*------ Fonts ------*/

@font-face {
  font-family: Geomanist-Light;
  src: url(/stylesheets/font/geomanist-light-webfont.woff);
}


@font-face {
  font-family: Geomanist;
  src: url(/stylesheets/font/geomanist-regular.woff);
}

@font-face {
  font-family: Geomanist-Italic;
  src: url(/stylesheets/font/geomanist-Italic.woff);
}

@font-face {
  font-family: Geomanist-Book;
  src: url(/stylesheets/font/geomanist-book.woff);
}



/*---------------------------*/
/*---------- Global ---------*/
/*---------------------------*/
html {

}
* {
  box-sizing: border-box;
  font-family: "Geomanist";
}

:root {
  --app-height: 100%;
}


html,
body {
  margin: 0;
  font-family: Geomanist;
  /*height:100vh;*/
  padding: 0;
  /*overflow: hidden;*/
  -webkit-tap-highlight-color: transparent;
  width: 100vw;
  min-height: -webkit-fill-available;
  height: calc(var(--vh, 1%) * 100);
  display:flex;
  flex-direction: column;
}
  /*height: calc(var(--vh, 1%) * 100);*/
  /* css tricks iPhone */
  /*min-height: -webkit-fill-available;*/

a,
a:visited {
  /*text-decoration: none;*/
  color: inherit;
}

.blur {
  filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation-name: blur;
  animation-duration: 0.4s;
}

/*
.feedbackForm textarea::placeholder {
  color: rgb(170, 170, 170);
}
*/
textarea::placeholder {
  color: rgb(170, 170, 170);
}


/*---------------------------*/
/*------ Body-Elements ------*/
/*---------------------------*/

/*.mobil {
  display: block;
}

.desktop {
  display: none;
}
*/
/*------ Background ------*/

.backgroundTree{
  position: fixed;
  height: 500px;
  width: 700px;
  z-index: -2;
  background-image: url(/sampleImage);
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 0%;
  /*filter: saturate(13%) brightness(50%);*/
  opacity: 8%;
}

.backgroundTreeClear{
  opacity: 50%;
}



/*--------- Nav ----------*/
.navbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 20px 5% 0% 5%;
  width: 100vw;
  z-index: 1;
}

.logo {
}

.logo img {
  width: auto;
  height: 25px;
  filter: invert(50%) sepia(44%) saturate(313%) hue-rotate(350deg) brightness(95%) contrast(94%)
}



.menu-icon {
  display: block;
  cursor: pointer;
  transform: translate(0, -9px);
  transition: transform 0.4s;
}

/*.icon {
  display: inline-block;
  height: 50px;
  filter: invert()
}
.color,*/
.icon {
  display: inline-block;
  height: 42px;
  filter: invert(50%) sepia(44%) saturate(313%) hue-rotate(350deg) brightness(95%) contrast(94%)
}
.user {
  display: inline-block;
  height: 42px;
  border-width: 1px;
  border-radius: 50%;
  filter: sepia(60%) brightness(90%) contrast(90%);
}

/* NAV Active */

.overlay {
  height: 100%;
  width: 100vw;
  display: none;
  position: fixed;
  z-index: 2;
  top: 0px;
  left: 0;
}

.overlay-content {
  display: flex;
  flex-flow: column;
  justify-content: center;
  max-width: 100vh;
  height: 100%;
  text-align: center;
}

.overlay a {
  display: block;
  align-self: center;
  width: auto;
  text-decoration: none;
  font-family: "Geomanist-Book";
  color: #5b4c3a;
  font-size: 50px;
  transition: 1.2s;
}

.overlay a:hover,
.overlay a:focus {
  transform: translate(20px, 0px);
  transition: 1.2s;
}

/*---------- Page ---------*/
main {
  display: flex;
  /*position: relative;*/
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  /*height: 75vh;*/
  /*margin-top: 10vh;*/
  /*padding: 0% 5%;*/
}

main.info{
  justify-content: flex-start;
}

main.grow{
  margin-top: 10vh;
}

main.viewpage{
  height: 75vh;
  justify-content: space-between;
}

.page {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}

/*------ Landing Page ------*/

/*.txt p {
  margin-block-start: 0;
  color: #5b4c3a;
  text-align: center;
  padding: 5%;
  font-family: Geomanist;
}*/

.titleText {
  margin-top: 0;
  color: #393127;
  /*text-align: center;*/
  padding: 0% 5%;
  font-family: "Geomanist-Book";
  line-height: 1.3em;
  font-size: 1.9em;
}


.infoTitle {
  color: #5b4c3a;
  /*text-align: center;*/
  padding: 5%;
  font-size:2.3em;
  padding-bottom: 0px;
  font-family: Geomanist-Book;
  margin-block-start: 0;
  margin-block-end: 0;
}
.infoText {
  margin-block-start: 0;
  color: #5b4c3a;
  padding: 5%;
  font-family: Geomanist;
  line-height: 1.6em;
  font-size: 1.1em;
}


.infoText a {
  text-decoration:underline ;
  cursor:pointer
}

button {
  font-family: Geomanist-Book;
  padding: 5px 15px;
  width: 70%;
  /*margin-top: 20px;   grow button align*/
}


/*------ Input-Page------*/
.inputForm {
  display: flex;
  flex-flow: column;
  align-items: center;
  width: 100%;
  gap: 10px;
}

.formTextfield {
  width: 92%;
  max-height: 200px;
  height: 40vh;
  padding: 5%;
  margin: 25px;
  background: rgba(255, 255, 255, 0.20);
  border-radius: 20px;
  border: 1px solid rgba(91, 76, 59, 1);
  z-index:5;
  font-family: "Geomanist";
  font-size: 20px;
  color: black;
  overflow-y: auto;
  resize: none;
  outline: none;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.buttonBox{
  display: flex;
}

.moreInfo{
  cursor: pointer;
  height: 25px;
  padding-left: 2px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.growButton{
  cursor: pointer;
  margin-left: 25px;
}

/* Buttons Landing + Input */
.btn-glass {
  /*display: flex;
  justify-content: center;
  align-items: center;*/
  /*height: 50px;*/
  /*width: 250px;*/
  padding: 10px 40px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(10.0px);
  -webkit-backdrop-filter: blur(10.0px);
  border-radius: 25px;
  border: 1px solid rgba(91, 76, 59, 1);
  color: #6f5c46;
  font-family: "Geomanist-Book";
  font-size: 25px;
  outline: none;
  text-align: center;
  text-decoration: none;
}
.btn-glass.dark{
  color: #6f5c46;
  border: 1px solid rgba(91, 76, 59, 1);
}

/*------ View Page ------*/
.svg {
  display: flex;
  justify-content: center;
  width: 100%;
  height: auto;
  /*max-height: 40%;*/
  /*border: solid yellow;*/
}

::backdrop {
  background-color: rgba(255,255,255,0);
}

.svg:fullscreen{
  background-color: rgba(255,255,255,0);
}

.btn-small {
  padding: 10px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(10.0px);
  -webkit-backdrop-filter: blur(10.0px);
  border-radius: 25px;
  border: 1px solid rgba(229, 229, 229, 0.7);
  font-size: 14px;
  color: darkgray;
  display: flex;
  justify-content: center;
  align-items: center;
}


.black-mode {
  display: flex;
  justify-content: center;
}

#black {
  width:100%;
  border: none;
  color: black;
  font-size: 10px;
}

/* todo different sizes*/
.treetext p {
  white-space: pre-wrap;
  overflow-y: auto;
  color: black;
  text-align: center;
  /*padding: 5%;*/
  font-family: Geomanist;
  font-size: 1.15em;
}

/* Slider */
/*.slider {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  width: 100%;
  height:120vh;
  margin-top: 20px;
  cursor: pointer;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
*/
.slideContainer {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  width: 80%;
  height:120vh;
  /*height:150px;*/
  max-height: 12em;
  margin-top: 0%;
  margin-bottom: 10px;
  cursor: pointer;

  -ms-overflow-style: none;
  scrollbar-width: none;
  transition: 1s;
}

.slideContainer:focus{
  outline: 0;
  outline: none;
}

.slideContainer::-webkit-scrollbar {
  display: none;
}

.slide {
  display: none;
  flex-direction: column;
  justify-content: flex-start;

  max-width: 800px;
  height: 80%;
  -webkit-animation-name: fadeIn;
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  /*animation-duration: 0.4s;*/
}

.slide.active{
  display: flex;

}

/* Slides */
.slide p {
 /* margin-top: 0px;
  padding: 0px 20px;*/

  text-align: center;
}

/* Score Slide */

.scoreInfo {
  margin-block-start: 1em;
  display:flex;
  line-height: 1.5em;
  font-size: 1.15em;

}

.score{

}

.scoreName{
  padding-left: 37%;
}


.slide ul {
  padding: 0px;
  margin: 0px;
}

.slide ul li {
  display: flex;
  flex-direction: row;
  list-style: none;
  /*line-height: 8px;*/
  padding: 0px;
  margin: 0px;
}

/* Dots */
.dot {
  cursor: pointer;
  height: 8px;
  width: 8px;
  margin: 5px 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot.active,
.dot:hover {
  background-color: #717171;
}


/* Bottom Nav Buttons */
.buttons-mobile {
  display: flex;
  /*position: absolute;*/
  flex-flow: row;
  justify-content: space-around;
  align-self: center;
  width: 90%;
  height: auto;
  bottom: 5%;
  font-family: "Geomanist-Book";
  font-size: 0.9em;
  gap: 10px;
  color: darkgrey;
}


.buttons-desktop,
.repeatIcon {
  display: none;
}

.btn {
  /*display: flex;
  justify-content: center;
  align-items: center;*/
  width: 50%;
  height: 50px;
  padding: 5px 15px;
  margin-top: 20px;
  cursor: pointer;
  border-radius: 30px;
  border: 1px solid rgba(220, 220, 220, 0.9);
  text-decoration: none;
  outline: none;
  color: darkgrey;
}

.btn-share {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  padding: 15px 15px;
  margin-top: 20px;
  border: 2px solid black;
  cursor: pointer;
  border-radius: 100%;
  border: 1px solid rgba(220, 220, 220, 0.9);
  text-decoration: none;
  outline: none;
  color: darkgrey;
  background-color: transparent;
}

#share-icon {
  width: 25px;
  height: auto;
  transform: translate(-2px)
}

/* Pop-Ups */
.popup {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(240, 240, 240, 0.4);
  -webkit-animation-name: fadeIn;
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s;
}

.popup-content {
  display: flex;
  flex-flow: column;
  background-color: #fefefe;
  padding: 15px 25px 25px 25px;
  border-radius: 25px;
  width: 90%;
  height: 70%;
  background: rgba(240, 240, 240, 0.5);
  border: 1px solid rgb(218, 218, 218);
  backdrop-filter: blur(10.0px);
  -webkit-backdrop-filter: blur(10.0px);
  overflow: auto;
}

.popup-content p {
  font-size: 1.2em;
  font-family: "Geomanist";
  color: grey;
}

#copyLink{
  width: 100%;
  border-radius: 15px;
  border: none;
  background-color: rgb(243 243 243);
  font-size: 1em;
  text-overflow: ellipsis;

}

/* The Close Button */
.close {
  align-self: flex-end;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
}

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

/* Pop-Up Buttons */
.buttonsPopup {
  align-self: center;
  position: relative;
  width: 90%;
  margin: 0px 150px;
}

.btnPopup {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px;
  padding: 5px 15px;
  margin: 15px 0px;
  border: 1px solid #555555;
  border-radius: 25px;
  cursor: pointer;
  text-decoration: none;
  outline: none;
  font-family: "Geomanist-Book";
  font-size: 1.1em;
  color: grey;
  background-color: transparent;
}

.btn-holder-add {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
}


.switch-label {
  text-align: center;
}

.switch {
  position: relative;
  display: inline-block;
  align-items: flex-start;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/*
.slider {
  cursor: pointer;
  -webkit-transition: .4s;
  transition: .4s;
}*/

/*.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}
*/

input:checked+.slider {
  background-color: #2196F3;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


/* Form*/
.form-holder {
  display: flex;
  width: 100%;
  flex-flow: column nowrap;
  align-items: center;
  align-self: center;
  margin-top: 20px;
}


.formField {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 20px;
}

.formField label,
.formField input,
.formField textarea {
  height: auto;
  outline: none;
  font-size: 13px;
  color: gray;
}

.formField textarea {
  border-radius: 10px;
  padding: 5px 5px;
  height: 150px;
  border: 1px solid rgba(165, 165, 165, 0.7);
}

.formField input {
  height: 40px;
  padding: 5px 5px;
  background: rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(10.0px);
  -webkit-backdrop-filter: blur(10.0px);
  border-radius: 10px;
  border: 1px solid rgba(165, 165, 165, 0.7);
}

.formField label {
  font-size: 1em;
  font-family: "Geomanist-Book";
  color: grey;
}

/* Feedback Pop-Up */
.feedback-slider {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  margin: 20px 0px 30px 0px;
  gap: 20px;
}

.feedback-slider input {
  flex: 3;
}

#score-box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  width: 50px;
  border: 1px solid gray;
  border-radius: 100%;
  color: gray;
}

#score-box output {
  transform: translate(-0.2px, 0.2px);
}

.feedbackForm textarea {
  height: 150px;
  font-size: 1em;
  color: gray;
}

/* addToForest Pop-Up */
.addToForest {
  height: auto;
}

/*------ Gallery Page ------*/

.forestPage {
  width: 100%;
  height: auto;
  padding: 2% 5% 2% 5%;
}

.forestButtons {
  display: flex;
  gap: 10px;
  flex-direction: row;
}

.forest-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.forest-grid-item {
  height: auto;
  width: 50%;
  padding: 5px;
}

.forest-grid-item img {
  height: auto;
  width: 100%;
}


.forest-grid::after {
  content: "";
  flex: auto;
}




/*------ Gallery Hover Card------*/
.card {
  /*display: none;*/
  position: relative;
  width: 100%;
  border: 2px solid #eeefee;
  border-radius: 20px;
}

.card-info {
  /*position: absolute;*/
  display: flex;
  justify-content: space-between;
  transform: translate(-2px, -2px);
}

.card-info p {
  color: #A07F5C !important;
  font-size: 12px;
  padding: 0.3rem 2rem;
  margin: 0px;
  border: 2px solid #eeefee;
  border-radius: 20px 0px 20px 0px;
}

.card-info img {
  padding: 4px;
  width:1.8em;
}


.forestText {
  display:none;
  position: absolute;
  height: 80%;
  width:100%;
  white-space: pre-wrap;
  overflow-y: auto;
  overflow-x: hidden;
  color: black;
  text-align: center;
  padding: 10%;
  font-family: Geomanist;
}

.forestTree {

}

.center-input {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  width: 100%;
  height: auto;
}

.input-holder {
  color:white;
  margin: 5px;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
}






/*------------------------------*/
/*------------ Tablet-----------*/
/*------------------------------*/
@media only screen and (min-width: 600px) {

  .navbar {
    padding: 30px 5% 0% 5%;
  }

  .color,
  .icon {
    display: inline-block;
    height: 50px;
    filter: invert(50%) sepia(44%) saturate(313%) hue-rotate(350deg) brightness(95%) contrast(94%)
  }
  .user{
    height: 50px;
  }
  .logo img {
    height: 30px;
  }


  .bg {
    /*height: 80vh;*/
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }


  /* NAV Active */

  .overlay {
    height: 100vh;
    width: 100vw;
    display: none;
    position: fixed;
    z-index: 2;
    top: 0px;
    left: 0;
  }


  .overlay-content {
    display: flex;
    justify-content: center;
    position: relative;
    top: 50vh;
    max-width: 100vw;
    height: 100vh;
    text-align: center;
    transform: translate(0, -50%);
  }


  /*------ Page ------*/
  main {
    /*margin-top: 10vh;*/
    /*height: 88vh;*/
  }

  .formTextfield {
    height: 50vh;
  }

  main.viewpage{
    height: 90vh;
    justify-content: space-between;
  }

  /*------ Landing Page ------*/
  .txt {
    font-size: 1.1em;
    width: 700px;

  }
  .infoTitle {
    font-size: 2.3em
  }

  .titleText {
    cursor: pointer;

    font-size: 1.5em;
    line-height: 1.2em;
  }

  .form-holder {
    width: 80%;
  }

  button {
    font-family: 'Geomanist';
    padding: 10px;
    width: auto;
    margin-top: 0px;
  }


  /*------ Input-Page------*/

  .inputForm {
    width: 500px;
   /* transform: translate(0px, 30px);*/
  }


  /*------ View Page ------*/

/*  .svg {
    display: flex;
    width: 80%;
    height: auto;
    min-height: 600px;
    min-width: 800px;
    padding-top: 10%;
    transition: 0.2s;
    max-width: 80%;
  }
*/

  /* Slider */

  .treetext p {
    font-size: 1.4em;
    min-width:300px;

  }

  .scoreInfo {
    font-size: 1.4em;
    /*height:120vh;*/
  }




  /* Buttons */
  .buttons-mobile {
    display: none;
  }

  .buttons-desktop {
    display: inline-flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 20%;
    gap: 10px;
    color: darkgrey;
  }

  .btn {
    width: auto;
    height: 50px;
    margin-top: 0px;
    padding: 5px 15px;
    cursor: pointer;
    border-radius: 25px;
    border: 1px solid rgba(220, 220, 220, 0.9);
    text-decoration: none;
    outline: none;
    color: darkgrey;
  }

  .repeatIcon {
    display: block;
    position: absolute;
    right: 5%;
    height: 50px;
    width: 50px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transform: translate(-12px, -5px);
  }

  .forestText {
    font-size: 1.15em;
  }


  /* Pop-Ups */
  .popup {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(240, 240, 240, 0.4);
    -webkit-animation-name: fadeIn;
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s;
  }

  .popup-content {
    display: flex;
    flex-flow: column;
    border-radius: 25px;
    width: 60%;
    max-width:600px;
    height: auto;
    background: rgba(240, 240, 240, 0.7);
    border: 1px solid rgb(218, 218, 218);
    backdrop-filter: blur(10.0px);
    -webkit-backdrop-filter: blur(10.0px);
    overflow: hidden;
  }

  .popup-content p {
    font-size: 1.1em;
    font-family: "Geomanist";
    color: grey;
  }


  /* Buttons Pop Up */
  .buttonsPopup {
    align-self: center;
    width: 70%;
    margin: 0px 150px;
  }

  .btnPopup {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    padding: 5px 15px;
    margin: 15px 0px;
    border: 2px solid #555555;
    border-radius: 25px;
    border: 1px solid;
    cursor: pointer;
    text-decoration: none;
    outline: none;
    font-family: "Geomanist-Book";
    font-size: 1.1em;
    color: grey;
    background-color: transparent;
  }

  .btn-holder-addToForest {
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }

  /* Form*/
  .formField {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-top: 20px;
  }

  .formField label,
  .formField input,
  .formField textarea {
    height: auto;
    outline: none;
    font-size: 13px;
    color: black;
  }

  .formField textarea {
    border-radius: 10px;
    padding: 5px 5px;
    height: 100px;
    flex: 2;
  }

  .formField input {
    flex: 2;
    padding: 5px 5px;
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(5.0px);
    -webkit-backdrop-filter: blur(5.0px);
    border-radius: 10px;
    border: 1px solid rgba(165, 165, 165, 0.7);
  }

  .formField label {
    flex: 1;
    font-size: 1em;
    font-family: "Geomanist-Book";
    color: grey;
  }

  /* Feeback Pop-Up */
  .feedback-slider {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin: 20px 0px 30px 0px;
    gap: 20px;
  }

  .feedback-slider input {
    flex: 3;
  }

  #score-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 50px;
    border: 1px solid gray;
    border-radius: 100%;
    color: gray;
  }

  #score-box output {
    transform: translate(-0.2px, 0.2px);
  }

  .feedbackForm textarea {
    height: 150px;
    font-size: 1em;
    color: gray;
  }


  /*------ Gallery Page------*/
  .forestPage {
    width: 100%;
    height: auto;

    padding: 2% 5% 2% 5%;
    transition: 0.5s ease;
  }

  .forest-grid-item {
    width: 33.33%;
  }

  .card-info p {
    font-size: 15px;
    padding: 0.3rem 2rem;
    margin: 0px;
  }



}




