html {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: #121212;
  color: #fff;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.3rem;
}

.invisible{
  display: none;
  visibility: hidden;
}

main {
  padding-bottom: 8rem;
}

form {
  text-align: center;
}

.formFields{
  text-align: left;
}

input[type=text], input[type=number], textarea,
select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=submit], #generateButton, #generateButtonPersonal {
  width: 100%;
  background-color: #6D712E;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: .6rem;
  cursor: pointer;
}

#generateButton, #generateButtonPersonal {
  margin-top: 1rem;
}

#generateButton span, #generateButtonPersonal span {
  animation: fadeIn .5s linear;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.icon {
  margin-right: 5px;
  display: none;
}

.loading {
  background-color: #6D712E;
  color: #eee;
}

.loading .icon {
  display: inline-block;
  color: #eee;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



input[type=submit]:hover,
#generateButton:hover, #generateButtonPersonal:hover {
  background-color: #6D712E;
}

.container {
  width: 80%;
  margin: 1rem auto;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}


.activityField {
  border-radius: .6rem;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  text-align: center;
  background-color: #333;
  padding: 1rem;
  margin-top: -.5rem;
}

#activity{
  font-size: 1.3rem;
}

#visualData {
  display: none;
  animation: fadeIn 1s linear;
}

.navbar {
  background-color: #333;
  overflow: hidden;
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}



.navbar p {
  margin: 0.2rem;
}

/* Style the links inside the navigation bar */
.navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  width: 100%;
}

/* Change the color of links on hover */
.navbar a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.navbar a.active {
  background-color: #6D712E;
  color: white;
}

#map {
  height: 24rem;
  width: 24rem;
  border-radius: 1rem;
}

.activityLink{
  background-color: #33357a;
  padding: .5rem;
  text-decoration: none;
  color: #fff;
  border-radius: .3rem;
  width: 100%;
}

.saveButton{
  background-color: #33357a;
  padding: .5rem;
  text-decoration: none;
  color: #fff;
  border-radius: .3rem;
  border: none;
}

.saveButton:hover{
  background-color: #20224f;
  cursor: pointer;
}

#reviews > section{
  padding: 1rem;
  margin: 1rem;
  color: #fff;
  background-color: #6D712E;
  border-radius: 1rem;
  min-width: 300px;
}

#reviews{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.slidecontainer {
  width: 100%;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 25px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  background: #6D712E;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 2rem;
  height: 2rem;
  background: #6D712E;
  cursor: pointer;
}

.activityField{
  display: none;
}

.mapField{
  display: none;
}

.formWithData{
  width: 50rem;
}

@media (min-width: 700px) {


  main {
    padding-bottom: 12rem;
  }
}